Jump to content

KernelAndKextPatches 10.13x,10.14.x,10.15.x X99/X299


nmano
244 posts in this topic

Recommended Posts

9 hours ago, lucke said:

Not work for me...

@Jamesk, can you share your EFI folder...? Thanks in advance...!!!

 

Not sure posting my EFI would do anyone without an identical system as mine. But if you post your EFI folder I can look to see where your issue(s) may be? I am thinking you have something in there that might be conflicting. I have confirmed both OpenCore and Clover x99 systems work with the new patches.(Not just my system). I personally use OpenCore myself.

Link to comment
Share on other sites

5 hours ago, JamesK said:

 

Not sure posting my EFI would do anyone without an identical system as mine. But if you post your EFI folder I can look to see where your issue(s) may be? I am thinking you have something in there that might be conflicting. I have confirmed both OpenCore and Clover x99 systems work with the new patches.(Not just my system). I personally use OpenCore myself.

For now, thanks, I'm still using clover, I still don't have much familiarity with open core. At the moment I followed the guide of the great KGP, and the system starts perfectly but I don't have xcpm working and especially sleep...

EFI - lucke.zip

EFI - lucke.zip

Edited by lucke
Link to comment
Share on other sites

On 9/25/2018 at 5:51 PM, nmano said:

xcpm_pkg_scope_msrs 10.15.2

 


Comment    String  <-> _xcpm_pkg_scope_msrs by JamesK
Disabled   Boolean <-> No
Find       Data<-> 31D2E879 FDFFFF
MatchOS    String <-> 10.15.x
Replace    Data<-> 31D29090 909090

Hi, @JamesK

This patch stoped working for me on Catalina 10.15beta3 (19D49f, Darwin 19.3.0)

