Tutorial New AMD macOS CoreCount patch Information

mmp369

Member
AMD OS X Member
Joined
Dec 30, 2021
Messages
31
Can the garbled voice problem of the Great God G series APU be solved? It is the relationship between the clock speed of the CPU and the clock of the operating system that causes the sound to be garbled. When the processor isn't busy enough, the clock speed drops, which makes the OS get out of sync with the CPU, the sound depends heavily on timing, and even the clock in the status bar knows to lag. Using the program patch from astrihale, the situation is much better, but sometimes there are still garbled problems, I hope God can solve it. thanks
 

Middleman

Active member
AMD OS X Member
Joined
Jan 29, 2021
Messages
723
I'm confused where did you upload the files?
Under that Github URL, you can find the patches.plist under the green Code button. Select it and then select download zip to desktop.
You then add that patch into your config.plist build by importing it or by editing it via Propertree or any similar Plist editing software
into the Kernel > Patches > Add section of the config.plist.
 

xavierbaez

New member
AMD OS X Member
Joined
Feb 13, 2022
Messages
29
Yes but the readme says:
Changing B8000000 0000/BA000000 0000/BA000000 0090* to B8 <CoreCount> 0000 0000/BA <CoreCount> 0000 0000/BA <CoreCount> 0000 0090* substituting <CoreCount> with the hexadecimal value matching your physical core

ANd the patches.plist files contains:
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string>_cpuid_set_info</string>
<key>Comment</key>
<string>algrey - Force cpuid_cores_per_package 10.13,10.14</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
wegaAAAA
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
//3/AAAA
</data>
<key>MaxKernel</key>
<string>18.99.99</string>
<key>MinKernel</key>
<string>17.0.0</string>
<key>Replace</key>
<data>
uAAAAAAA
</data>
<key>ReplaceMask</key>
<data>
//////8A
</data>
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string>_cpuid_set_info</string>
<key>Comment</key>
<string>algrey - Force cpuid_cores_per_package 10.15,11.0</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
wegaAAAA
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
//3/AAAA
</data>
<key>MaxKernel</key>
<string>20.99.99</string>
<key>MinKernel</key>
<string>19.0.0</string>
<key>Replace</key>
<data>
ugAAAAAA
</data>
<key>ReplaceMask</key>
<data>
//////8A
</data>
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string>_cpuid_set_info</string>
<key>Comment</key>
<string>algrey - Force cpuid_cores_per_package 12.0</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
wegaAAAA
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
//3/AAAA
</data>
<key>MaxKernel</key>
<string>21.99.99</string>
<key>MinKernel</key>
<string>21.0.0</string>
<key>Replace</key>
<data>
ugAAAACQ
</data>
<key>ReplaceMask</key>
<data>
////////
</data>
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string></string>
<key>Comment</key>
<string>algrey - _commpage_populate - Remove rdmsr - 10.13/10.14/10.15/11.0/12.0</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
uaABAAAPMg==
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
</data>
<key>MaxKernel</key>
<string>21.99.99</string>
<key>MinKernel</key>
<string>17.0.0</string>
<key>Replace</key>
<data>
Dx+AAAAAAA==
</data>
<key>ReplaceMask</key>
<data>
</data>
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string></string>
<key>Comment</key>
<string>algrey - _cpuid_set_cache_info - Set cpuid to 0x8000001D instead 4 - 10.13/10.14/10.15/11.0/12.0</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
uAQAAABEifFEiQ==
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
</data>
<key>MaxKernel</key>
<string>21.99.99</string>
<key>MinKernel</key>
<string>17.0.0</string>
<key>Replace</key>
<data>
uB0AAIBEifFEiQ==
</data>
<key>ReplaceMask</key>
<data>
</data>
<key>Skip</key>
<integer>0</integer>
</dict>

Where is the:
B8000000 0000

I'm totally lost here.
 

xavierbaez

New member
AMD OS X Member
Joined
Feb 13, 2022
Messages
29
How can I import the patches.plist to config.plist using ProperTree?
 

xavierbaez

New member
AMD OS X Member
Joined
Feb 13, 2022
Messages
29
Like this?
I found out I can just import it with copy + paste with ProperTree
 

Attachments

  • Rambox_00-48-02.png
    Rambox_00-48-02.png
    381 KB · Views: 12

Middleman

Active member
AMD OS X Member
Joined
Jan 29, 2021
Messages
723
Like this?
I found out I can just import it with copy + paste with ProperTree
That's correct. You can just copy and paste it into the config.plist. Has to be under Kernel > Patches > Add.
 

Middleman

Active member
AMD OS X Member
Joined
Jan 29, 2021
Messages
723
Yes but the readme says:
Changing B8000000 0000/BA000000 0000/BA000000 0090* to B8 <CoreCount> 0000 0000/BA <CoreCount> 0000 0000/BA <CoreCount> 0000 0090* substituting <CoreCount> with the hexadecimal value matching your physical core

