Giter Site home page Giter Site logo

nick-botticelli / usbpatchd Goto Github PK

View Code? Open in Web Editor NEW
46.0 6.0 16.0 4.58 MB

Patch iOS USB restriction for SSH over USB on the lock screen on checkm8-compatible devices

License: GNU General Public License v3.0

Shell 100.00%
checkm8 checkra1n ios jailbreak

usbpatchd's Introduction

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

  • You will have to run some manual commands. This shouldn't be too difficult. I will try to improve this to let snappy run automatically in the future.
  • This is a work in progress. Pull requests are encouraged.
  • As this is a work in progress, stability should not be expected. This script has been a little buggy, but the implementation itself is one I created for my own personal use and have found it to work perfectly to suit my needs (i.e. tested on A10 iOS 13 via macOS 12).

TODO

  • Fix renaming snapshots automatically
  • Check for gzip on SSH ramdisk
  • Provide ramdisk building capabilities (submodule?)
  • Determine whether .bootstrapped file should be added

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.