:(

Edited by yapan4
  • Like 1
Link to comment
Share on other sites

On 12/14/2019 at 2:42 PM, lucke said:

For now, thanks, I'm still using clover, I still don't have much familiarity with open core. At the moment I followed the guide of the great KGP, and the system starts perfectly but I don't have xcpm working and especially sleep...

EFI - lucke.zip

EFI - lucke.zip

 

With your EFI I could install Catalina on MSI X99A Sli

Link to comment
Share on other sites

21 hours ago, yapan4 said:

Hi, @JamesK

This patch stoped working for me on Catalina 10.15beta3 (19D49f, Darwin 19.3.0)

:(

xcpm_pkg_scope_msrs (c) Pike R. Alpha I check in 10.15.2 Kernel 31D2E879 FDFFFF The data is ok.

Edited by nmano
  • Like 1
Link to comment
Share on other sites

8 minutes ago, yapan4 said:

Sorry my mistake, i mean 10.15.3 beta 1

ok can you upload 10.15.3 beta 1 kernel I will check.

  • Like 1
Link to comment
Share on other sites

Test This for 10.15.3 Beta1

xcpm_bootstrap © Pike RAlpha By N.Mano 10.15.X
Find
8D43C43C 227722
Replace
8D43C13C 227722

xcpm_core_scope_msrs © Pike R. Alpha By N.Mano
Find
31D2E8B4 5DFDFF
Replace
31D29090 909090

xcpm_pkg_scope_msrs (c) Pike R. Alpha By N.Mano
Find
31D2E848 FDFFFF
Replace
31D29090 909090

_xcpm_SMT_scope_msrs #1 (c) Pike R. Alpha  By N.Mano
Find
BE060000 005DE908 000000
Replace
BE060000 005DC390 909090

_xcpm_SMT_scope_msrs #2 (c) Pike R. Alpha  By N.Mano
Find
31D2E825 FDFFFF
Replace
31D29090 909090

 

Edited by nmano
  • Thanks 2
Link to comment
Share on other sites

On 12/19/2019 at 5:03 PM, igorexxa said:

 

With your EFI I could install Catalina on MSI X99A Sli

I hope.. test and report back...

at the moment instead, for me, xcpm "null" on 10.5.2...

Edited by lucke
Link to comment
Share on other sites

On 12/11/2019 at 9:28 AM, JamesK said:

10.15.2 WORKING KERNEL PATCHES!

 

Comment: _xcpm_performance_patch by JamesK

Find: 41C1E608 4963D689 D048C1EA 20

Replace: 41C1E608 B800FF00 0031D290 90

 

Comment: _xcpm_SMT_scope_msrs_1 by JamesK

Find: BE060000 005DE908 000000

Replace: BE060000 005DC390 909090

 

Comment: _xcpm_SMT_scope_msrs_2 by JamesK

Find: 31D2E844 FDFFFF

Replace: 31D29090 909090

 

Comment: _xcpm_pkg_scope_msrs by JamesK

Find: 31D2E879 FDFFFF

Replace: 31D29090 909090

 

Comment: _xcpm_core_scope_msrs by JamesK

Find: 31D2E857 FDFFFF

Replace: 31D29090 909090

 

Patches work. Enjoy!

now the 10.15.3 beta 1 cannot use this boot up normally

could u update the kernel patches 

 

thx!!

Edited by skyflying5
Link to comment
Share on other sites

  • 3 weeks later...

I am using the patches for 10.15.2 but I am facing this really weird problem, that my CPU reverts to its regular frequency after sleep-wake. So, my i7 5820K, which I have overclocked to 4.5 GHz at a 100MHz BCLK (see fresh-boot.png), comes back to its top speed of 3.3GHZ (see attached sleepwake.png showing CPU frequencies, before and after a sleep-wake). Any idea what could be causing this? Am attaching my EFI folder for inspection.

 

My config is:

 

CPU Intel i7 5820K

Motherboard: Gigabyte X99 UD4

Graphics: Sapphire Radeon RX5700 XT 8GB

RAM: 32GB 2400 Corsair Vengence LPX DDR4

SSD: Samsung EVO 256GB

Power Supply: Corsair RM750

CPU Cooler: CoolerMaster MasterLiquid ML240L RGB

 

Thanks

fresh-boot.png

sleepwake.png

jasperlevi-EFI.zip

Link to comment
Share on other sites

On 1/23/2020 at 7:39 PM, Jasper Levi said:

I am using the patches for 10.15.2 but I am facing this really weird problem, that my CPU reverts to its regular frequency after sleep-wake. So, my i7 5820K, which I have overclocked to 4.5 GHz at a 100MHz BCLK (see fresh-boot.png), comes back to its top speed of 3.3GHZ (see attached sleepwake.png showing CPU frequencies, before and after a sleep-wake). Any idea what could be causing this? Am attaching my EFI folder for inspection.

 

My config is:

 

CPU Intel i7 5820K

Motherboard: Gigabyte X99 UD4

Graphics: Sapphire Radeon RX5700 XT 8GB

RAM: 32GB 2400 Corsair Vengence LPX DDR4

SSD: Samsung EVO 256GB

Power Supply: Corsair RM750

CPU Cooler: CoolerMaster MasterLiquid ML240L RGB

 

Thanks

fresh-boot.png

sleepwake.png

jasperlevi-EFI.zip

Try this:

https://www.google.it/amp/s/pikeralpha.wordpress.com/2017/01/12/debugging-sleep-issues/amp/

  • Like 1
Link to comment
Share on other sites

On 1/28/2020 at 12:25 AM, lucke said:

 

Thanks. It wasn't this, though. I had this kext called 'RTCMemoryFixup.kext' in my EFI/Clover/kexts folder. Once I deleted that one, I am getting consistent performance before and after sleep.

  • Like 1
Link to comment
Share on other sites

4 hours ago, Jasper Levi said:

 

Thanks. It wasn't this, though. I had this kext called 'RTCMemoryFixup.kext' in my EFI/Clover/kexts folder. Once I deleted that one, I am getting consistent performance before and after sleep.

Perfect!

  • Like 1
Link to comment
Share on other sites

Do you have any news on the xcpm performance patch for 10.15.3?
I inserted the nmano patches for beta1 (without the performance patches because they are missing) and launching:

AppleIntelInfo.kext - MSR_PMG_CST_"section:"

 

MSR_PMG_CST_CONFIG_CONTROL........(0xE2) : 0x1E000005

------------------------------------------
 - I/O MWAIT Redirection Enable......... : 0 (not enabled)
 - CFG Lock............................. : 0 (MSR not locked)
 - C3 State Auto Demotion............... : 0 (disabled/unsupported)
 - C1 State Auto Demotion............... : 0 (disabled/unsupported)
 - C3 State Undemotion.................. : 0 disabled/unsupported)
 - C1 State Undemotion.................. : 0 (disabled/unsupported)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)

 

