Sep 01 2009
Nandroid backups / restores
As mentioned in the rooting post, backing up your phone in it’s entirety is one of the best reasons for rooting.
With the new recovery that is installed, you now have the option of performing a Nandroid backup. This is a complete backup of everything in your phone’s ROM, and it is ALWAYS recommended to take a nandroid backup before applying a new rom or theme.
To get into recovery and perform a backup:
- Turn off your phone
- Hold down the “Home” key, then press power. Do not release “Home” until the recovery menu comes up.
- Scroll down to “Perform Nandroid Backup”
The backup will begin, and takes about 2-3 minutes. Once complete, you will have a nandroid folder on your sdcard. It is stored by your phone’s serial, then by date taken. Inside are several files that I will describe in a moment.
You may have noticed the menu option for restore most recent backup. This will look for that folder, and re-flash the backup to the phone. I suggest only using this if you have flashed a ROM that is broken in some way.
At this point, if you just wanted to backup the phone, you can just reboot with “Home + Back” at the same time.
Looking at the nandroid folder, inside the backup just taken, you will see a list of files:
- boot.img – The kernel and base code for the OS
- data.img – Your user data. This includes applications installed from the Market, and their preferences.
- splash1.img – The picture displayed when you first turn on the phone. Default is the G1 logo.
- system.img – This is the OS itself, where the framework and all your basic applications reside.
- cache.img – This is there T-Mobile downloads your OTA updates to usually. Commonly left blank otherwise
- misc.img – Misc data
- recovery.img – The recovery partition, used for flashing other ROMs etc.
- splash2.img – Another location for storing the G1 boot logo. Usually unused.
- nandroid.md5 – Hashes of the files dumped, to help ensure they are not corrupt after a transfer.
I typically recommend restoring via the recovery menu. This is much easier overall, and just requires that you have the backups in the right place on your SD card. If you need a more advanced recovery, I recommend looking up details on Fastboot (your phone now supports this!).
Note that since you are restoring a backup, ALL data on the phone will be restored back to the point in time the backup was taken! Gmail and such should be synced first. Any new apps you installed (or upgraded) since the backup will need to be redone. The only exception is the contents of your SD card.




