Backup and Restore a Jailbroken iPhone

hotrod#AC

Well-known member
Jan 31, 2006
250
0
0
Visit site
I'm needing to take my iPhone into Apple due to a cracked case...so I need to remove the jailbrake and restore it to Apple only software,...I know how to do that....
What I need to know is how to backup my current jailbroken phone and then restore it or restore my settings to a new iPhone (depending on the outcome of the warranty)

Surely there is a way to back this up and restore it. I wish I could just mount this as a USB drive and copy and paste all the contents.

Can somebody help me? Thanks.
 

jamesus

TiPb Forum Staff
Jul 10, 2008
1,818
11
0
Visit site
Your best bet is to restore as new and start from scratch. I know that is a pain, but it will cause less problems in the long run.

There is a program on Cydia called "AptBackup" that will backup and restore your jailbreak apps. I have never tried it though.
 

hotrod#AC

Well-known member
Jan 31, 2006
250
0
0
Visit site
I realize, just like PC's things are always faster cleaner better with fresh installs, but sometimes I don't want to spend the time with fresh installs...I just want to restore.

I found this article...it makes sense...I think I will follow it unless anyone says the info won't work.

How To Upgrade In iTunes | Sleepers.net | iPhone News and Application Reviews | Application Development | Hosting Repository

How To Upgrade In iTunes
Upgrading in iTunes on a jailbroken device has become rather complicated in order to avoid problems. I have made a step-by-step guide to help in this process to help you understand the proper way to upgrade. For the purpose of this guide, I will use as an example upgrading from 2.0.2 to 2.1. However, the concepts apply to any upgrade.

First off, if you have never jailbroken, you don?t need to worry about this guide. Just hook your iPhone up to your computer and tap the ?upgrade? button and wait. That?s it! Now proceed to the jailbreak guide of your choice.

The complications come when you have a jailbroken device and you want to upgrade. Say you are running 2.0.2 and have a lot of Cydia apps installed. You want to upgrade but you don?t want to lose these apps. You may have a lot of customizations, icons hidden, and other things. If you upgrade, you will find your hidden icons are still hidden but the apps required to unhide them are not yet installed. Here are some steps to help:

First off, you never use ?upgrade? on a jailbroken device. If you do that, you automatically lose about 500mb of disk space and never recover it until you finally restore. If you upgrade from 2.0 to 2.0.1 using upgrade button, you lose 500mb. If you then upgrade from 2.0.1 to 2.0.2, you lose *another* 500mb. And this continues until you hit the restore button. The data loss is because Cydia moves your files around to free up space. The moved files become inaccessible but stay on your disk which means you essentially just lose the space. The more apps you had installed in Cydia, the more space you lose.

The solution to this is easy. Restore, do not upgrade. Here are the steps that you should take on a 2.0 device to upgrade without any loss or issues:
Step 0) Before starting, upgrade your iTunes first. If you are moving to 2.1, you need iTunes 8. Upgrade that now. You can get all iTunes versions for Windows here.

Step 1) Install aptbackup from cydia and run it to backup your apps. This will make a list of all your cydia installed apps and put the list in a location that can be backed up by iTunes in step 2.

Step 2) Sync with iTunes. Do the full backup. It may take you a while on 2.0 - 2.0.2 but you need this step. Go get dinner or coffee or watch a movie. Come back when it?s done. If you disabled backup in iTunes then you can still backup by right clicking on the device under ?Devices? on the left and selecting ?backup?. Do not get impatient and interrupt the backup. If you do, it will be corrupted and useless. You would lose everything on your restore.

Step 3) Restore your firmware. If you are upgrading to the latest version of firmware you can just let it download and restore. To do this, click ?restore? and wait. If you would rather download the firmware manually, you can get all firmwares here.

Step 4) At this point, if you are a contract subscriber (AT&T or such) you need to activate your device in iTunes. Just hook it up and wait, it should auto activate allowing you to slide to unlock to icons. If you are unlocking, you probably see ?slide for emergency? only. Do not do anything else in iTunes at this point. Disconnect your device from your computer. Do not restore your backup, do not set up as a new phone, just remove the device.

Step 5) Do not restore your backup in iTunes yet. Instead, jailbreak your device now. I suggest using quickpwn. You can follow my guide here.

Step 6) Using Cydia, install aptbackup. This is the most important part, do not skip any of it. The rest of this step will allow you to correct any problems you encounter in the next steps.
a) Install open SSH.
b) If you had 5 icon dock installed before the upgrade, install that now also.
c) Install BossPrefs

Step 7) Restore your backup from iTunes. Just hook back up to the computer and when asked, restore as a backup from whichever iPhone you had.

Step 8) iTunes will restore your settings, contacts, notes, pictures, and all your apps. Now to restore the rest of your Cydia installs. Open aptbackup and hit restore. It should reinstall all your packages from Cydia. If aptbackup is now hidden (missing icon) after your iTunes restore, load BossPrefs, go to hidden icons, and unhide it. You can also unhide any other hidden icons here.

Step 9) If you had a bunch of category folders and moved most things into it, the iTunes backup will have made these icons disappear. You can unhide them via BossPrefs.
For any help not listed here refer to my other post describing the issue in greater detail.
 
Last edited:

Jeremy

Retired Moderator
Mar 27, 2005
6,807
251
0
www.iMore.com
No matter what you do you will still run into some issue along the way, I don't care what any site out there says. Just the way it is. I'd take the time and start over... that's just me though.
 

Ghecko

Well-known member
Mar 11, 2009
201
6
0
Visit site
In my opinion no JB can be 100% Flawless you run into something rather during the process or after.
 

Jeremy

Retired Moderator
Mar 27, 2005
6,807
251
0
www.iMore.com
In my opinion no JB can be 100% Flawless you run into something rather during the process or after.

That depends on the person in my opinion. If you go crazy and install everything under the sun... expect issues. If you are smart about what you install - you'll be fine. I've always had a jailbroken phone up until 3.0 and never had issues. Ever... Same with my girlfriend who is on Tmobile with her phone. The only time I have to mess with her phone is when a update is available. I take my time and start from scratch. She never has issues.
 
  • Like
Reactions: Ghecko

Ghecko

Well-known member
Mar 11, 2009
201
6
0
Visit site
That depends on the person in my opinion. If you go crazy and install everything under the sun... expect issues. If you are smart about what you install - you'll be fine. I've always had a jailbroken phone up until 3.0 and never had issues. Ever... Same with my girlfriend who is on Tmobile with her phone. The only time I have to mess with her phone is when a update is available. I take my time and start from scratch. She never has issues.

Right Right, Well You know what your doing, i have not had any issues with my Edge, becuase i took my time JBing and being careful what i install. I dont JB my 3g it is the phone that i like to keep safe.
 

black_orchid

New member
Aug 15, 2009
1
0
0
Visit site
Where have you been?

I have searched the internet for four days looking for a simple, straight to the point explanation/guide on back up & restore a JB iPhone. Finlay!!! I am going to try this after I enable MMS on my 3G iPhone 3.0.1 FW version. Any helpful hints, or tips? Thank you so much in advance.
:)

:)

:)
:)
 

Skywalker

Well-known member
Feb 19, 2009
103
0
0
Visit site
I'm needing to take my iPhone into Apple due to a cracked case...so I need to remove the jailbrake and restore it to Apple only software,...I know how to do that....
What I need to know is how to backup my current jailbroken phone and then restore it or restore my settings to a new iPhone (depending on the outcome of the warranty)

Surely there is a way to back this up and restore it. I wish I could just mount this as a USB drive and copy and paste all the contents.

Can somebody help me? Thanks.

Hey HotRod,

I actually ran the same process you quoted. It did not go well as AptBackup did not work on 3.0. The sucky thing is you have to sync the new phone from a backup, which is not suggested. We all read that you can loose memory and performance jailbreaking from backup. I would start as new. I went as far as taking screen shots of my Cydia manager screen for reinstalling the same programs.

I backed up my pictures and Cycorder videos as well.
 

shutter

Well-known member
Jan 13, 2009
830
19
18
Visit site
1) Use Pkgbackup from cydia to save your cydia packages, then sync with iTunes (Pkgbackup backs up yur cydia packages list to a contact on your iPhone)
2) Use Chronus from cydia to back up app store (and stock) apps with user data then ssh the contents of /var/mobile/Library/Peferences/Timcapsule to your hard drive
3) Restore to 3.0.1 (set up as new)
4) Re-jailbreak with Redsn0w and the 3.0 ipsw
5) Sync with iTunes
6) Download Chronus and Pkgbackup and openSSH from cydia
7) SSH (or use iPhoneBrowser or Diskaid) the Chronus files you moved to your hard drive back to /var/mobile/Library/Peferences/Timcapsule and restore them with Chronus
8) Run Pkgbackup and restore your cydia packages
9) Reboot phone
10) Apply any other settings that were erased during the restore.

