Nandroid backup issues - Fascinate Q&A, Help & Troubleshooting

Anyone know why I can't do a nandroid backup? Every time I try it gives me an error creating MD5 checksum. Currently I'm on AOKP M1 with the built-in kernel which includes CWM 6.0.1.5, but I don't think I've ever gotten it to work with any JellyBean ROM. I'm still using my stock class 2 card and I still have 9gb free space.
Any help would be appreciated.
Sent from my SCH-I500 using xda app-developers app

Are you trying to restore a older nandroid from before the recent partition change? If so, then it won't work. If not then I believe I remember seeing a thread about correcting an md5 error with a nandroid, but I don't have a link for you, sorry. Try to do a search.
I personally don't use nandroids because it backs up system data which in a way defeats the purpose of doing a complete data wipe (which I do often before installing new roms). I simply use TiBu to restore all my apps and just spend 5-10 minutes or so fixing the system settings, then I'm good to go.

I'm not restoring a previous nandroid backup; I'm actually trying to use it to back up my current setup. I'll try to search the issue, unless someone knows where to find it.
I may have to give TiBu another try. It's just nicer to do the nandroid because I wouldn't have to reactivate the phone or resync my accounts afterwards. Basically if I want to try a different ROM and I don't like it I could easily go back to the previous ROM with all my settings and layout.
Sent from my SCH-I500 using xda app-developers app

scarfman4 said:
I'm not restoring a previous nandroid backup; I'm actually trying to use it to back up my current setup. I'll try to search the issue, unless someone knows where to find it.
I may have to give TiBu another try. It's just nicer to do the nandroid because I wouldn't have to reactivate the phone or resync my accounts afterwards. Basically if I want to try a different ROM and I don't like it I could easily go back to the previous ROM with all my settings and layout.
Sent from my SCH-I500 using xda app-developers app
Click to expand...
Click to collapse
You have to reactivate the phone when you flash a rom? Yeah I guess I can see how that would be annoying. I've never had to do that before, however I do have to sign into google every time (doesn't really bother me)

I always make it a habit to reactivate after flashing a new ROM if I also do a data wipe. Otherwise I can't receive calls or texts.
I wonder if the failing backup is because of the larger system partition?
Sent from my SCH-I500 using xda app-developers app

Try a older version of cwm...perhaps 6.0.1. Back when ics was first dropped cwm 5 had similar issues. There is a way to fix it, ill see if i can dig it up for ya.
edit* found it!!
Fix CWM 5.x Nandroid Backup
Let's just say you did what I did today, and did a backup, flashed another ROM, then tried to restore back to the nandroid you just made. Didn't work did it. Come to find out, I wasn't watching the backup, and it fails to generate an MD5 sum. I did a little searching to find out what to do, and I found the following steps (not my work...thanks goes to "desmail" for sharing this).
To fix this is assuming you did not change the folder names and let Clockworkmod create them.*
Code:Checking MD5 sums...
MD5 mismatch!
- Plug your phone to the computer
- Open a Terminal and type:
Code:adb devices
adb shell
# cd /sdcard/clockworkmod/backup/2011-06-29.20.22.53
# rm nandroid.md5 (Probably will fail - for me, the file was never there to begin with...this is fine)
# md5sum *img > nandroid.md5
# exit
****Make sure you change "2011-06-29.20.22.53" to the name of your backup folder*****
- Re-run the restore and everything should be fine.
You will most likely need the Nexus S ADB drivers to accomplish this.

Related

Trying to salvage some data from a nandroid that wont restore.

