Install MacOS with clover EFI bootloader on ASUS Z87a

Clover is an open source EFI bootloader. clover can do better job than Chameleon, especially on newer UEFI based systems. Using Clover is easy and straightforward. There are tons of documents about how to use clover on Gigabyte motherboards because Gigabyte motherboards usually have less compatibility issues with MAC OS X in the old day. However, with Clover and new OS X after Yosemite, Asus motherboard can also be turned into a perfect Hackintosh.

Clover Mac Os E1437342949703

Hardwares used in this instruction:

Motherboard: Asus Z87-A motherboard (Get ASUS Z87-A motherboard from Amazon)
CPU: I7 4770K CPU or any LGA1150 CPU (Get LGA1150 CPU from Amazon)
Graphics Card: Integrated Graphics Processor (HD Graphics 4600)
Sound Card: Integrated Realtek ALC892

Overview for this instructions:

  1. Download the OS X Yosemite (or El Capitan‎) Application from the Mac App Store
  2. Prepare a UEFI Installer USB flash drive
  3. ASUS 87-A BIOS setup
  4. Install Clover into USB
  5. Modify Clover bootloader's configuration file
  6. Install OS X Yosemite
  7. Install the bootloader and drivers to system drive
  8. Install Sound card driver and fix wake up no sound issue

STEP 1: Download OS X Operating System

The full operating system is a FREE download for anyone who are using Mac OS X 10.6.8 or after. A full image can be download from the Mac App Store using your Apple ID.

  1. Open Mac App Store
  2. Search OS X
  3. Download OS X *** (in this demo we are using OS X Yosemite)

The Application Install OS X Yosemite will appear in /Applications.

STEP 2: Prepare a UEFI Installer USB flash drive. (this step will completely erases the USB)

  1. Insert the USB drive
  2. Open /Applications/Utilities/Disk Utility
  3. Select the USB derive in left column. (Click and highlight the name with Total Capacity)
    Diskutility Os X
  4. Click on the Partition tab
  5. Click Current and choose 1 Partition
  6. Click Options...
  7. Choose GUID Partition Table
  8. Under Name: type MAC (It will be renamed later)
  9. Under Format: choose Mac OS Extended (Journaled)
  10. Click Apply then Partition
  11. Open Terminal (/Applications/Utilities/Terminal) and use the command below to create a native OS X installer media from the Install OS X Yosemite Application.
    sudo /Applications/Install\ OS\ X\ --volume /Volumes/MAC --applicationpath /Applications/Install\ OS\ X\ --no interaction
  12. The USB will be renamed Install OS X Yosemite upon completion.

STEP 3: BIOS setup

Should I patch the BIOS?

NO, you don't have to. Make sure Z87-A's BIOS is up to day. You can always download the latest version BIOS from ASUS's website. The latest version's BIOS already have the option to disable the CFG lock (MSR 0xE2) so you don't need to patch your BIOS.

If you don't have the latest BIOS, you can still use Clover's AsusAICPUPM patch. You can do that in STEP 4.

  1. Disable ASUS Motherboard's UEFI secure boot
  2. Set CSM (Compatibility Support Module) to Disabled
  3. Set SATA Mode to AHCI Mode
  4. Other settings do not really matter. The system will boot just fine.

STEP 4: Install Clover into USB

Download the latest version of Clover from Clover from Sourceforge
Open Clover package installer
Choose the USB Install OS X Yosemite

Install Clover

We are using UEFI boot we will install Clover to the EFI partition of the USB for UEFI booting only. Hit Customize and install Clover to the same USB with the following Custom Install settings:

Clover Uefi

STEP 5: Make Clover Fit your Machine

