Contribute
Register

[GUIDE] El Capitan on the GA-Z170X-UD3

Status
Not open for further replies.
Joined
Feb 21, 2011
Messages
304
Motherboard
GA-Z170X-UD3
CPU
I5-6600K
Graphics
Vega 64
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. iOS
El Capitan on the GA-Z170X-UD3

Changelog (May not be complete)
  • Removed entries older than date below.
  • Updated guide for 10.11.4 DATE: 28/03/16
  • Updated Nvidia driver link (Thanks PhilipNorth) DATE: 10/04/16
  • Updated CloverEFI (Required for my config.plist) DATE: 10/04/16
  • Added <key>UseARTFrequency</key> <false/> (Fixes audio distortion in Clover rev. 3354 <) DATE: 10/04/16
  • Fixed error in creation of SSDT for OC CPU DATE: 10/04/16
  • Automatic RAM detection! (Require newest Clover version) DATE: 27/04/16
  • Updated CodecCommander.kext link (Now also support back/front switching after sleep)
  • IMPORTANT: Switched to MacPro6,1 instead of iMac17,1 (Fixes some problems with Nvidia GPUs). Requires new serial, MLB, and SmUUID (Or reverting the changes of SMBIOS section) for iMessage. DATE: 23/07/16
  • New native USB method. DATE: 23/07/16
  • New audio method, survive reinstall/update, working audio after sleep, working front/back switching (Require unmodified AppleHDA.kext). DATE: 23/07/16
  • Other small changes DATE: 23/07/16
  • Updated Clover to rev. 3662 DATE: 07/08/16
  • Edited CsrActiveConfig (0x67) DATE: 07/08/16
  • Edited the following SMBIOS entries to contain allowed values: MLB, BoardSerialNumber, SerialNumber, SmUUID. DATE: 07/08/16
  • Added FixShutdown_0004 DSDT patch, to avoid auto bootup after sleep. (Credit: @edoardoconti97) DATE: 07/08/16
  • Moved the USB section up, and changed some wording, as people were having problems with that section.DATE: 24/08/16
  • Renamed USB-SSDT.py -> USB-SSDT.command (Double click to run) DATE: 28/08/16
  • USB-SSDT.command now saves files on Desktop. DATE: 28/08/16
  • New guide for macOS 10.12 DATE: 20/09/16

Please use the macOS 10.12 guide, this guide will not be updated any more

My Configuration
  • BIOS F6 Download
  • Core i5-6600k @ 4.4GHz
  • 2x 8 GB DDR4 2666 MHz RAM (16GB)
  • Evga GTX 980 Ti SC+
  • Samsung EVO 850 500GB
  • Western Digital Blue 1TB
  • BCM94360CD Bluetooth/WiFi combo
  • OS X 10.11.6 El Capitan

What works
  • SATA
  • USB 2.0 and USB 3.0
  • Audio including HDMI/DP
  • CPU power management
  • GPU power management
  • Sleep
  • Build-in Ethernet (Including WOL)
  • TRIM support enabled
  • Intel HD530 integrated graphics (Untested by me, but Tony have a guide)

What sorta works
  • USB 3.1 Type A port works with a mouse. (Unable to mount any drives on that port.)

Untested
  • USB 3.1 Type C port

Installation prerequisites
  • A GA-Z170X-UD3 build
  • A working Mac or Hackintosh
  • A USB stick or drive, 16 GB or larger

Get El Capitan
  1. Open Mac App Store
  2. Log in with your Apple ID
  3. Download OS X El Capitan (10.11.4 or higher required)
  4. When the download finishes and the setup screen appears, Quit the app from the menu bar. You should now see the application /Applications/Install OS X El Capitan.app

Things to download

BIOS Settings
  • In BIOS Features
    • Fast Boot: Disabled
    • Windows 8/10 Fatures: Windows 8/10
    • CSM Support: Disabled
    • Network Stack: Disabled
  • In Peripherals:
    • Intel Platform Trust Technology: Disabled
    • Initial Display Output: PCIe 1 Slot (Or whatever slot your GFX is in)
    • Legacy USB Support: Enabled
    • XHCI Hand-off: Enabled
    • Port 60/64 Emulation: Disabled
    • In Super IO Configuration:
      • Serial Port 1: Disabled
  • In Chipset:
    • VT-d: Disabled
    • Internal Graphics: Disabled
    • Audio Controller: Enabled
    • PCH LAN Controller: Enabled
    • IOAPIC 24-119 Entries: Enabled

