wildwillow's Skylake Build: Asus Z170 Deluxe - i5-6600K - GTX970 4GB SSC -

32GB Ram - Dual Boot 2x M.2 SSD's







​

Components



Asus Z170 Deluxe ATX Motherboard HDMI/DisplayPort

Already Owned



Apple Mouse (wired)

Comments

About This Build



The Motherboard:

The Rest of the components



The Installation



BIOS Settings

OS X El Capitan Install





FIND : 48444153

REPLACE : 48444546

Looks like this :

​ Comment : Change HDAS to HDEFFIND : 48444153REPLACE : 48444546Looks like this :



Close and save your config.plist



​ Close and save your config.plist

HDMI Audio

WiFi/Bluetooth



Enable 5GHz-Wifi and Bluetooth



BrcmFirmwareRepo.kext

BrcmPatchRam2.kext





WiFi







Bluetooth





​ Some screen shots to compare :WiFiBluetooth

Intel USB SSDT method

Asus Z170 Deluxe USB's :

Intel USB2.0 ports (Connected to internal motherboard header)



HS01 - Port <01 00 00 00> USB 2

HS02 - Port <02 00 00 00> USB 2

HS07 - Port <07 00 00 00> USB 2/Services the onboard Bluetooth USB device

HS11 - Port <0b 00 00 00> USB 2

HS12 - Port <0c 00 00 00> USB 2

Intel USB3.0 Case ports (Connected to the internal USB header)

SS01 - Port <11 00 00 00> USB 3

SS02 - Port <12 00 00 00> USB 3

Rear Intel Motherboard Ports (back Panel)

HS05 - Port <05 00 00 00> USB 2

HS06 - Port <06 00 00 00> USB 2

SS06 - Port <16 00 00 00> USB 3

