Tutorial New AMD macOS CoreCount patch Information

sac23

Donator
Donator
Joined
May 12, 2020
Messages
52
Are any of u guys on beta 4 with no Bluetooth thanks in advance
 

Khogao

New member
Joined
Jun 26, 2021
Messages
1
Are any of u guys on beta 4 with no Bluetooth thanks in advance

I am on B4 and BT is disabled. My spec: 1700x, MSI B350M, RX580, NVME Pm961, Wifi& BT: Bcrm94352z.


Sent from my iPhone using Tapatalk
 

khalifa

New member
Joined
Aug 17, 2020
Messages
2
Hi and thanks in advance.
I'm having some trouble, sorry if this a silly question, but how can I enable ProvideCurrentCpuInfo? I can't find it in config.plist

Any help please
 

AudioGod

Guru
Guru
Joined
Nov 7, 2020
Messages
1,386
Hi and thanks in advance.
I'm having some trouble, sorry if this a silly question, but how can I enable ProvideCurrentCpuInfo? I can't find it in config.plist

Any help please
Make sure you are using OpenCore 0.7.2 and the quirk will be there.
Kernel->Quirks->ProvideCurrentCpuInfo
 

khalifa

New member
Joined
Aug 17, 2020
Messages
2
Make sure you are using OpenCore 0.7.2 and the quirk will be there.
Kernel->Quirks->ProvideCurrentCpuInfo
Thanks for your reply.
now the installer starts and then I get black screen!
EDIT:
I'v managed to install Monterey successfully, I used latest version of WhateverGreen and Lilu and installation finished as expected!
 
Last edited:

Cosmin

Member
Joined
Aug 7, 2020
Messages
35
This is laid out in the AMD_Vanilla GitHub Readme but I'd thought I'd post here too incase of any questions.

Patches are now universal across 15h, 16h, 17h and 19h by utilising the OpenCore Kernel Quirk ProvideCurrentCpuInfo

Make sure to enable this quirk or the system won't boot.

This quirks provides the kernel with the CPU frequencies for macOS to boot.

Core Count patch needs modified to boot your system. Find the three algrey - Force cpuid_cores_per_package patches and alter the Replace value only.

Replace:
Code:
B8000000 0000
BA000000 0000
BA000000 0090
Becomes:
Code:
B8 <CoreCount> 0000 0000
BA <CoreCount> 0000 0000
BA <CoreCount> 0000 0090
substituting <CoreCount> with the hexadecimal value matching your physical core count.

Note: The three different values reflect the patch for different versions of macOS. Be sure to change all three if you boot macOS 10.13 to macOS 12

See the table below for the values matching your CPU Core Count.

CoreCountHexadecimal
6 Core06
8 Core08
12 Core0C
16 Core10
32 Core20

So for example a 6 Core 5600X Replace value would result in these replace values

Replace:
Code:
B8 06 0000 0000
BA 06 0000 0000
BA 06 0000 0090
Note the 06 for the 6 Core CPU.

It's quite simple but if you've any questions on how to do this simply ask.

Enjoy,
Shaneee

Please tell what file (s) should I edit, where and how can I find algrey - Force and the others. Thanks
 

Cosmin

Member
Joined
Aug 7, 2020
Messages
35
It's the first three patches in the plist.
I already use your entire EFI, modified with my MMIO and platform info, but doesn't work.
After reboot, install freezes at almost 3 percent, the computer only responds at forced shutdown...
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
1,429
I already use your entire EFI, modified with my MMIO and platform info, but doesn't work.
After reboot, install freezes at almost 3 percent, the computer only responds at forced shutdown...

Are you referring to the black screen with the Apple Logo and progress bar when you say 3 percent?
 

Ejh4286

New member
Joined
Oct 30, 2021
Messages
8
This is laid out in the AMD_Vanilla GitHub Readme but I'd thought I'd post here too incase of any questions.

Patches are now universal across 15h, 16h, 17h and 19h by utilising the OpenCore Kernel Quirk ProvideCurrentCpuInfo

Make sure to enable this quirk or the system won't boot.

This quirks provides the kernel with the CPU frequencies for macOS to boot.

Core Count patch needs modified to boot your system. Find the three algrey - Force cpuid_cores_per_package patches and alter the Replace value only.

Replace:
Code:
B8000000 0000
BA000000 0000
BA000000 0090
Becomes:
Code:
B8 <CoreCount> 0000 0000
BA <CoreCount> 0000 0000
BA <CoreCount> 0000 0090
substituting <CoreCount> with the hexadecimal value matching your physical core count.

Note: The three different values reflect the patch for different versions of macOS. Be sure to change all three if you boot macOS 10.13 to macOS 12

See the table below for the values matching your CPU Core Count.

CoreCountHexadecimal
6 Core06
8 Core08
12 Core0C
16 Core10
32 Core20

So for example a 6 Core 5600X Replace value would result in these replace values

Replace:
Code:
B8 06 0000 0000
BA 06 0000 0000
BA 06 0000 0090
Note the 06 for the 6 Core CPU.

It's quite simple but if you've any questions on how to do this simply ask.

Enjoy,
Shaneee
What is the hexidecimal for 24 core threadripper?
 

Aluveitie

Donator
Donator
Joined
May 2, 2020
Messages
758
0x18

Open Calculator, switch it to Programmer mode (⌘ + 3), select "10", type 24, switch to "16" to get the hexadecimal value.
 
Top Bottom