nick-botticelli / usbpatchd

Patch iOS USB restriction for SSH over USB on the lock screen on checkm8-compatible devices
GNU General Public License v3.0
55 stars 16 forks source link
checkm8 checkra1n ios jailbreak

usbpatchd

Patch the USB restriction on iOS, which blocks USB accessories from accessing the device. This can be used to provide SSH over USB (courtesy of dropbear) from a locked iOS device.

This is a free alternative to "minaUSB patcher" that is not as buggy or malicious—there have been numerous reports of "minaUSB patcher" deleting and hiding files it has no right to.

Most files in this repository have been aligned similar to the checkra1n bootstrap (/binpack); as such, the GPLv3 license applies as labelled in the License section to only the files that I have written (and therefore claim copyright on).

Using

  1. Boot into an SSH ramdisk capable of SSH and mounting the System volume
    • A ramdisk capable of such can be created through a free public tool created by u/meowcat454 which can be found here (instructions may not be provided, but it should be simple enough).
  2. Run install-usbpatchd.sh from Terminal and follow any instructions.

Notes

TODO

License

install-usbpatchd.sh, root/Library/LaunchDaemons/com.apple.usbpatchd.plist, and root/usr/libexec/usbpatchd.sh are my copyright and are licensed with the GNU General Public License Version 3