macOS Installation

BIOS Tampering

Intel CPU Power Management with ASUS motherboards

In order to completely utilise the Intel CPU power management within our macOS installation at a later stage in this guide, we must install a patched version of our BIOS in order to circumvent a locked MSR 0xE2 register. macOS natively has this register unlocked, but ASUS motherboards do not.

We'll use the ASUS Rampage V Extreme as a reference point hereinafter, however, the process would be identical for any other ASUS motherboards, apart from the motherboard manual, the .cap file and the BIOS Flashback instructions.


CodeRush's UEFI patch
Patches ASUS motherboards by unlocking the MSR 0xE2 register.
Rampage V Extreme BIOS
Download the latest Rampage V Extreme BIOS.

Once both files have been downloaded, move the .cap file into the same directory as the UEFI patch tool. Launch the Terminal and cd into the directory, followed by running the UEFI patch tool, like so;

Once the procedure has finished (you may ignore any warnings it may produce), you should have a RAMPAGE-V-EXTREME-ASUS-XXXX.CAP.patched file — rename it to R5E.cap.

Now, find a spare USB drive (preferably not your macOS USB installer drive) and launch Disk Utility. Select the USB drive in the left sidebar and click on the button.

Disk Utility
Name: USB
Format: MS-DOS (FAT)
Scheme: Master Boot Record

Format the USB drive with the settings depicted above, and move the R5E.cap file onto it. Shutdown your computer and plug the USB drive into your motherboards BIOS Flashback port (refer to the motherboard manual) and hold down the Flashback button until it starts blinking.

Wait until the blinking stops. You should now have successfully upgraded your BIOS version.

UEFI Settings

A few adjustments must be applied to the UEFI of your target computer in order for the installer (and thereafter, the operating system) to function properly. Repeatedly press the or key as you boot up the computer. Once you're in the UEFI, make the following changes;

Rampage V Extreme UEFI
USB Configuration
Intel xHCI Mode: Enabled
EHCI Legacy Support: Auto
xHCI Hand-off: Enabled
EHCI Hand-off: Enabled
Fast Boot: Disabled
Compatibility Support Module
Launch CSM: Disabled
Secure Boot
OS Type: Other OS

These settings are specifically meant for the Corsair Dominator Platinum 3000 MHz and may vary depending on your RAM.

Ai Overclock Tuner: XMP
XMP: XMP DDR4-3000...
DRAM Frequency: DDR4-3000MHz

Save & exit out of the UEFI.

Booting the USB installer

Plug the USB stick into your target computer, boot it up whilst repeatedly pressing the key. This will allow you to select your preferred boot device — find the UEFI version of your USB stick and select it.

Select the Boot macOS Install from Install macOS High Sierra option once you're on the Clover bootloader screen using your arrow keys. It may take a few seconds, but eventually you should be prompted with the macOS installation screen.

Installing macOS

Formatting the hard drive partition

Launch Disk Utility from the macOS installer, locate & select your target hard drive in the left sidebar.

You may want to enable View > Show All Devices from the menubar if you're planning on using an entire hard drive, rather than a specific partition. This will allow you to completely erase any existing partitions on the target hard drive.

Click on the button in the toolbar and specify the values as seen below.

Disk Utility
Name:
lmacOS High Sierra
Format: APFS
Scheme: GUID Partition Map

Running the installer

Exit out of Disk Utility and launch the Install macOS option instead. Select the target partition and run the installer. The computer will reboot itself once the installer has reached a certain point.

You'll once again have to repeatedly press the key and select the UEFI version of your USB stick. However, once you reach the Clover bootloader screen, you'll want to select the Boot macOS Install from

lmacOS High Sierra
option.

Should the installer appear to crash and reboot the computer again, repeat the above steps until the installation finishes.

Once the installation has finished, the computer will restart yet again, and you'll want to repeat the above steps one last time, but this time you'll want to select the Boot macOS from

lmacOS High Sierra
option.

Go ahead and follow the on-screen installer instructions as you see fit.

Clover Bootloader

Download

Clover Bootloader
and run the installer. Once you're prompted to select your destination target, verify that the correct hard drive partition is selected. Next, rather than progressing, click on the button and apply the following settings;

Clover Bootloader
Global
Install for UEFI booting only
Install Clover in the ESP
Install RC scripts on target volume
Install Clover Preference Pane
drivers64UEFI
AppleImageCodec-64
AppleKeyAggregator-64
AppleUITheme-64
FirmwareVolume-64
FSInject-64
SMCHelper-64
VBoxHfs-64
ApfsDriverLoader-64
CsmVideoDxe-64
EmuVariableUEFI-64
OsxFatBinaryDrv-64

Driver Confirmation

Navigate to the /EFI/Clover/drivers64UEFI directory and confirm that the following .efi drivers exists. If some, or all, are missing, download them below and place them within the directory manually.

Click to toggle details
AppleImageCodec-64.efi
Decodes PNG and BMP images within the boot UI.
AppleKeyAggregator-64.efi
Enables FileVault 2 support in the boot UI.
AppleUITheme-64.efi
Enables theme support in the boot UI.
FirmwareVolume-64.efi
Create FirmwareVolume with cursor images.
FSInject-64.efi
Enables kext injection through Clover.
SMCHelper-64.efi
Restore SMC keys left in nvram by FakeSMC.
ApfsDriverLoader-64.efi
Support for the APFS filesystem.
CsmVideoDxe-64.efi
Enables various screen resolutions within the Clover bootloader.
EmuVariableUEFI-64.efi
Emulates NVRAM where none exists.
OsxFatBinaryDrv-64.efi
Support for the MSDOS FAT filesystem.