Contribute
Register

[Release] Hackintool v3.x.x

Joined
Feb 2, 2021
Messages
6
Motherboard
ASUS ROG Maximus VIII Hero Z170
CPU
i7-6700K
Graphics
RX 5500 XT
I didn't have any other issues getting my 5500xt to run first in Catalina and now in Big Sur (It's an ASRock Challenger 4GB plugged into two 27" 4k monitors through DisplayPort) other than the agdpmod-pikera addition in Bootargs. Even so, I did add a custom SSDT that helped hardware acceleration created by mattystonnie from this post: https://www.tonymacx86.com/threads/amd-radeon-performance-enhanced-ssdt.296555/
I missed that post. You saved my days. Thank you so much. It works very well.
 
Joined
Oct 12, 2019
Messages
15
Motherboard
Gigabyte Z390 AORUS PRO
CPU
i9-9900k
Graphics
RX580
Does anyone else get this weird behavior when Hackintool (even latest v3.5.3) fails to load USB ports from USBPorts.kext correctly?

I complete the mapping, save the file. Reboot the box and when loading the file end up not with what was saved but with about 20 ports instead. At the same time it seems that kext itself actually has the correct mapping in it.

Thanks for any help on this - hope it's something simple I'm missing or doing wrong (I tried removing all ports before loading from file - same result).
 

NorthAmTransAm

Moderator
Joined
Jul 26, 2018
Messages
1,148
Motherboard
Asus Z370-A Prime II
CPU
i9-9900K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Does anyone else get this weird behavior when Hackintool (even latest v3.5.3) fails to load USB ports from USBPorts.kext correctly?

I complete the mapping, save the file. Reboot the box and when loading the file end up not with what was saved but with about 20 ports instead. At the same time it seems that kext itself actually has the correct mapping in it.

Thanks for any help on this - hope it's something simple I'm missing or doing wrong (I tried removing all ports before loading from file - same result).

I've been in a weird loop with it before myself. Best practice is to open the info.plist inside the kext that it made and edit the ports there.

Doing a quick dummy check here, when you reboot with the USBPorts.kext have you disabled USBInjectall and it's SSDT and disabled the XHCIPortlimit?
 
Joined
Oct 12, 2019
Messages
15
Motherboard
Gigabyte Z390 AORUS PRO
CPU
i9-9900k
Graphics
RX580
Thanks for the reminder, yes I'm disabling the XhciPortLimit.
I'm not using USBInjectall anymore - so I'm booting with USBPorts.kext that I'm mostly happy with and just want to tweak it as I'm missing a port or two.

Yes, Info.plist is the way to go - just learned the integer codes for port types so will try it.
 

NorthAmTransAm

Moderator
Joined
Jul 26, 2018
Messages
1,148
Motherboard
Asus Z370-A Prime II
CPU
i9-9900K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Thanks for the reminder, yes I'm disabling the XhciPortLimit.
I'm not using USBInjectall anymore - so I'm booting with USBPorts.kext that I'm mostly happy with and just want to tweak it as I'm missing a port or two.

Yes, Info.plist is the way to go - just learned the integer codes for port types so will try it.

Awesome!

Don't forget to make sure you have the right connector type as well. Pretty much it should be 3 (for 3.0 and 2.0) or 255 (internal).
 
Joined
Oct 12, 2019
Messages
15
Motherboard
Gigabyte Z390 AORUS PRO
CPU
i9-9900k
Graphics
RX580
We're getting somewhere... I edited the USBPorts.kext and it boots with everything I need but then suddenly Bluetooth/WiFi card disappears (it's one of them PCI add-ons that gets connected to the motherboard via USB cable) and a bit later my LG 5K display also loses camera and microphone (they show up as USB 2.0 hubs).

Hackintool still annoyingly shows a whole bunch of ports instead of just the ones I have in the plist file that it generated during previous run.

Now I just need to figure out whether it's just USBPorts.kext I need to be using or SSDT-UIAC plus SSDT-EC-USBX files also. Right now it's all 3 and I don't think they're limiting ports as intended. I know in the past SSDT-UIAC and SSDT-EC-USBX were meant to be used with USBInjectAll - so perhaps I should try this.
 

NorthAmTransAm

Moderator
Joined
Jul 26, 2018
Messages
1,148
Motherboard
Asus Z370-A Prime II
CPU
i9-9900K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
We're getting somewhere... I edited the USBPorts.kext and it boots with everything I need but then suddenly Bluetooth/WiFi card disappears (it's one of them PCI add-ons that gets connected to the motherboard via USB cable) and a bit later my LG 5K display also loses camera and microphone (they show up as USB 2.0 hubs).

Hackintool still annoyingly shows a whole bunch of ports instead of just the ones I have in the plist file that it generated during previous run.

Now I just need to figure out whether it's just USBPorts.kext I need to be using or SSDT-UIAC plus SSDT-EC-USBX files also. Right now it's all 3 and I don't think they're limiting ports as intended. I know in the past SSDT-UIAC and SSDT-EC-USBX were meant to be used with USBInjectAll - so perhaps I should try this.

SSDT-UIAC can't exist with USBPorts.kext. It's an either or deal!

Just to clarify incase its lost here. SSDT-UIAC is a custom map for USBInjectall. So if you boot with either of those, its likely Hackintool will be confused.

Do you know which USB port your wifi card connects to for Bluetooth? For example mine is on HS10, so in the Kext I set HS10 to connector to 255.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,404
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
...
Hackintool still annoyingly shows a whole bunch of ports instead of just the ones I have in the plist file that it generated during previous run.
...
Try clicking Clear All and then Refresh.
Screen Shot 2021-05-09 at 2.36.37 PM.png
 
Joined
Oct 12, 2019
Messages
15
Motherboard
Gigabyte Z390 AORUS PRO
CPU
i9-9900k
Graphics
RX580
SSDT-UIAC can't exist with USBPorts.kext. It's an either or deal!

Just to clarify incase its lost here. SSDT-UIAC is a custom map for USBInjectall. So if you boot with either of those, its likely Hackintool will be confused.
Thanks for that. Removed it (disabled in OpenCore) but still getting too many ports. 15 now, so it's better than it was before, but they're not the ones I implicitly enabled in USBPorts.kext...

I also disabled SSDT-EC-USBX.aml and it didn't help.

So what I'm getting is HS01 through HS14 and SS01.
What I'm trying to get is HS01/02, HS09->HS14 and SS01/02/09/10 - and yes, Info.plist has correct connector types specified.

Interestingly, when I clear all and then load the file in Hackintool - I get HS01 through HS14, AND SS01/02/09/10 - so more than 15 ports. Seems there loading of kext mapping in Hackintool could be more than just reading the values - perhaps it's somehow trying to scan existing ports and merge the two lists.
 
Joined
Oct 12, 2019
Messages
15
Motherboard
Gigabyte Z390 AORUS PRO
CPU
i9-9900k
Graphics
RX580
Right. Just to clear this up - think my USBPorts.kext was messed up, the model at the bottom of the file was somehow set to a wrong value. This may have been because with primary disk of Big Sur not working (USB issues), I was booting from my previous OS backup which is Mojave and used different model.

I must have generated USBPorts from one OS/model and then put it onto the EFI partition of another. Didn't think model would come to play - thought it was just about listing USB ports. Now I know better! :)

So I now have properly mapped ports for the motherboard and this means Hackintool works correctly as well!
 
Top