• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Has anyone restored a nandroid backup?

I just wondered if anyone had done a successful restore

Yup, dozens.

how it went and what you see on screen.
A piece of cake every time.

Once you've selected "restore latest backup" you'll see the prompt

"-- Restore latest backup
-- Press HOME to confirm, or
-- any other key to abort."

If you press HOME it tells you it's performing the restore and shows a progress bar. Once it completes you get confirmation and are returned to the recovery menu.

Was this what you wanted to know?
 
Upvote 0
Yup, dozens.

A piece of cake every time.

Once you've selected "restore latest backup" you'll see the prompt

"-- Restore latest backup
-- Press HOME to confirm, or
-- any other key to abort."

If you press HOME it tells you it's performing the restore and shows a progress bar. Once it completes you get confirmation and are returned to the recovery menu.

Was this what you wanted to know?

Yep - sorry if it seemed obvious but I haven't done one yet (or needed to) and just wondered how straightforward a restore was. Thanks.
 
Upvote 0
Is it possible to make a partial restore? My Hero has been locked by entering wrong unlocking movement order (the one where you have to connect dots) and now it's asking for a username and password, but won't accept them. I've done nandroid backup, but after restore I see the same locking screen. Also the phone isn't recognized by USB anymore.
Is there any possibility to restore installed apps, contacts and sms from nandroid?
Thanks!
 
Upvote 0
Can you guys elaborate a little bit more on the Nandroid backup? Specifically, if I wanted to test the Modaco ROM or some other aftermarket ROM, would it be as easy as backing up with Nandroid, wiping and installing, and if anything - restoring from backup?

I.e. what wouldn't be saved? And is it possible at all to do what I'm describing (saving Sense, custom apps, all settings, email, sync, etc)?
 
Upvote 0
Hi Penny!

Dunno what's wrong, but I can (hopefully) tell you how to sort it.... you'll need the adb.exe program file which, if you didn't already d/l it along with your recovery image, can be found within this package.

Extract the files from the above to a folder on your PC. I'll use c:\adb as an example.
Reboot your handset into the recovery screen as before (POWER+HOME)
Connect the handset to PC with the USB cable
Open a command prompt window (Start-All Programs-Accessories-Command Prompt)
Type cd/ and hit <enter>
Enter cd adb
Now enter adb devices and it should show "000000000000 recovery"
If so, enter adb shell and you should see the prompt change to #. You're now running as su (root)!
Enter nandroid-mobile.sh --restore. You'll see instructions about "Using G1 keyboard..." disregard and hit <enter>.
After a brief search, the default (most recent) backup found will be displayed along with any others located. If the default choice isn't the one you want to restore, you'll have to enter the full path to the correct one as displayed in the list. You can use the Edit...Mark... function from the command prompt window menu to simplify this, though. Put the cursor at the beginning of the required line, hold <shift> and highlight the test using the arrow keys. <Enter> copies to the clipboard, and Edit... Paste... places it wherever the cursor is placed.
Once you have the correct backup referenced, hit <enter> and you should see the script work its magic.
When Restore done is displayed you can reboot the handset from the recovery menu.

Hope this is clear. If not I'll try to explain a bit better. ;)
 
Upvote 0
Is it possible to make a partial restore? My Hero has been locked by entering wrong unlocking movement order (the one where you have to connect dots) and now it's asking for a username and password, but won't accept them. I've done nandroid backup, but after restore I see the same locking screen. Also the phone isn't recognized by USB anymore.
Is there any possibility to restore installed apps, contacts and sms from nandroid?
Thanks!

the username and password is your google account

enter your email address as your username

and the password you would use to access your google mail

also it doesnt reconise jimbo@gmail.com
you need to put jimbo@googlemail.com for it to reconise it
 
Upvote 0
Hi Penny!

Dunno what's wrong, but I can (hopefully) tell you how to sort it.... you'll need the adb.exe program file which, if you didn't already d/l it along with your recovery image, can be found within this package.

