Ryzen
Starting point
I personally prefer to start with an empty config.plist when setting up a desktop, as it means I don't have to worry whether I unticked the correct options. Plus it allows to just have a cleaner config.
You can get a blank config by pressing command + n inside Clover configurator. I will also be sharing the XML of each section for those who prefer working with a text editor.
ACPI
XML
Clover Configurator screenshots
Explanation
Patches:
The first thing we'll go over is the Patches section. This section allows us to dynamically rename parts of the DSDT via Clover. Since we're not running a real mac, and macOS is pretty particular with how things are named, we can make non-destructive changes to keep things mac-friendly. We have three entries here:
change SAT0 to SATA - for potential SATA compatibility
Fixes:
If we look then at the Fixes section, we'll see that we have a few things checked (there are 2 pages, so I included 2 screenshots):
FixShutdown - this can help with some boards that prefer to restart instead of shutdown. Sometimes it can cause shutdown issues on other boards (ironic, right?), so if you have issues shutting down with this enabled, look at disabling it.
The remaining fixes help avoid IRQ conflicts and etc, and are not known to cause issues. They may not be necessary for all hardware, but do not negatively impact anything if applied.
FixHeaders:
The only other things we've done on this page are enable that checkbox.
FixHeaders - This checkbox tells Clover to sanitize headers to avoid kernel panics related to unprintable characters.
Boot
XML
Clover Configurator screenshots
Explanation
Arguments:
We have a few boot args set here:
-v
- this enables verbose mode, which shows all the behind-the-scenes text that scrolls by as you're booting instead of the Apple logo and progress bar. It's invaluable to any Hackintosher, as it gives you an inside look at the boot process, and can help you identify issues, problem kexts, etc. Remove this for a nice GUI bootscreen when you are done installing.debug=0x100
- this prevents a reboot on a kernel panic. That way you can (hopefully) glean some useful info and follow the breadcrumbs to get past the issues.keepsyms=1
- this is a companion setting todebug=0x100
that tells the OS to also print the symbols on a kernel panic. That can give some more helpful insight as to what's causing the panic itself. Keep this only during the install phase as it could cause insecurity in normal use.ncpi=0x3000
- this fixes issues with PCI configuration. Without it the machine will often hang on boot.
DefaultBootVolume and Timeout:
These are the only other settings I've updated in this section.
DefaultBootVolume - this uses NVRAM to remember which volume was last booted by Clover, and auto-select that at the next boot.
Timeout - this is the number of seconds before the DefaultBootVolume auto-boots. You can set this to
-1
to avoid all timeout, or to0
to skip the GUI entirely. If set to0
, you can press any keys at boot to get the GUI to show back up in case of issues.
Boot graphics
We don't need to change anything here. You can come here if you want to change the scaling of the Clover UI.
CPU
XML
Clover Configurator screenshots
Explanation
We've changed a few settings here, nothing required, but supposedly can help when some experience issues with audio and video being out of sync.
Frequency MHz - This is the frequency of your CPU in MHz. In my case the CPU runs at 4.1GHz so I entered 4100MHz.
Bus Speed kHz -This is not actually the FSB of your CPU but it is a little higher to make sure everything stays in sync. Stick with the given value.This is unneeded as of kernel version 2.0. Use only if you use an older kernel version.
Latency - " This parameter value represents the C3 entry latency issued when entering C3 state." or in layman's terms: Disabling speedstep, since AMD CPUs don't support that.
Type - Determines what CPU name is displayed in About this mac
Devices
XML
Clover Configurator screenshots
Explanation
USB:
Under this section, we ensure that Inject and FixOwnership are selected to avoid issues with hanging at a half-printed line somewhere around the Enabling Legacy Matching
verbose line. You can also get past that by enabling XHCI Hand Off in BIOS.
Audio:
We enabled ResetHDA which puts the codec back in a neutral state between OS reboots. This prevents some issues with no audio after booting to another OS and then back.
Gui
XML
Clover Configurator screenshots
Explanation
Scan:
The only settings I've tweaked on this page are the Scan settings. I've selected Custom, then checked everything except Legacy and Kernel. This just omits some of the unbootable entries in Clover to clean up the menu.
Graphics
We don't have to do anything here
Kernel And Kext Patches
XML
Clover Configurator Screenshots
Explanation
In this section, we've enabled a few settings and added some kext patches.
KextsToPatch:
We added 3 different kexts to patch here. Three of them are for USB port limit increases, and the last acts as an orange icons fix - when internal drives are hotpluggable, and treated as external drives. The last patch is the native USB patch from chapter Ryzen native USB. This is not in the XML, as it will differ per OS version.
You'll notice that there are MatchOS values set for each of the USB port limit patches. You can remove any of the entries for OS versions you don't intend to run. They won't do any harm being there, but if you want a clean, minimal plist, there's no sense in having them.
FakeCPUID
This setting tells the OS what CPU we have, even if that isn't really what we have. In this case we are telling it our Ryzen is a Skylake U chip.
Rt Variables
XML
Clover Configurator screenshots
Explanation
BooterConfig gets set to 0x28
, and CsrActiveConfig is set to 0x3e7
which effectively disables SIP. You can choose a number of other options to enable/disable sections of SIP. Some common ones are as follows:
0x0
- SIP completely enabled0x3
- Allow unsigned kexts and writing to protected fs locations0x3e7
- SIP completely disabled
For AMD we need SIP to be disabled
SMBIOS
XML
Clover Configurator screenshots
Explanation
The SMBIOS is what our machine tells macOS it is. In case of a Ryzen based system you want that to be an iMac14,2. Do not copy my values, nor use the default values provided in the example plist. Press on the little square with two arrows on the mid-right of the window.
System Parameters
Raw XML
Clover Configurator screenshots
Explanation
Inject Kexts:
This setting has 3 modes:
Yes
- this tells Clover to inject kexts from the EFI regardless.No
- this tells Clover not to inject kexts from the EFI.Detect
- this has Clover inject kexts only if FakeSMC.kext is not in the kext cache.
We set it to Yes
to make sure that all the kexts we added before get injected properly.
NvidiaWeb:
In this case I have checked the NvidiaWeb box. This is because I use a modern Nvidia GPU which requires WebDrivers. This option enables the driver to load when it is installed.
Example
For those who want it here is my example Ryzen plist. If you plan on using it, I recommend to regenerate the SMBIOS as shown in the above tutorial. This serial has probably been used many times over by now.
Last updated