This process has taken my restore/re-jailbreak time from a few hours to around 1/2 to 1 hour and you are starting with a fresh restore of the iPhone OS.

I just copied and pasted this from a post I made elsewhere, between step 3 and 4...take it to apple ;)
 

dragonc12

Well-known member
Jun 27, 2009
156
2
0
Visit site
@ shutter - that info is awesome. was just thinking about how I was going to be able to save time with restore / re-jb'ing whenever they decide to release 3.1. this is going to save a lot of time.
 

Cawas

New member
Oct 14, 2009
1
0
0
Visit site
wish it would work

1) Use Pkgbackup from cydia to save your cydia packages, then sync with iTunes (Pkgbackup backs up yur cydia packages list to a contact on your iPhone)
2) Use Chronus from cydia to back up app store (and stock) apps with user data then ssh the contents of /var/mobile/Library/Peferences/Timcapsule to your hard drive
3) Restore to 3.0.1 (set up as new)
4) Re-jailbreak with Redsn0w and the 3.0 ipsw
5) Sync with iTunes
6) Download Chronus and Pkgbackup and openSSH from cydia
7) SSH (or use iPhoneBrowser or Diskaid) the Chronus files you moved to your hard drive back to /var/mobile/Library/Peferences/Timcapsule and restore them with Chronus
8) Run Pkgbackup and restore your cydia packages
9) Reboot phone
10) Apply any other settings that were erased during the restore.

This process has taken my restore/re-jailbreak time from a few hours to around 1/2 to 1 hour and you are starting with a fresh restore of the iPhone OS.

I just copied and pasted this from a post I made elsewhere, between step 3 and 4...take it to apple ;)

I'm stuck at steps 1 and 2. PkgBackup blacks out after first use and disappear after first sync or respring. Quite weird. And chronus doesn't seem to even be installable on iPhone OS 3.1 (7C144) and FW 05.11.07

I just wish to know if anyone is successful at using any of those apps on 3.1
 

shutter

Well-known member
Jan 13, 2009
830
19
18
Visit site
AptBack up requires you to restore from back up. PkgBackUp saves the list as a contact. So you can restore as a new phone, resync your contacts and then restore with pkgbackup. You can experience some problems when restoring from a backup and jailbreaking.
 

ny888

Well-known member
Oct 17, 2009
49
1
0
Visit site
By doing these steps - what happens to Categories and its folders when you restore with Pkgbackup? Is it back to the way it was or will I have to manually recreate the folders and move the apps?
 

mwg3c

Well-known member
Dec 16, 2008
104
0
0
Visit site
1) Use Pkgbackup from cydia to save your cydia packages, then sync with iTunes (Pkgbackup backs up yur cydia packages list to a contact on your iPhone)
2) Use Chronus from cydia to back up app store (and stock) apps with user data then ssh the contents of /var/mobile/Library/Peferences/Timcapsule to your hard drive
3) Restore to 3.0.1 (set up as new)
4) Re-jailbreak with Redsn0w and the 3.0 ipsw
5) Sync with iTunes
6) Download Chronus and Pkgbackup and openSSH from cydia
7) SSH (or use iPhoneBrowser or Diskaid) the Chronus files you moved to your hard drive back to /var/mobile/Library/Peferences/Timcapsule and restore them with Chronus
8) Run Pkgbackup and restore your cydia packages
9) Reboot phone
10) Apply any other settings that were erased during the restore.

This process has taken my restore/re-jailbreak time from a few hours to around 1/2 to 1 hour and you are starting with a fresh restore of the iPhone OS.

I just copied and pasted this from a post I made elsewhere, between step 3 and 4...take it to apple ;)


Has anyone gone thru these steps lately? I'm wondering if these 10 steps are the way to go......
 

bradtait

Member
Sep 8, 2011
13
0
0
Visit site
You can jailbreak your iPhone device easily with the help of third party unlock iPhone software. It unlock's your iPhone and allow you to enjoy the whole function of this great entertaining device with any of the service provider which best matches your needs.