Contribute
Register

[Success] GIGABYTE Z370 Gaming 7 + Intel Core i7-8700K + RX 580 + (2x) Dell P2715Q 4k @ 60Hz

You should either create an SSDT-UIAC.aml using the RehabMan method or an USBPorts.kext that is created by the FB-Patcher method.
Wow, I have never felt more stupid...I have ZERO idea what you are talking about. (and I am a mensa member! LOL)

Time to do some research...
 
USB Patch and Apple USB Power Patch Mini Guide

I have managed to get USB Apple USB power for iPhones and iPads working, at least on my system on this mobo. Because a lot of users have been having problems firstly patching their USB ports and also the changes that have impacted this process since Mojave 10.14.1+, I have incorporated this USB patching and the extra USB power features for iPhones and iPads in this mini guide.

Thanks @RehabMan for his initial guide on this & @balazs631 for his simplified mini guide.

Edit: 18th Dec 2018
I have made a mistake in the discovery of the USB ports that which affects the charging on the F_USB30 ports, usually these are connected to two USB3 ports on your case....:oops:
So I have uploaded a new SSDT-UIAC-EC-18.3.aml file. Just copy it over your existing one.
I believe all is well now, but please give feedback on whether it has worked for you or not.

Notes:
  1. This post is only for the Aorus z370 Gaming 7 v1.0 F11 BIOS. Other mobos in this series may work as they have similar hardware, but I can't confirm this as I only have the Aorus z370 Gaming 7 v1.0. Give it a try.
  2. I have only tested this on Mohave 10.14.2 (18C54).
  3. My system definition is iMac18,3 and the files that I have attached are for this build only. This is important, as other model definitions can cause issues e.g iMac14,2. So if you or others are trying to see or get this going, please note this is for iMac18,3 only, as it is what I have and I can only test on this model identifier!
  4. I have been using the FB-Patcher created USBPorts.kext to get all of my USB ports working. I haven't had time to see if this works with this method, so I have reverted back to the SSDT-UIAC method by @RehabMan. Now I know some people have had a lot of trouble understanding this method, so I have attached a SSDT-UIAC-EC-18.3.aml file that exposes the following USB ports - HS01-HS10 & SS01-SS065. Don't worry if you don't understand this, but please note as I don't know whether you have any USB devices attached to the internal mobo ports e.g
    Code:
    HS07 = F_USB1 (bottom pins)
    HS08 = F_USB1 (top pins)
    HS09 = F_USB2 (bottom pins)
    HS10 = F_USB2 (top pins)

    I have these 4 ports marked as internal on my mobo because I have 4 internal devices permanently connected to them. If they are not marked as internal, then you will get sleep problems. E.g the PC will go to sleep, and then immediately awake. For testing purposes and for what I believe most users will have I have only provided this file with all USB ports marked as external.
Installation

EFI Folder
  1. Mount you EFI folder using your favourite method.
  2. If you have been using the USBPorts.kext FB-Patcher, move this file from the /EFI/EFI/CLOVER/kexts/Other directory to somewhere safe...
  3. If you have been using a patched SSDT-UIAC.aml (or whatever you have called it), file in your /EFI/EFI/CLOVER/ACPI/patched directory, then move it as per point 2 above. Later on you can try replacing my SSDT with yours, but to make sure that this process is working for you try mine first as I can't fault find using unknown a SSDT.
  4. Copy the three attached files into your /EFI/EFI/CLOVER/ACPI/patched directory.
USBInjectALL
  1. Install the latest USBInjectAll.kext to your /Library/Extensions directory using your favourite method. If you have done it manually, then make sure you have updated the kernel cache by running the following commands in a terminal.
    Code:
    sudo touch /Library/Extensions
    sudo touch /System/Library/Extensions
    sudo kextcache -i /
Clover config.plist
  1. You no longer require and it doesn't work anyway, any 26 port patches in your Kernel and Kext Patches section, so just remove them, or disable them. See mine below: (Note you most probably don't have the 10GBe ethernet card!)
    Kernel Kext.png

  2. In your ACPI section, remove or disable any EHC1, EHC2 or other USB patches. See mine below:
    ACPI.png
  3. Save your config.plist
  4. Reboot
Post Installation

When you have rebooted if all is well, you should have all USB ports including USB 3 ports.
If you plug in your iPhone or iPad, and then open the USB Tab in System Information app you should get something similar to the following:
Screen Shot 2018-12-15 at 4.57.04 pm.png


My iPhone 6 was around 35% charged, and I connected my USB power meter and it showed that that I was charging at 1200ma. This figure changes (reduces) as the device recharges. See picture below:
USB Power.png


I have no other Apple devices to test further, and from what I understand it's only Apple devices that can demand the extra current, and it's unknown to me if this hardware can actually provide the full 2100ma, so I await feedback on this or if anyone finds errors please let me know as I'll try to help.

Jim:geek:
 

Attachments

  • SSDT-EC.aml
    63 bytes · Views: 164
  • SSDT-USBX.aml
    185 bytes · Views: 158
  • SSDT-UIAC-EC-18.3.aml
    695 bytes · Views: 144
Last edited:
Thanks for your great effort you've put in so far!!
....
Unfortunately, since I just joined the hackintosh community about 3 weeks ago, I don't know what exactly it means, where it is being done and if it is still possible on 10.14.2. Maybe you've got an idea how to do this in respect to adding the above mentioned "Extra Operating Current" and "Sleep current"?

Your help is MUCH appreciated!

Hi @hacmymac and others.

See my mini guide post here as to how I got it going.
 
USB Patch and Apple USB Power Patch Mini Guide

I have managed to get USB Apple USB power for iPhones and iPads working, at least on my system on this mobo. Because a lot of users have been having problems firstly patching their USB ports and also the changes that have impacted this process since Mojave 10.14.1+, I have incorporated this USB patching and the extra USB power features for iPhones and iPads in this mini guide.

Thanks @RehabMan for his initial guide on this & @balazs631 for his simplified mini guide.

Notes:

  1. This post is only for the Aorus z370 Gaming 7 v1.0 F11 BIOS. Other mobos in this series may work as they have similar hardware, but I can't confirm this as I only have the Aorus z370 Gaming 7 v1.0. Give it a try.
  2. I have only tested this on Mohave 10.14.2 (18C54).
  3. My system definition is iMac18,3 and the files that I have attached are for this build only. This is important, as other model definitions can cause issues e.g iMac14,2. So if you or others are trying to see or get this going, please note this is for iMac18,3 only, as it is what I have and I can only test on this model identifier!
  4. I have been using the FB-Patcher created USBPorts.kext to get all of my USB ports working. I haven't had time to see if this works with this method, so I have reverted back to the SSDT-UIAC method by @RehabMan. Now I know some people have had a lot of trouble understanding this method, so I have attached a SSDT-UIAC-EC-18.3.aml file that exposes the following USB ports - HS01-HS10 & SS01-SS06. Don't worry if you don't understand this, but please note as I don't know whether you have any USB devices attached to the internal mobo ports e.g
    Code:
    HS07 = F_USB2 (bottom pins)
    HS08 = F_USB2 (top pins)
    HS09 = F_USB2 (bottom pins)
    HS10 = F_USB2 (top pins)

    I have these 4 ports marked as internal on my mobo because I have 4 internal devices permanently connected to them. If they are not marked as internal, then you will get sleep problems. E.g the PC will go to sleep, and then immediately awake. For testing purposes and for what I believe most users will have I have only provided this file with all USB ports marked as external.
Installation

EFI Folder
  1. Mount you EFI folder using your favourite method.
  2. If you have been using the USBPorts.kext FB-Patcher, move this file from the /EFI/EFI/CLOVER/kexts/Other directory to somewhere safe...
  3. If you have been using a patched SSDT-UIAC.aml (or whatever you have called it), file in your /EFI/EFI/CLOVER/ACPI/patched directory, then move it as per point 2 above. Later on you can try replacing my SSDT with yours, but to make sure that this process is working for you try mine first as I can't fault find using unknown a SSDT.
  4. Copy the three attached files into your /EFI/EFI/CLOVER/ACPI/patched directory.
