Based upon this GIST which was great!
This is my build documentation for an ASUS PRIME Z270-AR setup with an MSI 1080 Gaming X 8GB, EVGA 1080 8GB and the Intel i5 7600, most of this came from the person I forked this guide from. This build also doesn't have NVRAM. Nearest I can tell everything is running as expected, including all USB and audio ports. Make sure you get MacOS 10.12.6 as it has native support for Kaby Lake processors, and you won't need to fake the CPUID.
- Asus Z270-AR
- Intel Core i5-7600 (Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz)*
- Patriot (2 x 16GB) DDR4-2400 Memory
- MSI GeForce GTX 1080 8G Installed in slot 1!
- EVGA GeForce GTX 1080 8GB SC Gaming
- Toshiba 120GB 2.5" OCZ m.2 drive (boot volume with main os, Highly Recommended!! Alhtough, a bigger drive would be better)
- Western Digital Green 2TB 2.5" 7200RPM Internal Hard Drive.
- Corsair 860W 80+ 860AX Platinum
* Obtained by: sysctl -n machdep.cpu.brand_string
-
Creating the boot drive
- Follow steps 1 & 2 of UniBeast Install Guide to setup the drive.
-
Download and drag to thumb drive
- MultiBeast v9.1.0 for Sierra
- SSDT for your processor
- Clover Configurator
- Latest NVIDIA Driver Make sure you get the minor revision which supports OSX 10.12.6. Version 378.05.05.25f01.
- audio_cloverALC120.command.zip (works after many difficulties).
I recommend this although it is optional. It is super fast and makes the frequent reboots needed to get things setup tolerable.
- Make sure your drive supports 4K not 512k blocks. Toshiba OCZ is one such drive. You will not be able to select or see it in the Apple Installer until you do the next step.
- I ran nvme-cli using apt on ubuntu to get the to set the 4k profile on the nvme drive. It may be possible to run the nvme-cli from macos if you have it installed using Homebrew. Run the command: WARNING! WILL ERASE VOLUME!:
nvme format -l 1 /dev/nvme0
- note: I could not get the smartctl 6.5 to recognize nvme, maybe it needs to be built from source. This should work and let you verify the volume is setup as 4k it is experimental so perhaps it is not part of the regular build. For more details see the details on nvme m.2
- Ai Overclock
- AI Overclocker Tuner > Auto (or XMP if your memory supports it)
- Advanced Items
- System Agent (SA) Configuration > VT-d >
Disable
- PCH Configuration > IOAPIC 24-119 >
Disabled
- Advanced/Onboard Devices Configuration > Serial Port Configuration >
Disabled
- USB Configuration > Legacy USB Support >
Auto
- USB Configuration > XHCI Hand Off >
Enabled
(if you can find it, latest BIOS seems to have removed it). - APM Configuration > Power on by PCI - E/PCI >
Disabled
- System Agent (SA) Configuration > VT-d >
- Boot Menu
- Fast Boot >
Disabled
- Boot Logo Display >
Disabled
- Secure Boot OS >
Other OS
(had to do some monkey business to disable this, saving keys off etc). - Boot Option 1 > USB Thumb Drive, UEFI Volume
- Fast Boot >
- Exit > Save Changes
- At Clover boot screen, choose
Boot Mac OS X from USB
- Disk Utilty
- Select Target Disk
- Erase >
Mac OS Extended (Journaled)
- Don't bother to enable Network, Location, or Reporting nothing to be done now.
- On reboot select
MacOS on *Target Drive*
on the Clover boot screen
- Multibeast
- Drag and drop Multibeast to Application folder
- Run Multibeast and select the following settings:
- Quick Start > UEFI Boot Mode
- Drivers > Audio > Realtek ALC1220A (ASUS ROG Strix Only)
- Drivers > Audio > Realtek ALCxxx > 100/200 Series Audio Drivers > Disk > 3rd Party SATA
- Drivers > Misc > FakeSMC
- Drivers > Misc > FakeSMC HWMonitor
- Drivers > Network > Intel > IntelMausiEthernet v2.3.0
- Drivers > USB > Increase Max Port Limit for 200 boards
- Bootloaders > Clover v2.4k r4063 UEFI Boot Mode + Emulated NVRAM
- Customize > System Definitions > iMac > iMac18,3 (which is the i7 Kaby Lake iMac)
- Save your config
- Run and Close
- Fixing Ethernet Device Name (needed for apple store etc.)
- In
Terminal
runsudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
- In
- Clover Configurator
- Mount EFI partition
- Load config file
- Change settings in config:
- Boot > dart=0 (Without it there is an early panic)
- Devices > Audio > ResetHDA >
✓
- Rt Variables > CsrActiveConfig > 0x67 disable SIP temporarily
- System Parameters > Inject Kexts >
YES
- System Parameters > Inject System ID >
✓
- System Parameters > Nvidia Web >
✓
- Uncheck all of the ACPI fixes
- Save
EFI
Partition (Already mounted earlier in Clover)- Navigate to `EFI(patition)/EFI/CLOVER/ACPI/patched in the Finder
- Copy in the
SSDT
file you downlaoded for your processor - Rename to
SSDT.aml
- Reboot
- BIOS
- Set startup partition to newly created OSX EFI partition
- Audio setup
- Use KextBeast to install Lilu.kext. Do this by copying the Lilu.kext to desktop, then selecting, Install /Library/Extensions
- Run the
audio_cloverALC120v1.0f1.command
file - enter password
- Say yes (y) to all questions (for Asus Z270-AR)
- Reboot
- Plug in a device you know will make audable sound into the Black port on the motherboard.
- Select the second
Line out
for output. - Play something on iTunes that you know will make sounds.
- In Terminal
- run
ifconfig
- Check that it returns
en0
instead ofen1
, the line should look like:en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500`
- run
- Clover Configurator
- Load the Clover config file follow steps 1 and 2 from earlier
- Select/install
EmuVariableUefi
in Install Drivers. This creates an emulated NVRAM - Reset Rt Variables > CsrActiveConfig >
0x3
to renable SIP
- Run the NVIDIA driver
- Reboot
Done!
I would do the above settings but then there are a couple things that you can try that worked for me.
-
You can turn back on VT-d and Intel Virtualization technology in the BIOS. It seem that this is working and allows things like VMware, Parallels, Docker, and VirtualBox.
-
If you get a garbled start screen with weird pattern on login screen, select a different bakcground picture, it cleared it up for me.
Boot into safe mode.
- Make sure dart=0 is in the boot params.
- Try iMac 14,2 good idea to have multiple startup configs one with 18,2 one with 14,2 just in case
Great resource but follow the rules if you want to ask for help.
Reformat EFI volume on Boot drive using
sudo newfs_msdos -v EFI -F 32 /dev/disk1s1 #update to your partition and volume!
When you get a drive working keep it so you can boot off of its boot drive if you mess something off on your main drive.
Use F8 to select the drive but verify that the bootloader you wanted in is the one you wanted to boot on. You can use the Clover Themes to help make it obvious.
If all else fails, and you have tried a bunch of thing that may end up conflicting with each other. The best bet is to erase the EFI partition on the boot volume and then clear out the /Library/Extensions folder and restart with this guide. Boot from the USB drive and reinstall.
diskutil unmount /Volumes/EFI
sudo newfs_msdos -v EFI -F 32 /dev/disk1s1
use diskutil list to determine it.sudo rm -r /Library/Extensions/*
sudo rm -r /System/Library/Extensions/*
(check for installed things in here. You can sort by mod date and just delete the ones that you may have installed).- Reboot to USB EFI volume that you know works by using F8. Verify that it is booting off this volume.
- Reinstall OS that was on the USB volume, don't erase unless you are really desparate, just install over it. If you do that be sure to back up your data.
- Do Multibeast install (as above)
- Do Clover setup (as above)
- Do reinstall of the audio codecs (as above)
- Do reinstall of NVidia Web drivers (as above)
- reboot to the boot volume.
This solved my issues after I spent all day trying to get the Audio to work. I tried numerous things and it was unclear that they did not conflict with each other.
Once it is all working back it all up!
- Run a decent Nvidia Graphics card to play A level games using Steam.
- Audio is high quality.
- Be used as an Xcode server
- Mine Etherum in the space cycles.
- IP6 networking throughout
- Run virtual box to allow running of many PC and linux installations
- Run Docker to run webservices and other things.
- Run Wine to allow running of Windows applications.