Contribute
Register

Mojave 10.14.4 Port Limit Removal Patch

Feartech

Moderator
Joined
Aug 3, 2013
Messages
12,568
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
Android
not surprising, they never do, best to create your own SSDT:
 
Joined
Apr 29, 2012
Messages
178
Motherboard
ASUS ROG Mamimus XI Hero (Wifi)
CPU
i9-9900K
Graphics
Vega 64
Mac
iMac, MacBook Pro, Mac mini
Mobile Phone
iOS
Honestly, everyone here should do this:
1) Add the port limit patches
2) install usbinjectall
3) use hackintool to discover and decide which ports you’re using, pick 15 and delete the rest with the “-“ icon.
4) export the usbports.kext and put it in edit/clover/kexts/other
5) remove usbinjectall
6) remove the port limit patches
7) live happily ever after

Those of you who have sleep and shutdown problems will possibly, if not likely have them solved.
OK, forgive me, but before I screw up my working rig, let me ask a sanity question.

I did as described, whittled things down to 15 ports, and did an export. Several things happened on export: Hackintool wanted my config.plist. (I didn't accept that). Then i finally had it export the files to a folder on my desktop. I got
SSDT-UIAC.aml
SSDT-USBX.aml
USBPorts.kext

Now if I read the 7 steps right, all I need to do now step 4 thru 7. I can discard the .aml's? Should I have altered my config.plist?

and finally, I don't have a path that begins with 'edit'. On my EFI partition, I do have
EFI/CLOVER/kexts/Other. Is that where the USBPorts.kext goes?

Sorry to be so dull... but compared to the SSDT instructions, this just seems too easy...
 
Last edited:
Joined
May 31, 2016
Messages
598
Motherboard
Z170X-UD5 TH
CPU
6700K
Graphics
GTX1080 (Asus ROG Strix)
Mac
iMac, MacBook, MacBook Pro, Mac mini
Classic Mac
PowerBook, Quadra
Mobile Phone
iOS
OK, forgive me, but before I screw up my working rig, let me ask a sanity question.

I did as described, whittled things down to 15 ports, and did an export. Several things happened on export: Hackintool wanted my config.plist. (I didn't accept that). Then i finally had it export the files to a folder on my desktop. I got
SSDT-UIAC.aml
SSDT-USBX.aml
USBPorts.kext

Now if I read the 7 steps right, all I need to do now step 4 thru 7. I can discard the .aml's? Should I have altered my config.plist?

and finally, I don't have a path that begins with 'edit'. On my EFI partition, I do have
EFI/CLOVER/kexts/Other. Is that where the USBPorts.kext goes?

Sorry to be so dull... but this just seems too easy...
yes; just using the USBPorts.kext worked for me. It seems to inject the same properties as the .AMLs.
BUT... USBPorts.kext in EFI/CLOVER/kexts/Other might only work if FakeSMC is there as well (something about how kext injection works in clover, but that might be outdated info). Once you DO put the USBPorts.kext there, you need to uninstall USBInjectall.kext as well.
 
Joined
Jul 29, 2016
Messages
61
Motherboard
ASUS MAXIMUS VII Formula
CPU
i7-4790K
Graphics
RX 580
Mac
iMac
The only credit I claim for the following patch is having great search skills :)

10.14.4 Port Limit Removal Patch by PMHeart

Seems to work perfectly but more testing needed to confirm full functionality.

com.apple.iokit.IOUSBHostFamily
83FB0F0F 870B0400 00
83FB3F0F 870B0400 00
USB Port Limit Patch 1 ©PMHeart
10.14.4

com.apple.driver.usb.AppleUSBXHCI
4183FF0F 0F839404 0000
4183FF3F 0F839404 0000
USB Port Limit Patch 2 ©PMHeart
10.14.4

com.apple.iokit.IOUSBHostFamily
83E30FD3 E34109DF
83E33FD3 E34109DF
USB Port Limit Patch 3 ©PMHeart
10.14.4

Plist code below if you prefer:

Code:
<dict>
                <key>Comment</key>
                <string>USB Port Limit Patch 1 ©PMHeart</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g/sPD4cLBAAA
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.14.4</string>
                <key>Name</key>
                <string>com.apple.iokit.IOUSBHostFamily</string>
                <key>Replace</key>
                <data>
                g/s/D4cLBAAA
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB Port Limit Patch 2 ©PMHeart</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                QYP/Dw+DlAQAAA==
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.14.4</string>
                <key>Name</key>
                <string>com.apple.driver.usb.AppleUSBXHCI</string>
                <key>Replace</key>
                <data>
                QYP/Pw+DlAQAAA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB Port Limit Patch 3 ©PMHeart</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g+MP0+NBCd8=
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.14.4</string>
                <key>Name</key>
                <string>com.apple.iokit.IOUSBHostFamily</string>
                <key>Replace</key>
                <data>
                g+M/0+NBCd8=
                </data>
            </dict>
Sorry i'm noob when it comes to this stuff...Where do i add this Patch???? I assume it's in config plist but where do i add it? I attached my config plist if anyone can just add it to it for me, i'd greatly appreciate that.
 

Attachments

Feartech

Moderator
Joined
Aug 3, 2013
Messages
12,568
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
Android
Sorry i'm noob when it comes to this stuff...Where do i add this Patch???? I assume it's in config plist but where do i add it? I attached my config plist if anyone can just add it to it for me, i'd greatly appreciate that.
they go in KextsToPatch section

you may want to remove:
change 15 port limit to 26 in XHCI kext (100-Series-10.12)
 
Joined
Feb 19, 2018
Messages
191
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
RX 580
Mac
MacBook Pro
Mobile Phone
iOS
Sorry i'm noob when it comes to this stuff...Where do i add this Patch???? I assume it's in config plist but where do i add it? I attached my config plist if anyone can just add it to it for me, i'd greatly appreciate that.
Loads of instructions already in this thread, have a look back at previous posts.
 
Joined
Jul 29, 2016
Messages
61
Motherboard
ASUS MAXIMUS VII Formula
CPU
i7-4790K
Graphics
RX 580
Mac
iMac
they go in KextsToPatch section

you may want to remove:
change 15 port limit to 26 in XHCI kext (100-Series-10.12)
best answer thanks. How do i remove that entry??
 
Joined
Jul 29, 2016
Messages
61
Motherboard
ASUS MAXIMUS VII Formula
CPU
i7-4790K
Graphics
RX 580
Mac
iMac
with the delete button

I know but dear lord because i'm new i ask questions for careful reasons so my hackintosh won't crash, i get laughed at..Ever consider i'm thinking if that not the only thing in the entry i need to delete? "change 15 port limit to 26 in XHCI kext (100-Series-10.12) " is obviously not straight specific what i need to do, because you know it all doesn't mean you need to hold back certain information or give me a short answer. Why is NEW or NOOB hard for some people to understand?? I've looked around also and so far i come here so obviously i been doing my digging. I'm pretty sure you guys were new like me at some point. Not everyone knows it all like you. Easy said than done. And btw i do not see the kext to patch section.
 
Last edited:

Feartech

Moderator
Joined
Aug 3, 2013
Messages
12,568
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
Android
I know but dear lord because i'm new i ask questions for careful reasons so my hackintosh won't crash, i get laughed at..Ever consider i'm thinking if that not the only thing in the entry i need to delete? "change 15 port limit to 26 in XHCI kext (100-Series-10.12) " is obviously not straight specific what i need to do, because you know it all doesn't mean you need to hold back certain information or give me a short answer. Why is NEW or NOOB hard for some people to understand?? I've looked around also and so far i come here so obviously i been doing my digging. I'm pretty sure you guys were new like me at some point. Not everyone knows it all like you. Easy said than done. And btw i do not see the kext to patch section.
sorry, didn't mean to be rude

in your config.plist:
Code:
<dict>
                <key>Comment</key>
                <string>change 15 port limit to 26 in XHCI kext (100-Series-10.12)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g710////EA==
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>Name</key>
                <string>AppleUSBXHCIPCI</string>
                <key>Replace</key>
                <data>
                g710////Gw==
                </data>
            </dict>
under Disabled, it says false, you can change false to true which will disable that KextToPatch
 

Top