NAND Restore Error!!! - EVO 4G Q&A, Help & Troubleshooting

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

Related

[Q] can't restore a nandroid backup...need help

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!

[Q] Really bad problem with CWM :(

I've made two backups on ClockworkMod, yet EVERY time I try to reinstall data, it restarts midway, and when I start my phone up the bootanimation becomes an flashing android logo, what am I doing wrong? Please help!
kamranh3 said:
I've made two backups on ClockworkMod, yet EVERY time I try to reinstall data, it restarts midway, and when I start my phone up the bootanimation becomes an flashing android logo, what am I doing wrong? Please help!
Click to expand...
Click to collapse
Hmm..that's a strange problem.
Did you try to reinstall the CWM??
Edit: I pushed the Thanks Button unfortunately -.-
Every little helps
And I've tried, no such luck, so I'll try an older version and see what happens
EDIT: There's a thanks back!
Okay I've tried a different recovery, no luck
What have I done wrong? I seem unable to make any recovery.
I think the problem may have originated when I installed CWM 3.0.0.5, everything was fine before that
This is just a long shot, but have you tried checking your SD card for errors from your PC? The backup file could be corrupted, and that might fix it.
It would probably be a good idea to copy the /clockworkmod/backup folder from your SD card to your PC before you run the check. If it doesn't help or makes matters worse, you can copy it back.
Also, which version of CWM did you use to make the backup?
preacher65 said:
This is just a long shot, but have you tried checking your SD card for errors from your PC? The backup file could be corrupted, and that might fix it.
It would probably be a good idea to copy the /clockworkmod/backup folder from your SD card to your PC before you run the check. If it doesn't help or makes matters worse, you can copy it back.
Also, which version of CWM did you use to make the backup?
Click to expand...
Click to collapse
I used 2.5.1.3 in both cases, went down to 2.5.1.2 to see if it was linked to the recovery itself, it wasn't
kamranh3 said:
I used 2.5.1.3 in both cases, went down to 2.5.1.2 to see if it was linked to the recovery itself, it wasn't
Click to expand...
Click to collapse
If you look in the /clockworkmod/backups folder on your card, in the folder for the relevant backups, what size is the data.img file? Have you got any earlier working backups you can compare it to? I'm wondering if the backup failed part way through.
I take it you're trying to restore data only using Advanced Restore?
I can't think what else could cause it apart from a damaged sd card or corrupt file, but I'm not a CWM expert.
preacher65 said:
If you look in the /clockworkmod/backups folder on your card, in the folder for the relevant backups, what size is the data.img file? Have you got any earlier working backups you can compare it to? I'm wondering if the backup failed part way through.
I take it you're trying to restore data only using Advanced Restore?
I can't think what else could cause it apart from a damaged sd card or corrupt file, but I'm not a CWM expert.
Click to expand...
Click to collapse
I have looked at the backup is around 1.11GB which is the expected file size, the data.img being around 730mb, it's done this twice, and I've always checked that I've had plenty of space before attempting nandroid, and nothing's ever happened to the sd, i've never moved it or anything
kamranh3 said:
I have looked at the backup is around 1.11GB which is the expected file size, the data.img being around 730mb, it's done this twice, and I've always checked that I've had plenty of space before attempting nandroid, and nothing's ever happened to the sd, i've never moved it or anything
Click to expand...
Click to collapse
I'm not sure what else to suggest besides checking the sd card for errors. There have been some bugs with the HTC 1.72 stock ROM, which affect all custom ROMs based on it, that occasionally cause sd card errors. This is most likely to happen if you connect to your PC with a USB cable, mount the SD card as a drive in your PC, and disconnect the cable without using "eject" in Windows. It might happen at other times as well, I'm not certain.
This is usually fixed by checking the card for errors through your PC. Some people recommend defrag'ing the card, but I think a check for errors should be all that's needed. I'd copy all contents of the card to a folder on your PC first, just so you have a backup.
Otherwise I've run out of ideas, sorry. Hope you get it working.
What I'll do is transfer my backup to my brother's SD card, and then attempting a nandroid then, if that doesn't work then I don't know what will, but I'm 99% sure it's probably due to a problem on my SD card.
Sent from my Desire HD using XDA App
Hope it works, let us know how you get on.
preacher65 said:
Hope it works, let us know how you get on.
Click to expand...
Click to collapse
Well it doesn't seem like option, brother's too stubborn, so I guess I'll have to stick with what I got for now until I can fix this problem, it's really bugging me
kamranh3 said:
Well it doesn't seem like option, brother's too stubborn, so I guess I'll have to stick with what I got for now until I can fix this problem, it's really bugging me
Click to expand...
Click to collapse
You didn't say whether you tried checking the card for errors from your PC, did you try that yet?
CWM created an MD5 checksum for the backup, so it's not very probable r/w errors are the cause of the problem. If the data was corrupted CWM would notice before attempting to restore the data.
But if in doubt you can verify the checksums manually. In the backup directory there's a file called nandroid.md5 it's a text file that contains the hashes for each backup file. Compare those values to the actual checksums. If you need a tool use Hash My Files.
CWM 3 backups aren't backward compatible with CWM 2? Then you could try restoring with CWM 2 and see if that works. Then you'd at least know if it's you phone or a software problem.
This may sound silly but did you upgrade clockwork to 3.0.0.6?
equlizer said:
This may sound silly but did you upgrade clockwork to 3.0.0.6?
Click to expand...
Click to collapse
I tried upgrading to see if it would solve the issue, it didn't.
And as for md5 checksums, it all checks out fine, everything starts to restore fine, and on two of the latest occasions it will not fully restore data, but will restart CWM between restoring. I really don't know what the cause is :/

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.

[Q] Recovery not restoring data

hi, i need help restoring my backup in cwm 3.0.2.8.
The system partition restores fine but none of my apps or anything get restored. I've tried different versions of cwm and none of them have worked. I know i can just restore my apps with my backup or titanium but i shouldnt have to and i forgot to before i made the backup.
It doesnt even restore any if my contacts, texts, etc. It seems like its just restoring the rom with what ever mods and tweaks i had applied. This has happened with multiple roms so i reckon its a fault with cwm. Also when restoring just the data in cwm it doesnt say "Restore complete!"
Anybody got any suggestions?
Anybody got any suggestions?
How are you restoring your ROMs?
Your contacts should be backed up with your Google account.
They are backed up but cwm should restore everything. After i restore it asks me to login to my google account, select my time-zone, etc.
Im restoring from recovery.
It seems like cwm is crashing while restoring my data partition because the screen goes black whilst still showing the rom manager icon and it goes back to the inital screen of recovery like i just booted into it.
Have you checked your SDcard for errors?
There are hundreds of people who use ClockworkMod Recovery without issue. (excusing 3.0.2.5)
Could be something as simple as a couple of bad sectors on your card.
I recently formatted it before i made the backup, how would i check for any more errors?
Try HERE. Its in Russian. So you'd need to visit via Google or use Chrome.
I downloaded but i dont have a clue how to use it
Read through the manual.
Or you could follow this guide HERE, I'm pretty certain that the first tool would be more accurate.
I tried the russian one but i got access denied so im doing the windows method. If none of this works, is there a way to manually extract the files from the .img file? I mainly want the data from my apps because i hav around 300
How are you connecting your SDcard to your computer? I just ran a test using ,
Code:
flashnul G: -T
It worked fine, that was connected via USB cable with the card mounted as a drive.
No problems which I'm pretty pleased with, now just to transfer my data back.
I forgot to run CMD as admin, its running now
EDIT: I didnt get any errors
If the SDcard is fine. Then I'd reflash CWM Recovery.
I have. The only reason I flashed .2.8 was because of this problem. I have to send my phone to HTC on monday for repair so when I get I back (20 days later) Il start again from fresh. For now I'm gonna unroot and s-on etc etc... I hate sense.
Thanks a million for your help though!
Question: If HTC swap my phone with another, will my backup still work with the new one?
Off topic, I point blank refused to wait 21 days + for a repair. After some wrangling got an exchange. Sadly the exchange handset had severe case misalignment issues. Refused that also.
Yes your backup will still work. It doesn't matter what handset you use. The backup isn't tied to it.
Haha the speaker for calls doesn't work anymore so i hav to send it back. 20 days is gnna seem like forever lol. I'm gnna hav to look for my Nokia 3310. It's like 10 years old and its never failed me once.
As for my back up, when I do get my phone back i need to go through my apps and delete what I don't want.....or I could buy a bigger mem card and setup A2SD. Is there no way to browse inside the data.img file from the backup?

[Q] Get Pictures off phone from TWRP

My phone is currently totally F'd up and I'm planning to do an RUU but I want to get the pictures off of it first, is there any method of getting them off via TWRP or something? They are all on Internal storage so i can't just take them out and plug them into a computer. I've tried MTP transfer from it but it only allows me to do my SD card, is there some sort of ADB command or something to extract all of my internal storage or a certain folder to my computer? Anything at all? Even besides that?
Yes the internal storage is accessible, not messed up or encrypted or anything. Just don't know how to get the files off it without having a ROM (can't flash any until i RUU).
Don't use an RUU (yet)?
If you can get any ROM to boot, use that ROM to get your pictures. THEN run the RUU. If you can get to a working recovery, this should be doable.
jshamlet said:
Don't use an RUU (yet)?
If you can get any ROM to boot, use that ROM to get your pictures. THEN run the RUU. If you can get to a working recovery, this should be doable.
Click to expand...
Click to collapse
No ROM will boot, or install, adb will not function properly, TWRP reboots randomly, half of the functions in TWRP are causing it to reboot, MultiROM has a couple partitons I think never got removed, it's quite bad. At the moment I am totally stumped at what to do to even consider 'fixing' this besides an RUU. I'm not stupid when it comes to fixing my phone either, I normally have minimal issues when fixing things but this one is just above my level in actually fixing it rather than just doing the simple way out (RUU). Oh and I can't flash anything via TWRP.
Soo in short I just want to get the pictures...then RUU. I have backups on my SD card to restore and if I can get the pictures then I'll already have a full internal storage backup & sd backup to restore if needed. The pics are the only things not fully backed up, i.e why I need/want them. Probably best I do an RUU anyways, I can't uninstall MultiROM to get rid of the partitions so the RUU seems to be my best bet.
S1L3nTShaDoWz said:
No ROM will boot, or install, adb will not function properly, TWRP reboots randomly, half of the functions in TWRP are causing it to reboot, MultiROM has a couple partitons I think never got removed, it's quite bad. At the moment I am totally stumped at what to do to even consider 'fixing' this besides an RUU. I'm not stupid when it comes to fixing my phone either, I normally have minimal issues when fixing things but this one is just above my level in actually fixing it rather than just doing the simple way out (RUU). Oh and I can't flash anything via TWRP.
Soo in short I just want to get the pictures...then RUU. I have backups on my SD card to restore and if I can get the pictures then I'll already have a full internal storage backup & sd backup to restore if needed. The pics are the only things not fully backed up, i.e why I need/want them. Probably best I do an RUU anyways, I can't uninstall MultiROM to get rid of the partitions so the RUU seems to be my best bet.
Click to expand...
Click to collapse
Ouch. Unfortunately, a screwed up partition map is probably only recoverable by fully wiping the internal storage. I inadvertently did something similar to my daughter's Nexus 7, and the only resolution was reloading a factory image from fast boot. (since Google doesn't seem to do RUUs)
Maybe one of the Multi-ROM devs has a better solution?
jshamlet said:
Ouch. Unfortunately, a screwed up partition map is probably only recoverable by fully wiping the internal storage. I inadvertently did something similar to my daughter's Nexus 7, and the only resolution was reloading a factory image from fast boot. (since Google doesn't seem to do RUUs)
Maybe one of the Multi-ROM devs has a better solution?
Click to expand...
Click to collapse
It's more like I have 4 little partitions for the other ROM's that won't get removed unless I do the RUU anyways or at least get the phone functional enough to where I can remove them with MultiROM but as I said I just want the pictures and to rid of it. Once I get them or if I can/can't then i'll fully wipe it and probably do the RUU too. Just want to at least TRY to get them, if not it's whatever but worth a shot.
Oh and the 4 little partitions thing, thats only from what I know of how MultiROM works, I don't actually know 100% for sure if it really creates partitions. Quite sure it does though
Try
adb pull /data/media/0/
it should pull all files from internal storage
make sure you mount data in TWRP first before you run the command
or
you can try to flash TWRP as linked in my sig, it can mount your internal storage as MTP
or
search for qtADB ... it's a pc-android explorer... then browse to data/media/0/
you can copy whatever that you need with its copy function
(you need to mount data in TWRP first)
ckpv5 said:
Try
adb pull /data/media/0/
it should pull all files from internal storage
make sure you mount data in TWRP first before you run the command
or
you can try to flash TWRP as linked in my sig, it can mount your internal storage as MTP
or
search for qtADB ... it's a pc-android explorer... then browse to data/media/0/
you can copy whatever that you need with its copy function
(you need to mount data in TWRP first)
Click to expand...
Click to collapse
Okay thank the spaghetti monster of doom that last one worked, got the pictures extracted safely. I tried getting my entire internal storage just in hopes I could 100% clone my old setup but it just keeps glitching and won't do it. Either way got what I wanted, attempting an RUU now . Thanks for the help!
Oh and just for informational purposes, I was already using his TWRP and that ADB command just did what every other thing I normally do in TWRP does, rebooted my phone after 2 seconds of it. It did manage to get 2 files but they weren't even what I wanted. Maybe if I did it more specifically it would've worked but oh well.
Updaaaate!: Got everything back as it should be via RUU, Nandroid Backup, & backed up Internal Storage from 8/11/14 along with the Pictures you helped me get!

Categories

Resources