Contribute
Register

Perfectly working installation. GA-Z170-D3H, i7 Skylake, 32GB RAM, (iMac 17,1) (Success)

Status
Not open for further replies.
Joined
Jul 15, 2016
Messages
43
Motherboard
GA-Z170-D3H
CPU
i7-6700K
Graphics
RX 570
EDIT: I have created a Sierra guide which is more up to date. Go here

This guide focusses on my setup, which works perfectly after 3 days of hacking around. I have included instructions all the way to a fully functional machine, including working iMessage and FaceTime and I have tried to put all the instructions in one place with links to other great posts if something doesn't work.

So in theory, if you buy the same components and follow this guide, you will get a working Hackintosh that approximates an iMac 17,1 with the most modern Skylake CPU.

The guide will probably work with variations in RAM, HD, SSD, PSU, Case & Cooling than the exact hardware I have used. BUT it will almost certainly NOT work if you use a different motherboard, CPU or a GPU that is not a NVIDIA GEFORCE model.

(My machine identifies itself as an iMac 17,1 as this is the only official mac with Skylake Processors. It is always a good idea to identify your machine as a mac with the closest matching specs. HOWEVER, using iMac17,1 does require some tweaks to get it working correctly with NVIDIA graphics cards. All steps included in this guide.)

1. Hardware
I used the tonymacx86 hardware guide and chose these components:

Motherboard:Gigabyte LGA1151 Intel Z170 Micro ATX DDR4 Motherboards GA-Z170M-D3H
CPU: Intel Boxed Core I7-6700K 4.00 GHz 8M Processor Cache 4 LGA 1151 BX80662I76700K
RAM: Crucial Ballistix Sport LT 32GB Kit (16GBx2) DDR4 2400 MT/s (PC4-19200) DIMM 288-Pin - BLS2K16G4D240FSB (Gray)
CPU Cooling: Zalman CPU Cooler for Intel Socket 1155/1156/1366/775 and AMD Socket FM1/AM3+/AM3/AM2+/AM2 CNPS8000B
PSU: Corsair CS Series, CS550M, 550 Watt (550W), Semi Modular Power Supply, 80+ Gold Certified
GPU: EVGA GeForce GTX 950 2GB GAMING, Silent Cooling Graphics Card 02G-P4-2951-KR
SSD: Samsung 850 EVO 500GB 2.5-Inch SATA III Internal SSD (MZ-75E500B/AM)
HD: Seagate Barracuda 1 TB 7200RPM SATA 32 MB Cache 3.5-Inch Bare Drive - ST31000524AS
Wifi/Bluetooth: PC/Hackintosh - Handoff and Continuity - OSXWiFi - Apple Broadcom BCM94360CD - 802.11 A/B/G/N/AC with Bluetooth 4.0 OS X Yosemite 10.10+
Case: BitFenix No Power Supply MicroATX Tower Case BFC-PHM-300-WWXKK-RP

Build the machine. I can't help you with that, but put memory in Slots 1 and 3 (matching coloured slots).

2. Setup BIOS
  1. Download BIOS firmware (F7) from another machine and put the file on a new USB flash drive formatted with FAT32.
  2. Power up new build and hold delete
  3. When BIOS loads, find section to flash your BIOS. You choose the file from the USB drive.
  4. Once BIOS is upgraded, save and exit and hold delete again.
  5. When BIOS reloads, check that firmware is now version F7 and then check BIOS Settings. Change any that aren't set as follows:
    1. In Memory sub section
      1. Turn on XMP Profile 1
    2. In BIOS Features
      1. Fast Boot: Disabled
      2. VT-d: Disabled
    3. Windows 8/10 Features: Other OS
    4. LAN PXE Boot Option ROM: Disabled
    5. Storage Boot Option Control: UEFI Only
    6. Network Stack: Disabled
    7. In Peripherals: Initial Display Output: PCIe 1 Slot (if graphics card installed there)
    8. XHCI Hand-off: Enabled
    9. In Chipset: VT-d: Disabled
3. Make El Capitan Installer
I used Unibeast and an Installer for OSX v10.11.4 to make my installer. I decided not to use the latest ElCap version because there are more fixes for older versions and 10.11.4 is pretty stable. I created the installer using Clover as the Bootloader using this excellent guide. Read it. Read it again and then follow the guide exactly until you get to Step 5: the point where you run Multi-Beast. Then use my settings below... (If you run into issues with installing OSX, your Unibeast USB Installer should be inserted in one of the rear mouse/keyboard ports. For some reason this works better)

