[Q] can't restore a nandroid backup...need help - EVO 4G Q&A, Help & Troubleshooting

hey guys.
i've gone through a lot of searching and still no solution. PLEASE READ THIS SO YOU DONT RECOMMEND SOMETHING I ALREADY TRIED!
i tried to restore a nand backup from yesterday and i'm getting "run nandroid-mobile.sh restore from adb!"
battery is fully charged. sd card is there and all the files are there. i already fixed the md5sum and still get the same issue.
it seems it's not a problem with the backup itself because i can't backup or restore, or even use the ms-usb toggle. for every command i get the error to do it in adb?
i only had that one backup and i really dont want to start from scratch! nothing has happened to have corrupted the backup, so i'm strongly holding to the view that its not corrupted, something else happened.
everything was working fine. i tried changing a file in framework-res.apk, that put me into a bootloop. so i wiped data/cache/dalvik like always and went to restore and bam...error...
any ideas guys? need to fix this ASAP.
EDIT: i just reflashed amonra recovery to make sure it wasnt messed. was able to make a backup (of what i dont know, phone is wiped) and restore it....ms-usb toggle worked now....but still get the .sh error when trying to restore my backup. damn!
EDIT 2: got it working. after reflashing amonra i was able to do a backup (of the empty phone)...i had changed the name of the folder for my backup (no spaces though) and it looks like this was throwing amonra off. i renamed the folder to match the structure of the backup i had just made and was able to restore!
thanks me!

Related

NAND Restore Error!!!

So i tried to update my PRI but it didnt work... and in the process all my data was deleted. But i had made a nand backup so i thought i was fine. the only problem is now i get an error when i restore saying i should type in nandroid-mobile.sh in adb. i do not know how to use adb too well so can someone explain how i can get my nand backup back, because i didnt backup with my backup pro and even if i did some of my dta wouldnt be restored correctly, so please someone help me figure how to restore my nand???
Charge your battery.
Your battery is too low. Once the charge is greater than 30% it will work again.
EDIT: Just saw that someone beat me to the answer. That's what I get for getting distracted
okolowicz said:
Your battery is too low. Once the charge is greater than 30% it will work again.
EDIT: Just saw that someone beat me to the answer. That's what I get for getting distracted
Click to expand...
Click to collapse
But my battery's been charged... and now it's even worse because my phone won't charge on AC or USB and it's not being recognized by my computer...
brennod10 said:
So i tried to update my PRI but it didnt work... and in the process all my data was deleted. But i had made a nand backup so i thought i was fine. the only problem is now i get an error when i restore saying i should type in nandroid-mobile.sh in adb. i do not know how to use adb too well so can someone explain how i can get my nand backup back, because i didnt backup with my backup pro and even if i did some of my dta wouldnt be restored correctly, so please someone help me figure how to restore my nand???
Click to expand...
Click to collapse
Have you changed out your SD card or renamed your backups?
My answer from another thread. Sorry, not allowed to post links yet.
It took me days and days researching this...lol. I found three possible issues...the first, and most common, is renaming your backups. Apparently that screws it all up, so don't rename them. Second, your battery is too low...it has to be at least 40%. I never renamed and I was fully charged - but still got the error, and when I tried to restore via adb I got an sd card error. In MY case, I had gotten a new 16gb sdcard and it wasn't formatted or partitioned properly...I had to copy everything off if it onto a folder on my PC, format it (FAT32) via PC, put it back into the Evo, reboot into Amon Ra recovery via Rom Manager, select "partition sd card" - let that work- then select SD:ext2 to ext3...wait till that was done, reboot. Then I mounted as disk drive to the PC, copied everything back to the sd card, and viola...it finally worked. I don't know why it did it, I had 2 of the exact sd cards...brand, class, etc. Hopefully that works for you!
You CAN rename your backups. You CAN'T use spaces when u rename your backup. Boot your phone and go to you nandroid folder and if u used spaces, replace them with underscores. I learned the hard way. Good thing is, its an easy fix if it is the cause of your error.
Sent from my PC36100 using XDA App

restoring nand backup error???

While trying to restore the last several nandroid backups on my EVO I get the error
Error: run ' nandroid-mobile.sh restore ' via adb!
using RA recovery
I didnt get any errors doing the backup...and I never had this problem in the past...as far as I know I am not doing anything different making backups than I have in the past.
Edit:
Im able to restore without errors from clockwork mod...and its a backup I made right after I made the AR backup....
Found out the answer...my sd card is full! LOL! Its been one of those days!
Any suggestions or help would be greatly appreciated!
Thanks,
WhiteEvo
i get this error most of the time with ra as well, but my memory card is nowhere near full (6gb or so left.) the other day i backed up my cm6.1, flashed warm rls3, forgot something so backed up rls3 and restored cm fine, but then i couldnt restore the rls3 backup i made. i wiped everything and still couldnt restore, and then couldnt restore the cm backup i had just restored 15 minutes earlier. ive been getting this error almost any time i try and restore a backup for a few months now, any ideas?
I've seen a low battery cause this error. If you run via adb, as suggested, you'll see the error displayed.

nandroid backups restored

hi, i used clockworkmod for a while now backed-up, but never really tried to restore from those back-ups....
i just tried to restore a nandroid backup, i went on the PC and re-named backup as something i`d remember put it back on the Desire, and nandroid just fails instantly at `MD5 mismatch`
could this be because the folder name changes after the backup has been made??, thanks.
also i thought i was being thorough by doing a wipe, from nandroid 1st.
Luckily I went advanced `restore sys only`, this went back to basic stock, logged into myy acc on market, downloaded My Backup PRO, restored the apps/dATA i did with that app.
restarted phone, all is good
whats up with md5 missmatch ?
cheers
Don't move the file around next time. Probably induced an error.
_Dennis_ said:
Don't move the file around next time. Probably induced an error.
Click to expand...
Click to collapse
not sure if its moving the file around so much, as the characters in the filename itself
i did a quick backup this morning, left the filename alone,restored it fine.
booted phone, went into Rom manager and renamed the original back-ups with that instead of PC, they now restore ok.
what i did notice though was when renaming from Rom manager it automaticly replaces spaces with _ seems a bit sensitve to certain characters.
must be filenames (or _+ - spaces etc)the are accepted ok on windows creates, arent freindly when nandriod comes to read them?

nandroid img files restore question

So heres the situation. I made a backup of my phone using rom manager because I wanted to try out the new cyanogen. I got done playing with it and I went to revert back to my restore I had just created. During the restore I got an md5 mismatch error.
I used the instructions here to repair the restore
http://www.droidforums.net/forum/droid-hacks/40428-checking-md5-sum.html#post430944
su
cd /sdcard/clockworkmod/backup/*rom name (date and time usually)/
md5sum *img > nandroid.md5
reboot recovery
The procedure worked in the sense that I was able to restore the image. The problem is after the restore I am stuck at the white "HTC Incredible" screen. I tried wiping caches and running the restore again but I am unable to get the phone to reboot.
I was able to restore to a much older restore that I had previously created but it lacks alot of updates and changes that I have made since then. Not to mention my Angry Birds saved game.
Looking at the restore files it looks like the folder for the restore contains a hand full IMG files. What i'm wondering is since it appears that the boot process is damaged I'm wondering if I could make a backup of the phone as it is now then take lets say the data.img file (or whatever file i need to recover installed apps and saved games) and overwrite the img files for the restore i just created. I could then use the same procedure I just performed to recreate the md5 hash and run the restore. My home is that will allow me to get my data back and still allow the phone to boot.
What do you guys think? Is it doable or am I going to be in a world of hurt if I start messing with this?
Something else you might try is to restore the latest backup, then do an advanced restore of just the boot partition from your older backup. It's worth a shot I'd think.
Did you put spaces or special characters when you named your backup? This can cause MD5 mismatch errors.
s197 said:
Did you put spaces or special characters when you named your backup? This can cause MD5 mismatch errors.
Click to expand...
Click to collapse
NO, I didn't. I used the default setting. I think it was 2010-12-29.01.34.10 or something like that.
setexascustoms said:
Something else you might try is to restore the latest backup, then do an advanced restore of just the boot partition from your older backup. It's worth a shot I'd think.
Click to expand...
Click to collapse
Thanks man, This worked perfectly. Restoring the boot.img didn't fix the problem but restoring the system.img did. I have all my data back and my phone is fully functional again. Thanks again.

Data Restoration From CWM

I am running current version of Bonsai 3.0.1 Yesterday, my phone dropped and the battery fell out. When I tried to reboot the phone, there were many Force Closes. I tried fixing permissions twice but it was still having FC issues, so I figured I'd restore the data. Well, I hadn't backed up in several days, so I did a Nandroid backup before I went to restore. I kind of figured that restoring the phone from a backup of bad data wouldn't work and it didn't. Restoration from that backup causes a endless reboot. Sooooo, I restored from a backup which was several days old and it worked fine. But, my data is old for one particular app.
So my question is this: Can I extract data for one particular app and restore it from a Nandroid backup?
Or is it possible to restore the apps only from the Nandroid backup?
If I choose "Restore Data" from the Nandroid backup, I go into an endless reboot loop.
Restoring the "System" will bring the phone back to working, but the data is old.
Yeah, Yeah, I have Titanium and could have accomplished this easily with it, but I hadn't been backing up there either.
I know I'm probably screwed, but if anyone has any suggestions about how to get my data back (for one app or all), I'd sure appreciate it.
sndtubes said:
I am running current version of Bonsai 3.0.1 Yesterday, my phone dropped and the battery fell out. When I tried to reboot the phone, there were many Force Closes. I tried fixing permissions twice but it was still having FC issues, so I figured I'd restore the data. Well, I hadn't backed up in several days, so I did a Nandroid backup before I went to restore. I kind of figured that restoring the phone from a backup of bad data wouldn't work and it didn't. Restoration from that backup causes a endless reboot. Sooooo, I restored from a backup which was several days old and it worked fine. But, my data is old for one particular app.
So my question is this: Can I extract data for one particular app and restore it from a Nandroid backup?
Or is it possible to restore the apps only from the Nandroid backup?
If I choose "Restore Data" from the Nandroid backup, I go into an endless reboot loop.
Restoring the "System" will bring the phone back to working, but the data is old.
Yeah, Yeah, I have Titanium and could have accomplished this easily with it, but I hadn't been backing up there either.
I know I'm probably screwed, but if anyone has any suggestions about how to get my data back (for one app or all), I'd sure appreciate it.
Click to expand...
Click to collapse
I think there is a way. Someone else had a similiar problem and wanted to get their text message data out. It is in the thread below where 00dwan talks about unyaffs and data files. Seems a bit complicated but if the data is that important you will need to be able to identify the data file for that app.
http://forum.xda-developers.com/showthread.php?t=993827
Hope this helps.
kennyglass123 said:
I think there is a way. Someone else had a similiar problem and wanted to get their text message data out. It is in the thread below where 00dwan talks about unyaffs and data files. Seems a bit complicated but if the data is that important you will need to be able to identify the data file for that app.
http://forum.xda-developers.com/showthread.php?t=993827
Hope this helps.
Click to expand...
Click to collapse
Thank you Thank you Thank you. Works great!
I'm having trouble putting the file where it needs to be (I'll figure it out), but I am able to get the information I need from the data file even if I can't get the file where it goes.
It is kinda weird. I put the file on my SD card and then put it into the phone. I copy the file to the clipboard and then go to the directory I need to place the file in. I select paste and it seems to paste the file, but nothing changes. I think it was because I hadn't mounted the system/data as RW. But the strange thing is that when I copy the file to the clipboard from the SD card, the file DISAPPEARS as if I cut it instead of copied it. Anyway, I'll figure it out.
Thanks again for the tip!
sndtubes said:
Thank you Thank you Thank you. Works great!
I'm having trouble putting the file where it needs to be (I'll figure it out), but I am able to get the information I need from the data file even if I can't get the file where it goes.
It is kinda weird. I put the file on my SD card and then put it into the phone. I copy the file to the clipboard and then go to the directory I need to place the file in. I select paste and it seems to paste the file, but nothing changes. I think it was because I hadn't mounted the system/data as RW. But the strange thing is that when I copy the file to the clipboard from the SD card, the file DISAPPEARS as if I cut it instead of copied it. Anyway, I'll figure it out.
Thanks again for the tip!
Click to expand...
Click to collapse
Glad it helped. Definitely sounds like it wasn't mounted r/w. Wierd that it disappears from card on a copy operation. Root Explorer is good for this.

Categories

Resources