Giter VIP home page Giter VIP logo

ssh_ramdisk_creator's Introduction

SSH Ramdisk Creator

Create iPhone/iPad OS SSH Ramdisks easily.
Based from verygenericname's SSHRD_Script.


Prerequisites

  1. A computer running macOS/linux
  2. Python 3.x

Python Modules

  1. autodecrypt
  2. argsparse
  3. requests

Cloning

  1. Clone and cd into this repository: git clone https://github.com/Bonkeyzz/SSH_Ramdisk_Creator --recursive && cd SSH_Ramdisk_Creator. If you have cloned this before, run cd SSH_Ramdisk_Creator && git pull to pull new changes
  2. After being in the repo directory, do pip install -r requirements.txt

Usage

usage: create_ssh_ramdisk.py [-h] --decrypt-mode DECRYPT_MODE --cpid CPID --model MODEL --product_type PRODUCT_TYPE --ios IOS [--boot-args BOOT_ARGS]

SSHRD Ramdisk creation tool.

options:
  -h, --help            show this help message and exit
  --decrypt-mode DECRYPT_MODE, -d DECRYPT_MODE
                        '0' is decryption using keys fetched online, '1' is decryption with Gaster
  --cpid CPID, -c CPID  CPID of device (example 0x8000)
  --model MODEL, -m MODEL
                        Model of device (example n71ap)
  --product_type PRODUCT_TYPE, -pt PRODUCT_TYPE
                        Product type of device (example iPhone8,1)
  --ios IOS, -i IOS     iOS version for the ramdisk (example 15.7)
  --boot-args BOOT_ARGS, -ba BOOT_ARGS
                        iOS arguments to execute during boot. Default: "rd=md0 debug=0x2014e -v wdt=-1"

Example:

# This will create a ramdisk for iPhone8,2 (iPhone 6s+), Board 1 (BoardConfig: n66ap, CPID: 0x8000)
# With iOS version 15.7. Keys will be fetched online.
./create_ssh_ramdisk.py -d 0 -c 0x8000 -m n66ap -pt iPhone8,2 -i 15.7

Ramdisks will be located in final_ramdisk once the program finishes.
NOTE: iOS 16.x is not supported yet and iOS versions below 15 are indefinitely unsupported. I will not be able to help with any errors occuring when trying to create a ramdisk for this version.

Donate

Feel free to donate if you wanna support my work!

Credits

  • verygenericname for the shell script (original version)
  • tihmstar for pzb/original iBoot64Patcher/img4tool
  • xerub for img4lib and restored_external in the ramdisk
  • Cryptic for iBoot64Patcher fork
  • Nebula for a bunch of QOL fixes to this script

ssh_ramdisk_creator's People

Contributors

verygenericname avatar bonkeyzz avatar nathanhearn avatar itsnebulalol avatar hydrationman avatar bthedorff avatar

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.