Nandroid Restore Question - Nexus One Q&A, Help & Troubleshooting

Running Cyanogen 5.0.6 and ran into an issue. I decided to wipe and restore from Nandroid. How long does it take to run the restore? I have all my apps (about 30) installed on the SD card ext4. The restore has been running for about 2 hours so far. Should I stop it and try again?

ClanLee said:
Running Cyanogen 5.0.6 and ran into an issue. I decided to wipe and restore from Nandroid. How long does it take to run the restore? I have all my apps (about 30) installed on the SD card ext4. The restore has been running for about 2 hours so far. Should I stop it and try again?
Click to expand...
Click to collapse
my restores last 2 min tops

2 hours? i would try it again.. you wont hurt it.. just wipe and wipe ext and retry.. if not .. see if a base 5.0.6 will go..

Yep, I got tired of waiting and connected via adb shell and looked at the /tmp/recovery.log file. It turns out that I have a bad nandroid backup. I restored to an earlier backup and was up and running in a few minutes. Talk about wasting my time waiting for the first restore...
On a side note, I've noticed that my recent restore is a bit unstable. I might just wipe and start from scratch again.

Related

Nandroid won't complete a backup

I have been browsing google for an answer to this problem but nothing I have found has seemed to help, so I suppose I'll ask and see if anyone else has had this problem had knows what to do.
I try to run a nandroid backup from cyanogen's recovery, it simply keeps making dots and will easily fill up a screen.
Furthermore, i try and do a "nandroid-mobile.sh -b" and it hangs on the data.img part for in excess of 20 minutes.
Any ideas what I can try to get nandroid to work again? It has failed to work both on the last version of SuperD and on the newest which I updated last night (1.11?)
I suppose I could try a full wipe and reinstall, but I haven't donated for the full Titanium backup yet... and restoring is a pain until I do that.
Is there anything besides a wipe that I could try?
Thanks
Tylerspilker said:
I have been browsing google for an answer to this problem but nothing I have found has seemed to help, so I suppose I'll ask and see if anyone else has had this problem had knows what to do.
I try to run a nandroid backup from cyanogen's recovery, it simply keeps making dots and will easily fill up a screen.
Furthermore, i try and do a "nandroid-mobile.sh -b" and it hangs on the data.img part for in excess of 20 minutes.
Any ideas what I can try to get nandroid to work again? It has failed to work both on the last version of SuperD and on the newest which I updated last night (1.11?)
I suppose I could try a full wipe and reinstall, but I haven't donated for the full Titanium backup yet... and restoring is a pain until I do that.
Is there anything besides a wipe that I could try?
Thanks
Click to expand...
Click to collapse
I have the same issue using Amon Ra's recovery with Nandroid.
I end up pulling the battery and rebooting.
Take a look in your Nandroid backup folder on your SD card....you will see files that are several GB in size.
The nandroid appears to get stuck in a loop.
I have not had a successful nandroid backup made since CM-Recovery. I might go back to it but Amon Ra has a lot more stuff.
I reverted over to Amon Ra recovery from the JF+ Cyan one, and did a full wipe and restore of everything and nandroid was working well after.
Not sure what happened, but its all peachy now. I donated to Titanium backup, and it is the best app I have used... makes me want to switch Roms daily now!
Tylerspilker said:
I reverted over to Amon Ra recovery from the JF+ Cyan one, and did a full wipe and restore of everything and nandroid was working well after.
Not sure what happened, but its all peachy now. I donated to Titanium backup, and it is the best app I have used... makes me want to switch Roms daily now!
Click to expand...
Click to collapse
Which Amon_Ra? I had the same issue on 1.5.x and 1.6.2.
Still no joy on nandroid or BART.

Wiping and Nandroid

Hello.
i'm curious about installing cm7. i know it requires a full wipe. i'm on cm6.
i've never wiped the phone before and i'm wondering if a wipe affects previous nandroids? if i wipe the device now, and then choose to reload a previous nandroid backup, will the wipe cause the backup harm? or, by reloading the nandroid, everything gets put back where it was?
does that make sense?
thanks.
v.
Victrola666 said:
Hello.
i'm curious about installing cm7. i know it requires a full wipe. i'm on cm6.
i've never wiped the phone before and i'm wondering if a wipe affects previous nandroids? if i wipe the device now, and then choose to reload a previous nandroid backup, will the wipe cause the backup harm? or, by reloading the nandroid, everything gets put back where it was?
does that make sense?
thanks.
v.
Click to expand...
Click to collapse
the latter.
A nandroid backup is like a snapshot of the system, it will back up everything (except SD card). I have found that after a nandroid restore the phone even remembers where I had a song paused!
thank you, guys.
i'm gonna try to flash a new rom tonight without fear.

