Introduction
A new executable is provided to facilitate requests to installd:
appstash -a /path/to/Example.app: Requests thatinstalldattempt to install (move) an app at the specified path to the user partition.appstash -l: Lists currently stashed application bundle identifiers.appstash -r com.apple.example: Requests thatinstallduninstall the app from the user partition and restores the app to its original location.
A few scripts have been provided as well:
stash-all-applications: Like the name implies, stashes every app in/Applicationsto the user partitionunstash-all-applications: Unstashes each currently-stashed app to its original location.
A few caveats arise with this method of stashing:
- Some applications cannot be stashed and must remain in
/Applications. This isn't really too much of a problem since they total about 40 or 50 MiB. - Some restrictions apply to containerized applications that could inhibit functionality within system apps or cause them to crash. This hasn't been a problem for me (so far) except in the case below.
Issues
How to use
- Expect that you will lose all data on your device: backup your device with iTunes. If using /u/coolstarorg's stashing method, you will have to restore.
- Install OpenSSH on your device and change your root/mobile passwords.
- (Optional) Install AFC2 to allow filesystem access over USB (this might be important to recover data in the event of catastrophic failure.)
- Install this repository (click to open Cydia) and search for the
appstashpackage. - SSH into your phone and run
appstash -afor each app you want to stash. Currently I recommend avoidingstash-all-applicationsdue to issues described above. - If using the standalone
appstashcommand, runuicache; sync; killall -9 SpringBoardto populate your home screen with the updated app locations. - If you're able to open most of your system apps, you should be able to reboot. Otherwise you should run
unstash-all-applicationsto reverse.
Other Information
- System applications will now be uninstallable from the home screen.
- You will probably get system applications in your iTunes backups that should refuse to install on a non-jailbroken device (not tested).
- Source code available here.
by /u/clayfreeman - Link to original post
No comments:
Post a Comment