Contribute
Register

<< Solved >> Huananzhi Hackintosh USB problems and optimization

Feartech

Moderator
Joined
Aug 3, 2013
Messages
23,286
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
I think that happened when I tried to open the USBInjectAll.kext the other day and used Kext Utility.
delete that program Kext Utility
no need for it

out of interest, in terminal:
Code:
sudo kextcache -i /

and copy and paste the results here
 
Joined
Jun 14, 2021
Messages
53
Motherboard
Huananzhi X99 F8
CPU
E5 2678 V3
Graphics
RX 580
You need to 'Clear' and 'Refresh' the Hackintool USB window, to get rid of the duplicate ports (SS03). It should also remove the EH01 and EH02 ports/hubs if the SSDT-EHCx_OFF.aml is working correctly.

The Clear and Refresh icons are highlighted in the screenshot below.

View attachment 522515 Cyan rectangle highlighting Clear & Refresh icons.

Repost a screenshot of the USB window after the Refresh.

This is what happened when I cleared and refreshed:
 

Attachments

  • Captura de pantalla 2021-06-22 a las 18.21.31.png
    Captura de pantalla 2021-06-22 a las 18.21.31.png
    179.6 KB · Views: 9
Joined
Jun 14, 2021
Messages
53
Motherboard
Huananzhi X99 F8
CPU
E5 2678 V3
Graphics
RX 580
delete that program Kext Utility
no need for it

out of interest, in terminal:
Code:
sudo kextcache -i /

and copy and paste the results here
Kext Utility deleted.

I wrote that in the Terminal and got this:

KernelCache ID: 3E201963CE900F138EE18CDBB501AD8E
 

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
2,177
Motherboard
Gigabyte Z97X-UD5H
CPU
i7-4790K
Graphics
HD 4600 / RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
That Hackintool USB window looks correct. It is showing all the possible USB ports in your system.

Now you need to identify each port, first using a USB2 pen drive.
Then do it again using a USB3 pen drive.
 
Joined
Jun 14, 2021
Messages
53
Motherboard
Huananzhi X99 F8
CPU
E5 2678 V3
Graphics
RX 580
Checked again with the USB3 hub:

Back ports 5 and 6 (USB3) only work as USB2. Back port 8 (USB2) doesn´t work at all.

Even if I change the connector type (column), this disappears when I restart, but the comment remains.
 

Attachments

  • Captura de pantalla 2021-06-22 a las 18.28.34.png
    Captura de pantalla 2021-06-22 a las 18.28.34.png
    199.9 KB · Views: 12

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
2,177
Motherboard
Gigabyte Z97X-UD5H
CPU
i7-4790K
Graphics
HD 4600 / RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
OK, so you have 15 ports identified/active in that screenshot, which matches with Apple's 15 port limit. I would recommend the following:
  • Delete these ports - HS06, HS07, HS08, SS03 and SS04, they are not used. Red line through ports.
  • Change the Connector type for ports HS01, HS02, HS03 and HS04 from USB2 to USB3, highlighted in Cyan
  • Change the Connector type for Ports HS09 and HS10 to USB3, highlighted in Red
Use the drop down arrow icon to access the different connector types, highlighted in Yellow box.

Then export the configuration from Hackintool. Highlighted in Blue box.

Captura de pantalla 2021-06-22 a las 18.28.34.png Changes to USB setup highlighted as above.

Now.
  1. Add the USBPorts.kext that is generated by Hackintool to your /CLOVER/kexts/Other folder.
  2. Remove the USBInjectAll.kext from your /CLOVER/kexts/Other folder.
  3. Disable or remove the Raise USB port limit patches from your config.plist (all of them).
  4. Reboot your system so it uses the new USBPorts.kext.
 
Joined
Jun 14, 2021
Messages
53
Motherboard
Huananzhi X99 F8
CPU
E5 2678 V3
Graphics
RX 580
  • Change the Connector type for ports HS01, HS02, HS03 and HS04 from USB2 to USB3, highlighted in Cyan
  • Change the Connector type for Ports HS09 and HS10 to USB3, highlighted in Red

Ok, I manually changed those so I´ll leave them as USB3 connector.

I exported and Hackintool generated several files, should I do anything with the others?
 

Attachments

  • Captura de pantalla 2021-06-22 a las 19.53.09.png
    Captura de pantalla 2021-06-22 a las 19.53.09.png
    14.7 KB · Views: 7
Joined
Jun 14, 2021
Messages
53
Motherboard
Huananzhi X99 F8
CPU
E5 2678 V3
Graphics
RX 580
  1. Add the USBPorts.kext that is generated by Hackintool to your /CLOVER/kexts/Other folder.
  2. Remove the USBInjectAll.kext from your /CLOVER/kexts/Other folder.
  3. Disable or remove the Raise USB port limit patches from your config.plist (all of them).
  4. Reboot your system so it uses the new USBPorts.kext.
Done!
 

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
2,177
Motherboard
Gigabyte Z97X-UD5H
CPU
i7-4790K
Graphics
HD 4600 / RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
I made a mistake in my last post.

Ports HS09 and HS10 need to be set as Internal not USB3.

So you need to change these two ports and export a new USBPorts.kext.
 
Joined
Jun 14, 2021
Messages
53
Motherboard
Huananzhi X99 F8
CPU
E5 2678 V3
Graphics
RX 580
Changed.

For now it´s working, thanks everyone, you´re f***ing great!!!

I noticed something, this C6 is enabled when I boot and look into Clover options, but when I go to the config.plist it isn´t? Is it ok? Can I do anything else to optimize the computer?
 

Attachments

  • Captura de pantalla 2021-06-23 a las 0.33.22.png
    Captura de pantalla 2021-06-23 a las 0.33.22.png
    423.6 KB · Views: 9
  • photo1624384110.jpeg
    photo1624384110.jpeg
    105.8 KB · Views: 9
Top