$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
A few days ago I decided to update my iPhone which was still running iOS 4.3.1 to iOS 5.0.1. I delayed this update for a while because I had Jailbreaked my iPhone. Unfortunately an update is much more work when you have Jailbreaked because you also have to restore Cydia settings such as the repositories and Cydia installed Apps.
This blog post is not a guide on how to Jailbreak but more a collections of tips to go from a Jailbreak iOS 4.x to iOS 5.01.
If you notice any extra steps while doing your update please send them to me so I can add them to this post.
Backup
Before starting it would be probably be a good idea to create a backup of your device in iTunes. I would also advise to backup your SHSH signatures which you can do using TinyUmbrella. There are lots of guides on how to do this so I will not repeat that here.
Without saving your SHSH signatures you cannot restore to an older iOS version if anything goes wrong!
You may also want to have the IPSW for your current iOS version (preferably the IPSW that you used to do the Jailbreak last time, else you also need the Jailbreak tool for that iOS version).
I used xBackup to create a backup of my Cydia settings, including repositories and Apps that were installed through Cydia. xBackup costs $1.50 (about ?1,20) which I found a very reasonable price.
Update to IOS 5.01
Next step is the actual update to iOS 5.01, note that we do not need to hack the IPSW and restore it, so there’s no need to download the IPSW. Just use iTunes to update to iOS 5.01.
Warning: if you have unlocked your iPhone or are using a Gevey SIM you will probably want to preserve the baseband. In which you do need the IPSW and use the Extras option in Redsn0w. Thanks to Don Hellwich for pointing that out.
You may get a warning indicating there are purchased items on your device that have not yet been transferred to iTunes yet:
To resolve this go to your device, right click and select Transfer Purchases:
Wait until the Transferring Purchases has finished:
iTunes will warn you that the update to iOS 5.0.1 will delete all Apps, don’t worry they should be in your iTunes backup.
If you get a backup error, like the screenshot below, you probably have an entry in your hosts file (that was put there by TinyUmbrella) such as “127.0.0.1 gs.apple.com”:
The update may take a while.
Jailbreak
After the update has been finished, restore your iTunes backup after which you are ready to Jailbreak again. I did this using Redsn0w for Windows v0.9.10b3. This Jailbreak is Untethered, based on geohot’s limera1n exploit and was created by @pod2g.
Please do consider a donation to pod2g.
The Jailbreak is very easy, just launch Redsn0w, boot into DFU mode and follow the on screen instructions. I will not describe the actual Jailbreak process here.
Restore
When the Jailbreak has finished, open Cydia, then install and launch xBackup.
Go to the Restore Tab and click Download & Restore: | ![]() |
xBackup will first restore the reposiories. | ![]() |
And then re-install your packages: | ![]() |
The only application that was not reinstalled by xBackup (by design??) was Installous and it’s components. If you were using Installous previously you will need to reinstall this one manually.
Synchronize Apps with iTunes
Final step is to synchronize your Apps with iTunes to get all your Applications back. If you installed Installous in the previous step then you already have AppSync which is required to synchronize non signed applications with iTunes. If not then first install AppSync for iOS 5.0+.
Good luck!
4 Responses for "From Jailbreak to Jailbreak"
I got an error 21 when updating to IOS 5.0.1 via iTunes. This can easily be solved to boot the iPhone in DFU mode (Assisteance via Extra > Pwned DFU in redsn0w). After you reconnect your phone the iTunes will detect the phone and continue the update.
Hi Remko,
Nice guide, really helped me out, only trouble I ran into was the restore kept throwing up error 21 in a loop, leaving the phone in DFU mode or the Connect to iTunes prompt. Solution was to remove the hosts file entries for Apple related servers (mine was gs.apple.com).
Thanks!
Ross
[…] Jailbreak to Jailbreak part 2 Author: Remko 21 Jan In this post, which is a followup on my From JailBreak to Jailbreak post, I will describe the same procedure for A5 devices (iPhone 4S and iPad 2).A lot of the stuff […]
Thanks Ross, good to hear!
Leave a reply