Contribute
Register

(Guide) Z77-DS3H with Nvidia GTX 760 using Clover UEFI Hotpatch

Joined
Jun 9, 2013
Messages
10,943
Motherboard
GA-H77N-WIFI
CPU
Core i7-3770
Graphics
Intel HD 4000
Mac
MacBook, Mac mini
Mobile Phone
Android
Overview,

I decided to do a guide on the Z77-DS3H build that i built back in 2013. This guide is on getting up and running with macOS Sierra 10.12.5. I was using a regular DSDT on this machine when i started but sometime last year i moved over to Clover Hotpatch using Clover's ACPI, DSDT, Patches with a set of SSDTs. Although this guide will work with 10.11, 10.10 and 10.9 i do run 10.9.5 Mavericks on a second drive.

Note: in my testing ALXEthernet.kext is known to cause Kernel Panics in Sierra. I replaced onboard Ethernet with a PCI-E Ethernet card with a Intel i210 chip.

My configuration

  • GA-Z77-DS3H.
  • Core i7-3770.
  • GA-GTX760 Windforce 2GB.
  • Corsair RM 650.
  • Corsair Vengeance LP 16GB.
  • Corsair 600T Graphite White Special Edition.
  • Apple BCM94602CS.
  • Apple Magic Mouse 2, Apple Keyboard 2.
  • 3x ASUS VE248H Monitors.

Things you will need.

16GB USB Flash Drive.
macOS Sierra 10.12.5 from the Mac App Store. (Use a Mac or a working Hackintosh to download macOS from the Mac App Store).

BIOS Settings,

ATA Port Information -> Hotplug disable, BIOS Features, Limit CPUID Maximum -> Disabled, Execute Disable Bit -> Enabled, Intel Virtualization Technology -> Enabled, (Vt-d can be left enabled as dart=0 is in my configs). CSM Support -> Always, Boot Mode Selection -> UEFI Only, PXE Boot Option Control -> Disabled, Storage Boot Option Control -> UEFI Only. Peripherals, SATA Mode Selection -> AHCI, XHCI Pre-Boot Driver -> Enabled, Innit Display First -> PEG, Internal Graphics -> Disabled, XHCI Hand-off -> Enabled, EHCI Hand-off -> Enabled. Super IO Configuration/Serial Port A ->Disabled. Power Management, Erp -> Enabled, High Precision Event Timer -> Enabled. (Based on these BIOS Settings i have listed here it works well).


Creating USB.

I used createmediainstall using Terminal and install Clover Manually. You can use Unibeast if you like but will need to replace config.plist with installer.plist. Rename installer.plist to config.plist.

Erase USB Boot stick as OS X Extended (Journaled), GUID Partition Map. Naming the Drive as USB. Open. Terminal and copy and paste.

Code:
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ macOS\ Sierra.app
Once the files are done copying we now need to install Clover to the Pen drive. Can download Clover from Sourceforge. Clover EFI bootloader download | SourceForge.net


Now we need to Clone my fork. You will need to download and install developers Tools and install using Terminal.

Code:
git
Now to Clone my fork using Terminal to download the additional Configs, SSDTs.

