Contribute
Register

[Guide] Z/H97N-WIFI with Nvidia Graphics using Clover UEFI Hotpatch

Status
Not open for further replies.
Good idea thanks. One more quick question, do you get an accurate PCH Die temp in istats? Mine is either 32F or 0c I.E freezing. Also in windows no applications can read it. Wondering if I have a faulty H97 PCH sensor or if maybe this board just has it disabled for some reason.

PCH Sensors shows on 0c on my H97N-WIFI and 0c on my Z97-HD3. Not worried about it tho.
 
So heres a guide on MacOS Sierra 10.12.1 up and running on Z97N-WIFI, H97N-WIFI With Nvidia Graphics. This guide will work with 10.9, 10.10. Although I run Mavericks on a second partition.

Guide to install 10.11.6 with Intel HD 4600.
https://www.tonymacx86.com/threads/...tel-hd4600-using-clover-uefi-hotpatch.203416/

Guide to install 10.11.6 With Nvidia Graphics.
https://www.tonymacx86.com/threads/...a-graphics-using-clover-uefi-hotpatch.206282/

My configuration on my H97N-WIFI Build.
  • GA-H97N-WIFI.
  • Core i7 4790.
  • Nvidia Gigabyte GTX 760 3 monitors.
  • Corsair RM 650.
  • Corsair Vengeance LP 16GB.
  • Bitfenix Prodigy Case.
  • Apple BCM94602CS in Mini PCI-E Adaptor.
  • Apple Magic Mouse 2, Apple Keyboard 2.
  • 3x ASUS VE248H.

This Guide will also work on Z97N-WIFI Also other Z97/H87 boards will work with this guide.

Things you will need.

16GB USB Flash Drive
macOS Sierra 10.12 downloaded from Mac App Store.
A Mac or a working Hackintosh to download macOS 10.12.1 from Mac App Store and to create installation Pen Drive.
Set of SSDTs. Credits to Rehabman for his help with SSDT-USB & SSDT-HACK.
New set of Config.plists. installer_nvidia_graphics & post_install_nvidia_graphics are for native cards that don't require Nvidia Web Drivers. installer_nvidia_graphics_nvdia_disable=1 & post_install_nvidia_graphics_nvidiaweb are for cards that requires Nvidia Web Drivers.

Bios Settings

You can use factory defaults. But due to my SSDT-UIAC I recommend to have XHCI set to enabled not Auto. VT-d can be left to enabled only if you have dart=0 in config.plist. If you decide to disable VT-d then no need to worry about having dart=0 in config.plist. Recommend not using Beta BIOS. Stay at BIOS F8. Set Boot settings to UEFI Only. Enable XMP Profile 1.

Creating USB

I used createmediainstall using Terminal and install Clover Manually.

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


Wait till files are done copying. Now we can move onto install Clover to the Pen drive. At the time of this guide Clover version was 3882.

Open up Clover. Continue, Continue again, Change install location to you're USB drive. Now click on Customise, Now we need to install correct settings for Clover.

To Clone my fork you will need to download developer tools and install using Terminal.


Code:
git

Now to Clone my fork using Terminal.

Code:
mkdir~/Z-H97N-WIFI-Patches
cd~/Z-H97N-WIFI-Patches
git clone https://github.com/VoiletDragon/Z-H97N-WIFI-Patches.git

