Jump to content

164 posts in this topic

Recommended Posts

Hi Guys, i upgraded my motherboard from Z170-HD3 to Z170X-Gaming 7 :)
 
System Specifications :
 
Processor : Intel Core i7 6700 SkyLake 
Motherboard : Gigabyte Z170X - Gaming 7 (I need more onboard Sata Ports)
VGA : Palit Jetstream GTX960 4GB DDR5
Memory : Dual Channel Team Extreem Dark 8GB (2x4GB) DDR4 3000Mhz OC
Storages : 6 Storages (120GB SSD Natno For Windows 10 Enterprise, 120GB Fujitsu for OS X El Capitan, 2TB For Data Multimedia / Program, 2TB for Master Game Installer, 500GB For Data OS X, 500GB for Game Live Installed)
Optical Drive : Asus DVD-RW Box
LAN : Dual LAN - Killer LAN E2400 dan Intel I219V
Wifi Card : TP-Link TL-WDN4800
Camera : A4Tech PK-920H WebCam
Monitor : 2X Asus VN248H @24" Full HD Supported
Audio Codec : Creative CA0132
Clover version : 3330
OS X Version : El Capitan 10.11.2 Beta Build 15C48a
Boot Mode : UEFI with CSM Disabled
 
Working : 
1. QE/CI Full Support with Nvdia
2. Camera Webcam OOB
3. Sleep, Restart, Shutdown 
4. I use Voodoo HDA version 2.8.8 for my Creative CA0132
5. HDMI Audio from Nvidia Card
6. Power Management, Multiplier dan Turbo Boost with SSDTPrGen from Pike R. Alpha
7. iMessages (Inject MLB and ROM from Real MacBookPro)
8. LAN Killer E2400
9. Etc
 
Not Working : 
1. Can'nt use AppleHDA :( Update : we can use AppleHDA for Creative CA0132. See here http://www.insanelymac.com/forum/topic/309441-new-applehda-patcher/?p=2194865
2. Not supported Ethernet I219V yet Work with new kext see here http://www.insanelymac.com/forum/topic/205771-appleintele1000ekext-for-108107106105/page-38?do=findComment&comment=2195842credit to @alreadystarted
3. Intel HD 7000 Integrated
4. Super Speed USB 3.0 not function at 10.11.2 Beta version. But, with 10.11.1 Public releas it's working nicely. Bug i thought. Update : with 10.11.2 Build 15C50 all USB are Working, use my "Z170X-Gaming-7-USB3.0-Injection.kext" and SMBios 17.1 Credit to Rehabman
 
 
I just need to flash bios into beta version then Go to BIOS Setup and "disable IOAPIC Entry" :) , then dumping your DSDT with Clover and check about all of your XHC device port and make USBInjection.kext from Clover :)

This is my Files

1. This is for Z170X-Gaming 7 + Palit Jetstream Nvidia GTX960 + TL-WDN4800. So if your system build is not same to my sytem then you need to modify DSDT File. Click>>Z170X-Gaming 7 Conifguration Tested by Me<<< to download files

2. Universal Setting Clover. Try to use this one if you have different Graphics Card, Processor and PCI-E Device. If you want to use Integrated Graphics and Discrette Graphics Card then set into BIOS for Primary Graphics from IGFX then just boot and it should active your integrated first and discrette graphics output few later. If you just want to boot with Discrette Graphics then set at bios primary graphics is PCI-E. Click>>>General Setting Without Graphic Injection for Z170X-Gaming 7<< to download files
 
3. AppleHDA Creative CA0132 Work without Volume Control. Click >>AppleHDA Files<< to download files. After extract you will get Creative-CA0132.kext, Layout1.zml.zlib, Platform.zml.zlib and Patch-OTF.plist.

    Tutorial for AppleHDA (First you need to remove VooDooHDA.kext + HDADisabler.kext + HDAEnabler.kext if you used it before)
    3a. LayoutID has been set "1" with DSDT. So you don't need to set it again with HDAEnabler or Clover Injection.
    3b. Extract the files and you will find "Creative-CA0132.kext" copy this to EFI/CLOVER/Kexts/10.11
    3c. Open your config.plist with Clover Configurator and add this to "Kernel and Kext Patches->KextToPatch" section (you can see this patch at "Patch-OTF.plist")

          Name : AppleHDA
          Find : 786d6c2e7a6c
          Replace : 7a6d6c2e7a6c
          Comment : Change Path XML to ZML
        
          Name : AppleHDA
          Find :  0088ec1a
          Replace : 11000211
          Comment : Rename Codec 1
 
          Name :  AppleHDA
          Find : 7419ad15
          Replace : 00000000
          Comment : Reset Codec
 
    3d. Copy your original AppleHDA.kext from System/Library/Extensions to Desktop. Then copy "layout1.zml.zlib" and "Platform.zml.zlib" to this kext with path "AppleHDA.kext/Contents/Resources". And reinstall the kext with Kext Utility.  :thumbsup_anim:  :thumbsup_anim: . Credit to Wern Apfel, Mirone and Abxite for XML to ZML method
 
Special Note : If you have already use my DSDT and Config.plist then you can skip step 3a. 3b and 3c
 

Another Screenshots

post-1311960-0-32276200-1449420845_thumb.png

post-1311960-0-20596600-1449420874_thumb.png

post-1311960-0-31201400-1449420902_thumb.png

post-1311960-0-74991500-1449420932_thumb.png

post-1311960-0-80050600-1449420953_thumb.png

post-1311960-0-92626600-1449420980_thumb.png

post-1311960-0-56767200-1449421008_thumb.png

post-1311960-0-22353300-1449421038_thumb.png

post-1311960-0-07080700-1449421139_thumb.png

post-1311960-0-01418200-1449421208_thumb.png

post-1311960-0-44032300-1449421237_thumb.png

post-1311960-0-24792800-1449421265_thumb.png

Share this post


Link to post
Share on other sites
Advertisement

This is very interesting. I want to keep tabs on how well this works. 

 

Does audio not work from the creative card or is that working well now?

Share this post


Link to post
Share on other sites

I'd considered this board when part shopping for my machine and briefly flirting w/ the prospect of going ATX, but the lack of AppleHDA-compatible onboard audio was a dealbreaker.

 

Awesome you got this up and running though w/o too much difficulty.

Share this post


Link to post
Share on other sites

I'd considered this board when part shopping for my machine and briefly flirting w/ the prospect of going ATX, but the lack of AppleHDA-compatible onboard audio was a dealbreaker.

 

Awesome you got this up and running though w/o too much difficulty.

I have success installing to Z170-HD3 before  :hysterical: see my old thread http://www.insanelymac.com/forum/topic/308707-fresh-install-from-usb-installer-el-capitan-10111-beta-build-15b38b-on-skylake-i7-6700-gigabyte-z170-hd3/

 

So, i can install without much difficulty :thumbsup_anim:  :thumbsup_anim:

Share this post


Link to post
Share on other sites

Nice work Andres. How did you get on with Gigabyte's BETA FW F6g?

Share this post


Link to post
Share on other sites