Note
When OSX eventually loads, DO NOT LOG IN with your Apple ID. You need to fix up some things to get them working properly (last step) or you will blacklist your AppleID and end up having to call Apple.

4. Set Multi-Beast Settings
So OSX has loaded and it's now time to run Multi-Beast.
  1. Run Multi-Beast and choose these options:
Boot: UEFI
Audio: ALC892, 100 Series Audio, Optional HD3000/HD 4000/HD 530 HDMI Audio
Disk: No changes
Misc: Fake SMC (just the first one, no plugins or HWmonitor)
Network: AppleIntelIE1000e v3.3.1
USB: Increase Max Port Limit
Customize/Graphics config: Intel 530
Customize/SystemDefinitions: iMac 17.1​

Check the confirmation window where it shows you what it will install. Double check it is what you want, then press INSTALL.
After Installing, DO NOT restart.

5. Download and install Clover Tools
Download and install the latest Clover package. (Later versions than that installed with Multi-Beast seem better to me)
Download and install the latest Clover Configurator. (You'll see why next)
Download: EFI Mounter v3 (You'll see why next)

6. Install NVIDIA drivers
If you restart now, it should all work, but you will have poor graphics since the NVIDIA drivers are not installed. OSX does not install the correct ones natively. If we install the correct drivers, we also need to apply a fix so that the drivers don't conflict with the iMac 17,1 system definition (long story).

So the next step is to install the right drivers AND apply a setting to CLOVER's config file ensure you don't get a black screen at start up. (The issue this step avoids is problem 4 on this post).

First, we edit the Clover config file on the EFI partition of the boot drive. Then we install the right drivers. Editing the Clover config.plist file by hand runs the risk of a damaged, hopeless file. If you aren't comfortable editing XML, use Clover Configurator. If you ARE happy with XML read this first.

For most people it is probably better to use Clover Configurator. This is quite an overwhelming interface at first, but you get the hang of it and you are less likely to bork your config file.

6a. Edit Clover Boot Options
  1. Remove your installation Boot USB if it's connected.
  2. Run EFI Mounter, choose your boot drive and mount it
    1. You should see a volume called EFI mounted in Finder
  3. Run Clover Configurator
    1. Choose File/Open and select the EFI volume and the config.plist file in the CLOVER folder.
      1. The file should load and you should see various values already selected when you click through the options on the interface (Boot/SMBIOS etc).
      2. If you see no values anywhere, your config.plist file is screwed. Delete EFI/CLOVER/config.plist and run Multi-Beast again (step 4). Then come back to this point and load the config.plist file into Clover Configurator again.
Select these checkboxes in the BOOT section of Clover Configurator:
  • nvda_drv=1
  • kext-dev-mode=1
  • XMPDetection=YES
Clover Boot Options.png



6b. Edit Clover Kernel and Kext Patches Options

  1. Click Kernel and Kext Patches in left menu
  2. Click the '+' under 'KextstoPatch' section
  3. Enter these details
    1. Name: AppleGraphicsDevicePolicy
    2. Find* Hex: 626F6172642D6964
    3. Replace* Hex: 626F6172642D6978
    4. Comment: (c)Pike R. Alpha
    5. Type/Key: STRING

Clover Kernel and Kext Patches.png



THEN -
  • Save the config.plist file
  • Close the Clover Configurator (Ignore any message you may get about version. Do not revert)
  • Do not restart

7. Download and install the NVIDIA web drivers
Here are the web drivers. Make sure you only install the ones for your OS version. The link is for 10.11.4 and for GeForce GPUs only. Do not use anything else if you have 10.11.4 installed.

Install the Nvidia Driver package. Ensure that your installation USB is not plugged in and now restart. (I found that leaving the USB in caused the BIOS to make duplicate boot entries)

ISSUES AT THIS POINT
  • Computer restarted but I got a black screen after the Apple Logo.
    • Is your Monitor plugged into the graphics card? (graphics card is now driving display)
    • Your Kernel patch above is wrong.
      • Plug your boot USB in and restart holding F12.
      • Boot from USB into Clover boot menu
      • Boot your new OSX install from Clover Boot Menu
      • Try steps 6a and 6b again (or you can see more information and alternative ways of patching NVIDIA drivers for iMac17,1 here).

8. Successful Restart Check
  1. If you have successfully restarted from your new OSX installation...
  2. Open 'About this Mac' from apple menu
    1. Is memory correct?
      1. If not, you will have to enter your memory modules manually in Clover Configurator (see below)
    2. Is graphics card correct?
      1. If not, Open Clover Configurator and make sure "nvda_drv=1" is set in Boot options
      2. Open system prefs/nvidia driver manager. Select Nvidia Web Drivers. Restart. (this selection will not stick after restart, but it is only cosmetic. Drivers are loaded and you can tell by playing a game or running geekbench)
    3. Does your computer show as "iMac (Retina 5K, 27-inch, Late 2015)"
      1. If not, do step 4 and 5 again. (Run Multi-Beast again and install latest version of Clover again). Restart.
  3. Click 'System Report'
    1. Ethernet Cards showing information?
      If not, do step 4 and 5 again. (Run Multi-Beast again and install latest version of Clover again). Restart.
    2. USB showing your USB devices?
      1. If not, do step 4 and 5 again. (Run Multi-Beast again and install latest version of Clover again). Restart.
    3. Network showing Bluetooth, Wifi and Ethernet?
      1. If not, do step 4 and 5 again. (Run Multi-Beast again and install latest version of Clover again). Restart.
  4. Check Sound
    1. Open Sound preferences.
    2. Choose your input/output (I use green line out with a mini stereo jack connected to the green port on the back of the machine)
    3. Test sound (you can use sound effects in Sound prefs)
NOTE
If lots of stuff isn't working (or doing just doing steps 4&5 does not fix anything), then Mount your EFI volume using EFI Mounter and delete your EFI/CLOVER/config.plist file. Start again at Step 4 and go through the whole process back to Step 9.


9. Manually Setting Memory (if it's not showing up correctly in About This Mac (usually half the true value and wrong frequency...)
  1. Remove your installation Boot USB if it's connected.
  2. Run EFI Mounter, choose your boot drive and mount it
    1. You should see a volume called EFI mounted in Finder
  3. Run Clover Configurator
    1. Choose File/Open and select the EFI volume and the config.plist file in the CLOVER folder.
      1. The file should load and you should see various options select or not when you click through the options on the interface (Acpi/Boot/Cpu etc) (If you see nothing at all, your config file is screwed. Delete config.plist and run Multi-Beast again (step 4) and edit config.plist with the black screen patch before restarting! Then come back here.
      2. Open SMBIOS from left menu
      3. Press the '+' under memory section
      4. Enter your memory information (part and serial numbers not that important, but probably good to use true values. Make sure part numbers are the same if the memory modules are identical. Make sure serial numbers are different)
      5. For the SLOTS, these are the actual slot numbers on the motherboard. However, mine are actually in slots 1 and 3, but for it to work, I had to select Slots 2 and 4 in Clover Configurator. (Make sure both cards are in the same colour slots. On my board 2 slots are grey and 2 black.)
      6. Save config file and restart
        1. I had to restart a few times, changing the slot values in Clover Configurator until it picked them up in the right slots.
Note - About this Mac shows 5 slots on my machine under memory tab, when it only has actually 4 physical slots. It doesn't seem to affect anything though.

Clover Memory Config.png



10. Fixing Sound
  1. If you have a hissing noise...
  2. Install VoodooHDA 2.8.8 from source forge
  3. restart
  4. Open System Prefs/VoodooHDA pref pane
  5. Open each menu/sub-menu and turn the Input Gain to Zero.
11. Fixing Sleep
My external USB drives would unmount unsafely when my machine went to sleep. To fix that, I installed SafeSleepUSB

11. Apple ID, App Store & Fixing iMessage and FaceTime
DO NOT LOG IN with your Apple ID. You need to fix up some things to get them working or you will blacklist your AppleID and end up having to call Apple.

If you have already signed into your Apple ID
  1. Sign out. Then use iCloud.com to check if your new Hackinstosh is showing up as one of your devices in find my iPhone. If it is. Remove it from your iCloud profile.
  2. Turn off your network connection.
  3. Follow these instructions to remove all traces from your system your preferences before continuing.
  4. Restart

Important Information
For iMessage, FaceTime (and possibly other Apple cloud services) to work, you need to have several things set up correctly to avoid authentication issues and Apple blacklists:
  • Model: The Mac Model number
  • SerialNumber/OSX Serial Number: 12 digits for iMac17,1. Must be a valid number for the Model chosen AND must not be in use by any other machine on earth. Must NOT change between boots.
  • SmUUID/System-ID: Valid, unique number for your system not in use anywhere else on earth. Must NOT change between boots.
  • ROM: Unique 12 hexadecimal digits. Must NOT change between boots.
  • MLB/BoardSerialNumber: (17 digits long for iMac17,1). Must not change between boots.

INSTRUCTIONS
  1. Set Main Network BSD
    1. Your main network (ethernet) BSD number must be set as en0.
      1. Open About this Mac/System Profile and look at the Network Section. If Ethernet or Wifi is not en0 then:
        1. Go to /Library/Preferences/SystemConfiguration/ and delete these files: NetworkInterfaces.plist and preferences.plist.
        2. Restart and check again.
        3. If this doesn't fix the issue, try again and if it still fails, look at this section for more fixes.
        4. network BSD.png
  2. Open Clover Configurator
    1. Mount your EFI partition, Open Clover Configurator and load your EFI/CLOVER/config.plist file
  3. Fix SerialNumber/OSX Serial Number:
    1. In SMSBIOS menu, check your model number is iMac17,1
    2. Click the magic wand icon on the right.
    3. Select your model (iMac17,1)
    4. click the shake buttons for 'week of manufacture' and 'unit number' several times
    5. Copy the Serial number generated and close the magic wand tool.
    6. Go to http://www.everymac.com/ultimate-mac-lookup/ and enter your serial number
      1. If it shows your mac model, that is good. If not, generate a new serial number.
    7. Go to https://checkcoverage.apple.com and enter the serial number
      1. If it is NOT found, that is GOOD. It means nobody else is using it. If it is found, generate a new serial number.
    8. Paste the serial number that has passed both checks into the Serial Number field (SMSBIOS section of Clover Configurator).
  4. Fix SmUUID/System-ID:
    1. Open Terminal and type uuidgen and press enter
    2. Do this several times
    3. Copy the number generated
    4. Paste the number into the SmUUID field (in SMSBIOS section)
  5. ROM:
    1. Copy the last 12 digits of the SmUUID value (in SMSBIOS section)
    2. Paste into the ROM value (in the Rt Variables section)
  6. MLB/BoardSerialNumber:
    1. Copy your SerialNumber/OSX Serial Number (generated in step 3) and add any 4 hex digits to this.
      1. valid hex digits are 0-9 and A-F only
      2. Example: if you Serial number is C02PWFEQH2YQ and you choose F8D3 as your hex digits, then your MLB/Board Serial Number will be C02PWFEQH2YQF8D3 (Do not use this number! It's an example. Generate your own!)
      3. Paste this value into MLB field (in the Rt Variables section)
      4. Make sure the Board Serial Number value is blank (in SMBIOS section)
  7. Save your config.plist file and quit Clover Configurator
  8. Restart
  9. Download iMessage Debug
    1. Run iMessage Debug
    2. Copy and keep the values you see somewhere.
    3. Restart
    4. Run iMessage Debug
    5. Check the values for MLB/ROM/SerialNumber etc are exactly the same for the values you were given the first time.
    6. If the values stay the same... great! You're done.
    7. If the values change between restarts, go back to the beginning of these instructions!
MOMENT OF TRUTH
  1. Restart one more time.
  2. Login to iCloud
  3. Open Messages or FaceTime and send a message.

CLEANUP
I ran into a problem where CLOVER would generate multiple boot entries (i.e. when you press F12 on start-up you see multiple entries for the same boot volume). You can fix this by going into the Clover boot screen, but don't boot, select Clover Shell.
  1. It will show a shell/terminal interface
  2. type bcfg boot dump
  3. it will show a list of boot volumes with a numbered identifier 00, 01, 02 etc
  4. type bcfg boot rm [highest value]
    1. i.e. if the highest identifier was 04...
    2. then type bcfg boot rm 04 and press return
    3. then type bcfg boot rm 03 and press return
    4. then type bcfg boot rm 02 and press return
    5. then type bcfg boot rm 01 and press return
    6. then type bcfg boot rm 00 and press return
  5. (the rm command removes those boot entries. We are simply removing them all to let BIOS generate them again)
  6. when done type bcfg boot dump
    1. You should see no entries. (If you do, 'rm' them)
    2. type exit
  7. When you see clover boot menu again, select restart.

Sound hissing on restart
If your VoodooHDA prefpane settings do not stick after a restart...
  1. Delete VoodooHdaSettingsLoader in your Applications folder and replace it with this version.
  2. Go to System Preferences /user/login items and remove VoodooHdaSettingsLoader
  3. Drag and drop the new version of VoodooHdaSettingsLoader into your system prefs /user/login items
  4. Set desired VoodooHDA settings in pref pane
  5. Restart
 
Last edited:
Excellent. Very thorough. I just completed a very similar build and I'm a first timer to building and customacs. I'm having tons of issues with configuration and I'm glad to see such a complete guide for a similar hardware setup to go off of.
 
Very good explanation of your build. I have a similar build on which I am working right now (I just bought it last week). I use the GA-z170x-ud5 th, i7 6700 and GTX 950.

Did you use some bootflags at your install?
 
Very good explanation of your build. I have a similar build on which I am working right now (I just bought it last week). I use the GA-z170x-ud5 th, i7 6700 and GTX 950.

Did you use some bootflags at your install?

Only those set by unibeast/multibeast initially and step 6a (nvidia clover config)
 
Last edited:
I am impressed.
On an ASUS Maximus Hero board with an i7 unlocked CPU and Nvidia 970 I simply used Unibeast and Multibeast (this after months of using the work arounds before 10.11.5).
All worked except for the problem described in step 9: memory is seen as half the installed amount and wrong speed. That is not cosmetic as some programs will not run. The method outlined in Step 9 did not work for me.
However if you are stuck simply rebooting the computer corrects the problem, as does booting the computer to OSX after a session in Win 10 (I know not why but presumably someone on this forum knows).
 
problem described in step 9: memory is seen as half the installed amount and wrong speed. That is not cosmetic as some programs will not run. The method outlined in Step 9 did not work for me.

Indeed it is not cosmetic. Strange things can happen if your memory is incorrect, mainly in demanding applications. Setting memory XMP to on in BIOS and with the XMP Clover Boot flag, should recognize the memory, but I had to specify my modules directly in Clover config to make it work. (All changes in clover configurator to edit config.plist only take effect on restart).
 
Last edited:
@Ayrosa,

Are you attempting the latest El Capitan OS X (10.11.6) install, or something earlier? I have found that a straight Unibeast install of 10.11.5 or 10.11.6, using a Unibeast flash drive created from one of those Apple downloads works the best... at least initially.

I tried the earlier installs going by the thread instructions for those, but ended giving up and re-doing everything (including making the Unibeast flash drive) from the latest OS X version.

I used Unibeast 6.2.0, Multibeast 8.2.3, Clover Configurator version 4.31.0, and "Shilohh's" "AGDPfix.app" to set everything up. To do that last step, I mounted the system's EFI partition using "EFI Mounter v3," and then set "Clover Configurator's" "CsrActiveConfig" menu item in the "Rt Variables" section to a value of "0x77." That disables SIP ("System Integrity Protection") entirely. Then I ran "AGDPfix.app" and then went back into "Rt Variables" and reset it to "0x3." IMHO if I had not done "Shilohh's" step, I would still be under water.
 
The wifi/bluetooth card should not make any difference. I would start from scratch, paying careful attention to the BIOS setup (and latest firmware F7). Then remake unibeast installer with OSX 10.11.4. Once OSX installed and you can boot into it, you can tweak things. (Steps 1-3 above)

As wstrohm says, you should have no issues with 10.11.5 or 10.11.6 installers either. I've upgraded by 10.11.4 version to 10.11.6 since these instructions. You will need different NVIDIA web drivers, but other than that the instructions are the same. Since you are not getting to the point of booting into OSX successfully you should focus on BIOS and Unibeast installer steps. In your BIOS (holding delete on reboot), make sure you have latest version, if so, reset to defaults and then go through every section and make sure your BIOS is set correctly. Then try installing el cap from USB Unibeast installer.
 
@Ayrosa,

During my installation, I also got the "prohibited sign" (slashed circle) just as the Unibeast-created flash drive would have entered the Mac OS X installation process. To fix that, I moved the flash drive from my front-panel USB port to my keyboard/mouse USB port on the back of the computer. Then the entire installation went properly... no slashed circle.
 
Thanks wstrohm and Psimondo for your help. I managed to install OSX 10.11.2 using a Config.plist file with the changes suggested in http://www.tonymacx86.com/threads/10-11-0-10-11-3-skylake-starter-guide.179221/ using the USB port on the keyboard. Well, at least I installed. the problem now it that I don't succeed to boot from the SSD disk where OSX was installed. I stops for a while right after "AppleIntel1000e(Info): AppleIntel1000e:rx = 256, tx = 256", and gives me the prohibited sign after the line that follows, see on image attached. I downloaded and installed the 10.11.2 Nvidia drivers, gone back to step 4 and done all again, checked and rechecked. Dos anyone have any suggestions?
 

Attachments

  • IMG_0011.jpg
    IMG_0011.jpg
    1 MB · Views: 522
Status
Not open for further replies.
Back
Top