Changelog:
- Fix system freeze when jailbreakd crashes or restarts
- Make systemwide hook more leightweight (thanks to @Cryptiiiic)
- Fix bootstrapping error when
/var/jb
is a symlink that points nowhere
Notes (IMPORTANT):
- Final jailbreak will have a different name
- Update debianutils before updating dash
- Use Ellekit deb here for now for tweak injection (repo soon)
- Userspace reboots are not supported
- You need to manually restart processes that you want stuff to inject to after jailbreaking
- Some stuff might not work correctly, don't expect stability, we can't currently estimate this until userspace rebooting is implemented and the whole system is hooked
- On 15.0 - 15.3.1, you need to disable wifi while jailbreaking
- Default password for
root
:alpine
(you need to install openssh from package manager) - God knows what else
Rootless Notes:
- No existing non rootless package will work
- Repos and package maintainers have to add support for rootless https://theapplewiki.com/wiki/Rootless
- Barely any packages currently available
For Tweak Developers:
- Update theos to latest, then you can build for rootless via
THEOS_PACKAGE_SCHEME=rootless
- Store/load preferences either via cfprefsd APIs or inside
/var/jb/var/mobile/Library/Preferences
(there will be a cfprefsd hook in the final jb to redirect all non stock stuff to that path) - You need to compile everything for rootless
- All dependencies have to be compiled for rootless and stored in
$THEOS/lib/iphone/rootless
- You need to put every former root path you access through the macros defined in rootless.h
- You need to compile with Xcode 12 or newer, otherwise your dylib will crash the process (if you don't want to loose iOS 12 / 13 arm64e support, you still need to compile your rootful packages with Xcode 11)
- No rocketbootstrap / IPC (yet? ever? who knows?)
Personal note: My dependency packages will not be available to end users until BigBoss supports rootless.
Credits:
@evelyneee: Ellekit
@Cryptiiiic: Various contributions
@TheRealClarity: Various contributions
@dhinakg: Various contributions
@LinusHenze: Original Fugu15 project, various contributions
@ProcursusTeam: Bootstrap
@kirb: Zebra
@elihwyma: Sileo