Ive been spending way to much time researching my problem and my wife is really mad at me. Basically at this point i would be happy to just manually extract data for about 10 apps from a nandroid that wont restore. Can someone point me in the right direction please?
Edit:
Ok, now that I am at computer, heres my story. Prior to flashing the gingerbread leak, I backed up using Titanium Backup and made a Nandroid backup. Somehow, all the files backed up in my PREVIOUS 2 backups on titanium backup where all 0kb-10kb, so they were completely borked for some reason. Some old backups of apps that I have since uninstalled still remained and those seem ok.
Prior to reading about the SD card failures with the gingerbread leak, I backed up my SD card to my computer. Only 1 error came up during the backup about a file with a name that was too long. I clicked on ignore and finished the backup. About 1 hour later my SD card fried.
I used a spare sd card, and transfered my clockwork mod folder and a few other folders to it. I then ODIN a DL09 stock image, flashed the newest Clockword mod 3.xx via odin, flashed UKB 2.0, then flashed PBJ -50 recovery/kernel (which was what I had when I made the backup) and tried to restore it. When I try to restore it hangs somewhere in the data restore portion saying CACHE. I saw it flash cache a few times during the restore, so I am not sure why it hangs on that one in particular. I know that the cache image file is only 16.5kb so I dont know if that has something to do with it.
I then installed the newest IMNUTS recovery since I heard there were problems restoring the the PBJ recovery, and it seems to hang in the same spot.
At this point, I have a few of my old programs back, but most force close.
My main goal here is to just extract some gamesave progress and a few other pieces of data (I can redownload basically all the apps I need), run clean until a better gingerbread leak comes along, then use titanium backup to backup what I have (and verify the backups and make backups of the backups )and install a better gingerbread rom.
So anyway, If i can figure out how to go into the datadata.img files, I guess I can extract the data I need and push it through ADB or ROOT EXPLORER? Should that work?
- nevermind...
There are computer applications that can read and explore image files, or .img files, and the file systems within image files. Your best bet would be software like that, that could open, edit, and explore image files. I dont know the names of any software like that, even though I have come across some before, but im sure you could turn up some results with the query "image file editor," or ".img file editor." From there you're just have to feel your way through.. Try similar queries if those don't turn up what you need, etc. If you got an app that could explore image files, then you could get your .apk files from /data/app folder, and any other data you might need from /data/data, if its just user apps you're wanting to restore.
Sent by way of unspeakably black magic.
ssmaster said:
Ive been spending way to much time researching my problem and my wife is really mad at me. Basically at this point i would be happy to just manually extract data for about 10 apps from a nandroid that wont restore. Can someone point me in the right direction please?
Edit:
Ok, now that I am at computer, heres my story. Prior to flashing the gingerbread leak, I backed up using Titanium Backup and made a Nandroid backup. Somehow, all the files backed up in my PREVIOUS 2 backups on titanium backup where all 0kb-10kb, so they were completely borked for some reason. Some old backups of apps that I have since uninstalled still remained and those seem ok.
Prior to reading about the SD card failures with the gingerbread leak, I backed up my SD card to my computer. Only 1 error came up during the backup about a file with a name that was too long. I clicked on ignore and finished the backup. About 1 hour later my SD card fried.
I used a spare sd card, and transfered my clockwork mod folder and a few other folders to it. I then ODIN a DL09 stock image, flashed the newest Clockword mod 3.xx via odin, flashed UKB 2.0, then flashed PBJ -50 recovery/kernel (which was what I had when I made the backup) and tried to restore it. When I try to restore it hangs somewhere in the data restore portion saying CACHE. I saw it flash cache a few times during the restore, so I am not sure why it hangs on that one in particular. I know that the cache image file is only 16.5kb so I dont know if that has something to do with it.
I then installed the newest IMNUTS recovery since I heard there were problems restoring the the PBJ recovery, and it seems to hang in the same spot.
At this point, I have a few of my old programs back, but most force close.
My main goal here is to just extract some gamesave progress and a few other pieces of data (I can redownload basically all the apps I need), run clean until a better gingerbread leak comes along, then use titanium backup to backup what I have (and verify the backups and make backups of the backups )and install a better gingerbread rom.
So anyway, If i can figure out how to go into the datadata.img files, I guess I can extract the data I need and push it through ADB or ROOT EXPLORER? Should that work?
Click to expand...
Click to collapse
unfortunately, you won't likely receive much sympathy posting a question in the development section. Please post your question in the Q & A section and you'll get some help. Just a friendly heads up.
Sent from my SCH-I500 using XDA Premium App
Well I'll go ahead and point you to the right direction, or what I'd imagine should work for your needs. You'll need unyaffs, I'm assuming you're on windows so this here would be the right one for you http://www.box.net/shared/1eighqsh4s. Now take the data.img from your clockwork backup on your sdcard, drag and drop it onto the unyaffs.exe, it should unpack right there into a crapload of files. Navigate to the /data folder and find the ones you want to keep (they should be listed by the package name for the apps, "com.blah.asfkje.etc" rather than the name of the app so keep that in mind when looking for what you want), then adb push (root explorer would be fine too) the folders into your phone where they should be.
Headcase8911 said:
unfortunately, you won't likely receive much sympathy posting a question in the development section. Please post your question in the Q & A section and you'll get some help. Just a friendly heads up.
Sent from my SCH-I500 using XDA Premium App
Click to expand...
Click to collapse
Sorry I posted this in the wrong forum, I was waiting for the train when I posted and wasn't thinking too straight. How can I move it?
ssmaster said:
Sorry I posted this in the wrong forum, I was waiting for the train when I posted and wasn't thinking too straight. How can I move it?
Click to expand...
Click to collapse
The mods will move it once they notice.
Another Fascinating post by my XDA app...
Just curious because of my personal interest...
Did you happen to try the nandroid Advanced Restore option, and select Data only? If not, it might be worth a shot. If it gets far enough, you might try wiping after the restore, and before booting up.
I always wipe my cache/Dalvik before I backup, to try to avoid conflicts with possible future ROMs. Something to think about, anyway.
Sorry about the trouble.
ssmaster said:
Sorry I posted this in the wrong forum, I was waiting for the train when I posted and wasn't thinking too straight. How can I move it?
Click to expand...
Click to collapse
Report your post stating that it should be moved, and the mods will notice right away.
Robtao said:
Just curious because of my personal interest...
Did you happen to try the nandroid Advanced Restore option, and select Data only? If not, it might be worth a shot. If it gets far enough, you might try wiping after the restore, and before booting up.
I always wipe my cache/Dalvik before I backup, to try to avoid conflicts with possible future ROMs. Something to think about, anyway.
Sorry about the trouble.
Click to expand...
Click to collapse
i did try the nandroid advanced data only option and it hung at what seemed to be the exact same point.

[Q] twrp nand backup

Noob ? I just downloaded twrp when I go to recovery what should I back up there's so many options I really don't know which one to pick. Should i pick all of them and compress or some and compress .please be specific.
LOL... it depends on what youre trying to do?
Mostly, youre going to use recovery to flash zip files... kernals, roms, tweaks etc mostly come in the form of zips, so you'll see one option to install a zip file....
Another thing to do, is wipe your phone before a flash, again done with recovery...You'll go to the WIPE menu, and wipe cache, dalvik, (do it a few times to be sure) and do a data wipe before flashing ROMs, this will ensure a flawless install
Lastly you use nandroid to "backup" the current state of your phone, you do this BEFORE flashing a rom... its like a failsafe, if something F's up during your flash, you can restore this "nandroid" backup to restore you phone to its exact state prior to your flash...
So, nandroid back ups, restoring, flashing zips, and wiping are your basic uses of recovery
getmoneygreen said:
Noob ? I just downloaded twrp when I go to recovery what should I back up there's so many options I really don't know which one to pick. Should i pick all of them and compress or some and compress .please be specific.
Click to expand...
Click to collapse
Stick with the ones that are already "x'd" off. The only option that I'd suggest adding is Wimax. That will back up your wimax partition, which contains your RSA keys, which are essential to 4g working (lose your RSA keys, lose your 4g forever, so it's good to keep them backed up). Compressing the backup is optional. It will save a considerable amount of space if you choose to compress them, however the backups will take quite a bit longer to complete. I made two backups that were not compressed, and saved them to my computer, because they were over 1GB each, which is absurd. I now compress all of my backups, and all seems well.
Thank you soo much you guys helped me out a lot
If you don't mind me asking, what were the original TWRP recovery options that were selected. When I did my first Nand backup after S-off and rooting I selected all the options to be safe. Then when I went to go make another back up everything was still selected and I know I do not need all those options. Thanks.
PdawG43 said:
If you don't mind me asking, what were the original TWRP recovery options that were selected. When I did my first Nand backup after S-off and rooting I selected all the options to be safe. Then when I went to go make another back up everything was still selected and I know I do not need all those options. Thanks.
Click to expand...
Click to collapse
To answer your question If I'm correct from top to bottom the first two and also include the Wimax and the compress files .so that's four X's.that's what I have
I did a Nand backup having the first 3 and then Wimax and then when I tried to flash to that backup my phone went black and shut off (thought it had bricked on me) was able to get it to reboot by doing volume down + power button. Am I missing something? Or am I just being dumb when it comes to flashing from a Nand backup?
Are you still having problems with the nand back ups pdawg
So we should wipe data to factory settings before doing the back?
Also, where does titanium backup come into play?
Sent from my PG86100 using XDA Premium App
I haven't had time to try it again yet. Though later tonight I will try again when I flash viper rom 1.3
I checked everything under the sun in nandroid menu, so when I go to nandroid options then restore i choose the one I want to restore, it flashes then when I reboot it just sits on the HTC EVO screnn forever! almost 20 min so far. is anybody else having this issue? am I doing something wrong? I did pull the battery once and rebooted but still nothing. I backed up a couple of nice set ups I would like to have back. any ideas would be great
jajuan said:
So we should wipe data to factory settings before doing the back?
Also, where does titanium backup come into play?
Sent from my PG86100 using XDA Premium App
Click to expand...
Click to collapse
To answer your question about Titanium. This app will back up all your apps--apps only, not your entire system.
This is useful when you flash a new rom because that new rom will not include all the apps you had (obviously). Instead of fishing for each one in the market, simply re-download Titanium and use it to restore your apps (and data if you like). I really don't use Tatanium as much as I used to. This is because I don't download a crapload of apps and when I install a new rom it doesn't take me very long to re-download the ones I like from the market.
BUT, if you have an app that you can't get through the market, then Titanium is vital to restoring it.
Hope this helps.

