Contribute
Register

[Guide] El Capitan on the Gigabyte GA-Z170N-Gaming 5 (mini-ITX)

Status
Not open for further replies.
Hi,

Is someone updated the bios to F20 ?

Ben

Updated to bios F22. Re-installed Sierra from scratch. Not sure if my slow speed in USB 3.1 ports is related or not. Otherwise, everything else works fine.
 
Updated to bios F22. Re-installed Sierra from scratch. Not sure if my slow speed in USB 3.1 ports is related or not. Otherwise, everything else works fine.

What are your settings in the bios?

I just updated to F22 and now my UEFI boot partition is not showing :(
 
What are your settings in the bios?

I just updated to F22 and now my UEFI boot partition is not showing :(

That's weird. You might need to reconfigure your bios after the update. Do you see the drive when you hit F12 at the beginning of boot with the Gigabyte logo?

MIT - Extreme Memory Profile 1. Note:I also changed config in Clover to Auto detect XMP memory. This is not needed to boot but I noticed my computer is smoother.

BIOS tab:
Fast boot disabled, Other OS, LAN PXE Boost disable, storage boot option and other PCI devices: UEFI only
TBT USB 3.1 Force Power enable. (I have left this disable and it still works just fine.)

In Peripherals tab, then USB Configurations:
Legacy USB Auto
XHCI Handoff enable
USB Mass storage enable
Port 60/40 Emulator disabled
 
That's weird. You might need to reconfigure your bios after the update. Do you see the drive when you hit F12 at the beginning of boot with the Gigabyte logo?

MIT - Extreme Memory Profile 1. Note:I also changed config in Clover to Auto detect XMP memory. This is not needed to boot but I noticed my computer is smoother.

BIOS tab:
Fast boot disabled, Other OS, LAN PXE Boost disable, storage boot option and other PCI devices: UEFI only
TBT USB 3.1 Force Power enable. (I have left this disable and it still works just fine.)

In Peripherals tab, then USB Configurations:
Legacy USB Auto
XHCI Handoff enable
USB Mass storage enable
Port 60/40 Emulator disabled

Thank you. I had to re-add the UEFI partition in Windows with EasyUEFI.

When I was back in Mac OS, i had to install the NVRAM drive (EmuVariableUefi) to get my 1080 GTX working again.
 
Hello!
or aloha everyone
i'm not new to hacking but this is MY first actual one, first desktop also.
i have my hands on my mobo and case but the rest of my build i'll be fetching in a couple of days
unfortunately the wifi isn't accessible for me but i have my workaround

i am building for sierra and my question is if after installing I create the EFI partition and drag your config plist, plus some kext files, will it work 100% ? I mean, including the bugs discussed in this thread, will it all be gone?
for now i'll be using hd530 until i can afford a pascal nvidia
i have also a crucial mx300 which is a m2 ssd where i will install os
and probably the same water cooler which im sad we don't have OS X corsair link app
and curious on how we can manage it
i'll keep posting probably
thx y'all
 
El Capitan on the GA-Z170N-Gaming 5

20151221184429_big.png

________________________________________________________________________________

EDIT HISTORY
23OCT - Switched location of kexts to /EFI/Clover


BACKGROUND

My Configuration:
  • CPU: Intel Core i7-6700K 4.0GHz Quad-Core Processor (and other compatible Intel Skylake processors)
  • CPU Cooler: Corsair H100i v2 70.7 CFM Liquid CPU Cooler (and other compatible CPU Coolers)
  • Motherboard: Gigabyte GA-Z170N-Gaming 5 Mini ITX LGA1151 Motherboard
  • Memory: Crucial Ballistix Sport LT 16GB (2 x 8GB) DDR4-2400 Memory (and other compatible DD4 memory)
  • Wireless: Broadcom (BCM94352Z) M.2 WiFi/Bluetooth Card (replacing original Intel M.2 card)
  • Video Card Gigabyte GeForce GTX 1060 6GB G1 Gaming Video Card (and other compatible NVIDIA Pascal video cards)
  • Storage: Seagate Barracuda 2TB 3.5" 7200RPM Internal Hard Drive; Samsung 850 EVO-Series 250GB 2.5” Solid State Drive (and other compatible SATA drives)
  • Power Supply: Corsair CSM 550W 80+ Gold Certified Semi-Modular ATX Power Suppl
  • Case: BitFenix Prodigy (White) Mini ITX Tower Case

Working:
  • HD 530 iGPU
  • Audio (with AppleALC)
  • USB3 ports (with SSDT-1.aml)
  • Processor (with SSDT.aml)
  • Wireless (with OS-X-Fake-PCI-ID)
  • Ethernet (with AtherosE2200Ethernet)
  • Bluetooth (with OS-X-BrcmPatchRam)
  • Memory
  • iMessage/Handoff (with standard iMessage instructions and Clover edits found in other guides)

Not working:
  • Sleep (HD 530 bug)
My Current BIOS Settings (Version F4):
  • Press DEL during boot to access BIOS
  • BIOS Features
    • Fast Boot: Disabled
    • VT-d: Disabled
    • Windows 8/10 Features: Other OS
    • LAN PXE Boot Option ROM: Disabled
    • Storage Boot Option Contro: UEFI Only
    • Network Stack: Disabled
  • Peripherals:
    • Initial Display Output: PCIe 1 Slot (if graphics card installed) or IGFX (otherwise)
    • XHCI Hand-off: Enabled
  • Chipset:
    • VT-d: Disabled

My Current Clover Configuration (will post config when perfected):
  • ACPI: Series 100 board fix (Rename HDAS to HDEF)
  • Devices: Audio->Inject 1 (AppleALC)
  • Graphics: Intel HD 530 injection (ig-platform-id=0x19120000 and Inject Intel, done by MultiBeast)
  • Kernel and Kext Patches
    • AppleIntelSKLGraphicsFramebuffer fix for Intel HD 530 series
  • Rt Variables: MLB and UseMacAddr0 (to fix iMessage)
  • SMBIOS: Using iMac17,1 although I'm sure others work
My Current Add-on Kexts (all in EFI/CLOVER/kexts):
  • AppleALC.kext
  • AtherosE2200Ethernet.kext
  • BrcmFirmwareData.kext
  • BrcmPatchRAM2.kext
  • CodecCommander.kext
  • FakePCIID_Broadcom_WiFi.kext
  • FakePCIID.kext
  • FakeSMC.kext
  • USBInjectAll.kext
________________________________________________________________________________

INSTRUCTIONS

Downloads:
Create Bootable Drive (Follow UniBeast Instructions):
  • On an El Capitan or newer system:
    • Click on the Erase button in the toolbar
    • For Name: enter Installer
    • Make sure Format is set to OS X Extended (Journaled)
    • Make sure Scheme is set to GUID Partition Map
    • Hit Erase. When it finishes, close Disk Utility.
  • Run UniBeast
    • Hit Continue on the main screen, Continue on the UniBeast+MultiBeast screen, Continue on the Clover Credits screen, Continue on the Software License Agreement screen, and agree to the license
    • Select your newly formatted USB drive (so it turns blue) on the Select a Destination screen and hit Continue
    • Select El Capitan (so it turns blue) and hit Continue
    • Select UEFI Boot Mode (so it turns blue) and hit Continue
    • Select appropriate graphics options (nothing checked for the GT740 or onboard HD530 graphics) and hit Continue
  • On the Verify Installation Options screen, hit Continue
  • Enter you password when prompted and wait
  • When the install finishes, hit Quit
Update Bootable Drive Prior to Install:
  • Load EFI of bootable drive if not already loaded (EFI Mounter)
  • Update Clover from package (optional, but I did it)
  • Add Kexts to 10.11 folder (for some reason I had to add on AtherosE2200Ethernet, FakeSMC, and USBInjectAll to prevent a installer hang, although in past I didn't have to change anything after Unibeast drive creation)
  • Add ‘Post Install’ Folder to Bootable Drive and add on Downloaded apps and kexts, from above
Install El Capitan
  • Restart machine with USB drive inserted (I used the motherboard USB3 ports)
  • Enter boot select (F12) or enter the BIOS. Select the UEFI entry that correlates with your USB drive and present enter or exit the BIOS.
  • Clover should load and you should select 'Boot Mac OS X from Installer'
  • You should make it to the installer after a few minutes. If it freezes on the loading bar, you may need to add the Kexts I mentioned above into the 10.11 folder of the USB drive.
  • If you have an empty drive you can proceed through the prompts as directed. If you do not, you can select 'Utilities->Disk Utility" from the menu above. From here you can erase and reformat a new OS X Extended (Journaled) with a GUID Partition Map.
  • After installation is complete, the system will reboot. At the Clover menu should should see a new boot option. Be sure to select 'Boot Mac OS X from ________' where ________ is the name of your hard drive.
  • This should proceed to the standard Welcome menu and account setup. Continue until you get to the desktop.
Post-Install
  • Navigate to your USB disk on the Mac. Copy the 'Post Install' folder to the desktop
  • You need to install the Clover boot loader to your new drive. You can either double click and run the Clover installer you previously downloaded, or use Multibeast.
    • Click Drivers on the top bar
      • Click Audio
        • Select 100 Series Audio (don't click ALC1150, which does work, but for which I will use AppleALC below)
      • Click Misc and select FakeSMC.
        • Click FakeSMC Plugins and FakeSMC HWMonitor if you want these optional features to monitor your hardware
      • Click Network and select AtherosE22000Ethernet (the latest version)
    • Click Bootloaders on the top bar
      • Select Clover version with UEFI Boot Mode
    • Click Customize on top bar
      • Click 'Graphics Configuration' and select 'Intel HD 530'
      • Click 'System Definitions' and select iMac 17,1 (this is what I chose, but I'm sure other definitions works well)
    • Click Build, then Install. If for some reason this fails, you may need to manually load your EFI partition by running 'EFI loader'
Installing AppleALC
  • From your 'Post Install' folder, transfer the AppleALC.kext to /EFI/CLOVER/kexts/10.11
  • Open 'Clover Configurator.' If your EFI is not mounted it will prompt you to load it. Do so.
  • Click the 'Home' button and then load the config.plist found in /EFI/EFI/CLOVER by clicking on it
  • Select Devices, then change Audio Inject number to 1.
  • Save config and restart
  • Run 'KextBeast' to rebuild the kext cache.
Installing Wifi/Bluetooth (Broadcom BCM94352Z)
  • From your 'Post Install' folder, transfer BrcmFirmwareData.kext, BrcmPatchRAM2.kext, FakePCIID_Broadcom_WiFi.kext, and FakePCIID.kext to /EFI/CLOVER/kexts/10.11
  • Run 'KextBeast' to rebuild the kext cache.
NVIDIA Drivers
  • If using an Nvidia card that's not supported out of the box, install the Nvidia Web drivers. While that installation runs (before restarting at the end):
  • Open Clover Configurator, mount your EFI partition, and select EFI/CLOVER/config.plist.
  • Go to the Boot screen and uncheck the box for nv_disable=1 on the Boot screen and then check the box for nvda_drv=1
  • File / Save and then Quit Clover Configurator
  • After the Nvidia Web drivers installer finishes, restart. After that you should get full graphics acceleration.
Power Saver
Fixing USB Ports
  • Install USBInjectAll into /EFI/CLOVER/kexts/10.11
  • Install the following SSDT-1.aml file into your patched SSDT folder at /EFI/CLOVER/ACPI/patched. The previous processor SSDT should be named SSDT.aml and in the folder, as per the instructions above.
  • USB3 and USB2 ports should work (did not test type C port)
  • USB3.1 port (red) works, but only tested in macOS Sierra
________________________________________________________________________________

FIXES

No Sound
  • Under System Preferences / Sound select output. If you see proper outputs, your AppleALC kext is working.
  • 'Internal Speakers' refers to the Green output, The first 'Line Out' is the Orange (c/sub) output and second 'Line Out' is the Black (rear) output.
Fix Static/Distorted Audio from Green Audio Port after Restarting from Windows 10
  • Install CodecCommander.kext
Fix iMessage
  • see How to Fix iMessage.
  • Leave Clover Configurator on the SMBIOS screen. Open Terminal.app and run "uuidgen". Paste the output in the SmUUID field in Clover Configurator (next to the Serial Number).
  • Copy the value in the Serial Number field
  • Go to the RtVariables screen on the left
  • Paste your serial number into the MLB field, and then:
  • For an Nvidia graphics / MacPro3,1 configuration, add 2 random characters or digits to the end, to make 13 characters total.
  • For an integrated graphics / iMac17,1 configuration, add 5 random characters or digits to the end, to make 17 characters total.
  • Enter a value for the ROM field. If you will use an Ethernet port on the machine, you can select "UseMacAddr0" from the drop-down. Otherwise, enter 12 random hexadecimal digits.
  • File/Save config.plist and Quit Clover Configurator.
Fix Shutdown (if shutdown automatically causes computer to reboot due to plugged in USB devices)
  • Open Clover Configurator, mount your EFI partition, and select EFI/CLOVER/config.plist.
  • Go to the Acpi screen and check the box for FixShutdown under Fixes.
  • File / Save and then Quit Clover Configurator


Hi there, I finished my first build, basically with all the equipment that you used. And I followed all your guide. (Thank you!!!) I do not have a graphics card and I have installed Sierra. I have everything working but the sound (there is no sound whatsoever) and the computer hangs when it goes to sleep. I need to reboot when this happens. Can you share some ideas on how to fix these problems? Have you switched to Sierra already? If so, have you change anything on your settings, BIOS, EFI, config.plist?
Thank you in advance.
 
Hi,
I have a very similar set up I am trying to build but I am stuck in a loop at the clover install.

Gigabyte Z170N-Gaming 5, Intel i7-7700K, Crucial 2x16GB DDR4-2400, GeForce GTX1060, Samsung 960 EVO M.2.

Built the Unibeast installer. Set BIOS as per page one of this guide. I get to the Clover screen, choose "Install" and it displays the apple logo for a couple of seconds and reboots.

Removed the external video card and tried again. Same result.

Removed the EVO and used a spare HDD on SATA1. Same result.

Chose the option for verbose boot (each config above) and it always stops at the same point.
 

Attachments

  • IMG_0093.jpg
    IMG_0093.jpg
    338.8 KB · Views: 119
Hi,
I have a very similar set up I am trying to build but I am stuck in a loop at the clover install.

Gigabyte Z170N-Gaming 5, Intel i7-7700K, Crucial 2x16GB DDR4-2400, GeForce GTX1060, Samsung 960 EVO M.2.

Built the Unibeast installer. Set BIOS as per page one of this guide. I get to the Clover screen, choose "Install" and it displays the apple logo for a couple of seconds and reboots.

Removed the external video card and tried again. Same result.

Removed the EVO and used a spare HDD on SATA1. Same result.

Chose the option for verbose boot (each config above) and it always stops at the same point.

UPDATE:
Sorted out the first issue. The CPU wasn't supported. I had to fake the processor type. Got past that hurdle. Installed El Capitan on the EVO. Finished the installation. Upon reboot there is no boot device. I can only get into the system if I boot through Clover and then select the EVO drive.
 
I've got this board with i7 6700k and GTX 970. El Capitan installed and everythings working except I haven't bothered trying to get wifi/bluetooth working since a brief read of this thread indicates I'd need a different card than what came on the board

my current issue is the machine will power itself up and boot up at the slightest movement of the mouse or press of any key. I don't have that stuff enabled in bios so not sure why its booting itself up. (never had this problem with just windows 10 on this machine).

its confusing because Mac OS isn't loaded or running when this is powered off so I don't get how adding an OS to a secondary drive now affects what happens to the computer when powered off

edit - this is fixed now, I had to disable 'power loading' in motherboard bios. someone else I read with same issue had to also enable erp/eup but doing so left me with the same problem
 
Last edited:
No, I don't think so. In fact I believe people have gotten the Bluetooth working with the original card. However I don't believe there are Wifi drivers. You could always use a supported USB wifi dongle.

I would love to find out how to get bluetooth working with the original card (Intel 8260NGW, I believe). I use wired ethernet on this machine, so I don't mind the lack of wifi support. But would like to have bluetooth. I don't really want to have to swap out the card because I'd have to practically disassemble my whole machine due to the tiny case its installed in, I can't access the slot easily. and don't want to use a USB bluetooth if I can get the existing one working
 
Status
Not open for further replies.
Back
Top