- Sep 30, 2012
- ASRock Z370M Pro4
- RX 560
- , , ,
- Classic Mac
- , ,
- Mobile Phone
nobodynose's 2nd Non-Profit Build(s): THREE (3) Intel Core i3-4330 - ASRock H97M-ITX/ac - 8GB RAM - Intel HD 4600 - Clover
ASRock H97M-ITX/ac Mini ITX Intel Motherboard
Chosen from the January 2015 Buyer's Guide, largely because of its low price. It wouldn't have been my first choice, given the not-so-easy installation experience I had (see below).
Intel Core i3-4330 Haswell Socket 1150 CPU w/Intel HD 4600 Graphics
Chosen because it is the least expensive Haswell CPU with Intel HD 4600 Graphics. I didn't want to fool with HD 4400, it sounds like a hassle.
Kingston HyperX Fury 8GB 240-Pin DDR3 SDRAM DDR3 1333
(PC3 10666) Desktop Memory
DIYPC HTPC-Cube Mini ITX Computer Case
HEC Compucase HP485D 485 Watt Power Supply
Kingston Digital 120GB SSDNow V300 SATA3 SSD
Atheros AR9280 Mini PCIe WiFi Adapter
Chosen because the Wifi/Bluetooth Mini PCIe card that comes with the motherboard is Realtek-based and not supported in Mac OS X. I wanted something that would work OOB, and Bluetooth isn't needed.
Acer G227HQLbd 21.5" Widescreen 1920x1080 LED Backlight LCD monitor
Microsoft Wireless Desktop 800 mouse/keyboard combo
Mac OS X Yosemite 10.10.1 (downloaded from Mac App Store)
Mac OS X El Capitan 10.11.3 (downloaded from Mac App Store)
The non-profit for which I built some Hackintoshes previously (see http://www.tonymacx86.com/user-builds/139868-nobodynoses-non-profit-build-intel-core-i5-4460-ga-h81m-hd2-8gb-ram-intel-hd-4600-graphics-quantity-3-a.html) asked me to build some more for a new kid's after school program they're starting.
This program is starting out small -- the executive director asked me to build 3 machines for it. The requirements included Wifi and easily accessible USB ports (presumably so the kids can plug in thumb drives to copy data). So I decided a small Mini ITX case that can sit on the desktop beside the monitor would be appropriate for this build. Price was also a major concern (it's a very small non-profit), so I kept that in mind as I selected components. No Bitfenix cases for this build!
When shopping for components for these machines, I was able to keep the cost down to $563.14 per machine (monitor, keyboard and mouse INCLUDED)!
Installation (1st attempt)
I created a standard UniBeast Yosemite install USB, thinking that because the ASRock motherboard was in the Buyer's Guide, the standard installation method should work, right? Besides, I found at least one successful build on the forums. Well, I got a kernel panic before I got to the installer. So I tried booting with -v -x and once again got a KP before the installer.
Then I searched on the forums and found a this article: http://www.tonymacx86.com/yosemite-laptop-support/147567-guide-patching-kernel-haswell-cpus-xcpm-early-reboot.html. Made sense, so I patched my kernel and copied it to the proper location on the UniBeast installer and tried again. This time it got part way through the install and then, you guessed it, kernel panic. (By the way, I looked into the kernel panics along the way too - all were related to PM and the ASRock motherboard's locked MSR.)
After some more searches, I found a link to an article on our own RehabMan's blog (https://racerrehabman.wordpress.com/2014/10/18/yosemitehaswell-kernel-patch-for-early-reboot/), where he mentions that Clover does the necessary kernel patch automatically, on the fly (and that this survives most OS updates without having to redo the patch).
Installation (2nd attempt)
So, with some nervousness given that my previous experiences with Clover have been frustratingly unsuccessful, I created a Clover install USB. I followed the guide at http://www.tonymacx86.com/yosemite-desktop-guides/144426-how-install-os-x-yosemite-using-clover.html, choosing to install Clover to the EFI for UEFI booting only (once I had verified the installation worked).
I didn't have to change much at all in the Clover config.plist (the Intel HD 4600 graphics version) attached to the guide - I just had to make sure ACPI/KernelPM patch was enabled, add the TRIM patch to KernelAndKextPatches/KextsToPatch, and populate SMBIOS using Clover Configurator's generator (I used the iMac14,2 system definition).
For audio, I used toleda's script as documented in http://www.tonymacx86.com/audio/143757-audio-realtek-alc-applehda-guide.html, which did everything necessary, all I had to do was reboot.
For Ethernet I originally tried the AtherosL1cEthernet.kext since it claims to support the Atheros AR8171 Ethernet chip. But that didn't work, so I tried ALXEthernet.kext, which works fine. The AR9280 Wifi Mini-PCIe card works perfectly OOB, so nothing had to be done with it.
The one remaining issue is that I only have two P-States: 8 and 35. It seems like there should be some in between for good smooth power management. But from what I've been reading, this is actually normal for the iMac14,2 system definition, so I'm not going to spend any more time on it.
The kids' after school program had a bunch of Windows PCs donated, and so the non-profit's director decided to repurpose the Hackintoshes to be used by staff instead. So I volunteered to clean up and update them. I opted for a clean install of OS X 10.11.3 El Capitan, as he told me nothing on the drives needed to be saved.
First I created a USB UEFI boot drive using UniBeast 6.1.1, added MultiBeast 8.1.0 and some other tools to it, and got to work. First thing I did was update the motherboard's UEFI BIOS. Then I followed the standard installation procedure using the UniBeast drive. Once the installation finished, I rebooted (again from the UniBeast drive) but booted into the OS X environment on the SSD. I ran MultiBeast, selecting UEFI Boot, Realtek ALC892 for Audio and Atheros E2200 for Ethernet, Intel Generic AHCI SATA for Disk, and 7/8/9 Series USB Support. I left the System Definition as MacPro3,1 this time, which turned out to be a good move (more on that later).
After installing that, I tried to shut the machine down; the screen went blank, but the power never went off - ISSUE #1. When I tried to turn the machine back on (after holding the power button for 5 seconds to turn it off), I got the dreaded "Insert System Disk" error (paraphrased) - ISSUE #2.
ISSUE #1 was easily fixed - I did a quick search and found that I needed to add "FixShutdown_0004=YES" in ACPI/DSDT/Fixes in my Clover config.plist. ISSUE #2 took a little more digging. After some forum searches (and a bit of good luck) I found the answer in this post: http://www.tonymacx86.com/el-capitan-desktop-support/176172-anyone-asrock-z77-pro3-motherboard.html#post1130914. Apparently this is an issue peculiar to ASRock motherboards where Clover's bootloader doesn't get added to the UEFI boot menu, so you have to add it by hand.
Finally, I generated a new SSDT for the systems using Piker-Alpha's ssdtPRGen.sh; following the guide here: http://www.tonymacx86.com/mavericks-desktop-support/128926-mavericks-native-cpu-igpu-power-management.html, I added "DropTables/SSDT/CpuPm" and "DropTables/SSDT/Cpu0Ist" to the ACPI section of config.plist, copied the SSDT.aml into /EFI/EFI/CLOVER/ACPI/Patched, and the systems now have smooth, functional power management.