Configure USB ports.
USB layout Z170X-UD3 backplate.jpg USB layout Z170X-UD3 board.jpg
(Credit Scabattoir)

  1. Unpack USB-SSDT.zip
  2. Run USB-SSDT.command (Alt click and press Open)
  3. Use the pictures above to find the ports you need to enable.
  4. Two files (USB-SSDT.aml and SSDT-5.aml) will be saved on your desktop, save these for later.

HSxx (eg. HS01) is USB 2.0
SSxx (eg. SS01) is USB 3.0

You will need to enable both HS and SS if you want USB 2.0 and USB 3.0 on the same port.

Prepare Installer
  1. Insert USB Drive
  2. Open /Applications/Utilities/Disk Utility
  3. Format drive as Name: Untitled, Format: OS X Extended (Journaled), Sheme: GUID Partition Map
  4. Open /Applications/Utilities/Terminal and run this command (Your password will not be shown when typing)
    Code:
    sudo "/Applications/Install OS X El Capitan.app/Contents/Resources/createinstallmedia" --volume /Volumes/Untitled --applicationpath "/Applications/Install OS X El Capitan.app" --nointeraction
  5. Run Clover app from the downloaded ZIP
  6. Choose Change Install Location... and choose your USB
  7. Choose Customize
  8. Enable these flags
    • Install for UEFI booting only
    • Drivers64UEFI
      • OsxAptioFix2Drv-64
      • EmuVariableUefi-64
  9. Choose install
  10. When finished open the EFI partiton -> CLOVER folder
  11. Copy files from Desktop to these places
    • ACPI/patched/SSDT-5.aml
    • ACPI/patched/USB-SSDT.aml
  12. Copy files from Clover Files to these places
    • config.plist
    • kexts/Other/FakeSMC.kext
    • kexts/Other/IntelMausiEthernet.kext
    • kexts/Other/AppleALC.kext
    • kexts/Other/CodecCommander.kext
    • drivers64UEFI/HFSPlus.efi
    • ACPI/patched/XOSI-WIN10.aml
    • ACPI/patched/SSDT-HDEF-HDAS-1.aml
  13. Delete these files and folders
    • kexts/10.*
    • drivers64UEFI/VBoxHfs-64.efi

Install El Capitan
  1. Insert USB drive Please use one of the black ports near the PS/2 port on the motherboard I/O
  2. Hit F12 and choose UEFI: USB Drive Name
  3. When in Clover, please add the bootflag "nv_disable=1" (Whitout the quotes), then highlight Boot Mac OS X from USB, hit space and choose Boot verbose
  4. When in the installer, choose your language.
  5. Choose Disk Utility and format the drive you want to install OS X onto.
  6. Close Disk Utility and choose Install OS X
  7. Choose your harddive and hit install
  8. Go take a cup of tea and wait for reboot (This may take up to 30 min)
  9. When in Clover again, if there is no drive with the name you chose in the installer choose Boot Mac OS X from USB again, else choose your drive name. (Remeber to add the "nv_disable=1" flag again)
  10. If you chose Boot Mac OS X from USB an installer should begin again, take another cup of tea now.
  11. When your chosen drive name shows up in Clover highligt it, hit space and choose verbose boot.
  12. You should now be at the OS X setup screen, choose your username and so on Do not login to your Apple ID at this time.
  13. You should now be at the Desktop, go pet you cat/dog/child/wife/husband/rubberduck.

Post-Installation Configuration
  1. Run Clover installer (Choose the same as before, but also choose Install RC scripts on target volume (To fix missing NVRam))
  2. Copy the same files as for the installer
  3. CPU PM:
    1. Unpack freqVectorsEdit.sh-master.zip, run freqVectorsEdit.sh. Choose the option called: "Mac-65CE76090165799A.plist (iMac17,1)"
    2. Reboot
    3. Run the ssdtPRGen.sh script that was downloaded earlier (If your CPU is overclocked, add "-turbo xxxx" without the quotes. Ex: "-turbo 4400" for 4.4GHz)
  4. To get HDMI audio run audio_cloverHDMI-110.command Do not do this if you use an Nvidia GPU!
  5. Run the following command to fix long sleep crashes:
    Code:
    sudo pmset -a standby 0 && sudo pmset -a autopoweroff 0
  6. If you want to use iMessage, use An iDiot's Guide To iMessage. (Not my idea for the name, that is what it's called). Generate values for MacPro6,1.
  7. Make sure that this variable is NOT removed in config.plist: <key>UseARTFrequency</key> <false/>, it should be present under CPU, but Clover Configurator remove the variable.
  8. Reboot, you should now be able to boot into a working OS X

