Contribute
Register

Mojave 10.14.5 Port Limit Removal Patch

Joined
Dec 4, 2018
Messages
16
Motherboard
Gigabyte 7390 M Gaming LGA 1151
CPU
i9 9900k 8-cores @3.6Ghz
Graphics
MSI Vega 56 Airboost
Mac
MacBook Pro
Mobile Phone
iOS
Joined
May 8, 2017
Messages
104
Motherboard
Gigabyte GA-H81M-S2V
CPU
i5-4460
Graphics
RX 570
Classic Mac
iMac, PowerBook
Mobile Phone
Android
These patches replace the USB patches in your /EFI/.../config.plist file. If you've never modified your config.plist, then it would be confusing at first. The current MultiBeast for Mojave has a port limit patch for the config.plist (Drivers > USB > Remove XHCI USB Port Limit), but it is for 10.14.4. The next update to Mojave will have the 10.14.5 patch.

Thus, you'll have to replace the 10.14.5 Port Limit patches in config.plist with Post #1's Port Limit patches with TextEdit or use Xcode and the patches listed in Post #4.
Thanks! However, MultiBeast prompts me to save a new config.plist. How do I apply the patch to the current file?

Update: I've applied this on 10.14.3 via Clover Configurator, but I think the ports are still operating at USB 2 speeds despite being listed as USB 3 in System Information
  • Name*: com.apple.driver.usb.AppleUSBXHCI
  • Find* [HEX]:83FB0F0F 83030400 00
  • Replace* [HEX]: 83FB0F90 90909090 90
  • Comment: USB 10.14.1+ by PMHeart
  • MatchOS: 10.14.x
My Passport 0814:

Product ID:0x0814

Vendor ID:0x1058 (Western Digital Technologies, Inc.)

Version:10.49

Serial Number:5758483145343344455A5631

Speed:Up to 5Gb/sec

Manufacturer:Western Digital

Location ID:0x14b00000 / 6

Current Available (mA):900

Current Required (mA):896

Extra Operating Current (mA):0



But: an average of 60 MB/s for writing / 70 MB/s for reading in Blackmagic Disk Speed Test...
 
Last edited:
Joined
Sep 21, 2013
Messages
442
Motherboard
GA-Z370 AORUS Gaming 7-F13v2
CPU
i7-8700K OC 5 GHz
Graphics
RX 580
Mac
MacBook, MacBook Pro, Mac mini
Classic Mac
Classic, iBook, Performa, Power Mac
Mobile Phone
Android, iOS
Is it as simple as dragging the config to the desktop, (maybe make an extra copy) edit the desktop copy, and then drag it back to the EFI to overwrite the existing?

Q: And in the case that one of these patches wasn't in the dropdown menu in Clover Configurator, you could hit the + on the side and type-in the patch manually?

com.apple.iokit.IOUSBHostFamily 83FB0F0F 83FB3F0F
USB port limit patch #1 10.14.x modify by DalianSky(credit ydeng) 10.14.x

com.apple.iokit.IOUSBHostFamily 83E30FD3 83E33FD3
USB port limit patch #2 10.14.x modify by DalianSky(credit PMHeart) 10.14.x

I'm using a USBInjectAll kext and an SSDT, but should I write a backup system as above and select the "disable" boxes?
 

KvL

Joined
Feb 21, 2011
Messages
8
Motherboard
Gigabyte Z390 Gaming X
CPU
i7-8700
Graphics
RX 560
Mac
iMac, MacBook Pro
Classic Mac
iMac, PowerBook
Mobile Phone
iOS
I've got two little questions that might be shared by other newbies like me... With that port limit patch, do the USB-C ports work at right speed? If so, what is the advantage of having a USB kext limiting ports to only 15 if the patch allows all of available USB ports working? Thanks so much for your feedback..
Hi there.

To answer your questions:

1) No, the port-limit removal patch does not configure any ports, it just makes more available.

2) No extra kext limits ports to 15. That is an Apple restriction. The patch is what is used to get around this limit as PC motherboards generally have more USB ports than real Macs. However the number 15 is hard-coded so going beyond is a potential risk.
Thanks for both asking (as I was going to do exactly the same) and for the accurate answer.
I stille have a couple of doubts:

1) Could I change the <string>10.14.x</string> to <string>10.14.5</string> in order to match only 10.14.5? Is it useless? I mean, for future use for a n00b like me, just to remember which patch / which macOS version.

2) I stumbled upon many other sites with """guides""" (quotes necessary because they're not even remotely as good as this forum ones) that hint at excluding some HSxx ports (USB 2.0 ports linked to USB 3.0 ones, unused when a USB 3.0 peripheral is attached) in order to stay behind the 15-port limit, altohugh those guides use the SSDT method, which I personally do not particularly love.

Hope this is the right thread to ask this!

Thanks!
 
Joined
May 8, 2017
Messages
104
Motherboard
Gigabyte GA-H81M-S2V
CPU
i5-4460
Graphics
RX 570
Classic Mac
iMac, PowerBook
Mobile Phone
Android
Hi there.

To answer your questions:

1) No, the port-limit removal patch does not configure any ports, it just makes more available.

2) No extra kext limits ports to 15. That is an Apple restriction. The patch is what is used to get around this limit as PC motherboards generally have more USB ports than real Macs. However the number 15 is hard-coded so going beyond is a potential risk.
My machine has way less ports, though...
 
Joined
Apr 3, 2017
Messages
9
Motherboard
B85MD3-PH
CPU
core I7 4790
Graphics
RX 580
Mac
iMac
Sorry for my ignorance but as I put this patch, what I have to do to work I'm new to this

Sorry
 

trs96

Moderator
Joined
Jul 31, 2012
Messages
13,186
Motherboard
GA-Z97X-UD3H-BK
CPU
i5-4690K
Graphics
HD4600 / RX 570
Mac
iMac, Mac mini
Mobile Phone
Android
Joined
Feb 12, 2019
Messages
31
Motherboard
Gigabyte GA-Z270X-UD5
CPU
i7-7700
Graphics
RX 580
Mac
Mac mini
Mobile Phone
iOS
how can i apply this on clover ?
 
Last edited by a moderator:
Joined
Sep 9, 2018
Messages
18
Motherboard
Gigabyte Z370 Gaming 5
CPU
i7-8700
Graphics
RX580
Mac
iMac
Mobile Phone
iOS
Hi. I have a Hackintosh whit Mojave 10.14. I never updated why everything worked.

Now, i have install a new copy of Mac OS Mojave 10.14.5 in SSD test. But the USB don't Work.
I suppose need this patch. How i use this Port limit removal patch?

Thx for help.

PS: My motherboard is Z370 AORUS Gaming 5.

EDIT: Ok, solved. I have insert the code in config.plist, modifying it with Brackets.
There is a way to enter the code with Clover configurator?
 
Last edited:
Joined
Aug 13, 2017
Messages
122
Motherboard
Z370P D3
CPU
i5-8400
Graphics
UHD 630 + MSI GTX 710 2GB
Mac
iMac
Mobile Phone
Android, iOS, Other
USB port limit patch for This Version (10.14.5)
(Credits DallanSky ydeng and PMHeart)

Code:
<dict>
                <key>Comment</key>
                <string>USB port limit patch #1 10.14.x modify by DalianSky(credit ydeng)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g/sPDw==
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.14.x</string>
                <key>Name</key>
                <string>com.apple.iokit.IOUSBHostFamily</string>
                <key>Replace</key>
                <data>
                g/s/Dw==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB port limit patch #2 10.14.x modify by DalianSky(credit PMHeart)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g+MP0w==
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.14.x</string>
                <key>Name</key>
                <string>com.apple.iokit.IOUSBHostFamily</string>
                <key>Replace</key>
                <data>
                g+M/0w==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB Port limit patch #3 10.14.x modify by DalianSky(credits PMheart)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g/sPDw==
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.14.x</string>
                <key>Name</key>
                <string>com.apple.driver.usb.AppleUSBXHCI</string>
                <key>Replace</key>
                <data>
                g/s/Dw==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB Port limit patch #4 10.14.x modify by DalianSky(credits PMheart)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g/8PDw==
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.14.x</string>
                <key>Name</key>
                <string>com.apple.driver.usb.AppleUSBXHCI</string>
                <key>Replace</key>
                <data>
                g/8/Dw==
                </data>
            </dict>
Thanks it works on my build too
Screenshot 2019-05-29 at 10.29.25.png
 
Top