« b2evolution Markdown Plugin v0.3 | Random Passwords with Special Characters in PasswordWallet » |
Upgrading unlocked, jailbroken 2G iPhone
system, copyright, hacks, open source, wtf?, chilling effects, DRMSheesh.
Upgrading the firmware in an unlocked, jailbroken iPhone is not easy and definitely nerve-racking.
Here's what I just had to do to upgrade from 2.2 to 2.2.1:
- Wrote down all the Cydia apps I had installed. (they're blasted out of existence each time you upgrade)
- Allowed iTunes to update my phone to 2.2.1. Also made a copy of the 2.2.1 ipsw (firmware file).
- Installed the backwards-downgrade of the USB kernel extensions for Mac OS 10.5.5 so that the iPhone's DFU mode (firmware update mode) isn't broken. Rebooted. (see "Fixing DFU Mode on 10.5.6" here)
- Used QuickPwn to do whatever it does to the firmware, etc. Also, used quickpwn to get the bastard into DFU mode.*
- Power it off and back on again.
- Then let iTunes restore from freakin' backup and re-sync. (takes a long time)
- Re-install all the Cydia apps, one-by-one, from the list made above.
- Restore the 10.5.6 USB kernel extensions and reboot so that you get 10.5.6 USB back. (Note: my MacBook Pro would not go to sleep with the old USB code; it would write its memory to disk for a few seconds and then immediately wake. Reinstalling the 10.5.6 USB code fixed that.)
- If you've purchased Snapture (a phone app), you'll probably have to download SBSettings from the iPhone and reset the user directory permissions on your phone (more here).
- You should change the passwords on the
root
andmobile
users from the defaults ofalpine
anddottie
. Recall thatpasswd mobile
will change the password for the usermobile
. You'll also have to update any stored SSH keys on machines your iphone interacts with. - If you've setup Cycorder to save videos to a directory in your Air Sharing directory tree (e.g., a la this post), you'll have to re-establish that symbolic link. (Tip: make sure the target directory exits and is chowned to
mobile:mobile
.)
* BTW, getting into DFU mode can be tricky for some dorky reason... seems that you have to do the following: 1) plug the iphone into your computer via USB, 2) turn the iphone off, 3) hold down the power and home keys on the iphone for exactly 10 seconds, 4) release the power key but continue to hold the home key for 10 more seconds. If you fuck this up, you'll just be in regular recovery mode and not DFU mode and you'll be in for a world of hurt. In that case, you'll probably want to QuickPwn again.
I suppose it's easy enough to try and just do the USB hub way... and as long as you have a backup of the phone, you should be in good shape to just do the USB downgrade if it doesn't work. The USB downgrade is a pretty quick and clean process (it simple overwrites some very specific files loaded at boot, and then overwrites them again).