Contribute
Register

[GUIDE] Intel i5 6500 + Asus H170 Pro Gaming + GTX 1060 6GB

Joined
Sep 17, 2015
Messages
180
Motherboard
Asus H170 Pro Gaming
CPU
i5 6500
Graphics
GTX 1060 6GB
Mac
iMac
Mobile Phone
iOS
HS01 and HS02 for me are the USB ports on the case.
Long story short, (note that its only in my case)

the shutdown issue can be avoided (just avoid, not perfect) by either different methods I tried so far,
the main cause I think is that I bought a USB 3.0 Hub and hooked it to one of Asmedia's USB3 port, which is reproducible. You may ask why I insist to use Asmedia, yes, because if I choose a ******* Intel USB3 port, the current is constantly undersupplied(I do always give extra 1A power), and my drive goes on and off...hurts.



A: because the Asmedia (non-Intel USB XHCI ) involved, I tried deleted "genericusbxhci.kext" and restart, good, now I can sleep, shutdown fine.

B: Still use Intel USB mapping solution, its painfully time-consuming, thanks to
nunziantimo so I have an idea how to start, here is my tryout, for who have ASUS H170 Pro Gaming mobo as template/reference, I learn that thing cannot be applied to other guys but would be helpful when compiling own SSDT-USB.aml file:(step by step do go through 10.11.0-10.11.3 Skylake Starter Guide)

uia_exclude=SS01;SS02;HS01;HS02;SS07;SS08;SS09;SS10;SS11;SS12;HS14;USR1;USR2;HS04;HS03
manipulate and test as you like ; )

USB map :
HS01: not used
HS02: not used
HS03: 4th row @USB2=03, port to USB3 mobo PINs
HS04: 4th row @USB2=04, port to USB3 mobo PINs
HS05: 3rd row @USB2=05, port next to RJ45
HS06: 3rd row @USB2=06, port far to RJ45
HS07: 1st row USB2=07, port next to PS2
HS08: 1st row USB2=08, port far to PS2
HS09: 5th row @USB2=09, port to USB2 mobo PINs
HS10: 5th row @USB2=10, port to USB2 mobo PINs
*HS11: 5th row @USB2=11, port to USB2 mobo PINs
*HS12: 5th row @USB2=12, port to USB2 mobo PINs
HS13: FRONT USB2=13, port to USB2 mobo PINs
HS14: FRONT USB2=14, port to USB2 mobo PINs

above, UsbConnector 0
below, UsbConnector 3

SS01: not connected, to USB3 mobo PINs
SS02: not connected, to USB3 mobo PINs
SS03: 4th row @USB3=13, port to USB3 mobo PINs
SS04: 4th row @USB3=14, port to USB3 mobo PINs
SS05: 3rd row @USB3=15, port next to RJ45
SS06: 3rd row @USB3=16, port far to RJ45
I downloaded the Z170 Pro Gaming aml file, and deleted the ports that our mobo don't use. For now can't see any problem, maybe you can try the same files too. The ASMedia is working too. Didn't use any uia_exclude, just removed from the mapping the unused ports.

Just put the SSDT-USB in the efi/acpi/patched and everything should work. I've mapped 14 USB ports to fit the 15 limit.

The sleep problem is still present on the 10.13.3 supplemental update.
 

Attachments

Joined
Oct 9, 2016
Messages
4
Motherboard
Asus H170 Pro Gaming
CPU
i5-6600K 3.50GHz
Graphics
GeForce GTX 760
Mac
MacBook Pro
Mobile Phone
iOS
Hello I would need clarification, as I can not understand the English language well and I saw that you are Italian we could feel privately for the success of the hackintosh?
 

ModBot

Super Moderator
Staff member
Joined
Jan 9, 2011
Messages
1,497
Motherboard
01010
CPU
10101
Graphics
01010
Hello I would need clarification, as I can not understand the English language well and I saw that you are Italian we could feel privately for the success of the hackintosh?
Forum Rules:
  • Members may not solicit nor provide assistance via private communications. This forum was created to provide help by posting questions and getting answers. By not publicly discussing you are depriving others of solutions to problems they may encounter.
 
Joined
Jul 22, 2017
Messages
69
Motherboard
ASUS H170 Pro Gaming
CPU
i5-7600
Graphics
GTX 750 TI
Mac
iMac
Classic Mac
Classic, LC
Mobile Phone
Android, iOS
HS01 and HS02 for me are the USB ports on the case.


I downloaded the Z170 Pro Gaming aml file,

The sleep problem is still present on the 10.13.3 supplemental update.

Dear nunziantimo,
Do you happen to have a monitor or else that came with USB hub?