Nice work Andres. How did you get on with Gigabyte's BETA FW F6g?

I just need to download BIOS file then enter bios, and press "F8" then you go :D

 

What's the difference between SSDTPrGen vs. the Skylake hardware sensors in FakeSMC.kext along with VoodooTSC...?

I don't know, AFAIK I use VooDooTSC for X79 Intel Platforms. I always use FakeSMC with CPUSensor.kext as plugin :D

Share this post


Link to post
Share on other sites

6i for G1... testing...

Share this post


Link to post
Share on other sites

I have the same motherboard and i interesting to install El Capitan, can u make a guide for your instalation ? i have gigabyte ga-z170x gaming 7, i7 6700k, 16gb ddr4 gskill 3200 mhz, 500gb ssd evo samsung, amd r9 280x 3gb 

Share this post


Link to post
Share on other sites

I have them same like you but not allowed me to install el capitan with error: Still waiting for root device.

Cpu: i7-6700

Mainboard: Gaming G7 Z170

How can i fixed ?

You need to set XHCI Handoff enabled at bios,, and don't forget to flash latest BETA BIOS for your board. And check your bios setting and make sure IOAPIC Entry = Disabled. Then see my configuration at uploaded file above

 

I have the same motherboard and i interesting to install El Capitan, can u make a guide for your instalation ? i have gigabyte ga-z170x gaming 7, i7 6700k, 16gb ddr4 gskill 3200 mhz, 500gb ssd evo samsung, amd r9 280x 3gb 

We have different Graphics Card here. I think you need using FB Name "Chutoro" for your Graphics Card :D and Flash Latest Beta Bios for your board and make sure to disable IOAPIC Entry at BIOS Setting

Owh,, i almost forgot. You can use my "Z170X-Gaming-7-USB3.0-Injection.kext" at Uploaded file above. Don't forget to use SMBios 17.1,, see my config.plist otherwise your USB will have problem. We have default "XHC" not "XHCI" at BIOS. That's important thing to run USBINjectionKext  :hysterical: 

 

Sorry for my Bad English

Share this post


Link to post
Share on other sites

SUCCESS Gaming G1 works out of the box!

 

