Just to add my $0.02 from my experience updating Clover to r4586, in preparation for the update to 10.13.16 from 10.13.2.
AptioMemoryFix does NOT work for my setup (motherboard GA-Z77X-UD5 TH)
Boot failed almost immediately with a misleading error message about the pre-linked kernel, but the actual error is the one above, failure to allocate memory pages.
Solution: replace AptioMemoryFix.efi with OsxAptioFix2Drv.efi (available from the official Clover ISO image of the same r4586 build.)
To replace the file, I boot into recovery mode using my USB thumb drive. I read from an earlier thread that it is also possible to perform equivalent file operations using the EFI Shell from Clover without the need to boot into recovery mode, but for me, booting into recovery mode is easier and is something I am more familiar with.
Additional Notes:
- Here’s my ‘minimal’ working Clover install with boot drive already converted into APFS:
- drivers64UEFI:
ApfsDriverLoader-64.efi
AppleImageCodec-64.efi
AppleKeyAggregator-64.efi
AppleUITheme-64.efi
FirmwareVolume-64.efi
FSInject-64.efi
OsxAptioFix2Drv-64.efi
SMCHelper-64.efi
VBoxHfs-64.efi
- kext/Others:
AppleALC.kext
CodecCommander.kext
FakeSMC.kext
IntelMausiEthernet.kext
Lilu.kext
USBInjectAll.kext
AppleALC.kext together with the config Inject Audio ID Layout #1 + ResetHDA gives me full audio support without patching. Also the ACPI patch "change HDAS to HDEF" is NOT required.
- To enable all USB ports I used the new USB patch for 10.13.6:
- Mount EFI Partition with Clover Configurator
- Navigate to /Volumes/EFI/EFI/Clover/
- Right-click open config.plist with Clover Configurator
- Click Kernel and Kext Patches under SECTIONS of Clover Configurator
- Click the “+” button near the bottom to add this patch:
- Name*: com.apple.driver.usb.AppleUSBXHCI
- Find* [HEX]: 837D880F 0F83A704 0000
- Replace* [HEX]: 837D880F 90909090 9090
- Comment: USB 10.13.6+ by PMHeart
- MatchOS: 10.13.x
- Save config.plist
- NVRAM is natively supported on this motherboard and hence Clover NVRAM emulation is NOT required. I did the housekeeping to remove all related files using the uninstaller available from this site. Tested NVRAM between reboot using the following procedure:
sudo -s
nvram -c
nvram set myvar=test
(Reboot)
nvram -p