Code:
mkdir~/Z77-DS3H-Clover-Hotpatch-Patches
cd~/Z77-DS3H-Clover-Hotpatch-Patches
git clone https://github.com/VoiletDragon/Z77-DS3H-Clover-Hotpatch-Patches.git
Location of the cloned files will be downloaded to ~ (You're Name).

Now to install Clover to the Pen Drive with Correct Clover Settings.

Install For UEFI Booting only.
Install Clover in the ESP.
Theme (select one as you prefer I choose bootcamp)
Drivers64UEFI, OsxAptioFixDrv. (OsxAptioFixDrv2 It is not needed.)
Now you can install Clover. Don't forget to put HFSPlus.efi in Drivers64UEFI and remove VBoxHFS-64.efi. Now we need to put FakeSMC & Ethernet kext, USBInjectAll in EFI/Clover/kexts/other. Remove 10+ folders. FakeSMC, ALXEthernet.kext can be downloaded from downloads section.
You will need to replace the config with installer.plist renaming it to config.
USBinjectAll can be downloaded from Rehabmans Fork. Read Readme first.
https://github.com/RehabMan/OS-X-USB-Inject-All

Once creating you're Clover Boot stick you can now get into installing macOS. At BIOS hit F12 and boot from UEFI Pen Drive. Now Boot and install macOS.

We no longer need to boot into macOS Without Cache as macOS boots with prelinked kernel anyway.

Post Installation,

At Post Installation you will need to install Clover to you're boot drive. Its pretty much the same as the Pen drive installation. Except you need to put in place the correct config & SSDTs.
Install For UEFI Booting only.
Install Clover in the ESP.
Theme (select one as you prefer I choose bootcamp)
Drivers64UEFI, OsxAptioFixDrv. (OsxAptioFixDrv2 It is not needed)
You can choose EmuVaribles if it makes you feel nervous but I didnt. Now you can install Clover. Don't forget to put HFSPlus.efi in Drivers64UEFI and remove VBoxHFS-64.efi. Now we need to install FakeSMC, ALXEthernet.kext and USBinjectall in Library/Extensions. Kexts can be downloaded from downloads section.
You will need to replace the config with post_install rename to config.plist.
Ethernet kexts you will need depends on which Ethernet port you use. I use IntelMausiEthernet.kext as I've added an PCI-E Ethernet card.
download USBinjectall from Rehabmans fork. Read readme.
https://github.com/RehabMan/OS-X-USB-Inject-All

Now we need to put in place a few SSDTs. SSDTs we need are,

Code:
SSDT-HACK
These set of SSDTs go in EFI/Clover/ACPI/patched.
Remove config.plist and replace it with the one post_install and rename to config.plist.

Now we can reboot and boot into macOS without the Pen Drive.

For Native Powermanagement you will need to generate a SSDT using Piker Alpha's ssdtPRGen.sh.Guide can be found here. https://www.tonymacx86.com/threads/quick-guide-to-generate-a-ssdt-for-cpu-power-management.177456/

For Audio. I used Clover Audio injection and paired it with CodecCommander which gives me Audio out of sleep. CodecCommander can be downloaded from Rehabmans Fork.
Code:
https://bitbucket.org/RehabMan/os-x-eapd-codec-commander/downloads/
As Hibernation isn't supported on a Hackintosh (You will need to disable suspend to disk or S4 sleep) You will need to disable it in Terminal.

Code:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
After updates you may notice that Audio has stopped working. This can be fixed in Terminal.

Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /
Note.

Trim is enabled by the config.plist. I prefer to use Clovers Fly on Patching for Trim.

What works.

Native Power Management.
Full Graphics Acceleration with GTX760.
Sleep/Including Audio after sleep state.
3 Monitors using Nvidia GTX760.
Message and FaceTime. Although i didn't follow the iMessage guide.
USB 3 with High Current.
USB 2 with High Current.
Beats 1 Radio in iTunes.

One thing that didn't work and hasn't worked since 10.9 is ALXEthernet it caused lock ups in 10.9. In 10.12 it causes Kernel Panics on reboots. Other than that everything else works. I recommend replacing Ethernet with something thats either Intel or Realtek.

Problem reporting.

Post ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:

Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda
Also output from:

Code:
ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
Also, press F4 at the main Clover screen, then compress and attach the EFI/CLOVER folder in use. And please, in order to reduce the size, omit EFI/Clover/themes.

Also post output of:

Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /
Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.
 
Last edited:
Joined
Mar 24, 2012
Messages
20
Motherboard
GA-Z77-DH3S
CPU
Xeox E3-1230 V2
Graphics
Gigabyte GTX 1050 TI 4G low profile
Mac
Mac mini
Classic Mac
iMac, PowerBook
Mobile Phone
iOS
I have the same Mobo as yours. Just with E3-1230 CPU and Ati HD6500 Display card. Do I need to do anything different in order to follow your guide?
Thanks
 
Joined
Jun 9, 2013
Messages
10,943
Motherboard
GA-H77N-WIFI
CPU
Core i7-3770
Graphics
Intel HD 4000
Mac
MacBook, Mac mini
Mobile Phone
Android
I have the same Mobo as yours. Just with E3-1230 CPU and Ati HD6500 Display card. Do I need to do anything different in order to follow your guide?
Thanks
Off-topic. This guide doesn't use ATI Radeon Graphics but Patches and SSDTs will be the same requires different Graphic Injection.
 
Joined
Jun 9, 2013
Messages
10,943
Motherboard
GA-H77N-WIFI
CPU
Core i7-3770
Graphics
Intel HD 4000
Mac
MacBook, Mac mini
Mobile Phone
Android
Overview,

I decided to do a guide on the Z77-DS3H build that i built back in 2013. This guide is on getting up and running with macOS Sierra 10.12.5. I was using a regular DSDT on this machine when i started but sometime last year i moved over to Clover Hotpatch using Clover's ACPI, DSDT, Patches with a set of SSDTs. Although this guide will work with 10.11, 10.10 and 10.9 i do run 10.9.5 Mavericks on a second drive.

Note: in my testing ALXEthernet.kext is known to cause Kernel Panics in Sierra. I replaced onboard Ethernet with a PCI-E Ethernet card with a Intel i210 chip.

My configuration

  • GA-Z77-DS3H.
  • Core i7-3770.
  • GA-GTX760 Windforce 2GB.
  • Corsair RM 650.
  • Corsair Vengeance LP 16GB.
  • Corsair 600T Graphite White Special Edition.
  • Apple BCM94602CS.
  • Apple Magic Mouse 2, Apple Keyboard 2.
  • 3x ASUS VE248H Monitors.

Things you will need.

16GB USB Flash Drive.
macOS Sierra 10.12.5 from the Mac App Store. (Use a Mac or a working Hackintosh to download macOS from the Mac App Store).

BIOS Settings,

ATA Port Information -> Hotplug disable, BIOS Features, Limit CPUID Maximum -> Disabled, Execute Disable Bit -> Enabled, Intel Virtualization Technology -> Enabled, (Vt-d can be left enabled as dart=0 is in my configs). CSM Support -> Always, Boot Mode Selection -> UEFI Only, PXE Boot Option Control -> Disabled, Storage Boot Option Control -> UEFI Only. Peripherals, SATA Mode Selection -> AHCI, XHCI Pre-Boot Driver -> Enabled, Innit Display First -> PEG, Internal Graphics -> Disabled, XHCI Hand-off -> Enabled, EHCI Hand-off -> Enabled. Super IO Configuration/Serial Port A ->Disabled. Power Management, Erp -> Enabled, High Precision Event Timer -> Enabled. (Based on these BIOS Settings i have listed here it works well).


Creating USB.

I used createmediainstall using Terminal and install Clover Manually. You can use Unibeast if you like but will need to replace config.plist with installer.plist. Rename installer.plist to config.plist.

Erase USB Boot stick as OS X Extended (Journaled), GUID Partition Map. Naming the Drive as USB. Open. Terminal and copy and paste.

Code:
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ macOS\ Sierra.app
Once the files are done copying we now need to install Clover to the Pen drive. Can download Clover from Sourceforge. Clover EFI bootloader download | SourceForge.net


Now we need to Clone my fork. You will need to download and install developers Tools and install using Terminal.

Code:
git
Now to Clone my fork using Terminal to download the additional Configs, SSDTs.

Code:
mkdir~/Z77-DS3H-Clover-Hotpatch-Patches
cd~/Z77-DS3H-Clover-Hotpatch-Patches
git clone https://github.com/VoiletDragon/Z77-DS3H-Clover-Hotpatch-Patches.git
Location of the cloned files will be downloaded to ~ (You're Name).

Now to install Clover to the Pen Drive with Correct Clover Settings.

Install For UEFI Booting only.
Install Clover in the ESP.
Theme (select one as you prefer I choose bootcamp)
Drivers64UEFI, OsxAptioFixDrv. (OsxAptioFixDrv2 It is not needed.)
Now you can install Clover. Don't forget to put HFSPlus.efi in Drivers64UEFI and remove VBoxHFS-64.efi. Now we need to put FakeSMC & Ethernet kext, USBInjectAll in EFI/Clover/kexts/other. Remove 10+ folders. FakeSMC, ALXEthernet.kext can be downloaded from downloads section.
You will need to replace the config with installer.plist renaming it to config.
USBinjectAll can be downloaded from Rehabmans Fork. Read Readme first.
https://github.com/RehabMan/OS-X-USB-Inject-All

Once creating you're Clover Boot stick you can now get into installing macOS. At BIOS hit F12 and boot from UEFI Pen Drive. Now Boot and install macOS.

We no longer need to boot into macOS Without Cache as macOS boots with prelinked kernel anyway.

Post Installation,

At Post Installation you will need to install Clover to you're boot drive. Its pretty much the same as the Pen drive installation. Except you need to put in place the correct config & SSDTs.
Install For UEFI Booting only.
Install Clover in the ESP.
Theme (select one as you prefer I choose bootcamp)
Drivers64UEFI, OsxAptioFixDrv. (OsxAptioFixDrv2 It is not needed)
You can choose EmuVaribles if it makes you feel nervous but I didnt. Now you can install Clover. Don't forget to put HFSPlus.efi in Drivers64UEFI and remove VBoxHFS-64.efi. Now we need to install FakeSMC, ALXEthernet.kext and USBinjectall in Library/Extensions. Kexts can be downloaded from downloads section.
You will need to replace the config with post_install rename to config.plist.
Ethernet kexts you will need depends on which Ethernet port you use. I use IntelMausiEthernet.kext as I've added an PCI-E Ethernet card.
download USBinjectall from Rehabmans fork. Read readme.
https://github.com/RehabMan/OS-X-USB-Inject-All

Now we need to put in place a few SSDTs. SSDTs we need are,

Code:
SSDT-HACK
These set of SSDTs go in EFI/Clover/ACPI/patched.
Remove config.plist and replace it with the one post_install and rename to config.plist.

Now we can reboot and boot into macOS without the Pen Drive.

For Native Powermanagement you will need to generate a SSDT using Piker Alpha's ssdtPRGen.sh.Guide can be found here. https://www.tonymacx86.com/threads/quick-guide-to-generate-a-ssdt-for-cpu-power-management.177456/

For Audio. I used Clover Audio injection and paired it with CodecCommander which gives me Audio out of sleep. CodecCommander can be downloaded from Rehabmans Fork.
Code:
https://bitbucket.org/RehabMan/os-x-eapd-codec-commander/downloads/
As Hibernation isn't supported on a Hackintosh (You will need to disable suspend to disk or S4 sleep) You will need to disable it in Terminal.

Code:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
After updates you may notice that Audio has stopped working. This can be fixed in Terminal.

Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /
Note.

Trim is enabled by the config.plist. I prefer to use Clovers Fly on Patching for Trim.

What works.

Native Power Management.
Full Graphics Acceleration with GTX760.
Sleep/Including Audio after sleep state.
3 Monitors using Nvidia GTX760.
Message and FaceTime. Although i didn't follow the iMessage guide.
USB 3 with High Current.
USB 2 with High Current.
Beats 1 Radio in iTunes.

One thing that didn't work and hasn't worked since 10.9 is ALXEthernet it caused lock ups in 10.9. In 10.12 it causes Kernel Panics on reboots. Other than that everything else works. I recommend replacing Ethernet with something thats either Intel or Realtek.

Problem reporting.

Post ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:

Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda
Also output from:

Code:
ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
Also, press F4 at the main Clover screen, then compress and attach the EFI/CLOVER folder in use. And please, in order to reduce the size, omit EFI/Clover/themes.

Also post output of:

Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /
Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.
Update 29-05-2017 I have moved all SSDT into one SSDT. (SSDT-HACK) However i have not provided RP03.PXSX for onboard LAN as i don't use it and it is very buggy.
 
Joined
Nov 24, 2012
Messages
1
Motherboard
GA-Z77
CPU
i5
Graphics
RX 660
Mac
Classic Mac
Mobile Phone
I have quite the same configuration that used to run fine from 10.8 to 10.10 with chameleon :
  • GA-Z77-DS3H
  • Core i5-3570
  • MSI-GTX660
Trying to prepare a 10.12 upgrade I always end up on USB boot to "Waiting for DSMOS" and a panic if I press a key (IOHIDFamily)
I tried with/without the nvidia card, different versions of FakeSMC, putting FakeSMC in the mac os system on the key...
Nothing did
 
Joined
Jun 9, 2013
Messages
10,943
Motherboard
GA-H77N-WIFI
CPU
Core i7-3770
Graphics
Intel HD 4000
Mac
MacBook, Mac mini
Mobile Phone
Android
I have quite the same configuration that used to run fine from 10.8 to 10.10 with chameleon :
  • GA-Z77-DS3H
  • Core i5-3570
  • MSI-GTX660
Trying to prepare a 10.12 upgrade I always end up on USB boot to "Waiting for DSMOS" and a panic if I press a key (IOHIDFamily)
I tried with/without the nvidia card, different versions of FakeSMC, putting FakeSMC in the mac os system on the key...
Nothing did
Waiting for DSMOS indicates FakeSMC is missing. Follow the guide.
 

Top