[G1 General] nicksen782:
Nandroid Restore

UPDATE: XDA member

Cyanogen

has put together a new recovery image that has a Nandroid restore mode built right in. :) This allows Nandroid to be totally selfcontained on the device. My (and Markazah) program still is good for easy restores if you keep multiple backups because Cyanogen's only restores the latest backup (within the Recovery image GUI anyway.)

Here is a link to his "Pimped out recovery image with new features"

http://xdaforums.com/showthread.php?t=523558

Awsome Cyanogen!

Nandroid, created through the efforts of Infernix and Brainaid, is a great tool for backing up your phone. The NANDROID backup process itself is easy to use; however, some folks are not so sure about how to restore these backups back to their phone.

Solution: Nandroid Restore and Nandroid Restore GUI

What it does:

Automates

the FASTBOOT portion of the restore.

Nandroid Restore will use FASTBOOT to wipe and then restore the boot, system, userdata and recovery partitions from your phone.

When these tasks are completed, the script then reboots your phone.

What you should expect:

You should end up with a clean restore and all of your data just as you had it when you made your NANDROID backup. EASY!

Directions:

Get your phone into the Secondary Boot Loader (SPL):

Plug your phone into your computer with the USB cable

Take your NANDROID backup off of your SD card and place it in a directory on your PC with a copy of both fastboot.exe and AdbWinApi.dll.

Enter the Secondary Boot Loader (SPL) of your phone by powering down your phone and then powering it back up while holding both the <END> button and the <CAMERA> button.

Restore using NANDrest.bat from the command line:

On your PC, drop to a command prompt and navigate to the directory that you placed your NANDROID backup and fastboot.exe files.

Execute the program "nandrest.bat".

(It is also possible to simpily run this script from the folder without using the command prompt. We all have our preferences after all.)

Restore using Nandroid Restore GUI:

(GUI written courtesy of XDA user Markazeh)

Make sure that the 4 Nandroid Restore GUI files are in the same folder as your NANDROID backups.

The GUI will make sure that all required files (the *.img files and Nandrest scripts.)

(See the included pictures)

Reference knowledge:

NANDROID is included with JesusFreke's testkeys modded recovery image. If you have a JF ROM then you probably already have this recovery image and NANDROID.

You must have the Engineering SPL or HardSPL to use FASTBOOT.

Fastboot.exe and AdbWinApi.dll are found in the "tools" folder of the SDK files.

FASTBOOT requires drivers to be loaded into your Windows Operating System. These drivers are in "usb_driver" folder of the SDK files.

Conclusion:

Sure, it's pretty simple and I use it to save time and automate the repair of my latest screw-up and now you can too! :)

Thank you to Infernix, Brainaid, JesusFreke, Haykuro, TheDudeOfLife, Google and all others that have given their skills and time to the Android community (and subsequently introduced the necessity for NANDROID. ;) )

And thank you to XDA member

Markazeh

for providing the GUI for Nandrest.bat.

NANDROID post:

http://xdaforums.com/showthread.php?t=459830

Secondary Boot Loader (SPL) post:

http://xdaforums.com/showthread.php?t=455860