Setup NVIDIA Graphics
Do all of these steps before rebooting!
If you use another Graphics Card, please search the forum for how to setup.
  1. If you use a 9xx series graphics card install the NVIDIA Web Drivers
  2. From Clover Files copy: ACPI/patched/SSDT-HDMI-NVIDIA-PEG0.aml to the same place in your Clover folder.
  3. Reboot

Credits
 
Last edited:
Hi CJ,

I am a total noob to hackintosh, and I was trying to follow your guide. Unfortunately, when I try to load the Installer, I get stuck with an error "[IOBluetoothFamily][SearchForTransportEventTimeOutHandler] -- Missing Bluetooth Controller Transport!". Did you come across this, do you know how to fix it? I have the same CPU and MB as you. I was on F2, but flashed it to F4 with no difference.

Thanks,
Demq
 
Hi CJ,

I am a total noob to hackintosh, and I was trying to follow your guide. Unfortunately, when I try to load the Installer, I get stuck with an error "[IOBluetoothFamily][SearchForTransportEventTimeOutHandler] -- Missing Bluetooth Controller Transport!". Did you come across this, do you know how to fix it? I have the same CPU and MB as you. I was on F2, but flashed it to F4 with no difference.

Thanks,
Demq

Never mind, all done, OSX up and running, all the rubber ducks hugged out :))) Turned out the problem was using 10.11.2 version (worked fine with 10.11.1), also had to use clover flag nv_disable=1 and plug the USB stick into the USB2 port at the back IO panel of the motherboard and NOT those on the front, otherwise was getting all kinds of errors during boot-up of the installer. I could use other back panel USB3 ports for the mouse.

Thanks!!!
 
On board ethernet should be working now, added to the guide.


Turned out the problem was using 10.11.2 version (worked fine with 10.11.1), also had to use clover flag nv_disable=1 and plug the USB stick into the USB2 port at the back IO panel of the motherboard and NOT those on the front, otherwise was getting all kinds of errors during boot-up of the installer. I could use other back panel USB3 ports for the mouse.

Great that you got it working!

Seems a bit weird to me that it wouldn't work with 10.11.2, did you try those other steps you used to install (nv_disable, USB stick, etc.) with 10.11.2?

I updated my system to 10.11.2 using the App Store with no problems, so at least you should be able to use 10.11.2 that way :)
 
On board ethernet should be working now, added to the guide.




Great that you got it working!

Seems a bit weird to me that it wouldn't work with 10.11.2, did you try those other steps you used to install (nv_disable, USB stick, etc.) with 10.11.2?

I updated my system to 10.11.2 using the App Store with no problems, so at least you should be able to use 10.11.2 that way :)

I think I did plugin to all the different ports. I was able to upgrade to 10.11.2 using AppStore ( I only had Apple USB ethernet, so had to first get the NullEthernet running to get a internal en0). Now I also got the on-board ethernet running, so unplugged the USB one.

I used the audio ID 1 for audio_cloverALC-110.command, otherwise I could not get the microphone working.

Also, please make the pics for the USB ports names a bit high res, I could not read any of the labels. I have one of the USB3 and USB2 head connected to the case, so I setup clover with uia_exclude=HS03;HS04;HS11;HS12;SS03;SS04 to to allow all the connected ports to work both on USB3 and USB2. Though USB3.1 A does not seem to be working in any mode, not even 2.0 :(


Thanks Again! This was a steep learning curve, but got it running nicely now.
 
I used the audio ID 1 for audio_cloverALC-110.command, otherwise I could not get the microphone working.

Though USB3.1 A does not seem to be working in any mode, not even 2.0 :(

Thanks Again! This was a steep learning curve, but got it running nicely now.


Ah yes, i haven't actually tested the microphone.

I have some problems with audio not working after sleep myself, just haven't had the time to fix it yet.

You are right about USB 3.1 A port does not work correctly. Could not get any USB drives mounted, but my mouse works in that port.

Yep the curve is pretty steep, I had a few problems myself even after having used a hackintosh pretty much since the 10.5 days. (A lot of stuff have changed since then!)
As different hardware and OS versions require different fixes.


I'll put a link in the guide directly to the pics.
 
Thanks for pointing to that. At the time I couldn't find the past, and just went through the pain of mapping this out using IORegistryExplorer myself :)
 
Hi guys,

I have the exact same motherboard and I'm wondering how you've managed to get sleep to work. I've set hibernate mode to 0, but I've tested other values such as 25, too. With no succes unfortunately.
Have you done anything in particular to make this work?

Thanks in advance
 
Hi,

I don't remember touching any of the settings for hibernation, sleep always worked fine. I did flash the MB to the most recent version of EFI.

Cheers!
 
Status
Not open for further replies.
Back
Top