Contribute
Register

[SUCCESS] Gigabyte Z170N, Kaby Lake i7-7700K, Samsung 950 PRO NVMe SSD + iMac18,3 SMBIOS + 10.12.6

Status
Not open for further replies.
Joined
Jan 27, 2012
Messages
4
Motherboard
Custom
CPU
Intel i7 3.4GHz
Graphics
Intel
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
TechHero's "Mini Pro" Build:
i7-7700K - GA-Z170N-Gaming 5 - 16GB DDR4 RAM - GTX 1080


nznovomzstj8gbqu9emm.jpg
Components

Intel Kaby Lake i7-7700K Processor
https://www.amazon.com/dp/B01MXSI216/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=N82E16819117726

Corsair Hydro Series H105 Extreme Performance Liquid CPU Cooler
https://www.amazon.com/dp/B00HKEI3EY/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=N82E16835181060

Gigabyte GA-Z170N-Gaming 5 Motherboard
https://www.amazon.com/dp/B014W2000Q/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=9SIABVR5NC1700

G.Skill TRIDENT-Z 16GB (2x8GB) F4-3200C16D-16GTZ - DDR4 3200 (PC4 25600) Memory
https://www.amazon.com/dp/B015FY3BJ2/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=N82E16820231914

NVIDIA GeForce GTX 1080 FE (Founders Edition) Graphics Card
https://www.amazon.com/dp/B01FX2KS6U/?tag=tonymacx86com-20

NCASE M1 (Silver) Computer Case
https://www.ncases.com

Primary HD: Samsung 950 PRO 512GB PCIe NVMe M.2 SSD (Dual Boot macOS Sierra 10.12.6 + Windows 10 1703)
https://www.amazon.com/dp/B01639694M/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=9SIA12K3U60461

Secondary HD: Samsung 850 EVO 1TB (Game & File Storage)
https://www.amazon.com/dp/B00OBRFFAS/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=9SIA2W02DV8168

Dell DW1560 Wi-Fi/BT card (Broadcom BCM94352Z) in place of the Intel M.2 Wi-Fi/BT that came with my mobo


Comments

My aim was to create a streamlined installation with the least amount of "hacks" possible so I can use this as a daily driver. Although it seems like a lot below, I have only a few customizations to make this work, mainly to support NVMe SSD drive as the boot drive, and to add support for additional USB ports, on-board audio, and Wi-Fi + Bluetooth. All of these are loaded in a way that I can perform system updates without worrying about being able to boot my computer (in EFI partition instead of in the OS Extensions folders).

Note that my system reports as 'iMac (Retina 5K, 27-in, 2017)' in 'About This Mac'!

What IS working:
  • Native CPU (No FakeCPUID workaround)
  • NVMe as boot drive
  • Sleep / Shutdown
  • Wi-Fi
  • Bluetooth
  • iMessage, including Handoff
  • NVIDIA Pascal Web Drivers (Full GPU acceleration)
  • USB 2.0, 3.0, and 3.1 Type-C (USB-C)
  • SMBIOS set to iMac18,3 in Sierra 10.12.6 - Reports as 'iMac (Retina 5K, 27-in, 2017)' in 'About This Mac'


What's NOT working:
  • Nothing to my knowledge, although it does take 2-3 minutes to reboot or shutdown, which I'm investigating but it seems to be related to the NVIDIA drivers

Installation Procedures

BIOS settings:
  • Updated to latest BIOS version
  • Load optimized defaults
  • BIOS > Fast Boot: Enabled
    • PS2 Devices Support: Disabled
    • NetWork Stack Driver Support: Disabled
  • BIOS > Windows 8/10 Features: Windows 8/10 WHQL
    • CSM Support: Disabled
  • Peripherals > Super IO Configuration > Serial Port: Disabled
  • Peripherals > Network Stack Configuration > Network Stack: Disabled
  • Peripherals > USB Configuration > XHCI Hand-off: Enabled
  • M.I.T. > Advanced Memory Settings Extreme Memory Profile(X.M.P.): Profile 1
  • Chipset > Vt-d: Disabled
  • Chipset > IOAPIC 24-119 Entries: Enabled


