A CLI tool to restore iOS devices on the version they're already on, inspired by the original Succession GUI Application, rewritten from the ground up in Swift.
You must have Theos for this, and if you're not on macOS, you must've installed the swift toolchain for theos before aswell. To generate a deb, run the following:
git clone https://github.com/Serena-io/SuccessorCLI cd SuccessorCLI make package
Due to this project using private frameworks, you must be compiling with a patched SDK rather than a normal one.
Open NewTerm2 or SSH Into your device (Preferrably SSH), then run the following command:
sudo successorcli [--restore/-r or --no-restore/-n]. You must use
--no-restore/-n Depending on whether or not you want to execute the restore. For example:
sudo successorcli --restore.
See below for options that can be used with SuccessorCLI
The follwing options can be used with SuccessorCLI:
-h, --helpPrints the help message then exits
-d, --debugPrints extra debug information which may be helpful
--mnt-point-path /PATH/TO/MOUNTSpecify the directory to where the attached RootfsDMG will be mounted to
--ipsw-path /PATH/TO/IPSWSpecify iPSW Which'll be used
--dmg-path /PATH/TO/ROOTFSDMGSpecify the rootfsDMG to use
--rsync-bin-path /PATH/TO/RSYNC/BINSpecify the Rsync executable to launch rsync restore with
--append-rsync-arg=RSYNC-ARG-TO-APPEND Specify an additional rsync argument to be passed in to rsync, for example:
--append-rsync-arg="--exclude=/some/directory" will pass in
--exclude=/some/directory to rsync
--dry-run Specifies that rsync should run with
--restore Do a full restore with rsync. Note that this WILL erase your device.
--no-restore/-ndepending on whether or not they want to execute the restore.
-mnt-point-pathis not used, then the default Mount Point is set to
The program does work right now, I've tested it multiple times on an iPhone 8 running iOS 14.5, Im just polishing up the project right now.
Note: this project is in beta, im not responsibile for whatever happens to you, your phone, and your cat. Use at your own discretion blah blah you know the bullshit.