Can you share your output result once the sleep then wake happen?
To check this manually, please run either of the below commands (found elsewhere)in the terminal and check the results.

pmset -g log|grep -e " Sleep " -e " Wake "
log show --style syslog | fgrep "Wake reason"

just excerpt the last 3 or 5 set of data, in my case I

2018-02-13 14:47:40 +0800 Sleep Entering Sleep state due to '': Using AC (Charge:0%) 2018-02-14 17:44:20 +0800 Sleep Entering Sleep state due to 'Software Sleep pid=20619': Using AC (Charge:0%) 253 secs
2018-02-14 17:48:33 +0800 Wake Wake from Safe Sleep [CDNVA] due to XDCI XHC/HID Activity: Using AC (Charge:0%)

You see that? my case ..the undesired wake-up seems due to "XDCI XHC/HID Activity: Using AC " I then found this post and inspired me to check again the USB power, any AC connector, monitor.....turn out I connect an DC 2.0A adaptor to Benq monitor USB hub, when Mac fall asleep, the monitor will send off-pulse in about 30 seconds later which back surge the AC current to Mac, then wake the computer, that is my guess.

After use a USB cable (no AC adaptor anymore) attached Benq Hub to Mac, the computer does sleep without unwanted wake ups.

https://www.tonymacx86.com/threads/unwanted-wake-ups-in-mavericks-wake-reason-xhc.131501/

https://forum.globaldelight.com/discussion/3202/boom-2-prevent-sleep-when-active-in-osx-menu-bar-el-capitan-mac-mini
 
Last edited:
Joined
Oct 9, 2016
Messages
4
Motherboard
Asus H170 Pro Gaming
CPU
i5-6600K 3.50GHz
Graphics
GeForce GTX 760
Mac
MacBook Pro
Mobile Phone
iOS
Hello we have almost the same configuration, only that I have problems in verbose mode, I as a video card I have the GTX760 that I think is precisely the problem. and I get stuck on this string:

"Service only ran for 8 second. Pushing respawn out by 18 second"

Do you know how I can solve? I am desperate
 
Joined
Jul 22, 2017
Messages
69
Motherboard
ASUS H170 Pro Gaming
CPU
i5-7600
Graphics
GTX 750 TI
Mac
iMac
Classic Mac
Classic, LC
Mobile Phone
Android, iOS
Hello we have almost the same configuration, only that I have problems in verbose mode, I as a video card I have the GTX760 that I think is precisely the problem. and I get stuck on this string:

"Service only ran for 8 second. Pushing respawn out by 18 second"

Do you know how I can solve? I am desperate
What troubles you? Can't boot to desktop? Screenshot? I have never seen that kind of message though..
 
Joined
Oct 9, 2016
Messages
4
Motherboard
Asus H170 Pro Gaming
CPU
i5-6600K 3.50GHz
Graphics
GeForce GTX 760
Mac
MacBook Pro
Mobile Phone
iOS
Start via Clover the macOS Install (so choose your SSD)
In both my tests the first time the progress bar goes until 10/20% and then reboots, then I choose again my SSD as a boot entry and the installation finishes.
I solved the problem I had before now I have this problem that the loading bar reaches up to 10% / 20% and restarts. while if I start it from a flash drive it turns on but with latency on the video card.
 
Joined
Jul 15, 2018
Messages
2
Motherboard
Gigabyte b250m d3h
CPU
i5 6500
Graphics
hd 530
Mobile Phone
Android
First of all, thanks to @kristof.petho for its guide, we have a very similar hardware so I used his guide to move from Multibeast/Unibeast to full vanilla.

As the procedure I used was for some parts following his guide, I'll copy paste some parts, hopefully it's fine for him, otherwise I'll reformulate.

Some general forewords:
- I prefer to use Clover and not MultiBeast/UniBeast for both the installation drive as well as the running OSX
- I have tried choosing hardware that is most compatible with OSX
- Everything works 100% unless specifically stated :)
- I always try to modify (etc BIOS) and edit as little as possible to make sure my runs as good as possible



Some thanks are in order: Stork for the ASUS support, tonymacx86 for the Clover guide, and everyone else on this site for creating an incredible community!

So, to start:

Pre-work:
a/ Download Clover
b/ Download the attachments to this post

  • config.plist
    I use SMBIOS iMac17,1 as it's the closest to my hardware, and with a few kexts there are no problems with black screen ecc
  • Kext.zip
    all the kexts you will need for this build - place these kext files into the EFI/Clover/Other folder and delete all the numbered ones. I used the latest of everyone, as I am writing.
  • 1 SSDT file, needed for audio (HDAS to HDEF renaming, needed for every Sky/Kaby/Coffe lakes chipset)