Nandroid backup freeze during backing up of data folder

Hey all. I just recently reflashes my SGSICS rc4.2 onto my Cappy and after installing most of my apps and doing my setup/settings I wanted to do a Nandroid back to create a good working image for future use if necc but it will not complete and keeps freezing about 3/4 of the way through..
I've done backups many times before on this same phone with same rom/kernel and recoveries too but this one keeps freezing during the backup up of data part during the whole process...about 3/4 of way through... left it there for over an hour but no movement..reboot and tried again a couple of times but it stops at same spot every time...
am i stuck now and will probably not be able to do a nandroid backup at all on this image? any ideas?
or am i stuck on wiping everyting and reflashing it all yet again?
thanks
pchemerys said:
Hey all. I just recently reflashes my SGSICS rc4.2 onto my Cappy and after installing most of my apps and doing my setup/settings I wanted to do a Nandroid back to create a good working image for future use if necc but it will not complete and keeps freezing about 3/4 of the way through..
I've done backups many times before on this same phone with same rom/kernel and recoveries too but this one keeps freezing during the backup up of data part during the whole process...about 3/4 of way through... left it there for over an hour but no movement..reboot and tried again a couple of times but it stops at same spot every time...
am i stuck now and will probably not be able to do a nandroid backup at all on this image? any ideas?
or am i stuck on wiping everyting and reflashing it all yet again?
thanks
Click to expand...
Click to collapse
am also getting the same error while creating backup of data image it just hangs there I have flashed fusion cm9 beta with glitch kernel
Same issue, it usually works the second time.
Sent from my CM9 ICS i897 Captivate
If you are running Icy Glitch b5 it's an issue from the kernel.
I have found that formatting the /cache partition before doing the backup prevents it from freezing at /data. Maybe it helps.
drakester09 said:
If you are running Icy Glitch b5 it's an issue from the kernel.
I have found that formatting the /cache partition before doing the backup prevents it from freezing at /data. Maybe it helps.
Click to expand...
Click to collapse
thanks drakester wiping cache and dalvik cache before backup worked like a charm thanks for the info you have been first thanked by me
drakester09 said:
If you are running Icy Glitch b5 it's an issue from the kernel.
I have found that formatting the /cache partition before doing the backup prevents it from freezing at /data. Maybe it helps.
Click to expand...
Click to collapse
I was just having the same issue on my fassy with the new glitch kernel. Did a google search and this thread came up. Wiped cache and dalvik and nandroid worked. Thank you
For me it also freezes at Backing up data unless I remove the external SD after that it will work!
Press "THANKS" If I helped!

[Q] Droid 4 CM10.1 Stuck at Boot