Code: DefinitionBlock ("SSDT-USB.aml", "SSDT", 1, "sample", "USBFix", 0x00003000) { // "USBInjectAllConfiguration" : override for USBInjectAll.kext Device(UIAC) { Name(_HID, "UIA00000") // "RehabManConfiguration" Name(RMCF, Package() { // XHC overrides for 100-series boards "8086_a12f", Package() { "port-count", Buffer() { 0x17, 0, 0, 0}, // Highest port number is SS07 at 0x17 "ports", Package() { "HS01", Package() // USB2 device from USB3 motherboard header, port <01 00 00 00> { "UsbConnector", 255, "port", Buffer() { 0x01, 0, 0, 0 }, }, "HS02", Package() // USB2 device from USB3 motherboard header, port <02 00 00 00> { "UsbConnector", 255, "port", Buffer() { 0x02, 0, 0, 0 }, }, "HS05", Package() // USB2 device from USB2 back Panel, port <05 00 00 00> { "UsbConnector", 0, "port", Buffer() { 0x05, 0, 0, 0 }, }, "HS06", Package() // USB2 device on USB3 port back panel, port <06 00 00 00> { "UsbConnector", 3, "port", Buffer() { 0x06, 0, 0, 0 }, }, "HS07", Package() // USB2 device on USB2 motherboard header (BT), port <07 00 00 00> { "UsbConnector", 255, "port", Buffer() { 0x07, 0, 0, 0 }, }, "HS11", Package() // USB2 from USB3 motherboard header, port <0b 00 00 00> { "UsbConnector", 255, "port", Buffer() { 0x0b, 0, 0, 0 }, }, "HS12", Package() // USB2 from USB3 motherboard header, port <0c 00 00 00> { "UsbConnector", 255, "port", Buffer() { 0x0c, 0, 0, 0 }, }, "SS01", Package() // USB3 from USB3 motherboard header, port <11 00 00 00> { "UsbConnector", 3, "port", Buffer() { 0x11, 0, 0, 0 }, }, "SS02", Package() // USB3 from USB3 motherboard header, port <12 00 00 00> { "UsbConnector", 3, "port", Buffer() { 0x12, 0, 0, 0 }, }, "SS06", Package() // USB3 from USB3 rear back panel, port <16 00 00 00> { "UsbConnector", 3, "port", Buffer() { 0x16, 0, 0, 0 }, }, }, }, }) } }

Benchmarks:











128GB M.2 SM951 AHCI in the ASUS Hyper Mini PCIE card







Geekbench 64 bit







GTX 970 SSC CineBench R15











​ USB 3.1 TypeA Asmedia Chipset - USB3.0 Thumb Drive128GB M.2 SM951 AHCI in the ASUS Hyper Mini PCIE cardGeekbench 64 bitGTX 970 SSC CineBench R15

What Works:

​

What Doesn't Work

To Be Addressed



Special Thanks & Credits:

First off this has been an on going project since the initial basic support of Skylake architecture within OS X El Capitan. Originally as many of you know there wasn't an easy solution to get USB support or even Sata support in the early stages and we were unable to reach the installer. Myself along with Admins, Mods and Users were buying many types of USB/SATA-PCIe devices to try and get to the OS X Installer without success. Then Piker Alpha solved the IOAPIC device Entries fix that allowed us to reach the installer. Before this we were up to our waists in PCIe add-on cards with only a handful of them working, I had a delivery every other day. I still have a bunch of them here reminding me of the huge amount of fun installing OS X El Capitan on 100 series boards was. Trying to set up screen share on one system drive, moving the drive to the Z170 Deluxe to get almost 2 seconds of use before the Screen Sharing dropped out. But to reach the desktop for the first time on a brand new Intel Chipset is always exciting.Skylake has come along way for the community over the past few months. USB issues have been resolved that were not working at all in the beginning. Overall, except for Intel HD530 integrated graphics using a discrete graphics card I've been able to get most of my original wrinkles ironed out.This is the first Asus motherboard I've owned and its held up pretty great considering the rough start its had. Definitely worth the money, its not giving any problems. The BIOS has the IOAPIC Entries listed so I've not had to use the patch. (No need to disable after 10.11.4)25/4/16 Current BIOS 1702 and no compatibility issuesThe Asus Z170 Deluxe comes with an M.2 port that supports an SSD Blade such like the SM951, along with a PCIe add-on card(yes I know another one) which works in OS X. This comes as part of the package with this motherboard. Here is a picture of the card:As you can see from the image it supports different length cards. Typically the card is screwed down to a standoff to support the card. Asus doesn't give you this standoff and screw. Speaking with the Tech support they don't really understand what I'm asking. Although the motherboard M.2 port comes with the standoff and screw. I've managed to get hold of a bag of 50 M2x5mm standoffs from eBay/Chinese seller and a bag of 12 M2x3mm screws(most laptops use these size screws) and they've done the trick perfectly. I'd think once these SSD's become more mainstream it will be easier to find such a part or they'd even be supplied with the drives. OS X is installed on this AHCI M.2 SSD. Here are some pictures of my handy work:were really easy for me to choose. The Memory was reasonably priced and and is on the Asus QVL. It is being recognised correctly without any config.plist edits from day one. The power supply is another Seasonic that I used in my Haswell build as it has been brilliant and fault free to date, worth the money. The graphics card came later in this build due to bad artifacting with Intel HD530, maybe this will change with the release of more Skylake Macs. The GTX 970 works extremely well with the Nvidia web drivers (dual monitors), main thing for me it is quiet. The ACX 2.0 cooling seems to have done the trick as the earlier models were slightly noisier, that said there is no sound proofing in this case so it shows how quiet it is. The case I wouldn't recommend, I can't see me having it for a long period of time. It was a budget/on offer case at the time of purchase and it really shows, suitable for the test/integration phase of this build.I've completed this installation many times with the GTX970 installed. Only difference is we need to add a bootflag during installation.To create your "UEFI Mode" UniBeast USB follow the excellent guide by tonymacx86 here Installation Guide . Use this View attachment config.plist for the install, swap out the config.plist on the UniBeast USB. It doesn't contain the IOAPIC patch. This will have to be added by you only if the option isn't available in your BIOS - See Skylake Starter Guide Add MultiBeast - El Capitan 8.1.0 KextBeast 2.0.1 and Clover Configurator to your UniBeast USB.).With the system built hook up your monitor to the graphics card and boot into the BIOS by pressing Del when the system is starting. If this is the first time you've booted the system it will ask you to press F1 to enter set up. Once at the BIOS screen press F7 for advanced.Ai Tweaker > DRAM Frequency > Set to 2666MHz or your choice of frequency depending on the memory.Advanced > System Agent (SA) Configuration > VT-d DisabledAdvanced > (SA) Configuration > Graphics Configuration > Primary Display > PEGAdvanced > (SA) Configuration > Graphics Configuration > IGPU Multi-Monitor > DisabledAdvanced > (SA) Configuration > IOAPIC 24-119 Entries > Disabled or the IOAPIC Fix(not required for 10.11.4+)Advanced > USB Configuration > XHCI Handoff > EnabledBoot > CSM (Compatibility Support Module) Launch CSM > EnabledBoot > CSM > Boot Device Control > UEFI and Legacy OPROMBoot > CSM > Boot from PCI-E/PCI Expansion Devices > UEFI driver firstSecure Boot > OS Type > Other OSSecure Boot > Delete all keys under Key Management (4 in total)Boot option #1 > Your Windows 10 UEFI USBPress F10 and save the changes to the BIOS.Remove the Windows 10 USB drive and insert your UniBeast USB drive. This time we will start the system and press the hotkey for our UniBeast USB boot priority which is F8. Select the UEFI partition of the USB and let it boot. I've added -v (verbose) along with nv_disable=1 to the config.plist on the USB. Once at the Clover bootloader select your USB and wait until it reaches the installer where you can partition/format your drive as per the Installation Guide and install OS X El Capitan. Name your Installation drive El Capitan.Once the system restarts press F8 again and select your UniBeast USB and this time at the Clover Bootloader screen let it run as it should boot your installation drive by itself (as long as you named it El Capitan) if not select your installation drive.Complete the Registration of OS X and then you should be at the desktop. Yay!Open System Preferences/Security and Privacy, and allow apps downloaded from anywhere, password required.Use Clover Configurator to mount your EFI partition of the install drive. My installation drive is the 128GB variant and my EFI partition is disk0S1. Use Check Partition.With the EFI partition mounted we can now run MultiBeast. Here are my MultiBeast settings View attachment Z170 Deluxe.mb you can load these in to MultiBeast unless you'd like to add them yourself. Select Build then Install.Now MultiBeast has installed use Clover Configurator/File/Open/Open your new config.plist on the EFI partition of your installation drive. Fill in the patch for audio rename under ACPI. Click the + to add the entry :Under the Boot section remove the tick box for dart=0. Tick box nvda_drv=1, Under the Custom Flags add -uia_exclude_ss, this is for USBInjectAll.kext from RehabMan for the AsMedia USB Chipset. (For a more precise method of injecting Intel USB see the USB section below after installation) So now the boot section should look like this belowNow we need to install the matching Nvidia web drivers, at the time of writing this build description the public release of OS X El Capitan is 10.11.3 - NVIDIA Releases Alternate Graphics Drivers for OS X 10.11.3 (346.03.05) and the drivers are linked from within that thread. Download and install but don't restart yet. We need to finish up with the EFI partition. Download View attachment SSDT-i5-6600K.aml and place it in /EFI/EFI/Clover/ACPI/Patched. This is a power managment SSDT for the i5-6600K.Download USBInjectAll.kext and place the release version on the desktop. Run KextBeast and install to /Library/Extensions.One last thing to do before we restart is we need to disable the AppleGraphicsDevicePolicy as we are using iMac17,1 System definition. Go here Black Screen with MacPro 6,1 or iMac 15 or iMac 17 System Definition and download the app at the bottom of post#1 and run it.The Nvidia drivers should have installed by now and will ask you to restart. Upon restarting enter the BIOS by pressing Del, then F7, navigate to Boot and set your new UEFI installation partition to First Priority, Press F10 save and exit. Fingers crossed!!!To enable HDMI audio using toleda's technical scripts couldn't be simpler on the end user, CloverHDMI has recently been introduced and it works brilliantly. Go to Audio - HDMI Audio AppleHDA [Guide] There is an abundance of important information to enable many different HDMI audio graphics arrangements. For this system click on cloverHDMI-Beta link, download Raw, mount EFI partition and run the script answering y/n questions. Once complete, restart to HDMI audio through the GTX970. For Analog audio use the black port on the rear of the motherboard and in System Preferences/Sound/Output/Line out - Credit : toleda.The native wifi/bluetooth card installed on the Asus Z170 is a Broadcom BCM94360HMB and WiFi works out of the box at 2.4GHz. Bluetooth on the other hand needed some help provided by RehabMans Kexts and toleda's guide to get working. Once Bluetooth worked with a patch for the WiFi i was able to get 5GHz working. I won't write a guide how I did it as the brilliant guide I followed exists and has all the information required. [Guide] Airport - PCIe Half Mini v2 Credits : toleda, RehabMan and individual credits for everyone involved are in the guide. Many thanks.4/25/16These are the steps that I took for 5GHz wifi and Bluetooth with the onboard combo card. Please consider that I've only done these steps 3 times so if you want to follow the main guide it is up to you as I won't be good at troubleshooting if need be.I've taken the steps that are required to get this card fully functional and brought them here. If you want to understand more read the main guide.All credits for steps/kexts/scripts above with link. I take no credit.I'll link you to the repo's to download the kext as does the main guide. This ensures that you'll receive that latest kexts at the time of download.Download RehabMan's bundle RehabMan/OS-X-BrcmPatchRAM 2 kexts requiredPlace both kexts on the desktop. Download KextBeast 2.0.1 and install to /L/E.Next download this script from toleda's repo wireless_bcm94352-110-v4.0.command.zip (you may have to run script again after a 10.11.X update).View Raw, double click on the script and choose the corresponding answer, most will be 2. US-FCCIf your country is not listed see the main guide/Step 1/ROW/WiFi Country Code.Now you need to add a couple patches to config.plist/KernelandKextPatches/KextsToPatchCopy and paste the patches from this View attachment config.plist:Wifi=BT:CC.plist Credits for these patches are in the comments section of the .plist. Save your config.plist and restart the system.Once at the desktop go to System Preferences/Sharing/Enable Bluetooth Sharing (you may have to restart here). Hopefully you now have working 5GHz Wifi and Bluetooth.Credits: RehabMan documented by ammulder here 10.11.0-10.11.3 Skylake Starter Guide Step7 onwards :Even though your motherboard is exactly the same, depending on how your case USB ports are connected, internal headers and what configuration your case has, the IOReg output may vary i.e having all USB2 or all USB3 ports or a mix of both USB2 and USB3 ports will show up differently when connected.Download IORegistry Explorer from the bottom of Post #1 MaciASL from here: https://sourceforge.net/projects/maciasl/ Intel Z170 Chipset :5x USB 3.0/2.0 ports (1 at back panel, blue, Type-A, 4 mid-board).5x USB 2.0/1.1 ports (1 back panel, black, 4 mid-board).ASMedia USB 3.1 Controller :5x USB 3.1/3,0/2.0 ports (5 at back panel, teal blue, Type-A).1x USB 3.1/3.0/2.0 port (1 at back panel, Type-C, Reversible).My Case has 2x USB 3.0 ports and 2x USB 2.0 ports. They are connected to the motherboard headers here (USB 2 to USB1112 header) :If I boot the system with USBInjectAll.kext installed with the raise port limit I'll see all the ports in IORegistry Explorer. Apples port limit is 15. Picture below shows the output in IOReg with the raise port limit patch(Left) Without the raise port limit (Right).You'll need the port limit patch to start, add it to your config.plist/KernelsandKextPatches/KextsToPatch and remove -uia_exclude_ss from Boot/Boot arguments.Comment : Change 15 port limit to 25 in AppleUSBXHCIPCIName : AppleUSBXHCIPCIFind : <83bd8cfe ffff10>Replace : <83bd8cfe ffff20>XX ports are USB 2 andXX are USB 3. These can be found under XHC. IOReg>Search>XHCNow your ready to document your USBs, you'll need a USB 2.0 and 3.0 thumb drive.Connect to each Intel Port (remember the two on the rear panel at the bottom, the rest on the rear are ASMedia and are not required for documentation). First with a USB 2.0 thumb drive and then with a 3.0 thumb drive. Each time you connect to a USB port it will show in IORegisrty explorer under XHC. Jot down the port HSXX or SSXX port number and the thumb drive you tested it with. You should end up with similar or if you've the same case ports the exact same results as I've documented below.Total number of Intel Ports : 10 well below the limit of 15.Open MaciASL and close the window it opens. Go to Preferences/iASL set ACPI Specification to 5.1.Go to File/Open New. Copy and paste the following into the window and you'll see how it relates to my USB results above(credit: ammulder for the template). This is my SSDT in MaciASL: Not compiled.Once you've added or deleted your ports you need to compile it without any errors. Then go to File/Save as, you can name it SSDT-USB, File Format - ACPI Machine Language Binary, save to the desktop. You can now copy it to /EFI/EFI/Clover/ACPI/Patched.Restart and check the ports in IOReg.You'll now see that the IOReg(below) corresponds with the SSDT(above) the ports individually injected staying well within the limit. And the Bluetooth device is there under HS07.Clover boots both Windows 10 and OS X El Capitan(default)EthernetBuilt-in-Wireless/BluetoothUSB 3.0USB A/C 3.1Audio ALC1150HDMI audio through GTX970SleepIntel HD530 works with single monitor boot, hot plug a second monitor at the desktop.tonymacx86/MacMan and the tonymacx86 TeamtoledaRehabManPikeRAlphaShilohhMiezeClover Team/Dev's