|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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://forum.xda-developers.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:
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://forum.xda-developers.com/showthread.php?t=459830 Secondary Boot Loader (SPL) post: http://forum.xda-developers.com/showthread.php?t=455860
__________________
Black G1 8 gig Class 6 SD Last edited by nicksen782; 4th July 2009 at 06:10 AM.. |
| Sponsored Links |
|
#2
|
|||
|
|||
|
will try this, thanks.
![]() |
|
#3
|
||||
|
||||
|
Thank you for this.
__________________
Black HTC DREAM / Super-D 1.8 / Thank you : JF, Stericson, Cyanogen |
|
#4
|
|||
|
|||
|
where is nandrest.bat?
__________________
T-Mobile G1 ROM: JF 1.51 US -Apps2SD via Lucid Radio Version: 2.22.19.26I |
|
#5
|
|||
|
|||
|
@Sandshrimp: The nandrest.bat file is inside of the nandrest.zip file. You must first unzip nandrest.zip before you will be able to access nandrest.bat.
How is this script working for the rest of you?
__________________
Black G1 8 gig Class 6 SD |
|
#6
|
||||
|
||||
|
Hey nicksen,
i was bored this evening, so i decided to write a little GUI for your Script... How it works: - First off, i deleted the ":AREYOUSURE" part in your script, cause a security check is in the GUI. - When you start the GUI, it checks if no file is missing and shows missing files graphically. - You can only press the "Flash" Button, when every file is in the folder... I renamed the "nandrest.bat" to "nandrest", that no one can accindently flash the phone by clicking the nandrest.bat. When you click "Flash" the Programm renames the script to "nandrest.bat", that Windows can open it and after your Script has finished it renames it back to "nandrest". Hope you like it! Greetings Markazeh Last edited by Markazeh; 9th May 2009 at 01:21 PM.. |
|
#7
|
||||
|
||||
|
Quote:
Markazeh: Thanks even more for making a user friendly GUI for it! This is amazing work, I love this community for this sort of collaborations. I'll send people this way for easy restore.
__________________
Professional Graphic/Web Designer |
|
#8
|
|||
|
|||
|
@Markazeh -
Thanks! I like the GUI! This is technically my first contribution so I'm pretty tickled that it has been useful so soon. May I suggest that your GUI also check for the presence of AdbWinApi.dll and Fastboot.exe? Oh, and maybe throw my name on your GUI for the script portion? I can rewrite the first post of this thread to include the new GUI. THANKS!
__________________
Black G1 8 gig Class 6 SD Last edited by nicksen782; 9th May 2009 at 02:21 AM.. |
|
#9
|
||||
|
||||
|
Yeh, I'm gonna put your name also on the GUI.
I CAN check for the other files, but some people have these files in the win dir.... I have to think about that.... I'll upload the GUI with your name in it in a few hours ![]() May you can give a suggestion on how to handle the problem with the files.... Greets Last edited by Markazeh; 10th May 2009 at 10:51 PM.. |
|
#10
|
||||
|
||||
|
This works great, thanks guys! Nice job!
|
![]() |
| Tags |
| nandroid, restore |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|