iPhone Blog dedicated to Apple iPhone Moding….
28 Aug
Another examples how to quickly restore all Cydia applications after a full iPhone firmware upgrade or a restore. A few preparational steps and you could save a lot of time later on.Guide taken from twiphone.com.
Guide after the jump.
Create and backup a list of all your Cydia installed packages:
(1) Login via SSH into your iPhone (check old posts to know how to do that)
(2) Create a list of all your via Cydia installed packages by using this command:
dpkg -l | grep ^ii | awk '{print $2}' > /private/var/mobile/Media/installed.txt
(3) Copy the file “installed.txt” to your computer using SFTP or e.g. DiskAid.
Thats it. Now you can safely resotre or upgrade you phone. Make sure, Cydia is installed by using QuckPwn or PwnageTool.
Re-install all packages:
(1) Make sure you install OpenSSH with Cydia. Open Cydia, search for the OpenSSH package and install it. Then install all Repositories you had installed before: Open Cydia, go to “Sections” and open up “Repositories” and choose all you used before. Otherwise Cydia will not find all packages to restore.
(2) Copy the file “installed.txt” back to your device using using SFTP or DiskAid.
(3) Login into your iPhone using root:
ssh -l root (IP-number of your iPhone)
(4) This was edited and updated, so only new packages will be installed. Enter:
dpkg -l | grep ^ii | awk '{print $2}' > /private/var/mobile/Media/installed-new.txt
then
diff /private/var/mobile/Media/installed-new.txt /private/var/mobile/Media/installed.txt | grep ^\> | awk '{print $2}' > /private/var/mobile/Media/installed-todo.txt
then
apt-get install `cat /private/var/mobile/Media/installed-todo.txt`
(5) You will not see all installed applications, because the iPhone did not re-spring. So the easiest solution would be a “reboot” –> reboot now!
2 Responses for "How to re-install all your Cydia packages in one run (after an upgrade or restore)"
thats it, brother
Theres an easier way to do this. Use pkg backup in cydia or apt backup, also in cydia. The way you described also works. But for Noobs, they wont understand any of this. lol.
Leave a reply