Extract the files from the above to a folder on your PC. I'll use c:\adb as an example.
Reboot your handset into the recovery screen as before (POWER+HOME)
Connect the handset to PC with the USB cable
Open a command prompt window (Start-All Programs-Accessories-Command Prompt)
Type cd/ and hit <enter>
Enter cd adb
Now enter adb devices and it should show "000000000000 recovery"
If so, enter adb shell and you should see the prompt change to #. You're now running as su (root)!
Enter nandroid-mobile.sh --restore. You'll see instructions about "Using G1 keyboard..." disregard and hit <enter>.
After a brief search, the default (most recent) backup found will be displayed along with any others located. If the default choice isn't the one you want to restore, you'll have to enter the full path to the correct one as displayed in the list. You can use the Edit...Mark... function from the command prompt window menu to simplify this, though. Put the cursor at the beginning of the required line, hold <shift> and highlight the test using the arrow keys. <Enter> copies to the clipboard, and Edit... Paste... places it wherever the cursor is placed.
Once you have the correct backup referenced, hit <enter> and you should see the script work its magic.
When Restore done is displayed you can reboot the handset from the recovery menu.

Hope this is clear. If not I'll try to explain a bit better. ;)


Thanks so much instructions were very clear however I am getting a permission denied error... also my last backup isn't showing but I put in the next backup but the error above is what I am getting.....any sugestions?
 
Upvote 0
Thanks so much instructions were very clear

Glad they made sense. I was caffeine-free due to the late hour. :)

however I am getting a permission denied error...
At what point exactly does the error appear?

also my last backup isn't showing
I wonder if it failed or got corrupted and that's confusing things? Can you mount the SD card via USB and check the /nandroid folder to see if it's visible to the PC?
 
Upvote 0
Ok hold on.....the newest backup showed as the default option for restore however when I hit enter to do restore it gave me

error :/sdcard/nandroid/device#/cdbmrs12-20091215-012/nandroid.md5 not found

Then I tried the ones that were in the list and permission denied came up.


Sorry for the confusion
 
Upvote 0
Penny,

Hook the handset up to the PC again and take a look in that /nandroid folder. Drill down to the folder containing your latest backup (/cdbmrs12-20091215-012), open it and tell me if there's a nandroid.md5 file there with a 'last modified' date/time similar to the other *.img files.

Edit: looking at that backup path.... is that correct for the folder in /sdcard/nandroid? The format should be cdbmrs12-yyyymmdd-hhmm, but yours only has 3 digits in the final part.
 
Upvote 0
Penny,

Hook the handset up to the PC again and take a look in that /nandroid folder. Drill down to the folder containing your latest backup (/cdbmrs12-20091215-012), open it and tell me if there's a nandroid.md5 file there with a 'last modified' date/time similar to the other *.img files.

Edit: looking at that backup path.... is that correct for the folder in /sdcard/nandroid? The format should be cdbmrs12-yyyymmdd-hhmm, but yours only has 3 digits in the final part.

Ok, will do that.....sorry it is cdbmrs12-20091215-0125 I forgot the % when I posted.

edit*** Crud no it has no nandroid.md5 in fact the entire folder is empty. the others have all files in them....

I wonder why it says permission denied for the rest?
 
Upvote 0
Ok, will do that.....sorry it is cdbmrs12-20091215-0125 I forgot the % when I posted.

Hehe, I thought that might have happened but wanted to check.

edit*** Crud no it has no nandroid.md5 in fact the entire folder is empty. the others have all files in them....

Oh bum.... something's gone wrong. :(

I wonder why it says permission denied for the rest?

Dunno, but we may have to "get creative" if you still need to restore one of the earlier ones. ;)

First up, check the contents of whichever backup you want to restore; there should be 6 *.img files (boot, cache, data, misc, recovery and system) plus a nandroid.md5 file.

I then suggest that you delete that empty CDBMRS12-* folder and reboot the handset. If you now restart in recovery mode and attempt a restore, hopefully the most recent backup will be recognised as valid and work. No guarantees though - I've done this myself successfully but only to restore a particular backup for testing, never due to a restore error such as yours.
 
Upvote 0
Hehe, I thought that might have happened but wanted to check.



Oh bum.... something's gone wrong. :(



Dunno, but we may have to "get creative" if you still need to restore one of the earlier ones. ;)

First up, check the contents of whichever backup you want to restore; there should be 6 *.img files (boot, cache, data, misc, recovery and system) plus a nandroid.md5 file.

I then suggest that you delete that empty CDBMRS12-* folder and reboot the handset. If you now restart in recovery mode and attempt a restore, hopefully the most recent backup will be recognised as valid and work. No guarantees though - I've done this myself successfully but only to restore a particular backup for testing, never due to a restore error such as yours.


THAT WORKED!!! Thank you so much you are a life saver!! Thanks for taking the time to help!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones