Contribute
Register

Mojave 10.14.5 Port Limit Removal Patch

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:
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?
 
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!
 
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...
 
Sorry for my ignorance but as I put this patch, what I have to do to work I'm new to this

Sorry
 
how can i apply this on clover ?
 
Last edited by a moderator:
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:
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
 
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?
First backup your existing config.plist somewhere. Then mount the EFI and edit config.plist with Clover configurator as in my screenshot above!
 
Back
Top