Monday, February 18, 2013

Backup installed Cydia Apps, Tweaks - via SSH

[ORIGINAL] Solution for How to Backup installed Cydia Apps, Tweaks [Difficult] :
I think that this method is very difficult it needs users that are familiar with SSH and terminal commands, you can make a backup list using dpkg. To make a backup list of your installed sources and packages:
  1. Go into Cydia and install the APT 0.6 Transitional OR APT 0.7 HTTPS package.
  2. Pull the/private/etc/apt/sources.list.d/cydia.list file, which contains your custom sources.
  3. SSH in to your device and run the following command: dpkg --get-selections > cydia-apps  [dpkg][space][-][-][get][-][selections][space][>][space][>][cydia-apps] This will create a file called cydia-apps in your root folder /private/var/root/(and you can then download this file to save your installed apps).
To restore your backup list of sources and packages:
  1. Restore to your desired version, jailbreak, open Cydia, and install OpenSSH and APT 0.6 Transitional
  2. SSH into your phone.
  3. Copy the cydia.list file you saved in step 2 to /private/etc/apt/sources.list.d/ and copy the cydia-apps file to /private/var/root
  4. Next you need to run these commands from the ssh terminal:
apt-get update
dpkg –-set-selections < cydia-apps
apt-get dselect-upgrade
And when prompted Do you want to continue [Y/n], hit Y.

[source]


[MODIFIED VERSION]

Backup:
  1. Follow step 1 & 2.
  2. Use i-FunBox to SSH your device [Quick Toolbox tab] and follow step 3. 
Restore:
  1.  Follow all steps in the original solution above.

No comments: