Jump to content
Denicio

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

421 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 RougeOne
      Budget Workstation MacOS 10.14.1 build: z370 AORUS Gaming 5 - i5-8600K - RX 580 - UHD 630
      flawless iGPU/dGPU integration, fast FCPX editing/rendering, great overall performance for ~$1200 / ~£1000
       
      Update: updated WhateverGreen and Lilu, then updated OS to 10.14.3 and everything is fine! Even iMessage, which previously I hadn't been able to make work, is now working - possibly the update flushed the NVRAM?
       
      I'm gonna come straight out and admit it - I used newb tools which are considered taboo on InsanelyMac, and so this isn't so much an installation guide as it is a green flag to anyone considering the same hardware. My first and previous Hackintosh project was just over ten years ago and this site was massively helpful, so this is my (very small) way of giving back.
       
      EFI DIRECTORY
      http://s000.tinyupload.com/index.php?file_id=97606131925137056003
       
      HARDWARE
      CPU: Intel i5-8600K 3.6GHz hexacore (contains UHD 630 iGPU)
      CPU Cooler: be quiet! Pure Rock Slim (no paste needed, and fan facing front)
      Mobo: GIGABYTE z370 AORUS Gaming 5 (WIFI)
      RAM: 1x 8GB CORSAIR Vengeance LPX C16 2666MHz (in first slot)
      GFX Card: Sapphire RX 580 NITRO+ SE
      SATA: used ports 0, 1, 3, 5 (HDD problems when connected to port 4)
      HDD: generic
      DVD Drive: generic
      PSU: EVGA 500W Semi Modular (but you should get 650W!)
      Case: CoolerMaster CM590 III
      Fans: 2x stock case fans (one sucky on front, one blowy on back), 3x be quiet! BL046 120mm fans (two blowy on top, one sucky on front). Airflow near-perfectly balanced.
       
      ADVICE
      With the Clover configuration, you want to pay close attention to all things relating to graphics. There are some specific settings for ACPI, Boot, Devices and Graphics which should be copied exactly in order to get the iGPU and dGPU to work in perfect harmony. For instance, make sure you use ig-platform-id 59120003 rather than 59120000 if you want FCPX to be usable. With the right settings, FCPX will not only run, but run flawlessly.
       
      I was not able to figure out how to make NVRAM/PRAM behave itself, and I got errors when I tried to issue relevant commands. As a result, I could not at first get iMessage to work properly. It worked once on my first installation attempt but not from subsequent attempts. This Clover configuration therefore has no consideration whatsoever toward iMessage reliability - however, iMessage ended up working somehow, anyway - I noticed it after I'd updated to 10.14.3 but this may just have been coincidence.
       
      Onboard WiFi does not work. There is no driver for it. I'm using wired ethernet to a bridge router as it was cheaper than getting a compatible PCI card.
       
      Audio is working well after I installed the z370 audio patch, then the ALC1220 codecs, then AppleALC.
       
      With kexts for generic 3rd party SATA and generic 3rd party eSATA, my HDDs and DVD drive work perfectly well.
       
      Sleep/Wake functions run perfectly. iCloud functions run perfectly. Shutdown leaves the mobo LEDs on, annoyingly.
       
      My USB 3 ports seem to suffer from low power output, and I don't know why.
       
      Overall, this system appears to run about as well under MacOS 10.14 Mojave as it does under Windows 7. I would solidly recommend this build to anyone looking to build a computer for workstation purposes, on a budget.
    • By NoEnd
      Hi team,
       
      I have tried to update to security update 2019-001 multiple time with no luck, today I've booted the update with -verbose and attached videos shows the details.
       
      Appreciate your help
       
      Thanks
      Untitled.mov
    • By JhonneR
      Good morning, everyone, I'm sorry if I was wrong in choosing the topic but I need help.
      I have found it extremely difficult to mount a Hackintosh in my acer.
      Setup;
      I5 2430m 2.4 6GB RAM
      Mobo P5we0 - Intel intel Graphics 3000
      At the moment I have not found out what my audio codecs are.
      but I'll leave the link on the motherboard.
      however, my real problem is several.
      I have already used the itakos image, I have already used several images that could be installed normally and that after installing the image I do not have internet via cable or wireless.
      And another, I already looked in other forums and I know that I will be called a donkey in the logical question but I have not been able to install the [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] or clover to start from the Hard Disk, so I do not know what to do.At the moment I still do not know if there has already been someone who has already installed the High Sierra or just the Sierra in this notebook model and obtained permanent success.
      If anyone can help me, I'll be grateful.
      Installations without success, but with the system already installed in ACER;
      SIERRA
      HIGH SIERRA
      MOJAVE
      All with the same symptom. Starting only by the bootable USB stick and without internet connection via cable and wireless.
      Appreciate ! Acer 5750 Official Page
    • By Slice
      Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.
      You may see it's structure to create own theme
      -------------------------------------------------------------------------------------------------------------------------------------------------------
       
       
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
      What application in macOS can create SVG graphics?
      Inkscape is not working in macOS 10.11+. Pity.
      LibreOffice Draw works with SVG but buggy.
      Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.
      Illustrator is good but expensive.
       
      How to improve SVG file?
      Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.
      Some helps:
      Help:Inkscape – From invalid to valid SVG Inkscape files
      From invalid to valid SVG Adobe Illustrator files
      From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW
      Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation
      User:Quibik/Cleaning up SVG files manually
      Later I will write own instructions specific to Clover abilities.
       
      How to create SVG fonts?
      You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.
      You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.
      But then I want to find a way to simplify the font to reduce a size and speedup rendering.
      You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.
       
      Pictures from Badruzeus
      https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597
×