Atrix latest everything nandroid

Hey guys I was wondering if anyone could send me a nandroid with the latest updates to me.. I am on ics and want to try to get back using this method. Anyone have any advice to add? Please tell me if you can send a backup
Sent from my MB860 using Tapatalk 2
What do you mean by "latest update"?
Also it may be...difficult to get a nandroid backup, since (someone correct me if I'm wrong), it backs up everything about that person's phone, including some of their personal information. You'd have to get someone who basically had a wipe, fresh install, then immediate nandroid without activating the google stuff...
But I could be wrong.
Do you not want to flash back or something using what we have available?
phelanz34 said:
What do you mean by "latest update"?
Also it may be...difficult to get a nandroid backup, since (someone correct me if I'm wrong), it backs up everything about that person's phone, including some of their personal information. You'd have to get someone who basically had a wipe, fresh install, then immediate nandroid without activating the google stuff...
But I could be wrong.
Do you not want to flash back or something using what we have available?
Click to expand...
Click to collapse
I'm kinda iffy about that, and I want to test something : my nandroid I made has an issue where the "system" part doesn't copy right or is corrupted so I wish to flash another to see if its just my recovery or if I messed up the backup. I know I could use fruitcake....however its sometimes fun to be the odd one out ^…^ I'm kinda praying that someone nandroids after a restore ( I don't know exactly how much info they hold but I know it doesn't back up apps or the app data, it also doesn't save contacts... its a copy of the OS ....I think)
Latest update like the newest ota update
Sent from my MB860 using Tapatalk 2

Cloning

Does anyone know of any software that I could use to clone the software and settings of my old Atrix to a new one? I know that I could use Titanium Backup to transfer the files and settings over, but is there a way to clone it by connecting both phones to a computer?
Not 100% sure if it would work but maybe a nandroid backup? An restore on the other device?
Sent from my MB860 using xda app-developers app
Bert.C said:
Not 100% sure if it would work but maybe a nandroid backup? An restore on the other device?
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
I was thinking of that as well, considering that nandroid is basically a "system image." I'm looking for something I can keep on my computer and use as a quick use if I replace my Atrix again. Thanks though I will give it a shot, just have to make a nandroid back up on my new phone first.
Update: It worked, no bricking happened, I am pleased with this. I would still like to find a cloning software, for future purposes.
Erebus671 said:
I was thinking of that as well, considering that nandroid is basically a "system image." I'm looking for something I can keep on my computer and use as a quick use if I replace my Atrix again. Thanks though I will give it a shot, just have to make a nandroid back up on my new phone first.
Update: It worked, no bricking happened, I am pleased with this. I would still like to find a cloning software, for future purposes.
Click to expand...
Click to collapse
That's good news mate.
I thought nandroid would copy data too so all your apps and settings would copy over aswel.
Sent from my MB860 using xda app-developers app
Yes, nandroid is the best way to "clone" your whole user environment, but be careful - you don't want to copy everything. For example, a nandroid backup also includes pds, and that is best not copied to the new device.
inumecwest
GO Backup is the most simple and complete way. Save the backup to microsd, take this and put in the destination and restore data. You need root of course.
Bert.C said:
That's good news mate.
I thought nandroid would copy data too so all your apps and settings would copy over aswel.
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
Yes, I knew it would, but as ravilov mentioned it is not the best way, which is why I wanted to utilize something more... "Sophisticated," for lack of a better term.
ravilov said:
Yes, nandroid is the best way to "clone" your whole user environment, but be careful - you don't want to copy everything. For example, a nandroid backup also includes pds, and that is best not copied to the new device.
Click to expand...
Click to collapse
This might explain the initial instability that I encountered after the first boot, but it's cleared up after a few boots, we'll see how it goes. Is there a way that I could have removed the pds from the nand and replace it with the original pds? And if there is, are there any other files that you would recommend doing the same thing with? Thanks in advanced.
glbr79 said:
GO Backup is the most simple and complete way. Save the backup to microsd, take this and put in the destination and restore data. You need root of course.
Click to expand...
Click to collapse
Yes, I'm aware of GO Backup, I prefer Titanium Backup though, I even have the pro key for TiBu, but I wanted a more "complete" cloning. Thanks for the tip though, I appreciate everyone's input.
Erebus671 said:
This might explain the initial instability that I encountered after the first boot, but it's cleared up after a few boots, we'll see how it goes. Is there a way that I could have removed the pds from the nand and replace it with the original pds? And if there is, are there any other files that you would recommend doing the same thing with? Thanks in advanced.
Click to expand...
Click to collapse
This is the content of my nandroid backup:
Code:
boot.img
cache.ext3.tar
data.ext3.tar
nandroid.md5
pds.ext3.tar
recovery.img
system.ext3.tar
I think pds is the only one that should not be restored. cache should not need to be cloned but it doesn't matter if it does. You can just delete the pds file and also the entry for it from nandroid.md5 (but make sure you use a text editor that has good UNIX support). No need to replace it with another pds - what's not in nandroid.md5 simply won't get touched or restored.
ravilov said:
This is the content of my nandroid backup:
Code:
boot.img
cache.ext3.tar
data.ext3.tar
nandroid.md5
pds.ext3.tar
recovery.img
system.ext3.tar
I think pds is the only one that should not be restored. cache should not need to be cloned but it doesn't matter if it does. You can just delete the pds file and also the entry for it from nandroid.md5 (but make sure you use a text editor that has good UNIX support). No need to replace it with another pds - what's not in nandroid.md5 simply won't get touched or restored.
Click to expand...
Click to collapse
Thanks, that's exactly what I needed to know, won't be doing it on an Atrix any time soon, because I'm moving to the S3 threads in the next month or so, but it's good to know if I need to do this on my S3.

CWM clockworkmod

i have problem when i restore my backup its
-checking MD5 sum
-restoring boot image
-restoring system
-restoring data- in the end off restoring data i have error
Error data/data
any ideas?
its fault cwm?
backup is good for sure
maybe i need different cwm?
please help me
ps. i write on this forum because on others people dont help me
please i want my backup back
I had the same problem. Just reboot to recovery and do it again. On your way doing it your custom recovery may inform you that you have lost root and ask you to reroot.
Sent from my GT-N7100 using xda premium
dont work
iRouk said:
I had the same problem. Just reboot to recovery and do it again. On your way doing it your custom recovery may inform you that you have lost root and ask you to reroot.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
the same problem all time
i cant wastle my work i make some many changes i cant loose it
different backup
deusson said:
the same problem all time
i cant wastle my work i make some many changes i cant loose it
Click to expand...
Click to collapse
i flash another rom and next do another backup of new rom , and when i restore this new one restore is complete.
but old one i want always the same problem
maybe problemn is in folder clocworkmod
because in old one i have more files like for example data.ext4.tar.g
please some ideas?
maybe i dont have enough space to bring back backup(restore)?
my backup have 8 gb
You could try advanced restore and specify the part of the backup you want to restore, on cwm. My reasoning is that since the md5sum check completes, the integrity of your back up is verified, so that's to mean that all should work just fine. But since it doesn't go past the data restoration, maybe you could try restoring just the data part of the backup; assuming that the phone already has a rom that it is booting to and functioning as expected in order to be able to see the restored data when you boot the phone after the restore.
i find solution
knoknot said:
You could try advanced restore and specify the part of the backup you want to restore, on cwm. My reasoning is that since the md5sum check completes, the integrity of your back up is verified, so that's to mean that all should work just fine. But since it doesn't go past the data restoration, maybe you could try restoring just the data part of the backup; assuming that the phone already has a rom that it is booting to and functioning as expected in order to be able to see the restored data when you boot the phone after the restore.
Click to expand...
Click to collapse
error was because of space on device
i flash a rom once again, than delete all folders that i dont needed
and then go to recovery, than restore was complete
so its was because i dont have to much space on device-its for sure because i try many things and in the end i find this solution off my problem
i hope it be helped to somebody else
deusson said:
error was because of space on device
i flash a rom once again, than delete all folders that i dont needed
and then go to recovery, than restore was complete
so its was because i dont have to much space on device-its for sure because i try many things and in the end i find this solution off my problem
i hope it be helped to somebody else
Click to expand...
Click to collapse
Great news man...good for you.

Categories

Resources