Skip to content

Command Line Interface

raspberryenvoie edited this page May 18, 2021 · 3 revisions

Configure a few options

Run sudo /home/pi/piRa1n/piRa1n -c to configure the following options.

Auto recovery mode (Broken on iOS 14.5 and up)Puts the iDevice in recovery mode as soon as it's connected to the Pi.
Auto shutdown Shut downs the Pi after each Jailbreak.
Safe mode Boots the iDevice without loading tweaks in order to remove the problematic one.
Verbose bootLets you see a bunch of text detailing what happens during the boot process.

Shut down the Pi

Run sudo /home/pi/piRa1n/piRa1n -s

Install odysseyra1n

What's odysseyra1n? Odysseyra1n lets you install on a checkra1ned device: - libhooker, a substrate/substitute alternative built from the ground up by Coolstar with speed and stability in mind, - Procursus, an open source and modern bootstrap that aims to provide a large set of consistently up-to-date tools and - Sileo instead of aging Cydia.
  1. Restore rootfs
  2. Jailbreak using checkra1n but don't install Cydia (If "Auto shutdown" is enabled, you will need to unplug and replug the Pi to turn it back on.)
  3. Unplug your iDevice and unlock.
  4. Run sudo /home/pi/piRa1n/piRa1n -o
  5. Replug your iDevice
  6. Once Sileo is installed, open it, do all the updates and install the libhooker package
  7. Re-jailbreak
  8. Don't forget to change the default root and mobile passwords of your iDevice

The piRa1n service has been stopped, type sudo /home/pi/piRa1n/piRa1n -S to start it, otherwise you won't be able to jailbreak without rebooting your Pi.

Note: You don’t have to reinstall odysseyra1n after each reboot, just re-jailbreak using checkra1n.

Enter recovery mode

Useful for A11 chips that don't really like the auto recovery mode setting.
Run sudo /home/pi/piRa1n/piRa1n -r

Exit recovery mode

This is useful if you iDevice is stuck in recovery mode.
Run sudo /home/pi/piRa1n/piRa1n -e

View the log

  • Jailbreak log: sudo /home/pi/piRa1n/piRa1n --jailbreak-log
  • Update log: sudo /home/pi/piRa1n/piRa1n --update-log