0. My system

Motherboard: ASUS H170 Pro Gaming
Processor: Intel Core i5-6500
Memory: Kingston HyperX 2133mhz 1x8Gb
GPU: Zotac GTX 1060 6GB AMP! Edition
Monitor: Dell UP2715K 5K monitor dual stream (it's not perfect for hackintosh, but it works)

Keyboard: Logitech G910 Orion Spectrum, fully works in BIOS and Clover
Mouse: Logitech g502 - fully works in BIOS and Clover, and with the Logitech Gaming Software I have some macros for Exposè, switching from desks, and everything as a Magic Mouse (and more, like DPI switching)

1. BIOS settings

First load all optimal settings!

Then change these 4 settings:

Advanced Items
- USB Configuration > XHCI Hand Off > Enabled
- System > Serial > Disable serial port

Boot Menu
- Fast Boot > Disabled
- Secure Boot > OS Type > Other OS

2. Create Clover install USB

I personally recommend any USB 3 speed drive, at least 16Gb.

2.1
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ macOS\ High\ Sierra.app

2.2
Install Clover on the USB checking this (sorry for Italian language tho)



3. Set up your config.plist

I have mine set up and you can download it.

It has 4 KextToPatch:

1. USB Port Limit patch for High Sierra, that it's different from the older Sierra. Needed in all Sky/Kaby/Coffe Lakes chipsets.
2. AppleAHCIPort patch to fix internal disks displayed as external (Orange Icon). Not really sure if it's necessary but.
3. Enable TRIM patch (better to use than terminal sudo trimforce enable, that can lead to some errors).
4. Optional older USB Port Limit patch, used on Sierra.

It has Audio ID 1, needed for every Sky/Kaby/Coffe lakes chipsets for audio HDA patching/AppleALC+Lilu

Set up your own SMBIOS via Clover Configurator to have iMessage/FaceTime working, I have mine XXXd out.

4. Avoid APFS conversion

This is something not everyone will be of the same opinion as me, but I read something, I read through the Apple documentation, and I don't feel it's the right time to use APFS. The benefits are basically zero, It could bring only some downside.
My main concern is not that it will not work. It will work, easily. BUT, I am not sure about the error correction it uses, and the kind of clones it makes of files.
On the Apple docs it's written that it uses ECC built in Apple Firmwares, but our SSDs don't have Apple Firmwares. SO I am not sure about how our SSD fix the errors that naturally happens on flash drives. Will that be enough in the long term? I don't know, so for now I prefer to stay on HFS+, there will be always easy to update to APFS once the time is ready.

4.1 Open the terminal in the USB (on the top bar click Utility>Terminal), and launch this command, edit MacSSD with the name of your SSD:

Code:
/Volumes/"Image Volume"/"install macOS High Sierra.app"/Contents/Resources/startosinstall --volume /Volumes/MacSSD --agreetolicense --converttoapfs NO
You'll se something like this, and It will reach 100, and reboot:


4. Start via Clover the macOS Install (so choose your SSD)
In both my tests the first time the progress bar goes until 10/20% and then reboots, then I choose again my SSD as a boot entry and the installation finishes.

4.1 Important. I got the following error "The path /System/Installation/Packages/OSInstall.mpkg appears to be missing or damaged"
I just removed EmuVariableUefi-64.efi from Clover and it worked like a charme.

5. Post install

You just have to install Clover on your main SSD, copypaste the USB Kext folder and config.plist from USB to SSD, install nVidia Web Drivers, and reboot.

3.1 For audio I don't use HDMI but external speakers. I use them with Lilu.kext+AppleALC.kext directly on the EFI Folder, so I have the original Apple HDA drivers, without the VoodoHDA crap or Toleda patching.

6. Ending toughts

I have something else to end this guide with.

1. Every modification is on the EFI partition, so your main partition is untouched, is the same as a real mac. This has some benefits, the main is that everything is update-persistant, as the update only touch the main partition and not the EFI. Obviously maybe at some point you'll need to update a kext or a patche, but the troubleshooting is easier as everything is in a few folders.

2. Everything works, wake from sleep, waking up the monitor, zero glitches, audio perfect.

NDR:
You should use the USB Port limit patch temporarily, and use This guide to create your own SSDT to stay inside the 15 port limit (it includes internal USB ports)
Can I use this same guide for Asrock h110m-hdv motherboard and no external graphics card?
If not than what changes I need to do?
 
Joined
Jan 4, 2017
Messages
2
Motherboard
MSI B150m Bazooka Plus Gaming
CPU
i5-6500
Graphics
GTX 1060
how to solve problem mentioned by @phao5814 ? I have same problem with installation
 
Top