ANd the patches.plist files contains:
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string>_cpuid_set_info</string>
<key>Comment</key>
<string>algrey - Force cpuid_cores_per_package 10.13,10.14</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
wegaAAAA
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
//3/AAAA
</data>
<key>MaxKernel</key>
<string>18.99.99</string>
<key>MinKernel</key>
<string>17.0.0</string>
<key>Replace</key>
<data>
uAAAAAAA
</data>
<key>ReplaceMask</key>
<data>
//////8A
</data>
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string>_cpuid_set_info</string>
<key>Comment</key>
<string>algrey - Force cpuid_cores_per_package 10.15,11.0</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
wegaAAAA
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
//3/AAAA
</data>
<key>MaxKernel</key>
<string>20.99.99</string>
<key>MinKernel</key>
<string>19.0.0</string>
<key>Replace</key>
<data>
ugAAAAAA
</data>
<key>ReplaceMask</key>
<data>
//////8A
</data>
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string>_cpuid_set_info</string>
<key>Comment</key>
<string>algrey - Force cpuid_cores_per_package 12.0</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
wegaAAAA
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
//3/AAAA
</data>
<key>MaxKernel</key>
<string>21.99.99</string>
<key>MinKernel</key>
<string>21.0.0</string>
<key>Replace</key>
<data>
ugAAAACQ
</data>
<key>ReplaceMask</key>
<data>
////////
</data>
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string></string>
<key>Comment</key>
<string>algrey - _commpage_populate - Remove rdmsr - 10.13/10.14/10.15/11.0/12.0</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
uaABAAAPMg==
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
</data>
<key>MaxKernel</key>
<string>21.99.99</string>
<key>MinKernel</key>
<string>17.0.0</string>
<key>Replace</key>
<data>
Dx+AAAAAAA==
</data>
<key>ReplaceMask</key>
<data>
</data>
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string></string>
<key>Comment</key>
<string>algrey - _cpuid_set_cache_info - Set cpuid to 0x8000001D instead 4 - 10.13/10.14/10.15/11.0/12.0</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
uAQAAABEifFEiQ==
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
</data>
<key>MaxKernel</key>
<string>21.99.99</string>
<key>MinKernel</key>
<string>17.0.0</string>
<key>Replace</key>
<data>
uB0AAIBEifFEiQ==
</data>
<key>ReplaceMask</key>
<data>
</data>
<key>Skip</key>
<integer>0</integer>
</dict>

Where is the:
B8000000 0000

I'm totally lost here.
It's the 3 lines that contain the _cpuid_set_info. Just replace whatever those are showing with the values described in the readme instructions.
Please read and follow Shanee's instructions at the start of this thread.
 

xavierbaez

New member
AMD OS X Member
Joined
Feb 13, 2022
Messages
29
Okay it worked with ProperTree

However I got a new problem:

“OpenCore OC:Driver EFI/BOOT/BOOTx64.efi cannot be found”

I’m pretty sure that file is there.

Has anybody seen this problem before?


Sent from my iPhone using Tapatalk
 

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,349
Is the BOOTx64.efi file in the correct location within the EFI folder structure, as shown below?

Screenshot 2022-05-31 at 18.44.32.png

The /EFI/BOOT folder, which contains the BOOTx64.efi file should be outside the /EFI/OC folder, but within the main EFI folder.
 

xavierbaez

New member
AMD OS X Member
Joined
Feb 13, 2022
Messages
29
Okay I was able to fix it now I got the “The recovery server could not be contacted” error when trying to install


Sent from my iPhone using Tapatalk
 

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,349
Have you checked that your /EFI/OC/Kexts folder contains the correct Ethernet kext for your Ethernet controller?

Also have you added an entry for the kext to the Kernel > Add section in your config.plist?

Your motherboard has 2 x Ethernet controllers, as stated by the Asus specifications.

Screenshot 2022-06-01 at 11.55.45.png Ethernet controllers forASUS ROG X570 Crosshair VIII Formula motherboard

I am not sure if the Aquantia AQC111 controller is supported, I know the Aquantia AQC107 controller is supported in macOS.

Have a read of this thread regarding the Intel i211-AT controller.


Read the whole thread, to see what if anything changed since last August.
 

xavierbaez

New member
AMD OS X Member
Joined
Feb 13, 2022
Messages
29
Have you checked that your /EFI/OC/Kexts folder contains the correct Ethernet kext for your Ethernet controller?

Also have you added an entry for the kext to the Kernel > Add section in your config.plist?

Your motherboard has 2 x Ethernet controllers, as stated by the Asus specifications.

View attachment 5986 Ethernet controllers forASUS ROG X570 Crosshair VIII Formula motherboard

I am not sure if the Aquantia AQC111 controller is supported, I know the Aquantia AQC107 controller is supported in macOS.

Have a read of this thread regarding the Intel i211-AT controller.


Read the whole thread, to see what if anything changed since last August.

I was able to get WiFi working.

I will try to get Ethernet working today.
 
Back
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.