My phone will currently not boot bast the CyanogenMod boot screen.
I flashed my phone several months ago to CM10.1 It was the update that patched the "masterkey" bug. I have been using it daily since then with no problems.
Today, I turn my phone on, and it just hangs at the boot animation.
There were no significant changes since the last time it was powered on. I think I installed McPixel from the humblebundle, and uninstalled a game from the playstore called Krog. No setting changes of any significance.
I've tried booting into safestrape and deleting both the cache and the dalvik cache, neither has helped. My stock rom still loads just fine, but i had factory reset it quite a while ago. I do have a backup of the rom from about 40 days ago i can try restoring, but i would love a more nondestructive way to fix this.
Try booting into safestrap, wiping system, cache, and dalvik, then reinstall the ROM and gapps.
Droid 4 - Avatar
kwyrt said:
Try booting into safestrap, wiping system, cache, and dalvik, then reinstall the ROM and gapps.
Droid 4 - Avatar
Click to expand...
Click to collapse
0.o wouldn't that be a LOT more destructive than just restoring the old backup?
pyro42 said:
0.o wouldn't that be a LOT more destructive than just restoring the old backup?
Click to expand...
Click to collapse
Nope. You are not wiping data so all your apps, setting, etc will still be there.
the data itself will remain if you just wipe the system, cache and dalvik cache but be sure to reinstall the latest stable build of CM and gapps for it
Sent from my XT894 using xda premium
kwyrt said:
Nope. You are not wiping data so all your apps, setting, etc will still be there.
Click to expand...
Click to collapse
ah gotcha gotcha...
unfortunately it didn't work.
for troubleshooting's sake, i went ahead and made a backup of the rom in it's non-working state.
i restored my old backup, it boots just fine.
restored borked backup (tested it, still won't boot), wiped cache/dcache, wiped system, installed cm-10.2-20130821-NIGHTLY-maserati.zip and gapps 20130812, wiped cache/dcache again for good measure, then reboot and waited 10 minutes, still won't pass boot logo.
so i figure someting's wrong with Data right? so i rebooted to safestrap and did a factory restore, then wiped cache/dcache, and still won't boot.
so now i'm going at it the opposite direction. restoring the working backup, restoring just the data from the nonworking backup, then upgrading CM/Gapps
rebooting.. and....
blank screen with full backlight. not so much as a CM logo.
i guess for now i am going to restore back to the old backup, update the rom, and go about reconfiguring, unless anyone has any more suggestions?
pyro42 said:
ah gotcha gotcha...
unfortunately it didn't work.
for troubleshooting's sake, i went ahead and made a backup of the rom in it's non-working state.
i restored my old backup, it boots just fine.
restored borked backup (tested it, still won't boot), wiped cache/dcache, wiped system, installed cm-10.2-20130821-NIGHTLY-maserati.zip and gapps 20130812, wiped cache/dcache again for good measure, then reboot and waited 10 minutes, still won't pass boot logo.
so i figure someting's wrong with Data right? so i rebooted to safestrap and did a factory restore, then wiped cache/dcache, and still won't boot.
so now i'm going at it the opposite direction. restoring the working backup, restoring just the data from the nonworking backup, then upgrading CM/Gapps
rebooting.. and....
blank screen with full backlight. not so much as a CM logo.
i guess for now i am going to restore back to the old backup, update the rom, and go about reconfiguring, unless anyone has any more suggestions?
Click to expand...
Click to collapse
Yeah, definitely sounds like something in /Data. Only other possible option I can think of would be to use Titanium Backup. It has an option to "Extract from Nandroid backup". It's under the "SPECIAL BACKUP/RESTORE" options. I've never used that option before so I have no idea how or if it would work but might be worth a shot.
kwyrt said:
Yeah, definitely sounds like something in /Data. Only other possible option I can think of would be to use Titanium Backup. It has an option to "Extract from Nandroid backup". It's under the "SPECIAL BACKUP/RESTORE" options. I've never used that option before so I have no idea how or if it would work but might be worth a shot.
Click to expand...
Click to collapse
wonderful idea, unfortunately TB crashes when i point it at either backup.
buuut i did find Nandroid Manager * ROOT which looks like it might be working.
if you really wanna see if it is the data or not have you tried to
flash 10.2 or whatever you started out with... then restore -just-
the data to the freshly flash system and then do a wipe of all
said caches... I do that sometimes to get a fresh start on my
os itself.. works pretty well. Just do not restore the cache just
the data part. Or restore with MD5 checking... if it doesn't check
out then you know for a fact that the data partition in that specific
nandroid isn't any good :/

[Q] ClockworkMod Installed by CM 10.2; cant restore stock.

Hi all
First post. There's a bit of detail here as I'm not sure if there's something that might be relevant to the question that I'll be asking.
I had my phone rooted for a year or two now, "happily" sitting on stock Gingerbread. Over the weekend, I decided to take the plunge and install CyanogenMod 10.2
Prior to starting, I went in to ClockWorkMod Recovery and made a Nandroid backup. (CWM was installed when I rooted the phone, it was version 2.5.1.0)
I also used TitaniumBackup to back up all of my contacts and SMS messages (wasn't bothered with anything else).
I downloaded CM 10.2 from the website and gapps-jb-2013013 to go with it. I read around how to do the update and armed with the laptop for googling, I began:
Wiped everything and began flashing CM.
It failed. Got an Error 0 when trying to install the package.
Googled furiously, tried editing a line in the CM zip file (something to do with detecting the model of my phone), then flashing it from the external SD card. Still nothing. Copied original CM zip file back to the external SD card. Eventually got fed up and rebooted phone to recovery thinking I was beaten and I'd have to restore to stock
But then I notice that CWM has changed. Now I have the gears/orange/hat logo, it's reporting that it's version 6.x
So it seems that it updated CWM. I'm wondering if that might have been causing the problems...
So I now try to re-flash CyanogenMod. It flashes. Flash gapps too: It works - Hooray! Try rebooting -> bootloop (although at least now it's a cyanogenmod bootloop )
Can't power off phone, so I remove the battery, give it the old DOS 15 seconds, battery back in and boot to recovery again.
Wiped partitions again, reflashed CyanogenMod and gapps and this time it works. Hooray again! Reboot phone and in no time it's asking about google accounts and such. AWESOME (albeit slightly nervewracking)
So I have CM 10.2 running and Play Store runs and I can download apps. I pull down Titanium, restore my contacts to test it out.
Crash. (Something about acore process has stopped ...)
Reboot. acore still crashing.
OK, no panic. It's probably broken, but the since I've just flashed it and have nothing on there other than ROM and gapps, I can do it again.
Did. Went fine. New Nandroid Backup as a precaution.
So, Titanium won't extract contacts. Wasn't going to chance it with SMS messages, so held off on installing it again.
Googled some more, read about AppExtractor which can talks directly to Nandroid backups.
Installed AppExtractor, tried restoring contacts - blanks the 3 contacts I had started manually creating and leaves me with nothing.
Rebooted just in case. Still nothing
Tried it again just in case it would prefer an empty contacts location. Still Nothing.
Decided that because I now have a Nandroid backup of CM, I'll go back to stock, export SMS and contacts out to some sort of neutral format, then come back to CM (with newly acquired Nandroid backup) and import. Should be straightforward.
And as if you couldn't guess: It wasn't.
CWM (6.x) refuses to restore the stock rom (I've also tried using a backup that I made about 6 months ago, no luck there either).
So the situation is now: Phone running fine on CM 10.2.1 (only one spontaneous reboot and subsequent bootloop), but can't restore old Nandroid backups (taken with CWM 2.5.1.0 speedmod).
I've tried e-mailing the author of AppExtractor but haven't heard anything back.
Finally, to the questions (thanks for your patience)
Any thoughts on why I can't go back to the old stock rom? Is there no backward compatibility?
And: Any way to restore SMS messages and contacts from the old stock rom to the new CM rom (if AppExtractor doesn't work).
Thanks in advance
Scouser27
Of course you can't restore contacts, TW format and AOSP are not compatible. Also nandroid done with CWM 2xxx isn'restorable with CWM 5xxx or 6xxx.
Also forget Titanium Backup for any system apps or files. Not gonna work with Cyanogenmod. Every OP warns about that.
The best way is to flash your old GB with odin, then SpeedMod kernel, restore your nandroid, export contacts to SD card (in contacts app in menu) and backup SMS with app "SMS backup & restore" by Ritesh Sahu.
I have described all here:
http://forum.xda-developers.com/showthread.php?t=2444308
tetakpatalked from Nexus 7 flo
Partial answer
Found a partial answer to the first question in the FAQ of this post:
Link
So it would seem that the only way back would be to get the stock Gingerbread (I have a copy of a file that appears to be the rooted Samsung Kernel)
[Additional thanks to tetakpatak for his reply whilst I was posting this - it seems that the article I linked above is the same one quoted in tetakpataks reply]
Realistically though, I'm not sure I could be bothered with going back to stock.
So now to the recovery of contacts and SMS messages.
Thanks again
Scouser27
scouser27 said:
Scouser27
Click to expand...
Click to collapse
Don't worry. I hope you know which GB did you use before. At least you must know which SpeedMod kernel did you have so if you now just flash a fairy similar GB like you used before and the same SpeedMod kernel, you will be able to restore your nandroid backup so you will have all your data back.
tetakpatalked from Nexus 7 flo
tetakpatak said:
Don't worry. I hope you know which GB did you use before. At least you must know which SpeedMod kernel did you have so if you now just flash a fairy similar GB like you used before and the same SpeedMod kernel, you will be able to restore your nandroid backup so you will have all your data back.
tetakpatalked from Nexus 7 flo
Click to expand...
Click to collapse
Thanks for the suggestions and apologies for the delay in replying.
I don't know the Gingerbread version - didn't think I'd be going back to it!
I appreciate you taking the time to follow up on this, but I'm going to park this issue and learn a simple lesson. BACK UP EVERYTHING and do it more than one way!!
Thanks again for the help and suggestions

Categories

Resources