Installed new beta bios F6g (didn't bother with F6i beta yet from the giga forums... Dropped in a pre-installed El Capitain 10.11.1 SSD (set up for an iMac 13,2 setup Z77X UD5 TH) into one of the SATAs without changing anything, used;-

 

XHCI Handoff enabled

disable IOAPIC (which now 'appears' in the choices in this 'safe' beta BIOS F6g)

 

Thought Id boot up just for giggles as the prior mob had basic installs with clover and setup for the 980tiGTX and everything is working.

 

Time to play with 10.11.2

 

Haven't done any other kext patching etc yet...

Share this post


Link to post
Share on other sites

Hi 

I have Creative CA0132 too.

Its worked for me.MIRONE HELP to get this.

But Output volume cuzer not work

show volume in menu bar very light not black

can you upload your ioreg please

I have x99gaminG1

THANK YOU.

 

Credits to CA0132 codec patch: wern apfel

Edited by Allan

Share this post


Link to post
Share on other sites

You need to set XHCI Handoff enabled at bios,, and don't forget to flash latest BETA BIOS for your board. And check your bios setting and make sure IOAPIC Entry = Disabled. Then see my configuration at uploaded file above

 

 

I through out of Waiting for root device and see this error.  System uptime in nanoseconds

What can i do now ???

Share this post


Link to post
Share on other sites

I through out of Waiting for root device and see this error.  System uptime in nanoseconds

What can i do now ???

You need to disable Serial Port at BIOS setting, make sure your Internal Graphics = enable and set VRAM 64MB  :thumbsup_anim:  :thumbsup_anim:

Hi 

I have Creative CA0132 too.

Its worked for me.MIRONE HELP to get this.

But Output volume cuzer not work

show volume in menu bar very light not black

can you upload your ioreg please

I have x99gaminG1

THANK YOU.

Can you send me your Patched AppleHDA???

i will give my IOREG too

Hi 

I have Creative CA0132 too.

Its worked for me.MIRONE HELP to get this.

But Output volume cuzer not work

show volume in menu bar very light not black

can you upload your ioreg please

I have x99gaminG1

THANK YOU.

Me too,, my Sound Slider is not function. No problem with me,, i even don't need it, LoL

Share this post


Link to post
Share on other sites

This is Mirone sent for me .

Thats why I dint upload it Anyway try it.

This file is not a file that you are using right now. I can see the GREY Port is NODE 17 and Speaker is 4. But at your platform that you sent to me there is not the node. You have modified it, haven't you?

Share this post


Link to post
Share on other sites

post-826544-0-44607000-1449702016_thumb.jpg

 

[success] El Cap 10.11.2 on Gigabyte z170 Gaming G1 / i7 6700k \64Gb RAM / NVIDIA GeForce GTX 980 Ti 6143 MB 

 

All pretty cool so far.

Both Killer network nics work with Atheros2200\2400 Meinze's kext.

Most USBs work / switched some off at boot so yet to try all

 

Attempting to see if Killer WIFI AC1535 will work (could've sworn I noticed this was working earlier...)

Attempting to see if I can get the m.2 samsung PCIe x4 NVME 500Gb card working

Will take a look at getting Creative 3D Sound {censored} working too

Share this post


Link to post
Share on other sites

Here there is an error. When creating boot by usb so on El Capitan is okay, but when installed on ssd clover 3330 to launch in El Capitan is in the bios boot options appear more 1 again and so continuously accumulated for the next boot time follow. I can fix it?

post-1633391-0-31634200-1449729183_thumb.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By frenzycoder
      Hi, 
       
      I try to get a notebook working vanilla. 
       
      I used clover and patched DSDT.aml to get it booting. Now I have power-management issues and sound left. 
      Sound is more important for me at the moment.
       
      My notebook has following hardware: 
      Realtek ALC269 @ Intel Skylake PCH-H 
       
      lspci on ubuntu said: 
      00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
       
      id: multimedia description:  Audio device product:  Sunrise Point-LP HD Audio vendor:  Intel Corporation physical id:  1f.3 bus info:  pci@0000:00:1f.3 version:  21 width:  64 bits clock:  33MHz capabilities:  pm msi bus_master cap_list configuration: driver = snd_hda_intel latency = 32 resources: irq : 128 memory : df120000-df123fff memory : df100000-df10ffff  
      What would be the best way to install it? 
      Is it possible to do it only with EFI/Clover or do I have to touch /L/E? 
       
       
    • By cydia2020
      G'day guys,
      I recently bought a Surface Book i5 256GB with dGPU, and I found that there's no tutorial about Hackintosh since it's released, so i am here to be the first (maybe) to try this out
       
      This guide is not being recommended by its author, as the final performance is usually janky and unstable, most fundamental functions of your Surface will not work in Hackintosh, please always consider the consequence of proceeding, you also risk losing your data, again, please proceed with caution
       
      ******謝絕轉載謝謝配合******
      ******Please do not repost, thanks******
      ******転載禁止です。ご協力をお願いします。*******
      This project is deprecated (and it was only meant for 10.11 - 10.12.3) due to hardware availability on my side, no support for future OSes will be provided by me personally and support on current OSes will be limited. Your contributions, testing and guides will be appreciated by the community.
       
      video is up at
       

      Disclaimer: everything is on yourself, please proceed with caution and care
      Works
      Keyboard & Trackpad (No Gestures)(Buggy, when you hold a key, pointer won't move),
      SD card reader,
      USB 3.0 ports,
      Sound
      PCIe SSD
      Intel HD 520 Graphics works perfect on 10.11.4
      DP Video output now works(don't close the lid, it lead to big problems)(after closing the lead with external monitor, when plug in the external monitor, it no longer recognize the internal display, you must unplug the monitor and reboot)
      Long press power key brings up the power menu
      Brightness
      Lid

      Doesn't work
      NVidia dGPU
      Touch Screen (Alex's driver won't work since it's now on HID Camplg ports, which is not open source)
      Wireless (Wi-Fi & Bluetooth)
      Volume rocker
      Battery status

      What Works for 10.12
      Everything for 10.11 :-)

      Bugs For 10.12.3 and below
      Graphics is janky and unstable. and does not work natively, driver patch is needed
       
      Graphics will not work on 10.12.4 as reported for the built-in display, please take notice and do not upgrade
      First Step: Installing a Virtual Machine
      You will need a VM in order to get the thumb drive ready, please install a VM or you can use a real Mac to do this, the installation is not very hard, but do need some times for downloads and other stuff.
      Download VMWare Workstation Pro 12.0 Trial Version Download VMWare Unlocker Download Python Runtime Modify Unlocker Bat file -- In the unlocker installer, there's a win-install.bat file that you can open by CMD, but don't open yet, we need to modify a path in the file, open the file using your favorite text editor, find unlocker.exe in the file, change it to unlocker.py The previous step is redundant  Follow the instruction on unlocker readme file Go to a Apple Store, get a Install App from their computer and convert the BaseSytem.dmg to CDR, or you can just skip those steps to the making USB step Use the converted CDR as install media in VMware Installing OS X as normal Second Step: Prepare to install
      You need an actual Mac to make the install USB or using a VM, both methods are fine, I wouldn't say more about installing a VM on your devices, you can Google that yourself
      You'll need to download the 10.11.x installing App from this link For macOS 10.12 please go to this link to get the preview version You need to open Disk Utility. Select the USB Drive and format it as Mac OS X Extended (Journal-ed), Name it whatever you want, as long as you can remember the name. Now, open the terminal, enter the following text, this will cost you around 4 minutes on a USB 3.0 device and 30 minutes on a USB 2.0 device, go get yourself some drinks For 10.11 sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/PARTITION NAME --applicationpath "/Applicatons/Install OS X El Capitan.app" --nointeraction The previous method won't work on 10.12 anymore, you will get a USB that is not booting, use the guide below Download Clover from Clover Official Download Page Install Clover by choosing "Install UEFI Version only, install to EFI partition, Install Themes, Driver64UEFI(unselect CsmVideoDxe-64) After installing, you should see a Partition called EFI mounted, and it's your thumb drive (Copy the EFI folder from Installing OS X to the EFI Partition) only do this if it didn't do atomically DownloadSurfaceDriver.zip and follow the instruction in the ReadMe.txt to paste the files into your CLOVER folder ++++++++++Notice for 10.12 USB Creation++++++++++
      The pervious way of making the 10.11 drive won't work anymore in 10.12, instead, after downloading the 10.12 install app, you'll need to follow the following steps
      Show hidden files by executing this command defaults write com.apple.finder AppleShowAllFiles YES Navigate to /Application/Install macOS Sierra/Contents/SharedSupport and mount InstallESD.dmg
      Open "Disk Utility", restore the USB drive with Basesystem.dmg (hidden) in the mounted DMG file.
      Copy /Packages in the mounted DMG file to the restored USB's /System/Installation. Delete the old link before proceeding to the copy.
      Copy basesystem.dmg and basesystem.chunklist to the root directory of your USB drive
      Third Step: Installing OS X 10.11

      Now, we can start installing 10.11, you should plug in an external keyboard, mouse, and your thumb drive, after you finish the booting process, you should see the welcome page, choose the language you prefer and proceed the installation
      Go to Windows First, partition your drive for at least 50 GB if you want to keep using, because as I tried before, remapping disk after installing macOS or OS X is extremely HARD, don't try that unless it's necessary, you will risk the integrity of your data by doing that
      Choose Disk Utility, choose your installing partition and click erase, format as OS X Extended (Journal-ed), then, exit Disk Utility and proceed the installation process, you might need to proceed the same process twice to get the full install, so if you didn't saw your OS X drive, please choose install again. (The installation will automatically continue.)

      Or: Installing macOS 10.12
      Please change ig-platform-id to 12345678 before installing the framebuffer kext.
      Things getting a little bit tricky when you're trying to install 10.12 on Surface Book. Since there's still a little bit of problems with the NVMe driver, you will likely get a error message says: unable to unmount volume for repair
      I am not sure if the error spreads largely, but, I experienced it every time I install the 10.12
      The temporary workaround is that to use an external USB hard drive or a SD card, I don't recommend a USB thumb drive unless it's superfast.
       
      Install 10.12 as normal to the external hard drive apply all the combo updates to the external hard drive system Use the recovery environment comes with the Installer (not the hard drive) Open Disk Utilities and restore the whole USB hard drive to the macOS install drive You can apply combo or delta updates as normal, but do not apply big updates that requires a standalone app download, backup and reinstall instead Problems regarding 10.12 installing has been solved, please proceed as normal
       
       
      The Final Process: Make your experience better
      You don't have to patch the keyboard drivers for 10.12.1 and/or above
      For 10.12, please install the kexts in 10.12 "install" folder located in the driver pack
      Make the keyboard works (10.11 only)
      Navigate to InstallHD/System/Library/Extension Copy the IOUSBFamily Kext to your desktop or wherever you like Right click on it and choose show package content, go to /Contents/PlugIns Right click on IOUSBHIDDriver and choose show package content, go to /Contents Open Info.plist using software like: PlistEditor Pro, and xCode Navigate to IOKitPersonalities Copy Generic Keyboard and right click on IOKitPersonalities Select "Paste as a child" Expand Generic Keyboard 2 change the value of bInterfaceProtocol to 0 change the value of bInterfaceSubclass to 3 change USBCompatibilityMatch to YES (doesn't have this on 10.11) save the file and open Kext Utilities Drag and Drop the kext in to it, enter password and after it finished reboot, then you should have a working keyboard Install Clover to SSD
       
       
      To install clover to ssd, you need the CLOVER PKG installer and remeber to update as a new version releases, it might contains bug fixes.
       
       
      Install clover as normal, install to your HACKINTOSH INSTALL DRIVE Use UEFI Boot Version, Install theme, and Driver, unselect CsmVideoDxe PUT THE SURFACE BOOT DRIVER INTO THE DIRECTORY Use BOOTICE x64 Version under windows, mount EFI under windows, Select UEFI tab, add a new boot entry navigate to EFI:\EFI\CLOVER\CLOVERX64.efi, name it clover bootloader (or whatever you like). Go to Surface UEFI, unselect Windows Boot Manager under Boot tab, select and drag CLOVER to the first position of the UEFI boot sequence,  
      NOTICE: DO NOT DELETE "INTERNAL" selection in UEFI setup, or your Surface WILL NOT BOOT (won't happen on newer BIOS)
       
       
      By the way, according to the feedback, there has been some problems with the AppleHDA patch, please install AppleHDA298.kext to S/L/E directly using your kext installer instead of placing it under /CLOVER/kexts, also, please use sRGB as color profile to avoid any grahpics glitch in 10.11.
       
       
      _____________________________________________________________________
       
      You'll need a Wi-Fi dongle to get online or you can use USB Sharing on Android and iOS, don't know whether network sharing on Ubuntu Touch, Windows Phone and Blackberry will work
      You'll also need a Bluetooth dongle to get BT working


       
      __________________________________________________________________________________________________________________________________________
      Thanks to
      LonelyTV
      MeuPRodrigo
      maj1es2tic
      Pike

      and all of you
    • By tluck
      Lenovo T460 macOS with Clover Guide
      Release v2018.05.17 on GitHub Updated to Clover r4458 Updated Lilu.kext - supports both Sierra and High Sierra Updated AppleALC.kext - supports both Sierra and High Sierra + added back DVMT patch for 10.13.2+ Updated VoodooPS2Controller.kext (RehabMan version) + SSDT updates for T460 Added Frank's T470p DSDT files
        Various Tweaks over Last months The zip file is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle is tested on Sierra. 
      Note: I never got the GFX fully working on El Capitan. 
      Full Clover file set - config.plist etc. Includes all custom kexts Includes custom DSDT/SSDT scripts and patches Utility scripts The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases
      Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.
      Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.
      Devices and aspects working:
      Ethernet -  Intel I219LM is enabled via IntelMausiEthernext.kext WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip Audio - ALC293 codec implemented via AppleALC.kext (old AppleHDA_ALC293 and CodecCommander kexts are not needed) PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work -  3 external USB and internal Camera, BT, etc  Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices. Note: have not tried to implement the SD card reader - no driver found.
      ACPI Files
      New Installation - Steps and Details
      Part 1 - OS Installation
      Part 2- Post OS Installation and Setup
      Notes on Custom Kexts
       
    • By zcmckenna
      I have been having a pretty major issue with my new Hackintosh lately. It has been displaying broken link images in safari (See image 1). It has also had certain areas of artifacting such as the storyboard in Xcode (See image 2). and finally PDFs have been showing up completely blacked out (See image 3). This has been a big issue for me and I was wondering if any of you have had the same problem and have had any luck fixing it. I have already tried display calibration and switching to integrated graphics. Thanks in advance!
      (See attached for config.plist)
      Specs:
      CPU: i5-8600k
      MB: Gigabyte Z370XP SLI
      GPU: ASUS 1070 Dual
      RAM: 16GB Ballistix (8GB x 2)
      HDD: WD Blue 1TB



      config.plist
    • By Cyberdevs
      Installing macOS® Sierra® on Gigabyte GA-Z170X-Gaming 5 rev 1.0
      Intel® Core i7 6700K
      nVidia® Graphics Maxwell® or Pascal®
      Disclaimer:
      This guide will assume that you know what you are doing and also assumes that you have already made a backup of your data before making any changes to your hardware or software. If you have not made a backup STOP HERE! and create one.
      I will not be held responsible for any data loss or any damage you might cause to your computer in the process of installing macOS® on your computer.
      By following this guide, you acknowledge that installing Mac OS X® and macOS® on any hardware that is not produced by Apple® is illegal and you will be responsible if you break any laws.
      All the trademarks and copy rights belong to their respective owners.
      This guide is only for your personal use and your information, therefore if you break any laws by using this manual you will be responsible for it not me. Any commercial use of the contents of this guide is prohibited.
      If I forget to mention your name or someone else’s name in the credits section forgive my negligence and feel free to contact me and I will add your name/s.
      This guide is written specifically for the hardware specifications I’m using, but the principal in general might apply to other hardware with similar specs with the exception of DSDT and SSDT files.
      Important Notes:
      1. Always backup your data before making any changes to your hardware or software.
      2. Always keep a bootable Clover USB disk with the latest working configurations just in case.
      3. I suggest you use another bootable USB for testing and not to edit the EFI folder on the hard drive.
      4. Preferably use the latest BIOS (F21 at the time of writing) version and the latest version of Clover EFI bootloader (4077 at the time of writing).
      5. There are two main versions of Clover EFI bootloader available in this package. One for the users with a nVidia GPU and the other one is for the users with IntelHD 530 GPU.
      6. So many parts of this tutorial are universal and they apply to all Hackintosh and Apple computers, like creating the Bootable USB disk drive or mounting the EFI partition. So, you can use them on all the computers that run macOS or even use them for installing macOS on other Hackintosh computers.
      7. The config.plist, the DSDT.aml file and the SSDT tables are specifically created for the GA-Z170X-Gaming 5 motherboard so do not use them on other hardware because they simply won’t work or even if they do you might experience some problems and errors.
      8. This tutorial is based on my personal experience. So, you might need to make some extra adjustments.
       
      Downloading the macOS® Sierra installer from App Store:
      Download the version of macOS® you want to install on your computer from App Store, macOS® Sierra. For downloading the macOS® installer you’ll need an Apple® computer or a working Hackintosh and a valid Apple ID. Although downloading macOS® Sierra® doesn’t require an Apple ID but if you are going to use your Hackintosh for day to day use you’re going to need a valid Apple ID.
      You can download the macOS® Sierra® installer by using the link below:
      macOS® Sierra® 10.12.5:
      https://itunes.apple.com/us/app/macos-sierra/id1127487414?mt=12&ls=1
      You can also use App Store directly for downloading it. The “Install macOS® Sierra.app” will be saved to the following path once downloaded: /Applications/
       
      Creating bootable USB Disk for macOS®:
      Plug in a USB flash drive (8Gb or larger) and launch disk utility to format the flash drive.
      To create a bootable USB drive for macOS®, everything must be exactly as shown in the picture below.
      Once you successfully formatted the flash drive, open Terminal from /Applications/Utilities:
      Copy and paste the following command into terminal without the “”:
      For macOS® Sierra®:
      “sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app —nointeraction”
      Press return/enter to run the command. You’ll be asked to give your password and once you type your password press return/enter and the process will start.
      Depending on the speed of the USB drive you are using it will take about 5 to 30 minutes to complete the process. It took about 5 minutes on my computer to create the bootable disk on a USB 3.0 flash drive.
       
      How to mount the EFI partition using command line:
      Launch the terminal application again if you closed it previously.
      Type “diskutil list” and press return/enter
      You’ll see list of all the Internal and the external hard drives 
      Type “diskutil mount /dev/diskXsX” and press return/enter
      First X is the number of the disk and the second X is the number of the partition
      In this case the command will be:
      e.g. diskutil mount /dev/disk2s1
      Now you can see the EFI partition of disk6 is mounted on the desktop, if you can’t see the partition on the desktop you can find it in finder window’s “Sidebar” under “Devices”

      BIOS Settings:
      Now it’s time to configure the BIOS before installing macOS®.
      First of all, it’s better to “Load Optimized Defaults” settings on the BIOS so we could start from scratch without having any misconfigurations.
      You need to make the following changes to get macOS® working on your pc:
      BIOS:
      Fast Boot = Disabled
      Windows 8/10 = Windows 8/10 WHQL or Other OS
      CSM Support = Disabled
      Secure Boot = Not Active
      Attempt Secure Boot = Disabled
      Peripherals
      Initial Display Output = PCIe 1 Slot (Only If you are using a nVidia GPU, if you are using an AMD GPU you’ll need to enable IGFX and set it to primary in order to boot into macOS® Sierra®)
      Trusted computing, Security Device Support = Disable
      Super IO Configuration, Serial IO = Disable
      USB Configuration, Legacy USB Support = Enabled
      USB Configuration, XHCI Hand-off = Enabled
      USB Configuration, USB Mass Storage Drive Support = Enabled
      USB Configuration, Port 60/64 Emulation = Enabled
      SATS And RST Configuration = AHCI
      Chipset
      VT-d = Disabled (If you need it add “dart=0” flag to config.plist under Boot section)
      Internal Graphics = Disabled (Only If you are using a discreet GPU if you are using an AMD GPU you’ll need to enable IGFX and set it to primary in order to boot into macOS® Sierra®)
      In Chipset, IOAPIC 24-119 Entries = Disable
      If you are using Intel Graphics or IGFX
      In Chipset, Internal Graphics = Enabled 
      In Chipset, DVMT Pre-Allocated = set it to 64 
      In Chipset, DVMT Total Gfx Mem = set it to max
      Save and Exit.
       
      Installing Clover EFI Bootloader:
      In order to boot successfully into macOS® you’ll need to install a Bootloader on the drive you are using as the main bootable device whether is a flash drive or a hard disk drive.
      There are number of bootloaders that could be used to boot up the macOS® on a PC computer or a Hackintosh but we will only use Clover EFI Bootloader and here is how to properly install and configure Clover EFI Bootloader on your computer.
      In this section, we will be installing the UEFI version of the Clover so if you are using the Legacy BIOS version for whatever reason this guide is not for you.
      You can download the latest version of Clover EFI Bootloader from:
      https://sourceforge.net/projects/cloverefiboot/
      As I mentioned before in the first page of this manual the latest version of the Clover EFI Bootloader is Clover_v2.4k_4077.
       
      Stage 1:
      Once you have downloaded the bootloader double click the installer package to start the installation process. The process will only take few minutes and after that you need to customize or optimize the contents of the EFI partition which you’ve installed clover into. Please make sure you select the USB drive you created earlier as shown below and not the HDD of the computer you are using.
      If you see the following dialog after double clicking the installer package, all you need to do is to right click on the Clover_v2.4k_r4077.pkg and from the menu select open and once more click the open button. 
      Click continue and read the “Important Information” or not and then click continue once more.
      You need to select the location that you want to install Clover EFI Bootloader to.
      Make sure that you are installing clover to the right location, basically you must choose the drive that you have installed macOS® Sierra® onto unless you want to install the bootloader on another drive, say a flash drive.
      Now you need to customize which components of the bootloader to be installed, if not you won’t be able to boot into macOS® at all.
      Check the following items and then click install:
      1. Install for UEFI booting only (Unified Extensible Firmware Interface)
      2. Install Clover in the ESP (EFI System Partition) or (Extensible Firmware Interface System Partition)
      3. Install can also choose a theme for your clover bootloader and the CloverThemeManager.app to change or modify the themes later.
      4. Install Drivers64UEFI that apply to your system you will need at least these two drivers:
      1. EmuVariableUefi-64
      2. OsxAptioFix2Drv-64
      You can also choose other drivers if they apply to your computer and if you need them, otherwise you’re good to go.
      5. You can also install the RC script on the target volume to enable the shell command prompt in clover’s boot screen.
      Once the installation is started, the EFI partition of the hard disk or USB drive that you are installing clover to will be mounted on the desktop, if you can’t see the partition on the desktop you can find it in the finder window’s “Sidebar” under “Devices”
       
      Stage 2:
      In this stage, you need to configure the config.plist and the other components on the EFI partition either by modifying the config.plist inside the /EFI/Clover/ folder using “TextEdit” or any other text editor application that you like or using “Clover Configurator” (recommended) application which has a GUI for editing the config.plist and it has some other useful built-in apps such as EFI mounter or a Base64 to HEX converter etc. or you can just simply replacing the “Clover” folder with the one that is provided with this guide.
      At this moment you might not be familiar with all the settings and options inside the config.plist file and Clover Configurator, no need to worry.
      You can easily replace the whole “Clover” folder inside the “EFI” folder on the EFI partition of your bootable disk (hard disk drive or USB flash drive) with the folder included with this guide and you’ll be good to go as along as your main components specifically your CPU and GPU are the same as mine.
      Otherwise you might need some additional settings and flags to be added to the config.plist.
      For instance, if you are using a NVMe SSD disk drive you’ll need to add proper patches in order to get it to work.
      You can find more about clover and its settings at:
      https://clover-wiki.zetam.org/Home
       
      and you can find “Clover Configurator” at:
      http://mackie100projects.altervista.org
       
      How to enable kext using Clover EFI Bootloader:
      In this section I will briefly explain how to install kexts that are needed to make your macOS® work more properly and efficiently.
      As you know all the hardware components in a computer need a so called “Driver” to operate correctly in the operating system.
      The same principle applies to macOS® and Mac OS X®. We call them “Kext” files or “Extension” files.
      By default, Apple provides all the required kext files with the operating system to run on a legitimate Apple computer.
      On the other hand, on a Hackintosh you need to install some extra kext files created by the community to obtain full functionality of your computer. You can either install them directly to “System/Library/Extensions” folder of macOS® Drive or you can place them into the EFI folder on the EFI partition of your bootable drive, which is a better way because if those files are the modified version of an original kext file that Apple is provided after each major update they will be replaced is the OS and you’ll lose the functionality of that particular component or more components.
      For example, Maxwell and Pascal GPUs have the “Boot to black screen” issue with some SMBIOS settings like iMac17,1, iMac15 and MacPro 6,1 system definitions. It means if you use one of those system definitions your computer will show a black screen after loading macOS® even after installing the nVidiaWebDrivers.
      So, you’ll need to either change the SMBIOS definition or you need to patch the “AppleGraphicsDevicePolicy.kext” to avoid the black screen.
      Once you patch the file with whatever method, if you install macOS® update you’ll need to apply the patch all over again.
      Besides changing the system files in macOS® will mix up the file permission of the files and if it’s not properly installed or if you forget to fix the permission of the files you might render the whole operating system useless and you’ll need to either fix the permissions on the /System/Library/Extensions or for short /S/L/E or you might need to reinstall the whole operating system from scratch. 
      For each version of macOS®, there is a folder inside the following path:
      /EFI/Clover/kext/
      So, you can copy the kexts you need inside the folder that correlates with the version of macOS® you are using.
      Even if you update the OS, the files inside that path won’t get changed.
      How to properly adding kext file to /System/Library/Extensions:
      There are several ways to install additional kexts on macOS, but I will only discuss two methods that are the easiest ways to install kext without having to type any commands in terminal.
       
      Using Kext Utility:
      By using kext utility you can easily install kext files inside /System/Library/Extension.
      All you have to do is to open the Kext Utility app, type in your password and drag the kext file you want to install into the app’s window and it will install them in to the path give above. The good thing about this app is that it will automatically repairs the permission of the /System/Library/Extension folder and the kext files inside it.
      Once the process is done you can reboot the system and see the results.
       
      Kext Wizard:
      Kext wizard is another handy tool with more functions built into it, you can select the path for installing the kexts files even to another operating system on another volume.
      You can repair the permissions and rebuild system kext cache. You can even load kexts files and test them or list the kext that are already loaded in the system.
       
      Post Installation:
      To have a fully functional Hackintosh you need to add the following kext files and DSDT/SSDT files and tables.
      Kexts:
      FakeSMC.kext https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek/downloads/
      Audio:
      AppleALC.kext
      https://github.com/toleda/audio_CloverALC
      Lilu.kext
      https://github.com/vit9696
      CodecCommander.kext v2.4.0 for Audio after sleep
      https://bitbucket.org/RehabMan/os-x-eapd-codec-commander/downloads/RehabMan-CodecCommander-2015-0522.zip
       
      Note:
      Install CodecCommander.kext v. 2.4.0 inside /System/Library/Extensions/ and set darkwake=8 in config.plist to solve the audio after sleep issue.
      I tried installing it inside /EFI/Clover/kexts/10.12 and /EFI/Clover/kexts/Other and it didn’t work.
      I also tried other versions of CodecCommander.kext but none of them worked except for the v. 2.4.0.
      If you don’t want to use Lilu.kext and AppleALC.kext and see the read the “Other methods for activating audio section”.
      realtekALC.kext with https://github.com/toleda/audio_RealtekALC/blob/master/audio_realtekALC-120.command.zip
      audio_cloverHDMI-120_v1.0d.command for HDMI Audio: https://github.com/toleda/audio_CloverHDMI/blob/master/audio_cloverHDMI-120.command.zip
       
      Ethernet:
      AppleIntelE1000e.kext https://sourceforge.net/projects/osx86drivers/files/Kext/Snow_or_Above/AppleIntelE1000e.kext.zip/download
      or
      IntelMausiEthernet.kext https://bitbucket.org/RehabMan/os-x-intel-network/downloads/RehabMan-IntelMausiEthernet-v2-2017-0321.zip
       
      Graphics:
      IntelGraphicsFixup.kext https://sourceforge.net/projects/intelgraphicsfixup/ if you are using the Intel Integrated Graphics 
      Lilu.kext https://github.com/vit9696
      NVidaiGraphicsFixup.kext https://sourceforge.net/projects/nvidiagraphicsfixup/
       
      USB 3.0
      USBInjectAll.kext
      https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads/RehabMan-USBInjectAll-2017-0517.zip
       
      Note:
      I also tested the system without USBInjectAll.kext and all my USB 2.0 and USB 3.0 ports were fully functional so it’s up to you whether to use it or not.

      VERY IMPORTANT NOTE:
      Before you start using macOS® Sierra®, you need to change the SMBIOS of the config.plist:
      You have to change the SMBIOS settings before starting to use macOS® Sierra®, because the config.plist that is included in this guide doesn’t have a serial number for your Hackintosh, so you won’t be able to use any of Apple’s services without a serial number and a hardware UUID. It’s imperative to do so specially if you are going to use your Hackintosh for daily use. If you don’t change the serial number you won’t be able to use App Store, iCloud, iMessage etc. It’s highly recommended that you use iMac 17,1 SMBIOS as your default. iMac 17,1 and iMac 17,2 models use Skylake processors in Apple's original iMacs.
      For changing the SMBIOS you can use the built-in wizard inside “Clover Configurator” under SMBIOS Section. To open the wizard, click the small magic wand on the right side of the window to use the wizard.
       
      Audio:
      By using the EFI folder included with this guide and by using the patched DSDT/SSDT tables, “AppleALC.kext” and “Lilu.kext” you won’t need to do much to make the audio active on your Hackintosh.
      Just install the macOS® Sierra®, copy the EFI folder and audio is activated by default, HDMI audio will be active once you install nVidiaWebDrivers and restart the computer.
      If the audio didn’t work, you can rebuild prelinked kernel and kexts cache by using the following commands in terminal:
      1. sudo nvram -c 2. sudo purge 3. sudo rm -f /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache && sudo touch /System/Library/Extensions && sudo kextcache -u / sudo update_dyld_shared_cache -force Or you can use “Kext Utility” to repair permissions on /System/Library/Extensions and /Library/Extensions and also it will also rebuilds the system cache for you.
      Kext Utility could be found at:
      http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=186603
       
      Note:
      If you see the following output in terminal it means that you forgot to mount the EFI partition, mount it and run the command again.
      EFI partition not mounted
      Boot/EFI not found
      EFI/CLOVER folder not available to install audio
      No system files were changed
      To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
      logout
      Saving session...
      ...copying shared history...
      ...saving history...truncating history files...
      ...completed.
      [Process completed]
       
      Other methods for activating the Audio:
      1. audio_codecdetect.command
      This command will give you useful information about the audio chipsets and devices that are available on the system, after you run the command, the output will be like this:
      cdetect_v2.2.command ; exit;
      File: audio_codecdetect.command_v2.2
      HDMI audio codec(s)
      Nvidia:   0x10de0083
      Onboard audio codec
      Realtek: 0x10ec0900
      Name: Realtek ALC1150
      Audio ID: 1
      Valid audio codec, audio device and Audio ID; audio injection is working
      Finished
      logout
      Saving session...
      ...copying shared history...
      ...saving history...truncating history files...
      ...completed.
      [Process completed]
       
      This means that the audio chipset is supported and you can go to the next step of installing the audio using Toleda's scripts.
       
      2. audio_cloverALC-120_v1.0f3.command
      Type in the password and press return/enter
      Agreement
      The audio_cloverALC script is for personal use only. Do not distribute
      the patch, any or all of the files or the resulting patched AppleHDA.kext
      for any reason without permission. The audio_cloverALC script is
      provided as is and without any kind of warranty.
      File: audio_cloverALC-120.command_v1.0f3
      Release Mode
      Password:
      EFI partition is mounted
      System Integrity Protection status: disabled.
      OK to patch
      Confirm Realtek ALC1150 (y/n): y
      Clover Audio ID Injection (y/n): y
      Use Audio ID: 1 (y/n): y
      Download ALC1150 files ...
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100 23555  100 23555    0     0  12259      0  0:00:01  0:00:01 --:--:-- 12255
      Edit config.plist/Devices/Audio/Inject/1
      Edit config.plist/SystemParameters/InjectKexts/YES
      Download kext patches
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100  1855  100  1855    0     0   3033      0 --:--:-- --:--:-- --:--:--  3031
      Download config kext and install ...
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100  4223  100  4223    0     0   3383      0  0:00:01  0:00:01 --:--:--  3383
      Install /Volumes/EFI/EFI/CLOVER/kexts/10.12/realtekALC.kext
      Install System/Library/Extensions/AppleHDA.kext/ALC1150 zml files
      Fix permissions ...
      Kernel cache...
      rebuilding //System/Library/PrelinkedKernels/prelinkedkernel
      kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
      kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
      kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext AppleHDA.kext
      kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleGraphicsDevicePolicy.kext
      KernelCache ID: 4EEE3A25D6E9388FE8F02F8E56A57A1D
      kextcache updated critical boot files, requesting launchd reboot
      Install finished, restart required.
      To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
      logout
      Saving session...
      ...copying shared history...
      ...saving history...truncating history files...
      ...completed.
      [Process completed]
      All you need to do now is to reboot the system and you’ll have audio!
       
      3. HDMI Audio
      For activating the HDMI Audio for you need to run audio_cloverHDMI-120.command
      This command will detect the audio codec for you integrated graphics and discrete GPU and will add the proper SSDT table to /EFI/Cover/ACPI/patched folder
      Agreement
      The audio_cloverHDMI script is for personal use only. Do not distribute
      the patch, any or all of the files for any reason without permission.
      The audio_cloverHDMI script is provided as is and without any warranty.
      File: audio_cloverHDMI-120.command_v1.0d
      Release Mode
      EFI partition is mounted
      No HDMI audio codec(s) detected, continue (y/n): y
      HDMI audio codec(s)
      Integrated Graphics is not installed/enabled
      Install AMD/Nvidia HDMI audio (y/n): y
      Nvidia discrete graphics card 10de1b81 found on PEG0@1/PEGP@0
      Nvidia HDMI audio is not enabled
      Install Nvidia HDMI audio ssdt (y/n): y
      Download SSDT-HDMI-NVIDIA-PEG0 ...
      Password:
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100 44888  100 44888    0     0  39094      0  0:00:01  0:00:01 --:--:-- 39101
      /Volumes/EFI/EFI/CLOVER/ACPI/patched/SSDT-HDMI-NVIDIA-PEG0.aml installed
      Install finished, restart required.
      To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
      logout
      Saving session...
      ...copying shared history...
      ...saving history...truncating history files...
      ...completed.
      [Process completed]
       
      Audio Troubleshooting:
      If after running the audio_cloverHDMI-120_v1.0d.command you see the following statement
      “Agreement
      The audio_cloverHDMI script is for personal use only. Do not distribute
      the patch, any or all of the files for any reason without permission.
      The audio_cloverHDMI script is provided as is and without any warranty.
      File: audio_cloverHDMI-120.command_v1.0d
      Release Mode
      EFI partition is mounted
      Error: no IOReg/HDEF; BIOS/audio/disabled or ACPI problem
      Continue without HDEF/onboard audio (y/n): y
      No audio codec detected
      No system files were changed
       
      It means you either don’t have a patched DSDT.aml file or SSDT tables and no patches are present inside the config.plist so you need to either add the DSDT/SSDT tables or add patches yourself.
      Don’t be alarmed it’s so easy.
      Open clover configurator and after mounting the EFI partition, open the config.plist and add the following patch :
      Under ACPI, DSDT patches select “change HDAS to HDEF” from “List of Patches” and this will add the following code in the config.plist
      </dict>
      <key>Comment</key>
      <string>change HDAS to HDEF</string>
      <key>Disabled</key>
      <false/>
      <key>Find</key>
      <data>
      SERBUw==
      </data>
      <key>Replace</key>
      <data>
      SERFRg==
      </data>
      </dict>
      or
      Comment: change HDAS to HDEF
      Find*[HEX] 48444153
      Replace*[HEX]48444546
       
      Graphics:
      This section will be dedicated to nVidia GPUs specially Maxwell and Pascal. If you are using any other nVidia or AMD graphics you can skip this section.
      We tested these instructions on an EVGA 1070 Superclocked GPU and a Gigabyte nVidia GeForce GTX960 GAMING-4GB (Please include the brand for reference).
      As you might know the 10 series nVidia GPUs or Pascal are not compatible with Mac OS X El Capitan and earlier versions of macOS® but 9 series and Maxwell are compatible and they both need nVidiaWebDrivers to be fully functional.
      For macOS® Sierra® 10.12.5 you’ll need to download 378.05.05.15f01
      https://images.nvidia.com/mac/pkg/378/WebDriver-378.05.05.15f01.pkg
      Solution 1:
      If you are looking for an easy way to get the GPU working all you have to is to copy the Lilu.kext and nVidaiGraphicsFixup.kext inside the kext folder in clover EFI bootloader.
      The full path is /EFI/Clover/kext/10.12
      Once you finished installing macOS® and nVidiaWebDrivers you’ll need to add the following flags and setting to the config.plist
      Under “Boot” section add or remove nvda_drv=1 if necessary. I don’t need to use it on my computer. You don’t need to inject anything in “Graphics” section Under “System Parameters” check “NvidiaWeb”   When installing Clover EFI bootloader under “Drivers64UEFI” install “EMUVariableUefi-64” // I also use OsxAptioFix2Drv.efi, never tested without it.
      and that’s it!
       
      Solution 2:
      If you don’t want to use nVidaiGraphicsFixup.kext you only have two options:
      1. Run AGDP-fix.app to edit the “AppleGraphicsDevicePolicy.kext” to fix “Boot to Black Screen” issue 2. Or you can edit the “AppleGraphicsDevicePolicy.kext” manually using terminal. If you choose the second solution for any reason remember after each major update you need to apply the patch all over again.
       
      Wi-Fi:
      TP-Link WDN4800 works out of the box without any hassle.
      The only problem that you might encounter with it is "ATHR: unknown locale: 21" error in the verbose boot.
      The Atheros patch is to avoid the series of "ATHR: unknown locale: 21" messages in the verbose boot which they will be registered in message console's logs and they will make the log file bigger. The patch will fix the WiFi location and will stop the error and therefore there will be no more logs.
      Without the patch, the WiFi will work just the same but with lots of messages in the log.
      If you don’t use the TP-Link WDN4800 you can remove the patch or simply leave it as disabled.
       
      USB 3.0:
      Under Kernel and Kext Patches add the following to “KextsToPatch”:
      This patch will raise the limit of the USB ports from 15 to 26.
      For macOS® Sierra
      Name*: AppleUSBXHCIPCI
      Find* [HEX] : 83bd74ff ffff10
      Replace [HEX] : 83bd74ff ffff1b
      Comment: Raise change 15 port limit to 26 in XHCI kext (100-series)
      MatchOS: 10.12.x
      You also might need to add RehabMan’s “USBInjectAll.kext” to the following path under “/EFI/Clover/kexts/10.12” for macOS® Sierra
      Note:
      If you are using a patched DSDT or SSDT tables you don’t need to use any DSDT patches in clover and the “USBInjectAll.kext” you will have full functional USB 2.0 and USB 3.0 ports. I didn’t test USB 3.1 ports because I have no USB 3.1 device to test it!
      The port limit patch must only be temporary, you will need to create your own custom SSDT-UIAC to only inject the ports you use.
       
      Custom SSDT-UIAC:
      A quick rundown on how to create a custom SSDT-UIAC.
      Add the following patch to your config.plist if you don’t already have the patch.
      <dict>
      <key>Comment</key>
      <string>change 15 port limit to 26 in XHCI kext (100-series)</string>
      <key>MatchOS</key>
      <string>10.12.x</string>
      <key>Name</key>
      <string>com.apple.driver.usb.AppleUSBXHCIPCI</string>
      <key>Find</key>
      <data>g710////EA==</data>
      <key>Replace</key>
      <data>g710////Gw==</data>
      </dict>
       
      or
       
      Name*: AppleUSBXHCIPCI
      Find* [HEX] : 83bd74ff ffff10
      Replace [HEX] : 83bd74ff ffff1b
      Comment: Raise change 15 port limit to 26 in XHCI kext (100-series)
      MatchOS: 10.12.x
       
      The USBInjectAll.kext provided in this guide needs to be and stay installed.
      Download ioregistryexplorer Version 3.0.3 from http://mac.softpedia.com/get/System-Utilities/IORegistryExplorer.shtml
      or download IOJones which is an alternative to IORegistryExplorer at: https://sourceforge.net/projects/iojones/
      Download MaciASL from https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-MaciASL-2017-0117.zip and extract, drag MaciASL.app into /Applications. (Credit RehabMan)
      Download OS-X-USB-Inject-All Master from: (Credit RehabMan)
      https://github.com/RehabMan/OS-X-USB-Inject-All/archive/master.zip
      and extract the zip file.
      Inside the OS-X-USB-Inject-All-master folder you will find SSDT-UIAC-ALL.dsl, copy it to your desktop.
      Open ioregistryexplorer and find your device id by typing XHC in the search field.
      Open SSDT-UIAC-ALL.dsl with MaciASL and find your appropriate device id section.
      Remove all other sections in the SSDT-UIAC-ALL.dsl that do not correspond with your device id leaving just the one section. Skylake does not have a EHCI controller so “HUB1”, ”HUB2”, ”EH01”, "EH02" can be removed and in my case I can also remove "8086_1e31", "8086_8xxx", "8086_9xxx", "8086_9cb1", "8086_9d2f" and "8086_a2af".
      Compile the file to make sure there are no errors in the code and then save the file with “ACPI Machine Language Binary”. 
      Now we turn our attention to ioregistryexplorer, while you have ioregistry open go to the XHC section and take note of the HSxx or SSxx locations that have devices attached. Now plug in a USB 2.0 device into all USB 2.0 you NEED and do the same with USB 3.0 ports with USB 2 and 3 devices and take note of them all.
      Returning back to the SSDT-UIAC-ALL.dsl you will see all ports listed, you need to remove the ones you did not take note of and you can also add a comment to the ones you keep. 
      UsbConnector values = USB 2.0 = 0, USB 3.0 = 3. Internal = 255
      USB 2.0 devices plugged into USB 3.0 ports HSxx are still marked as USB 3.0 = 3.
      Internal devices such as Bluetooth etc are marked as 255
      Once you gone through and done this to all the devices you need and removed the ones you don’t you can save your SSDT-UIAC-ALL.dsl in MaciASL. Make sure you rename it to SSDT-UIAC and that the file format is ACPI Machine Language Binary
      Copy and paste the resulting SSDT-UIAC.aml into your EFI/EFI/CLOVER/ACPI/patched folder.
      Disable the port limit patch in config.plist and add SSDT-UIAC.aml into SortedOrder if needed.
      Reboot.
       
      Open ioregistryexplorer and test the ports you left enabled USB 2 & 3.
      The number of ports you should see in ioreg should be significantly reduced as they are not being injected anymore.
       
      Special Thanks to:
      I would like to thank MaLd0n for providing the patched version of DSDT and SSDT tables and SavageAUS for doing such a great work on helping me to write this tutorial and testing the files and also writing the “Custom SSDT-UIAC” section.
      I also would like to thank:
      Vit9696 for Lilu.kext
      RehabMan for CodecCommander.kext FakeSMC.kext, IntelMausiEthernet.kext, USBInjectAll.kext.
      Toleda for AppleALC.kext, Audio commands and kexts
      netkas for FakeSMC.kext
      lvs1974 for IntelGraphicsFixup.kext and NvidiaGraphicsFixup.kext
      hnak for AppleIntelE1000e.kext
      Mieze for IntelMausiEthernet.kext
      apianti, blackosx, blusseau, dmazar, slice2009 for Clover EFI Bootloader
      http://mackie100projects.altervista.org for Clover Configurator
      Apple Inc. for macOS® and great many other products.
      And many other great people whom make Hackintosh possible!
       
      The hardware I use in my computer:
      Gigabyte GA-Z170X-Gaming 5
      Intel Skylake Core i7 6700K @ 4.0 GHz
      32 GB (4x8 GB) 2666 GSKILL Ripjaws
      EVGA GTX 1070 SC 8 GB
      Dual Display 23.5"
      Kingston HyperX 240GB SATA III SSD
      250 GB Samsun EVO 850 SSD 
      TP-Link WDN4800 PCIe Wireless Network Adapter
      CoolerMaster Silencio 452 Case
      CoolerMaster Nepton 120XL Liquid Cooler
      CoolerMaster V750 Watts Power Supply
      2x24" Samsung LED Displays + 32" TV
       
      SavageAUS's hardware that was used for testing:
      Gigabyte GA-Z170X-Gaming 5
      Intel Skylake core i7-6700k @ 4Ghz
      32Gb (4 x 8Gb) DDR4 3200 G.Skill Ripjaws
      Gigabyte GTX960 GV-N960WF2OC-4GD
      240Gb Intel SSD
      240Gb Kingston HyperX Savage SSD
      TP-Link WDN4800 WiFi
      Corsair H110i AIO Liquid Cooler
      Corsair RM850i PSU
      Corsair 760t Case
      24" single display Benq GL2450
       
      Please download the PDF version which includes pictures on this guide.
      I hope you find this tutorial helpful.
      Best Regards,
      Cyberdevs
      GA-Z170X-Gaming 5 Release 01 DSDT and SSDT nVidia Version.zip
      GA-Z170X-Gaming 5 Release 01 DSDT and SSDT IntelHD 530 Version.zip
      Installing macOS Sierra on GA-Z170X-Gaming 5 - Final.pdf
      IORegistryExplorer_3.0.3.zip
       
      Updated Clover folders can be found at this post:
      Updated Folders
×