Open the mounted EFI partition, Navigate EFI/CLOVER/drivers64UEFI/ remove VBoxHfs-64.efi and add HFSPlus.efi (Apple's HFS driver. Required to boot OSX when creating USB stick using this guide.)

Navigate to /EFI/CLOVER/kexts/10.10/ and add FakeSMC.kext

Navigate to /EFI/CLOVER/kexts/10.10/ and add RealtekRTL8111.kext (Driver for Realtek 8111GR Gigabit LAN Controller)

Navigate to /EFI/CLOVER/ and replace default config.plist with plist for ASUS Z87-A config.plist

The configuration file will tell Clover how to run on your machine. You can enable various features and apply patches that the developers have built into Clover.

The configurations are going to be vastly different depending upon what components you have.

The full explanation of config.plist parameters can be found here.

STEP 6: Install OS X

Reboot your PC and select boot from your newly created USB

When Clover boot screen is visible, choose Boot OS X Install from OS X Install OS X Yosemite

For a new installation of OS X, you MUST erase and format the destination drive according to the following steps before continuing. If you are upgrading from previous generation OS X like Snow Leopard, Lion, or Mountain Lion and you want to keep your files and apps, skip the following 1-10 steps.

  1. Choose Disk Utility
  2. Highlight your target hard drive for the Yosemite installation in left column.
  3. Click Partition tab
  4. Click Current and choose 1 Partition
  5. Click Options...
  6. Choose GUID Partition Table
  7. Under Name: type MAC (You can rename it later)
  8. Under Format: choose Mac OS Extended (Journaled)
  9. Click Apply then Partition
  10. Close Disk Utility

When the installer asks you where to install, choose Yosemite, or your existing install.

System will restart the 1st time
Boot to your USB again, when Clover boot screen is visible, choose Boot OS X Install from OS X Install OS X Yosemite

The system will boot into the new drive, create the recovery partition, and complete the installation. Upon completion, system will restart the 2nd time.

When Clover boot screen is visible, choose Yosemite then the system will launch OS X Setup

STEP 7: Install the bootloader and drivers to system drive.

Repeat step 4 after you finished OS X setup, but this time choose to install Clover to your hard drive MAC

Repeat step 5 to your hard drive MAC's EFI partition.

STEP 8: Install Sound card driver and fix wake up no sound issue.

Note: The config.plist we provided will prevent the popping sound or static noise issue as we use Mac Pro 3,1 identifier. iMac will periodically force sound card to sleep and will cause Realtek ALC892 sound card to make static noise or popping. The performance different between using Mac Pro 3,1 or iMac system definition is not obvious so no need to change that unless you have specific reason to do so.

Download alc892

Open Kext Utility and drag AppleHDA892.kext and CodecCommander.kext to install both kext into /S/L/E.

*CodecCommander will fix the no sound problem after sleep and wakeup.
*AppleHDA892.kext will not affect original AppleHDA, need to together use with the config.plist provided in this post.

STEP 9, add Intel i7 4770K SSDT for better CPU SpeedStep & Power Management

Navigate to /Volumes/EFI/EFI/CLOVER/ACPI/patched/ and add SSDT.aml



    1. new guide for macOS Sierra is posted.

        1. I provided screenshot of each tab in the new guide with the value I have, so you can just match the setting to build your own configuration.

  1. Hi, have made the Z87-a become a somewhat working hackintosh before ( Like a year ago)
    Will try this guide one of the following days - but can anyone tell me that all the USB 3.0 ports will be working from this?

    Best regards

    1. All USB 3 work on Yosemite. You can install the kext to fix the USB3.0 issue on El Capitan, verified work on ASUS Z87

  2. Hi, i have a problem about boot.

    I have the bios version 2103 which is the latest on asus z87-a support website.
    I have upgraded from yosemite to el capitan.
    I can boot without an issue via usb which has clover installed on it.

    After post i hit F8 to see boot menu.
    Now there is an option for my usb stick which is "Sandisk Extreme" and there is another option which is "UEFI: Sandisk Extreme".
    Naturally if i select "UEFI: Sandisk Extreme" it boots fine, i select "boot mac osx from hdd" and os loads fine.

    BUT in the boot menu i dont see "UEFI: My harddisk" so there is only legacy mbr boot option shows.

    I have followed the steps listing on "Disable ASUS Motherboard's UEFI secure boot" page.
    And i have "Secure boot state: Disabled" and "Platform Key State: Unloaded".
    Do you know where the "option to disable the CFG lock (MSR 0xE2)" is? As i stated i have the latest bios version 2103.

    Thanks in advance.

    1. CFG lock (MSR 0xE2) is disabled in default if you have 2103 version bios. I don't have the board with me now so I can't tell you where you can find it, but it is there for sure.
      There is a UEFI bug in 2103 bios and I believe you are experiencing the issue. You can flash back to a previous BIOS and you will see all your UEFI disk. After that flash back 2103 it will stay. This happened to me too when updating the system.

  3. thx for your nice Guide. Nice to have clover in uefi on my z87-a
    But i have this Sound issue as well.
    I tried a lot of thinks.
    Voodoo works for ne but there is an crappy Noise on Startup. So i think not so nice

    Maybe Young have another Solution

  4. I open any audio/video file, mp3/wav/avi/mp4, after 10-15 seconds the sound increasingly becomes very distorted, then fades away, then after 10 seconds it returns with choking till the end of file.
    Antipop didn’t help. In Windows everything’s fine.

    ASUS Z87-A
    Intel i7-4770K
    2x8Gb Kingston memory
    Internal audio

    I have tried to remove GTX 760, wireless keyboard and mouse receiver, adapteс raid controller (which doesn’t work in mac os), disabled CPU audio in BIOS. The problem still remains.

        1. That is odd. Z87-A has ALC892 and I have tested with many Z87-A, no problem like yours. Are you sure your board is Z87-A? You can try the a different driver to see if that work for your case.

  5. Thanks for this guide, I did exactly theese steps and now I'm with Mac on my Asus Z87-A.
    But I have this problem when audio is popping and choking after some seconds.
    Can you tell me how to fix that please?

    1. You must set the definition to Mac Pro 3,1 and check AFGLowPowerState. If you use the conf.plist from this post you will not have the popping and clicking issue.

      1. I did use config from this post. No avail.
        In the beginning it says - integrated Intel graphic card, I'm using Nvidia GTX760. Can an external video card cause the sound problem?

        1. Yes, you can use GTX760 but you need to edit the config to enable Nvidia inject. If your sound card is working but have popping sound after inactive, set to macpro3,1 will definitely solve that problem because only macpro3,1 will not force soundcard to sleep. You can try uncheck AFGLowPowerState to see if that will help.

          1. Ok, here is what system info shows:

            Model Name: Mac Pro
            Model Identifier: MacPro3,1
            Processor Name: Intel Core i7
            Processor Speed: 3,5 GHz
            Number of Processors: 1
            Total Number of Cores: 4
            L2 Cache (per Core): 256 KB
            L3 Cache: 8 MB
            Memory: 16 GB
            Processor Interconnect Speed: 400 MT/s
            Boot ROM Version: MP31.006C.B05
            SMC Version (system): 1.25f4
            Serial Number (system): CK93993EXYL
            Serial Number (processor tray): CK93993EXYL123456
            Hardware UUID: E641EBD5-103F-5D9E-B7AD-EE2E958C9CCF

            Checking/unchecking AFGLowPowerState doesn't change anything.

          2. Can you describe your issue in more detail? I have tested Z87-A with Yosemite. No popping issue after set the identifier to Macpro3,1. You may want to try a small app call: antipop. If non of these work, maybe you want to check if the popping issue exist in Windows.

Leave a Reply

Your email address will not be published. Required fields are marked *