Clover config.plist
  1. You no longer require and it doesn't work anyway, any 26 port patches in your Kernel and Kext Patches section, so just remove them, or disable them. See mine below: (Note you most probably don't have the 10GBe ethernet card!)View attachment 372852
  2. In your ACPI section, remove or disable any EHC1, EHC2 or other USB patches. See mine below:View attachment 372855
  3. Save your config.plist
  4. Reboot
Post Installation

When you have rebooted if all is well, you should have all USB ports including USB 3 ports.
If you plug in your iPhone or iPad, and then open the USB Tab in System Information app you should get something similar to the following:
View attachment 372857

My iPhone 6 was around 35% charged, and I connected my USB power meter and it showed that that I was charging at 1200ma. This figure changes (reduces) as the device recharges. See picture below:
View attachment 372858

I have no other Apple devices to test further, and from what I understand it's only Apple devices that can demand the extra current, and it's unknown to me if this hardware can actually provide the full 2100ma, so I await feedback on this or if anyone finds errors please let me know as I'll try to help.

Jim:geek:

Even though on my first restart I got a kernel panic (I guess this was due to a removal of the USB cable connected to my Apple Magic Keyboard 2 while in the FileFaul2 Prebooter), I can confirm, that this method is working (I'm on AORUS Gaming 7 z370 with BIOS V7 and Mojave 10.4.2 with an "iMac18,3" definition).

Besides my iPhone now being charged faster, my Apple Super Drive started working, too (as it is using 500 mA current + 600 mA extra operating current).
This was the last issue I banged my head around bevor completing my (up until now vanilla build) hackintosh. So now I can finally archive my EFI and clone my system to a backup SSD and use this hackintosh for productive work :)

FYI: There might be a risk of the MoBo getting damaged if more current than defined by the USB 3.0 specs is flowing through the USB 3.0 ports (though this is just an assumtion as I can't really say anything substancial about that because I'm not an electrician). Therefore, I suggest using only the USB 3.1 ports (= the red USB 3.1 Type A and the USB 3.1 Type C port) for heavy duty charging with more than 1800 mA, since USB 3.1 ports should be build to provide up tp 5000 mA. For further reading, I also suggest this article on USB Charging Power.

Thank you very very much for your help, @jb007 (PS: Your System Info-Screenshot shows your iPhone S/N. You should black that out)!

@HackaShaq: Tremendous work by everyone involved! Awesome build! I suggest you add a link to @jb007's mini guide in your build guide, since otherwise it might not be found by other users on this more than 100 pages thread, which would be sad.
 
Last edited:
Even though on my first restart I got a kernel panic (I guess this was due to a removal of the USB cable connected to my Apple Magic Keyboard 2 while in the FileFaul2 Prebooter), I can confirm, that this method is working (I'm on AORUS Gaming 7 z370 with BIOS V7 and Mojave 10.4.2 with a iMac18,3 definition).

Besides my iPhone now being charged faster, my Apple Super Drive started working, too (as it is using 500 mA current + 600 mA extra operating current).
This was the last issue I banged my head around bevor completing my (up until now vanilla build) hackintosh. So now I can finally archive my EFI and clone my system to a backup SSD and use this hackintosh for productive work :)

FYI: There might be a risk of the MoBo getting damaged if more current than defined by the USB 3.0 specs is flowing through the USB 3.0 ports (though this is just an assumtion as I can't really say anything substancial about that because I'm not an electrician). Therefore, I suggest using only the USB 3.1 ports (e.g. the red USB port on the back) for heavy duty charging with more than 1800 mA, since USB 3.1 ports are build to provide up tp 5000 mA. For further reading, I also suggest this article on USB Charging Power.

Thank you very very much for your help, @jb007 (PS: Your System Info-Screenshot shows your iPhone S/N. You should black that out)!

