Contribute
Register

X99 macOS Catalina 10.15.2 Kernel Patches

Status
Not open for further replies.
Joined
Jun 4, 2018
Messages
64
Motherboard
Asus Z390-I
CPU
I7-8700K
Graphics
Vega 56
Mac
  1. MacBook Pro
  2. Mac mini
  3. Mac Pro
Mobile Phone
  1. Android
  2. iOS
Here are the kernel patches I did for the update.

Code:
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
 
Thanks very much!
 
This is awesome thank you. Afraid to ask but how do you figure out these kernel patches?
 
This is awesome thank you. Afraid to ask but how do you figure out these kernel patches?

Well it requires a program like Hopper Disassembler to achieve it. Back when Catalina first came out, the patches posted by nmano didn't work for me, so I started digging in on how the other patches were done in Mojave by comparing them, then I figured the way they were done and needed on how to change them. I have been making my own patches since as needed, in a nutshell.
 
Hi, JamesKI.
My 6800k still cannot be converted after using your patch. Is the patch only valid for haswell-e? What about broadwell-e? Does _xcpm_cpuid_set_info need to be enabled for this patch or is this patch outdated?
Looking forward to your reply. Thank you!

截屏2020-01-25下午8.47.09.png
 
Hi, JamesKI.
My 6800k still cannot be converted after using your patch. Is the patch only valid for haswell-e? What about broadwell-e? Does _xcpm_cpuid_set_info need to be enabled for this patch or is this patch outdated?
Looking forward to your reply. Thank you!

View attachment 446601
Since you are using OpenCore, and if you compile the latest git, it makes future X99 patches obsolete now.

Also a word of advice, do not use the bootstrap or the cpuid set info as well as AppleXcpmExtraMsrs. All you need is the Cpuid1Data and Cpuid1Mask set followed by my patches with your current OpenCore config.
 
Since you are using OpenCore, and if you compile the latest git, it makes future X99 patches obsolete now.

Also a word of advice, do not use the bootstrap or the cpuid set info as well as AppleXcpmExtraMsrs. All you need is the Cpuid1Data and Cpuid1Mask set followed by my patches with your current OpenCore config.
Thank you very much for your advice. It worked fine after I removed the patch "xcpm_bootstrap". It would be great if you could continue to update the patch after the system update.
截屏2020-01-26下午1.49.09.png
 
Here are the kernel patches I did for the update.

Code:
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

Hi @JamesKI!

I've upgraded my system from 10.15.2 to 10.15.3 using your patches and the following one, without which my hackintosh can't boot:
Code:
xcpm_bootstrap © Pike RAlpha By N.Mano 10.15.X
Find
8D43C43C 227722
Replace
8D43C13C 227722
Unfortunately XCPM is broken and the CPU is stuck and the max. overclock frequency.

With your patches on 10.15.2, everything worked smoothly.

So, I kindly ask if you updated the patches for 10.15.3 on X99? :)

Besides, would you make a tutorial to teach us how to use hopper disassembler?

Thank you very much for your precious contribution.
 
Last edited:
Since you are using OpenCore, and if you compile the latest git, it makes future X99 patches obsolete now.
I’ve been unable to get cpu power management working using opencore 5.5 in 10.15.2 without patches? Works fine using your patches in clover. Is there something specific we need to do to get XCPM in opencore?
 
Status
Not open for further replies.
Back
Top