Tutorial New AMD macOS CoreCount patch Information

sac23

Donator
Donator
AMD OS X Member
Joined
May 12, 2020
Messages
64
Are any of u guys on beta 4 with no Bluetooth thanks in advance
 

Khogao

New member
AMD OS X Member
Joined
Jun 26, 2021
Messages
2
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
AMD OS X 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
AMD OS X 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
AMD OS X Member
Joined
Aug 7, 2020
Messages
39
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
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,142
Please tell what file (s) should I edit, where and how can I find algrey - Force and the others. Thanks

It's the first three patches in the plist.
 

Cosmin

Member
AMD OS X Member
Joined
Aug 7, 2020
Messages
39
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
2,142
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?
 

Cosmin

Member
AMD OS X Member
Joined
Aug 7, 2020
Messages
39

Ejh4286

Member
AMD OS X Member
Joined
Oct 30, 2021
Messages
43
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
AMD OS X Member
Joined
May 2, 2020
Messages
895
0x18

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

naresh

New member
AMD OS X Member
Joined
Aug 23, 2021
Messages
13
I'm getting below error: help required, thanks in advance

#LEB.LD.LF|IN] 01 ("'(null string)") <"]")
*LEB.B.SBS ISZ] 723512
#LEBIB: SHA]<14359Bcec12c90344c2dlb4bb60c3621e81109781>
#LEB.WL.PWLFNV1!1 Err(OxE) <- RT.GV wake-failure 7C436110-AB2A-4BBB-AB80-FE41995C9F82
#LEB.WL.DT|!] Err(BxE) <- EB.WL.PWLFNV
#IEB.WL.PWLFRTCINONE]
#LEB.WL.DT|!] Err(BxE) <- EB.WL.PWLFRTC
#LEB.FS.AGSVHIRU]4BB59EBB-1EBD-34F2-B395-FC4CBA34BE23
#LEB.FS.AGSVHI!] Dk(D) <- BS.LocHB 964E5B22-6459-11D2-8E39-BBABC9697238
#LEB.FS.AGSVHIGVI!] Err (Dx3) D
#LEB.FS.AGSVHIGVI!] Err (Bx3)
1
#LEB.FS.AGSVHIGVI!] Err(Bx3) 2
#LEB.FS.AGSWHIGVI!] Err(Bx3)
3
#LEB.FS.AGSVHIGVI!] Err(Dx3) 4
#LEBIFMUFSV] RV 4BB59EBB-1E8D-34F2-B395-FC4CBA34BE23 Ox00000040
#LEB.LD.LKC|CFG](*\boot\\BootKernelExtensions.kc">
#LEB.LD.LF|IN] D1 (\boot \\BootKernelExtensions.kc"> ("O>
DC: Kernel patch 3 for kernel (algrey
_commpage_populate - Remove romsr - 18.13/10.14/10.15/11.0/12.0) is borked
Halting on critical error
 

m0>

New member
AMD OS X Member
Joined
Jun 7, 2020
Messages
12
It's the first three patches in the plist.
I don't have these entries in my p.list, unless I am looking in the wrong area, as the first patches listed do not mention cpu anything . I'm on Big Sur at the moment (11.6.3), and have checked the option ProvideCurrentCpuinfo is active. Is there a specific area to look for these Algrey entries?
 

Attachments

  • config.plist
    91 KB · Views: 3

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,142
I don't have these entries in my p.list, unless I am looking in the wrong area, as the first patches listed so not mention cpu anything . I'm on Big Sur at the moment (11.6.3), and have checked the option ProvideCurrentCpuinfo is active. Is there a specific area to look for these Algrey entries?

It's the first 3 patches in the plist.
 

m0>

New member
AMD OS X Member
Joined
Jun 7, 2020
Messages
12

m0>

New member
AMD OS X Member
Joined
Jun 7, 2020
Messages
12
I just downloaded your p.list for the Asus board (I am using an Aorus x570 and 3700x), and looking for the entries mentioned in this thread, I do not see the data you mentioned that should be either altered or outlined in the 'Force cpuid' sections of your p.list .
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,142
See here,

Screenshot-2022-01-25-at-21.03.40.png
 

m0>

New member
AMD OS X Member
Joined
Jun 7, 2020
Messages
12
yes, using binary did the trick on yours, but mine is not going to fly in its present state. It looks like I will have to start from scratch...
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,142
Top Bottom
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.