Thanks for the feedback @hackmymac. It's interesting that your Apple Super Drive now works. @jiffyslot
and others will/should be interested in this.

I will have a look at the USB port side of things more closely in regards to the USB power requirements at a later stage. From memory most manufacturers using USB ports have an over current mechanism built-in.

Finally this build is nearing completion?

Jim
 
@hackmymac ...Wait, wait, wait. Did somebody get Filevault to work w/o a prohib symbol on reboot. In this @HackaShaq build, I accidentally re-enabled SIP. Should CSR Active Config under RT Variables always be 0x67 and left that way? I had 0x3 for awhile and even w/o Filevault (which I presumed was an impossibility) I got the old sticky prohib symbol until I corrected the 0x3 to 0x67. -I'm a security-minded guy and I was acting in good faith re my machine.
 
@hackmymac ...Wait, wait, wait. Did somebody get Filevault to work w/o a prohib symbol on reboot. In this @HackaShaq build, I accidentally re-enabled SIP. Should CSR Active Config under RT Variables always be 0x67 and left that way? I had 0x3 for awhile and even w/o Filevault (which I presumed was an impossibility) I got the old sticky prohib symbol until I corrected the 0x3 to 0x67. -I'm a security-minded guy and I was acting in good faith re my machine.
File Vault is working just fine. Actually literally everything is working without a problem now after I got USB charging to work. I’ll upload my EFI tomorrow when I get back home.
 
@hackmymac ...Wait, wait, wait. Did somebody get Filevault to work w/o a prohib symbol on reboot. In this @HackaShaq build, I accidentally re-enabled SIP. Should CSR Active Config under RT Variables always be 0x67 and left that way? I had 0x3 for awhile and even w/o Filevault (which I presumed was an impossibility) I got the old sticky prohib symbol until I corrected the 0x3 to 0x67. -I'm a security-minded guy and I was acting in good faith re my machine.
Hi @jiffyslot. Yes you should use 0x67. All of my configuration I’ve uploaded for you should have had this set.
 
YMMV, but I'll only sync a device via iTunes. I'll only charge it with the factory charger -or a real Mac if one's around. I was unsuccessful at getting this build to provide enough power for the USB SuperDrive, so that got me to thinking that either the mobo is going to either refuse to charge at a normal rate, or the device is going to create a sag on the rest of the board.

Everything in the studio is on a voltage regulator.

Regarding the specs on the Z370 Gaming 7, in my experience with any device "should" and "does" often produce different results when measuring with a VTVM, etc.

Even though on my first restart I got a kernel panic (I guess this was due to a removal of the USB cable connected to my Apple Magic Keyboard 2 while in the FileFaul2 Prebooter), I can confirm, that this method is working (I'm on AORUS Gaming 7 z370 with BIOS V7 and Mojave 10.4.2 with an "iMac18,3" definition).

Besides my iPhone now being charged faster, my Apple Super Drive started working, too (as it is using 500 mA current + 600 mA extra operating current).
This was the last issue I banged my head around bevor completing my (up until now vanilla build) hackintosh. So now I can finally archive my EFI and clone my system to a backup SSD and use this hackintosh for productive work :)

FYI: There might be a risk of the MoBo getting damaged if more current than defined by the USB 3.0 specs is flowing through the USB 3.0 ports (though this is just an assumtion as I can't really say anything substancial about that because I'm not an electrician). Therefore, I suggest using only the USB 3.1 ports (= the red USB 3.1 Type A and the USB 3.1 Type C port) for heavy duty charging with more than 1800 mA, since USB 3.1 ports should be build to provide up tp 5000 mA. For further reading, I also suggest this article on USB Charging Power.

Thank you very very much for your help, @jb007 (PS: Your System Info-Screenshot shows your iPhone S/N. You should black that out)!

@HackaShaq: Tremendous work by everyone involved! Awesome build! I suggest you add a link to @jb007's mini guide in your build guide, since otherwise it might not be found by other users on this more than 100 pages thread, which would be sad.
 
Back
Top