Only C6 state is enabled.

 

When in 10.15.2:

 

MSR_PMG_CST_CONFIG_CONTROL........(0xE2) : 0x1E000005
------------------------------------------
 - I/O MWAIT Redirection Enable......... : 0 (not enabled)
 - CFG Lock............................. : 0 (MSR not locked)
 - C3 State Auto Demotion............... : 1 (enabled)
 - C1 State Auto Demotion............... : 1 (enabled)
 - C3 State Undemotion.................. : 1 (enabled)
 - C1 State Undemotion.................. : 1 (enabled)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)
 

also C6 state...

Edited by lucke
Link to comment
Share on other sites

On 2/3/2020 at 2:45 PM, lucke said:

Do you have any news on the xcpm performance patch for 10.15.3?
I inserted the nmano patches for beta1 (without the performance patches because they are missing) and launching:

AppleIntelInfo.kext - MSR_PMG_CST_"section:"

 

MSR_PMG_CST_CONFIG_CONTROL........(0xE2) : 0x1E000005

------------------------------------------
 - I/O MWAIT Redirection Enable......... : 0 (not enabled)
 - CFG Lock............................. : 0 (MSR not locked)
 - C3 State Auto Demotion............... : 0 (disabled/unsupported)
 - C1 State Auto Demotion............... : 0 (disabled/unsupported)
 - C3 State Undemotion.................. : 0 disabled/unsupported)
 - C1 State Undemotion.................. : 0 (disabled/unsupported)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)

 

Only C6 state is enabled.

 

When in 10.15.2:

 

MSR_PMG_CST_CONFIG_CONTROL........(0xE2) : 0x1E000005
------------------------------------------
 - I/O MWAIT Redirection Enable......... : 0 (not enabled)
 - CFG Lock............................. : 0 (MSR not locked)
 - C3 State Auto Demotion............... : 1 (enabled)
 - C1 State Auto Demotion............... : 1 (enabled)
 - C3 State Undemotion.................. : 1 (enabled)
 - C1 State Undemotion.................. : 1 (enabled)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)
 

also C6 state...

The same in my case when xcpm_bootstrap © Pike R. Alpha is enabled. If you system can boot without it just disable this kernel patch

 

Screenshot 2020-02-05 at 22.21.56.png

Link to comment
Share on other sites

22 hours ago, yapan4 said:

Hi, @nmano.

Probably for 10.15.4beta1(Darwin 19.4.0) some kernel patches need updating again, because

xcpm_pkg_scope_msrs (c) Pike R. Alpha By N.Mano

Find 31D2E848 FDFFFF

Replace 31D29090 909090

