Jump to content
Denicio

[Guide] macOS Sierra 10.12.x on ASRock H170M-ITX/ac

425 posts in this topic

Recommended Posts

original.jpg

 

Introduction

This is a step-by-step guide for installing macOS Sierra 10.12.x on ASRock H170M-ITX/ac utilizing the onboard Intel HD530 GPU. Sorry for not elaborating like you’re reading a novel of some sort, but I think this is for your own benefit. Here are the details of my personal build:

 

- ASRock H170M-ITX/ac (BIOS v7.00)

- Core i3-6100 @ 3.7GHz

- 16GB RAM @ 2133MHz

- Onboard HD530 via HDMI

- Mini PCIe BCM94352HMB Wifi+BT

 

My experience with this system after 4 - 5 months of daily development usage (Xcode, Web etc.) is this: It's most definitely a very stable system if you don't mind the well known Hackintosh plague, which is the absence of Sleep functionality. Highly recommended.

 

Prerequisites

Maccie, a working Macintosh or Hackintosh computer, or even a macOS VM on Windows.

Hackie, your to-be Hackintosh computer.

Installie, a USB disk with capacity of 16GB or more.

 

Create the Install Disk

A) Download Install macOS Sierra.app from the AppStore on Maccie.

B)Insert a USB disk on Maccie and open Disk Utility. Select your USB disk, select Erase, add Installie as its name and press Erase.

C) Run the following command from Terminal: sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Installie --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction

D) Once more, rename your USB disk to Installie and execute Clover_v2.4k_r4049.pkg. Select Installie USB disk as target, then proceed to the customization step.

E) Select nothing but Install for UEFI booting onlyInstall Clover in the ESP, and OsxAptioFix2Drv-64 from Drivers64UEFI menu.

F) Installie's EFI partition is now mounted. Overwrite EFI/CLOVER/config.plist with the config.plist file attached to this post.

G) Copy all attached kexts to EFI/CLOVER/kexts/Other, copy SSDT-2.aml to EFI/CLOVER/ACPI/patched.

 

OS X Installation

H) Your Installie USB disk is now ready, plug it in on Hackie.

I) Press Del key to enter Hackie’s BIOS. On the Exit menu, execute Load UEFI Defaults, then enable XHCI Handoff.

J) On Boot menu, set your first boot device to UEFI: BrandName XYZ, Partition 1. Save everything and exit.

K) On Clover menu, select the macOS Installer entry, and after a couple of minutes you should be in the macOS Sierra installer.

L) Open Disk Utility, and format Hackie's internal HDD or SDD just like on step B, but this time name it Macintosh HD.

M) Continue with the installation on Macintosh HD until Hackie is restarted. Then, the second part of the installation will continue.

N) On the last restart, this time boot from your newly created Macintosh HD.

 

Finalize

O) With some luck you should be now customizing your Hackie's first run.

P) Repeat steps D, E, F, G but this time make sure you apply everything on Macintosh HD.

Q) Remove Installie from USB port, and restart Hackie.

R) The end.

 

Extra Points

S) If you own a SSD, paste the following on Terminal in order to enable TRIM support: sudo trimforce enable

T) Replace VBoxHfs-64.efi with HFSPlus-64.efi in drivers64UEFI. It's proprietary, but it's faster.

 

Notes

- You should replace the default Intel Wifi+BT Mini PCIe card with the BCM94352HMB or something equally compatible.

- Sleep does not work yet (see post #2 for output).

- Keep in mind that this is a WIP, any input from you will be much appreciated.

Make sure to mention the lettering of the step in question and the description of your problem using as much detail as possible.

 

post-99742-0-94194400-1480956434_thumb.png

post-99742-0-01103100-1480956456_thumb.png

post-99742-0-27245400-1480956466_thumb.png

post-99742-0-17192200-1480956479_thumb.png

post-99742-0-15942200-1480956488_thumb.png

ASRock_H170M_ITX_ac_v12.zip

Share this post


Link to post
Share on other sites
Advertisement

Now after the _OSI to XOSI patch the "Wake reason" is:

denniss-imac:~ dk$ syslog | grep -i "Wake reason" 
May 11 20:00:55 denniss-imac kernel[0] <Notice>: Wake reason: XDCI

And it panics on:

denniss-imac:~ dk$ pmset -g log | grep -i failure                                      
2016-05-14 20:21:43 +0300 Failure              Drivers Failure panic during wake due to SAT0():

Share this post


Link to post
Share on other sites

Hey, I have the ASrock H170M PRO4S

2.7 Core i5 6400
Onboard Video HD 5300
16GB DDR

I have been trying to get to installer and so far your instructions and Plist Config actually gets me farther into boot ...until i get the "stop" prohibitor sign.

 

Any help would be awesome As there are no guides for this Motherboard.. Thanks!

Share this post


Link to post
Share on other sites

Hey, I have the ASrock H170M PRO4S

2.7 Core i5 6400

Onboard Video HD 5300

16GB DDR

 

I have been trying to get to installer and so far your instructions and Plist Config actually gets me farther into boot ...until i get the "stop" prohibitor sign.

 

Any help would be awesome As there are no guides for this Motherboard.. Thanks!

 

Thanks for your feedback, I think those two Motherboards should be similar. Could you please boot with Verbose Flag (-v) and see where it gets stuck?

Share this post


Link to post
Share on other sites

Sure, so it gets stuck here and then it gets all distorted. 

 

I honestly cannot read the output of the second screen, but based on the first one I will make an assumption: Do you have "FakeSMC.kext" on EFI/CLOVER/kexts/10.11?

 

EDIT: I think it says "Still waiting for root device" at the bottom. Try to boot with "cpus=1" flag and report back.

Share this post


Link to post
Share on other sites

Same error, and I used the same "FakeSMC.kext that you had in your attachment..

Share this post


Link to post
Share on other sites

Same error, and I used the same "FakeSMC.kext that you had in your attachment..

 

Did you try "cpus=1"?

Share this post


Link to post
Share on other sites

Yes, I Did. Same error at the same place.

 

1) Is your SATA Controller set as AHCI in BIOS?