Installation:
  1. Download UniBeast, MultiBeast, and KextBeast | tonymacx86 Downloads
  2. Download Clover | https://clover-wiki.zetam.org/Home
  3. Using a Mac, download a MacOS Installer from AppStore - NOTE: Use 10.12.5 or later
  4. Prepare a USB drive using UniBeast
  5. If using NVMe drive, follow these guides to create the appropriate .kext and .aml files:
    1. https://www.tonymacx86.com/threads/ga-h270n-wifi-i3-7100-hd-630.224472/
    2. https://www.tonymacx86.com/threads/...h-ionvmefamily-using-class-code-spoof.210316/
      • TIP: use the "./patch_nvme.sh --spoof" parameter when creating your kext!
    3. Mount the UniBeast USB drive's EFI partition using EFI Mounter v3
    4. Copy the new .kext and .aml files to the UniBeast USB Drive's EFI partition
      • EFI > EFI > Clover > ACPI > patched > SSDT_NVMe-Pcc.aml
      • EFI > EFI > Clover > kexts > Other > HackrNVMeFamily-10_12_5.kext
  6. If you haven't done so already, set the appropriate BIOS Settings
  7. Boot from UniBeast USB Drive
  8. From Clover boot menu, go to Options:
    1. Boot Args: darkwake=8 kext-dev-mode=1
    2. If using a Kaby Lake CPU and macOS 10.12.5, go to Binaries patching > Fake CPUID, set to 0x0506E3
      • TIP: This is no longer needed in macOS Sierra 10.12.6 or later!
  9. Within the Mac Installer, go to Utilities > Disk Utility
  10. Format destination drive as GUID, HFS+ (Journaled) using Disk Utility
  11. Proceed to install macOS
  12. After installation, Boot into new macOS instance
  13. Install and run MultiBeast (see Post Build Steps below)
  14. If applicable, add NVMe support to your boot drive's EFI partition (see Post Build Steps below)
  15. Install the latest NVIDIA Web Driver | tonymacx86 NVIDIA Drivers - NOTE: See my other thread for instructions on making the 378.05.05.15f01 drivers work in macOS Sierra 10.12.6

MultiBeast Settings for Z170N or MX Gaming 5
  • Quick Start > UEFI
  • Drivers > Audio > ALC1150
  • Drivers > Audio > 100 / 200 Series Audio
  • Drivers > Network > AtherosE2200Ethernet (Latest)
  • Drivers > USB > Increase Max Port Limit 100 Series
  • Bootloaders > Clover UEFI Boot Mode
  • Customize > Graphics Configuration > NVIDIA Web Drivers Boot Flag

NVMe Support
  • Copy patched .kext and .aml files to EFI partition on your boot drive:
    • EFI > EFI > Clover > ACPI > patched > SSDT_NVMe-Pcc.aml
    • EFI > EFI > Clover > kexts > Other > HackrNVMeFamily-10_12_5.kext

Custom Kexts (DL links included):
NOTE: My personal preference is to put everything in /EFI/Clover (vs /Library/Extensions or /System/Library/Extensions) so that the MacOS install remains as untouched as possible and to avoid critical issues after running systems updates
  • EFI/CLOVER/ACPI/Patched
    • SSDT_NVMe-Pcc.aml (Required for NVMe boot drive support) - NOTE: This requires a working Windows installation and is somewhat involved. See this awesome thread for details
  • EFI/CLOVER/kexts/10.12
    • AtherosE2200Ethernet.kext | Required to enable Ethernet on my motherboard - NOTE: I installed this kext via 'MultiBeast > Network > Atheros > AtherosE2200Ethernet'
    • BrcmFirmwareData.kext | Required for Dell DW1560 Wi-Fi/BT support - NOTE: You can substitute this one with 'BrcmFirmwareRepo.kext' instead, which you'd place in S/L/E instead of the Clover EFI partition. Both are included with BrcmPatchRAM kext download - see below
    • BrcmPatchRAM2.kext | Required for Dell DW1560 Wi-Fi/BT support
    • FakePCIID_Broadcom_WiFi.kext | Required for Dell DW1560 Wi-Fi/BT support - NOTE: Included with FakePCIID kext download - see below
    • FakePCIID.kext | Required for Dell DW1560 Wi-Fi/BT support
    • USBInjectAll.kext | Required to activate all USB ports on Intel 100 and 200 series motherboard - NOTE: I use the link to get the latest version, however I originally installed this kext via 'MultiBeast > Drivers > USB > Increase Max Port Limit 100 Series'
    • VoodooHDA.kext | Required for Realtek ALC1150 Audio support
  • EFI/CLOVER/kexts/Other
    • FakeSMC.kext | Required to boot a Hackintosh - NOTE: I use the link to get the latest version, however I originally installed this kext via 'MultiBeast > Drivers > Misc > FakeSMC' then I moved it from '/Library/Extensions' to '/EFI/Clover/kexts/Other'
    • HackrNVMeFamily-10_12_5.kext | Required for NVMe SSD boot drive support - NOTE: This requires a working Mac installation. See this awesome thread for details, search for "Creating HackrNVMeFamily*.kext with the spoofed class-code"
  • /Library/Extensions
    • RealtekALC.kext | Required to enable onboard Audio (Realtek ALC1150) on my motherboard - NOTE: I installed this kext via 'MultiBeast > Drivers > Audio > ALC1150'
Other Post-Installation Drivers & Utilities:
  • Clover Configurator | A great tool for modifying your Config.plist file & mounting your EFI partition
  • Intel Power Gadget | A great tool for viewing CPU frequency and temps
  • MultiBeast | A simple utility for installing common Kexts
  • KextBeast | A great utility for installing custom Kexts manually into /L/E or /S/L/E

Notes
  • You may have to boot your USB installer from a USB 2.0 port
  • Update the Kernel Cache after working with Kexts!
    • Terminal > sudo touch /System/Library/Extensions && sudo kextcache -u /
 
Last edited:
My usb can't boot without FakeCPUID set. My cpu is i7 7700k, and using 10.12.6
 
Status
Not open for further replies.
Back
Top