has stopped working:(

Please help

kernel10154b1.zip

thanks I will check tomorrow,

  • Like 2
Link to comment
Share on other sites

10.15.3 [19D76]

 

xcpm_core_scope_msrs © Pike R. Alpha Modify 10.15.3 N.Mano


Comment    String  <-> xcpm_core_scope_msrs © Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<-> 31D2E857 D2FFFF
MatchOS    String <-> 10.15.x
Replace    Data<-> 31D29090 909090
xcpm_core_scope_msrs © Pike R. AlphaModify 10.15.4 N.Mano

Comment     String  <->    _xcpm_SMT_scope_msrs_2 (c) Pike R. Alpha
Disabled    Boolean <-> No
Find        Data<->       31D2E83E 9AFFFF
MatchOS     String <->    10.15.x
Replace     Data<->       31D29090 909090

xcpm_bootstrap_HASwell_E © Pike R. Alpha 

Comment    String  <-> xcpm_bootstrap_HASwell_E © Pike R. Alpha 10.13,10.14,10.15
Disabled   Boolean <-> No
Find       Data<->   8D43C43C 227722
MatchOS    String <-> 10.15.x
Replace    Data<->   8D43C13C 227722

xcpm_pkg_scope_msrs (c) Pike R. Alpha Modify 10.15.3 N.Mano

Comment    String  <->xcpm_pkg_scope_msrs (c) Pike R. Alpha Modify 10.15.4 N.Mano
Disabled   Boolean <-> No
Find       Data<->  31D2E8CE 88FFFF
MatchOS    String <-> 10.15.x
Replace    Data<-> 31D29090 909090

_xcpm_SMT_scope_msrs #1 (c) Pike R. Alpha

Comment    String  <->_xcpm_SMT_scope_msrs #1 (c) Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<->   BE060000 005DE908 000000
MatchOS    String <-> 10.15.x
Replace    Data<->   BE060000 005DC390 909090

_xcpm_SMT_scope_msrs #2 (c) Pike R. Alpha Modify N.Mano 10.15.3

Comment    String  <->_xcpm_SMT_scope_msrs #2 (c) Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<->   31D2E83E 9AFFFF
MatchOS    String <-> 10.15.x
Replace    Data<->   31D29090 909090

_xcpm_ performance_patch  @PMheart/Pike R. Alpha/Modify 10.15.3/ 10.15.4 N.Mano
Comment    String  <->__xcpm_ performance_patch  @PMheart/Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<->  41C1E608 4963D689 D048C1EA 20
MatchOS    String <-> 10.15.x
Replace    Data<->  41C1E608 B800FF00 0031D290 90

C6/C7_If=E2-Enabled=0x7E000403 Modify BY N.Mano
Comment    String  <->_C6/C7_If=E2-Enabled=0x7E000403 Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<-> E2000000 4C000000 00000000 00000000 0F040000 00000000 0500001E 
MatchOS    String <-> 10.12.x,10.13.x,10.14.x,10.15.x
Replace    Data<-> E2000000 4C000000 00000000 00000000 0F040000 00000000 0304007E 


BY N.Mano/Pike R. Alpha Sierra xcpm MSR Patch 4 / xcpm support Pike R. Alpha

Comment    String  <->xcpm support Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<-> 42060000 DC330000 00000000 00000000 1F000000 00000000 18000000 00000000 00000000 00000000 00000000 00000000 
MatchOS    String <->10.12.x,10.13.x,10.14.x,10.15.x
Replace    Data<-> 42060000 00000000 00000000 00000000 1F000000 00000000 18000000 00000000 00000000 00000000 00000000 00000000 

0x82D390/MSR_PP0_POLICY 0x63a Modify N.Mano

Comment    String  <->xcpm support Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<-> 3A060000 DC330000 00000000 00000000 1F 
MatchOS    String <->10.12.x,10.13.x,10.14.x,10.15.x
Replace    Data<-> 3A060000 00000000 00000000 00000000 00 

Disable panic kext logging on 10.14.4+ Release kernel

Disable panic kext logging on 10.14.4+ Release kernel

Comment    String  <->Disable panic kext logging on   @PMheart/Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<->  8A0284C0 7447
MatchOS    String <->10.14.x,10.15.x
Replace    Data<->  8A0284C0 EB47

10.15.4 Beta 1

 

xcpm_core_scope_msrs © Pike R. Alpha Modify 10.15.4 N.Mano


Comment    String  <-> xcpm_core_scope_msrs © Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<-> 31D2E857 D2FFFF
MatchOS    String <-> 10.15.x
Replace    Data<-> 31D29090 909090
xcpm_core_scope_msrs © Pike R. AlphaModify 10.15.4 N.Mano

Comment     String  <->    _xcpm_SMT_scope_msrs_2 (c) Pike R. Alpha
Disabled    Boolean <-> No
Find        Data<->       31D2E8E9 F9FEFF
MatchOS     String <->    10.15.x
Replace     Data<->       31D29090 909090

xcpm_bootstrap_HASwell_E © Pike R. Alpha 

Comment    String  <-> xcpm_bootstrap_HASwell_E © Pike R. Alpha 10.13,10.14,10.15
Disabled   Boolean <-> No
Find       Data<->   8D43C43C 227722
MatchOS    String <-> 10.15.x
Replace    Data<->   8D43C13C 227722

xcpm_pkg_scope_msrs (c) Pike R. Alpha Modify 10.15.4 N.Mano

Comment    String  <->xcpm_pkg_scope_msrs (c) Pike R. Alpha Modify 10.15.4 N.Mano
Disabled   Boolean <-> No
Find       Data<->   31D2E8CE 55E7FF
MatchOS    String <-> 10.15.x
Replace    Data<->   31D29090 909090

_xcpm_SMT_scope_msrs #1 (c) Pike R. Alpha

Comment    String  <->_xcpm_SMT_scope_msrs #1 (c) Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<->   BE060000 005DE908 000000
MatchOS    String <-> 10.15.x
Replace    Data<->   BE060000 005DC390 909090

_xcpm_SMT_scope_msrs #2 (c) Pike R. Alpha Modify N.Mano 10.15.4

Comment    String  <->_xcpm_SMT_scope_msrs #2 (c) Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<->   31D2E83E 61FFFF
MatchOS    String <-> 10.15.x
Replace    Data<->   31D29090 909090

_xcpm_ performance_patch  @PMheart/Pike R. Alpha/Modify 10.15.4 N.Mano
Comment    String  <->__xcpm_ performance_patch  @PMheart/Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<->  41C1E608 4963D689 D048C1EA 20
MatchOS    String <-> 10.15.x
Replace    Data<->  41C1E608 B800FF00 0031D290 90

C6/C7_If=E2-Enabled=0x7E000403 Modify BY N.Mano
Comment    String  <->_C6/C7_If=E2-Enabled=0x7E000403 Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<-> E2000000 4C000000 00000000 00000000 0F040000 00000000 0500001E 
MatchOS    String <-> 10.12.x,10.13.x,10.14.x,10.15.x
Replace    Data<-> E2000000 4C000000 00000000 00000000 0F040000 00000000 0304007E 


BY N.Mano/Pike R. Alpha Sierra xcpm MSR Patch 4 / xcpm support Pike R. Alpha

Comment    String  <->xcpm support Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<-> 42060000 DC330000 00000000 00000000 1F000000 00000000 18000000 00000000 00000000 00000000 00000000 00000000 
MatchOS    String <->10.12.x,10.13.x,10.14.x,10.15.x
Replace    Data<-> 42060000 00000000 00000000 00000000 1F000000 00000000 18000000 00000000 00000000 00000000 00000000 00000000 

0x82D390/MSR_PP0_POLICY 0x63a Modify N.Mano

Comment    String  <->xcpm support Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<-> 3A060000 DC330000 00000000 00000000 1F
MatchOS    String <->10.12.x,10.13.x,10.14.x,10.15.x
Replace    Data<->3A060000 00000000 00000000 00000000 00

Disable panic kext logging on 10.14.4+ Release kernel

Disable panic kext logging on 10.14.4+ Release kernel

Comment    String  <->Disable panic kext logging on   @PMheart/Pike R. Alpha
Disabled   Boolean <-> No
Find       Data<->  8A0284C0 7447
MatchOS    String <->10.14.x,10.15.x
Replace    Data<->  8A0284C0 EB47

 

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

×
×
  • Create New...