First, take inventory of the app's you have installed through Cydia. There are at least three good ways to do this. The first way is to ssh into your iPhone and run dpkg:
Another way is to take inventory is make a list of app icons on the SpringBoard. Here's my list:kasper@fred ~
$ ssh email@example.com dpkg -l > iphone-dpkg-l.txt
kasper@fred ~$ head iphone-dpkg-l.txt
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
ii adv-cmds 118-7 finger, fingerd, last, lsvfs, md, ps
ii apt 0.6.46.4-0.1-26 advanced packaging tool from Debian
ii base 1-9 underlying system directory structure
ii bash 3.2-14 the best shell ever, written by Brian Fox
ii be.kam.mybattery 1.1 Detailed info on the iPhone Battery and Blue
- Google Reader (Safari bookmark)
- WUnderground (Safari bookmark)
- Todoist (Safari bookmark)
- TTR (Tap Tap Revenge)
Next, I made a backup of my contacts. It's easy to configure iTunes to sync contacts with Google Contacts. In iTunes, on your device's Info tab, in the Contacts section, check Sync contacts with and select Google Contacts. A window appears, asking you to agree to Apple's terms. Then iTunes asks for your GMail username and password. Type your full GMail email address, and click through. Your iPhone begins syncing. One or two more windows appears, asking whether you're sure you want to do this; tell iTunes it's OK. Wait a few minutes. When it's done syncing, check your Google Contacts. My Google Contacts contained all my iPhone contacts, including many duplicates. This might be an iPhone/iTunes/Google Contacts sync bug, or it might be an artifact from my initial sync from GooSync through Funambol. Delete duplicates in Google Calendar, and you're all set.
Backing up your notes is easier: send each one to yourself via email.
In iTunes, on your device's Summary tab, in the Version section, click Update. I previously let iTunes download firmware 2.1, but I didn't install it. iTunes attempts to make its own backup of your contacts, calendar, and so on, but then complains that it can't--this is a consequence of your having previously jailbreaked the iPhone. Wait a few minutes while iTunes installs firmware 2.1. iTunes reports that it's done, and the phone reboots. iTunes notices the iPhone and reports that an incompatible SIM is installed.
Jailbreak and unlock
Download QuickPwn 2.1-1 and the two bootloader files from iPhone Hacks. Install and run QuickPwn. If QuickPwn complains that it doesn't notice a connected iPhone, press the phone's Home button to wake it up. The iTunes window disappears. In QuickPwn, on the Browse for firmware screen, find your firmware and click the arrow to continue. On the Select settings screen, select everything and click the arrow to continue. On the Bootloaders required screen, fill in the blanks and click the arrow to continue. On the Preparing to Pwn screen, make sure your iPhone is connected by USB and click the arrow to continue.
On the Ready to Pwn screen, pay attention! Follow QuickPwn's instructions carefully. On my first pass through the instructions, I was careless, and QuickPwn made me try again. On my second try, I didn't get the timing quite right, but it worked anyway. The Downloading Jailbreak Data... screen appears on your iPhone, and the phone eventually reboots with Pwnapple logo. Follow the final bootloader instructions on iPhone screen--basically, don't touch the iPhone until it's done. The phone eventually reboots again with Pwnapple logo. The mobile carrier's name on my phone is T-Mobile. Looks like it worked.
Clean, configure, restore
One annoyance of running the iPhone on T-Mobile is that every time you boot the phone, the voicemail red dot indicator is on. Call your voicemail box, and the the red dot disappears.
Next, enable your data connections. Connect to your WiFi network the usual way, by selecting your access point's name and entering the password. Connect to T-Mobile's EDGE network by specifying wap.voicestream.com as your APN, and leave Username and Password empty.
Run iTunes. Tell iTunes that it's a new iPhone. Tell iTunes to sinc your contacts with Google Contacts again, to sync your calendars with none, and to sync your bookmarks with Safari. Agree to use Google Contacts again, and sync begins. When it's done, notice that all your contacts have been reinstalled on your phone. Also notice that none of your old Safari bookmarks are there. That's annoying, but you'll live.
Back in iTunes, change whatever other sync settings you want, like music, photos, and podcasts. Wait while it syncs, and be happy with the result.
Run Cydia. Cydia asks me what kind of person you are; I say Hacker. Tell Cydia it's OK to upgrade essentials. Cydia upgrades and restarts itself. Then Cydia tells you there's something else to upgrade; let him do it. On the Cydia home page, tap User Guides, read the OpenSSH Access How-To, scroll down, and follow the instructions to change your passwords for the root and mobile users.
Restore ringtones the usual way.
Install new app's from Cydia, Installer, and App Store. Here are some of my current favorites:
- FS5 Hockey
- Spore LE