Location of files from my fork will be downloaded to ~(You're Name).


Settings for Clover.

Install For UEFI Booting only.
Install Clover in the ESP.
Theme (select one as you prefer I choose bootcamp)
Drivers64UEFI, OsxAptioFixDrv. (Don't use OsxAptioFixDrv2 it causes problems)
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, IntelMausiEthernet.kext can be downloaded from downloads section.
You will need to replace the config with installer_nvidia_graphics or installer_nvidia_graphics_nvdia_disable=1. rename to config.
Ethernet kexts you will need depends on which Ethernet port you use. I use IntelMausiEthernet.kext which is on my Github.
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. (Don't use OsxAptioFixDrv2 it causes problems)
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, IntelMausiEthernet.kext and USBinjectall in Library/Extensions. Kexts can be downloaded from downloads section.
You will need to replace the config with post_install_nvidia_graphics or post_install_nvidia_graphics_nvidiaweb rename to config.plist. Only need too install Nvidia Web Drivers if you're Nvidia Graphics Card requires Nvidia Web Drivers.
Ethernet kexts you will need depends on which Ethernet port you use. I use IntelMausiEthernet.kext which is on my Github.
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.
SSDT-LPC.
SSDT-USB.
SSDT-SMBUS.
SSDT-MCHC.
SSDT-XWAK.
SSDT-SATA.
SSDT-XHC
SSDT-LAN
SSDT-GLAN
SSDT-HDEF

These set of SSDTs go in EFI/Clover/ACPI/patched.
Remove config.plist and replace it with the one called post_install_nvidia_graphics or post_install_nvidia_graphics_nvidiaweb 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. There are two options here. You can use Toledas Clover Audio Injection but I choose to use RehabMans CodecCommander SSDT & CodecCommander.kext. RehabMans CodecCommander can be found on his Fork. But you can Clone his fork. Look at guide to clone his DH67BL fork. Guide https://www.tonymacx86.com/threads/guide-intel-dh67xx-with-hd3000-using-clover-uefi-hotpatch.190228/


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 configs in my fork. No need to use sudo trimforce in Terminal. 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.
Ethernet Intel & Atheros. But i choose to use Intel NIC.
iMessage and FaceTime. Although i didn't follow the iMessage guide.
USB 3 with full speed.

Beats 1 works but iTunes movies doesn't play due to DRM Protection can be fixed by using Shiki. https://github.com/vit9696/Shiki/releases

Link for iMessage fix https://www.tonymacx86.com/threads/how-to-fix-imessage.110471/

Link to Github for Config and Set of SSDTs & Configs.. https://github.com/VoiletDragon/Z-H97N-WIFI-Patches

Hi Violet Dragon.
I finally got to try your Guide, I used for your Guide the same USB I had prepared for my Lenovo U430 following Rehabman's Guide, I successfully got everything working and enjoying Sierra.
I used the same instal_osx which was already done and erased the EFI partition and started from there with Clover, it all went wrong which I assume is for what I did. All graphic related problems.
My GC is a Geforce 210, I used the non-web plist, is that right? I believe this card is native right?

I will now start from fresh with a formatted drive and redo the install_osx. Will report how it goes!

Thanks !!
 
Hi Violet Dragon.
I finally got to try your Guide, I used for your Guide the same USB I had prepared for my Lenovo U430 following Rehabman's Guide, I successfully got everything working and enjoying Sierra.
I used the same instal_osx which was already done and erased the EFI partition and started from there with Clover, it all went wrong which I assume is for what I did. All graphic related problems.
My GC is a Geforce 210, I used the non-web plist, is that right? I believe this card is native right?

I will now start from fresh with a formatted drive and redo the install_osx. Will report how it goes!

Thanks !!

The correct config you need to use is post_install_nvidia_graphics. You may require inject nvidia.
 
The correct config you need to use is post_install_nvidia_graphics. You may require inject nvidia.

What do you mean by inject Nvidia?

That's the one I had used, and the installer_ one for installation but it failed to boot and would only boot if I used the flag nvidia to VESA, installed correctly, did all Clover process but then again it would only boot HDD with that flag only.
I used the latest available Clover since it did work fine with my laptop install. Is any older version a better choice?
This Clover does not come with boot without cache.

Thank you !! :)

UPDATE: I've redone the installer stick from scratch. Used Clover 3882 to go with your Guide. Applied Default Settings in BIOS + changes you recommended, I used Vd-T Disabled as I wasnt sure on the dart_0. I'm using the back usb port.
I have not used any other flag, except Verbose mode.
It gets stuck at some point, tried twice and it stays at that same point. Here is a screenshot.
ALSO: After that last line this comes up:
busy timeout(0). (240s). kextd wait(0): 'AppleACPICPU'

Tried a third time with the VESA flag and same thing.

Should I just try installing with the onboard graphics? Will I be able to easily change to the nvidia you think?

UPDATE 2 : SUCCESS !!! I found where to Inject Nvidia on Clover. Was not aware of that option. So maybe that's all I needed before, but hey I started a fresh USB and that leaves me more confident. Booted to Installer with full resolution now which wasn't the case before.
Great ! Will Report is anything comes up.

Thanks for all your help mate (y)
 

Attachments

  • IMG_20170223_114451.jpg
    IMG_20170223_114451.jpg
    3.3 MB · Views: 84
Last edited:
Can you post your AppleIntelInfo.kext data output of your CPU P-States/C-States?

Also, why do you say not to open with Clover Configurator? Does it damage the config.plist? I haven't been able to get my power management properly working since I built my Hackintosh.
 
Now we need to put in place a few SSDTs. SSDTs we need are,

I noticed there is an extra SSDT in your fork folder that's not in your list for this Guide.
The IGPU one (is it for the Intel onboard?)
Should we still add it in case we need to use the onboard graphics at some point? Or will in conflict somehow with our setup?

Thanks !! :D :headbang::headbang:
 
Hi Guys
 
Last edited:
I noticed there is an extra SSDT in your fork folder that's not in your list for this Guide.
The IGPU one (is it for the Intel onboard?)
Should we still add it in case we need to use the onboard graphics at some point? Or will in conflict somehow with our setup?

Thanks !! :D :headbang::headbang:

SSDT-iGPU is for onboard iGPU only needed if you use iGPU of course.
 
Can you post your AppleIntelInfo.kext data output of your CPU P-States/C-States?

Also, why do you say not to open with Clover Configurator? Does it damage the config.plist? I haven't been able to get my power management properly working since I built my Hackintosh.

Using Clover Configuration will damage Config and its patches. Clover Configurator can not handle ACPI, DSDT, Patches.
 
So heres a guide on MacOS Sierra 10.12.1 up and running on Z97N-WIFI, H97N-WIFI With Nvidia Graphics. This guide will work with 10.9, 10.10. Although I run Mavericks on a second partition.

Guide to install 10.11.6 with Intel HD 4600.
https://www.tonymacx86.com/threads/...tel-hd4600-using-clover-uefi-hotpatch.203416/

Guide to install 10.11.6 With Nvidia Graphics.
https://www.tonymacx86.com/threads/...a-graphics-using-clover-uefi-hotpatch.206282/

My configuration on my H97N-WIFI Build.
  • GA-H97N-WIFI.
  • Core i7 4790.
  • Nvidia Gigabyte GTX 760 3 monitors.
  • Corsair RM 650.
  • Corsair Vengeance LP 16GB.
  • Bitfenix Prodigy Case.
  • Apple BCM94602CS in Mini PCI-E Adaptor.
  • Apple Magic Mouse 2, Apple Keyboard 2.
  • 3x ASUS VE248H.

This Guide will also work on Z97N-WIFI Also other Z97/H87 boards will work with this guide.

Things you will need.

16GB USB Flash Drive
macOS Sierra 10.12 downloaded from Mac App Store.
A Mac or a working Hackintosh to download macOS 10.12.1 from Mac App Store and to create installation Pen Drive.
Set of SSDTs. Credits to Rehabman for his help with SSDT-USB & SSDT-HACK.
New set of Config.plists. installer_nvidia_graphics & post_install_nvidia_graphics are for native cards that don't require Nvidia Web Drivers. installer_nvidia_graphics_nvdia_disable=1 & post_install_nvidia_graphics_nvidiaweb are for cards that requires Nvidia Web Drivers.

Bios Settings

You can use factory defaults. But due to my SSDT-UIAC I recommend to have XHCI set to enabled not Auto. VT-d can be left to enabled only if you have dart=0 in config.plist. If you decide to disable VT-d then no need to worry about having dart=0 in config.plist. Recommend not using Beta BIOS. Stay at BIOS F8. Set Boot settings to UEFI Only. Enable XMP Profile 1.

Creating USB

I used createmediainstall using Terminal and install Clover Manually.

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


Wait till files are done copying. Now we can move onto install Clover to the Pen drive. At the time of this guide Clover version was 3882.

Open up Clover. Continue, Continue again, Change install location to you're USB drive. Now click on Customise, Now we need to install correct settings for Clover.

To Clone my fork you will need to download developer tools and install using Terminal.


Code:
git

Now to Clone my fork using Terminal.

Code:
mkdir~/Z-H97N-WIFI-Patches
cd~/Z-H97N-WIFI-Patches
git clone https://github.com/VoiletDragon/Z-H97N-WIFI-Patches.git

Location of files from my fork will be downloaded to ~(You're Name).


Settings for Clover.

Install For UEFI Booting only.
Install Clover in the ESP.
Theme (select one as you prefer I choose bootcamp)
Drivers64UEFI, OsxAptioFixDrv. (Don't use OsxAptioFixDrv2 it causes problems)
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, IntelMausiEthernet.kext can be downloaded from downloads section.
You will need to replace the config with installer_nvidia_graphics or installer_nvidia_graphics_nvdia_disable=1. rename to config.
Ethernet kexts you will need depends on which Ethernet port you use. I use IntelMausiEthernet.kext which is on my Github.
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. (Don't use OsxAptioFixDrv2 it causes problems)
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, IntelMausiEthernet.kext and USBinjectall in Library/Extensions. Kexts can be downloaded from downloads section.
You will need to replace the config with post_install_nvidia_graphics or post_install_nvidia_graphics_nvidiaweb rename to config.plist. Only need too install Nvidia Web Drivers if you're Nvidia Graphics Card requires Nvidia Web Drivers.
Ethernet kexts you will need depends on which Ethernet port you use. I use IntelMausiEthernet.kext which is on my Github.
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.
SSDT-LPC.
SSDT-USB.
SSDT-SMBUS.
SSDT-MCHC.
SSDT-XWAK.
SSDT-SATA.
SSDT-XHC
SSDT-LAN
SSDT-GLAN
SSDT-HDEF

These set of SSDTs go in EFI/Clover/ACPI/patched.
Remove config.plist and replace it with the one called post_install_nvidia_graphics or post_install_nvidia_graphics_nvidiaweb 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. There are two options here. You can use Toledas Clover Audio Injection but I choose to use RehabMans CodecCommander SSDT & CodecCommander.kext. RehabMans CodecCommander can be found on his Fork. But you can Clone his fork. Look at guide to clone his DH67BL fork. Guide https://www.tonymacx86.com/threads/guide-intel-dh67xx-with-hd3000-using-clover-uefi-hotpatch.190228/


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 configs in my fork. No need to use sudo trimforce in Terminal. 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.
Ethernet Intel & Atheros. But i choose to use Intel NIC.
iMessage and FaceTime. Although i didn't follow the iMessage guide.
USB 3 with full speed.

Beats 1 works but iTunes movies doesn't play due to DRM Protection can be fixed by using Shiki. https://github.com/vit9696/Shiki/releases

Link for iMessage fix https://www.tonymacx86.com/threads/how-to-fix-imessage.110471/

Link to Github for Config and Set of SSDTs & Configs.. https://github.com/VoiletDragon/Z-H97N-WIFI-Patches

Hi there guys, VioletDragon anyone whenever possible I need some help.
I have successfully installed Sierra following this Guide, everything works perfect like a charm expect for my USB's :(

Strangely enough only my 2 USBs 2.0 from the back and my 1 USB 3.0 from the front work.
The rest ( 4 USBs 3.0 from the back and 2 USB 2.0 from the front) do not.

I have installed USBInjectAll.kext to my S/L/E with Kext Wizard along with the other 2 needed.

Currently do not have any kext at all on my Clover/kexts/Other as result from the Guide.

The Strange thing also is if I boot from the created installer USB, all USB ports work (when the kexts were in /Other ) so I tried copying USBInjectAll.kext to /Other in EFI but it did not make a difference.
If I boot normally a usb mouse, it will light up at boot but soon as clover starts loading it lights out at some point and stops working. So there is something there.

ALSO About Wifi:

I have the BCM94352HMB Wifi/BT Card installed,
and have installed these kexts to S/L/E as I read somewhere from Rehabman and got Bluetooth working but not Wifi.

FakePCIID.kext
FakePCIID_Broadcom_WiFi.kext
BrcmPatchRAM2.kext
BrcmNonPatchRAM2.kext
BrcmFirmwareRepo.kext

(USB's were not working even before installing these kexts)
I suppose Wifi is not working because of the USB problem?

Any other info I can provide?

Thank you in advance ! :)
 
Status
Not open for further replies.
Back
Top