2) Try to also enable "Inject USB" on Clover's "config.plist", right now only "Fix Ownership" is enabled.

3) Some people also mention the following Boot Flags: npci=0x2000 or npci=0x3000

4) Also keep "USBInjectAll.kext" on your "EFI/CLOVER/kexts/10.11" as well.

Share this post


Link to post
Share on other sites

1) Is your SATA Controller set as AHCI in BIOS?

2) Try to also enable "Inject USB" on Clover's "config.plist", right now only "Fix Ownership" is enabled.

3) Some people also mention the following Boot Flags: npci=0x2000 or npci=0x3000

4) Also keep "USBInjectAll.kext" on your "EFI/CLOVER/kexts/10.11" as well.

1. AHCI is already set in Bios.

2. I checked off the box for inject USB

3. I have tried both boot flags, one at a time.

4. I have put "USBInjectAll.kext in 10.10, 10,11, and "other:".

 

Still stuck at the same place.

1. AHCI is already set in Bios.

2. I checked off the box for inject USB

3. I have tried both boot flags, one at a time.

4. I have put "USBInjectAll.kext in 10.10, 10,11, and "other:".

 

Still stuck at the same place.

 

Interestingly, I tried booting with -x and it flys thru the boot but it then restarts.

Share this post


Link to post
Share on other sites

Try inject intel ang ig-platform-id 0x19120000

I have tried that as well.

 

As I was looking over my build, I have forgotten to add a hardware piece that i had in there but forgot to mention. I have a TP-LINK N900 wireless PCI Express installed.

Share this post


Link to post
Share on other sites

1. AHCI is already set in Bios.

2. I checked off the box for inject USB

3. I have tried both boot flags, one at a time.

4. I have put "USBInjectAll.kext in 10.10, 10,11, and "other:".

 

Still stuck at the same place.

 

Interestingly, I tried booting with -x and it flys thru the boot but it then restarts.

 

Inject USB box should be checked, not unchecked.

My boot flags with "-uia_exclude" may be disabling your Boot USB, try to remove it.

Try also to use "UseKernelCache=No".

Disable VT-d in BIOS as well, maybe "dart=0" doesn't work.

Share this post


Link to post
Share on other sites

Some user also reported in order to get past the garbled text you need to try a different output (HDMI, DVI etc).

Share this post


Link to post
Share on other sites

Changelog:

- Added new version of "config.plist" that includes _OSI to XOSI patch.

- New SMBIOS for iMac 17,1.

Share this post


Link to post
Share on other sites

Changelog:

- New BIOS v1.70 installed, everything works OK, but CSM mysteriously disappeared as an option :(

Share this post


Link to post
Share on other sites

I've tried following these instructions on my Asrock H110 mitx mother board, it just loops back to the boot devices screen.

 

Do you see anything on screen before it resets?

Share this post


Link to post
Share on other sites

No, it just blinks and the boot menu comes back.

 

So you are at the boot menu, you select to boot from USB, and then it resets. How about you press the spacebar (for options), and make sure you Boot Verbose. Then report back with what you see on screen.

Share this post


Link to post
Share on other sites

i tried this guide and install on a HDD el captain

but i can't find the hard disk in clover , i can see only the bootable usb

 

Hello, try with the attached config.plist that I made for you.

config.plist.zip

Share this post


Link to post
Share on other sites

I tried this guide to install a Hackintosch with my system components, but the system is not booting. I used the ktexts from this thread, only cpu settings are changed.

 

My components are:

ASRock H170M-ITX/ac

Pentium G4400 Celeron cpu

Onboard gpu

 

At the moment i use a G4400, later i will switch to i5 or i7.

 

System is booting from usb, clover is loading. At Clover boot screen, i try to boot the system in verbose mode.

After that i got the following errors:

 

OsxAptioFix2Drv: starting overrides for .IABootFiles/boot.efi

Using reloc block: no, hibernate wake: no

This version of Mac OS X is not support

Reason: Mac-65CE76090165799A

 

My config.plist

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>ACPI</key>
    <dict>
        <key>DSDT</key>
        <dict>
            <key>Debug</key>
            <false/>
            <key>DropOEM_DSM</key>
            <false/>
            <key>Patches</key>
            <array>
                <dict>
                    <key>Comment</key>
                    <string>Rename HECI to IMEI</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    SEVDSQ==
                    
</data>
                    <key>Replace</key>
                    <data>
                    SU1FSQ==
                    
</data>
                </dict>
                <dict>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By glasgood
      CLOVER DUAL BOOT MOJAVE & WINDOWS 10 GUIDE 
       

       
       
      INCLUDES  MBR / LEGACY BIOS  TO  GPT / EFI CONVERSION
      USING MBR2GPT TOOL
       
       
      PREREQUISITE: Two physical discs ( SSD’s or HDD’s )
       
       
       
       
       
      STEP 1 - Clover dual boot configuration 
       
      Open config.plist with Clover Configurator
       
      Boot
       Legacy = PBR Timeout = True ( will remove the Timeout countdown, from Clover boot menu)  

       
      GUI 
      Scan / Custom
       Entries = True  Tool = True  Legacy = False ( removes extra Windows 10 entries )  
      Hide Volume
      - Preboot ( macOS Preboot )
      - Recovery ( macOS Recovery )
       

       
      So at boot you will have two options: boot macOS Mojave or Windows 10 
       
       
       
       
       
       
       
      ————————————————————
       
       
      STEP 2 - Using a drive without Windows 10 installed
       
      Disconnect system drive that contains your macOS Mojave install from computer ( This is so that Windows does not overwrite existing macOS Mojave boot loader )
       
      Proceed with a Windows 10 UEFI install.  
      After installation reconnect macOS Mojave Drive, the Windows installation should now be detected and usable in Clover. 
      If Windows 10 is not detected or able to boot,  then verify you installed Windows 10 as UEFI and not MBR ---->  ( Read step 2 - For a drive with Windows 10 installed )
       
       
      OR
       
       
       
      STEP 2 - Using a drive with Windows 10 already installed
       
      Verify your Windows install is  GPT / UEFI or MBR / Legacy BIOS.   
      If Windows install is GPT UEFI then Windows 10 install is ready to use at Clover boot menu, you should be able to boot into Windows directly from Clover boot screen. 
       

       
       
      But if  Windows drive is detected at Clover boot screen, but when booting Windows you get a black screen with a cursor on the top left,
      then this is most likely because Windows drive is MBR ( Legacy BIOS ).  You can easily convert MBR to GPT using  Windows MBR2GPT tool ( this saves hours work having to reinstall Windows 10 and setting up all your applications again  ) 
       
      If Windows 10 install is MBR / Legacy BIOS  then simply convert to GPT / UEFI  following instructions below ( read video summary and view video )
       
       
      ** To use Windows 10  MBR2GPT tool  you must have Windows 10 version 1703 ( creators update  ) or later and less than 3 partitions on 
      the Windows 10 drive **
       
      Video summary:
       
      Confirm Windows 10 drive is MBR Legacy BIOS ( in Windows Disk Management ) Reboot into Windows PE ( Advanced Startup ) Convert from MBR Legacy BIOS to GPT UEFI ( using commands below ) mbr2gpt /validate mbr2gpt /convert Restart Verify Windows 10 drive has changed to GPT UEFI ( in Windows Disk Management )  
       
       
       
      After conversion Windows 10 is ready to use at the Clover boot menu 
       
       
       
      STEP 3 - Stop Windows Boot manager from overriding Clover boot manager
       
      How to stop Windows boot manager from overriding your Hackintosh Clover boot manager when using dual booting between macOS and Windows
       
       
       
       
       
       
    • By fantomas1
      Hi InsanelyMacaholics   

      Use this thread to link / talk about of the future Nvidia Web Driver updates for macOS Sierra.
       
      10.12.6
      Nvidia Web Driver - 378.05.05.25f16 --> build 16G2016 (thanks to Cyberdevs) New!
      Nvidia Web Driver - 378.05.05.25f15 --> build 16G1918 (thanks to BreBo)
      Nvidia Web Driver - 378.05.05.25f14 --> build 16G1917 (thanks to BreBo)
      Nvidia Web Driver - 378.05.05.25f13 --> build 16G1815 (thanks to flowrider)
      Nvidia Web Driver - 378.05.05.25f12 --> build 16G1710 (thanks to BreBo)
      Nvidia Web Driver - 378.05.05.25f11 --> build 16G1618 (thanks to Frank Nitty)
      Nvidia Web Driver - 378.05.05.25f10 --> build 16G1510 (thanks to BreBo) 
      Nvidia Web Driver - 378.05.05.25f09 --> build 16G1408 (thanks to BreBo)
      Nvidia Web Driver - 378.05.05.25f08 --> build 16G1314 (thanks to BreBo)
      Nvidia Web Driver - 378.05.05.25f07 --> build 16G1314 (thanks to haring)
      Nvidia Web Driver - 378.05.05.25f06 --> build 16G1212 (thanks to WeBeRiO)
      Nvidia Web Driver - 378.05.05.25f04 --> build 16G1114 (thanks to lukazm)
      Nvidia Web Driver - 378.05.05.25f03 --> build 16G1036 (thanks to Gradou)
      Nvidia Web Driver - 378.05.05.25f01 --> build 16G29 (thanks to Badruzeus)
       
       
      10.12.5
      Nvidia Web Driver - 378.05.05.15f01 --> build 16F73 (see this post)
       
       
      10.12.4
      Nvidia Web Driver - 378.05.05.05f02 --> build 16E195(thanks to crachmaster4999)
      Nvidia Web Driver - 378.05.05.05f01 --> build 16E195 (thanks to Moviemakergr)  Pascal support!!!
      Nvidia Web Driver - 367.15.10.45f01 --> build 16E195 (thanks to Lanc)
       
       
      10.12.3

      Nvidia Web Driver - 367.15.10.35f01 --> build 16D32 (thanks to shatterhenner)
       
       
      10.12.2
      Nvidia Web Driver - 367.15.10.25f02 --> build 16C68 (see this post)
      Nvidia Web Driver - 367.15.10.25f01 --> build 16C67 (see this post)
      Nvidia Web Driver - 367.15.10.25b06 --> build 16C60b/16C63a (see this post)
       
       
      10.12.1
      Nvidia Web Driver - 367.15.10.15f03 --> build 16B2657/16B2659 (thanks to Moviemakergr).
      Nvidia Web Driver - 367.15.10.15f01 --> build 16B2555 (thanks to Moviemakergr)
       
       
      10.12.0
      Nvidia Web Driver - 367.15.10.05f01 --> build 16A323 (thanks to phi777)
       
       
      GM
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A323 (same driver since DP4/PB3)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A322 (see this post)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A320 (see this post)
       
       
      DP/PB
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A313a (DP8 & PB7) (see this post)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A304a (DP7 & PB6) (see this post)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A294a (DP6 & PB5) (see this post)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A286a (DP5 & PB4) (see this post)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A270f (DP4 & PB3) (thanks to TheRacerMaster)
      Nvidia Web Driver - 367.05.10.05b07 --> build 16A254g (DP3 & PB2) (see this post)
      Nvidia Web Driver - 367.05.10.05b07 --> build 16A238m (PB1) (thanks to Faun) 
      Nvidia Web Driver - 367.05.10.05b07 --> build 16A239j (DP2) (thanks to Faun)
      Nvidia Web Driver - 367.05.10.05b03 --> build 16A201w (DP1) (thanks to Xmedik)
       
    • By Candrahm
      Hi everybody,
       
      I'm new here and French. 
      I success to hack my Asus X751LJ and pass it to High Sierra 10.13.6, not easily, and everything works except the keyboard and the touchpad.
      I tried VoodooPS2Controller, ApplePS2SmartTouchpad, even VoodooI2C, but nothing works...
      Could someone help me? Is there a DSDT problem? Witch kext should I use?
      I post my ACPI and Kexts folders and my IOReg.
      Please... Help me. I'm desperate...
      MacBook Pro de Candrahm.ioreg
      Archive.zip
    • By cvad
      Small tool to download, compile and build the latest Clover X64 package.
       
       
       

      The script inside is editable.

       
      Enjoy...
       
      Many thanks to the comrade SunKi for help with creating the script.
       
       
       
       
       
      Best thanks - click "Rate File".
       
    • By blxkspell
      Hey!
      As I have 3 Monitors connected, my RX 570 gets arround 50°C while ideling/ web browsing etc. The problem is, that this temp is apparently just the threshold, when the fans start to spin. So the fans start spinning for a minute then they stop for a while again... This is very annoying for me as the rest of my hackintosh is nearly quiet (SSD, 120mm low RPM cpu fan, nearly silent PSU,...), especially when Im using the pc to revise for school. Does somebody know wether its possible to "change" the threshold till the fans start spinning? Like it would probably not be a problem for the gpu at all, if the temp rises to 55°C but therefore be soundless....
       
       
×