[Q] Restoring Nandroid backups - Desire Q&A, Help & Troubleshooting

Hi,
I'm having some problems flashing Google App and A2SD+ scripts on my CMv7 ROM. After flashing the scripts, the phone keeps hanging on the bootup screen, and I have to wipe my phone and reflash CM before it boots up again, which makes me lose all my configuration settings and app installations.
I'd like to know, if I do a Nandroid backup with CWM Recovery after I setup my phone to my liking and something goes wrong when applying a script, will restoring the Nandroid backup bring my phone back to the state right before script application?
Thanks.

goister said:
Hi,
I'm having some problems flashing Google App and A2SD+ scripts on my CMv7 ROM. After flashing the scripts, the phone keeps hanging on the bootup screen, and I have to wipe my phone and reflash CM before it boots up again, which makes me lose all my configuration settings and app installations.
I'd like to know, if I do a Nandroid backup with CWM Recovery after I setup my phone to my liking and something goes wrong when applying a script, will restoring the Nandroid backup bring my phone back to the state right before script application?
Thanks.
Click to expand...
Click to collapse
Yes. Restoring a nandroid returns your phone to the exact state it is when the nandroid is made.
Sent from my HTC Original Desire using Tapatalk

Related

how to make a nandroid backup?

I've tried to search but cant find a guide how to make a backup of my phone... if someone can explain or post me a link, i will be a happy man
Root phone.
Power off.
Hold volume down and power the phone on, and enter recovery mode.
Get into recovery menu (recoverywhatever.sh on *NIX or recovery-windows.bat)
Scroll to backup/restore in recovery menu.
Select backup NAND only - backing up EXT causes errors right now.
Find saved nandroid on your SD card.
Back up your apps separately using Titanium Backup or MyBackup Pro. Restore by wiping the phone, restoring the NAND, and restoring the apps via one of the above apps.
You need root for nandroid. Then it's done in recovery.
its rooted, but when i go into the recovery menu, the phone just shows a picture with a red triangle, is that correct?
No. Get back into the green recovery menu by running recovery-windows.bat or whatever method you used in step 2 of the rooting process to flash the rooted zip file.
ok thnx
one more thing, the titanium backup said i need busybox, how do i install that?... Found out myself
Did you get this problem solved as I have the same problem. I re rooted my desire and the same thing happened. The only time i can go to recovery is when I use recovery-windows.bat from the r5 tools. Any help?
i just use rom manager. choose backup in there, phone reboots itself, backs itself up and done.
used the recovery options a few times when moving from rom to rom.
ClockworkMod Recovery tool
ClockworkMod Recovery tool is really handy. Does everything itself in few clicks. I used Rom manager to backup with no problems without any previous experience.
tommo123 said:
i just use rom manager. choose backup in there, phone reboots itself, backs itself up and done.
used the recovery options a few times when moving from rom to rom.
Click to expand...
Click to collapse
installed rom manager and when choosed backup curret rom it asked for desired name then tap ok and reboots, now its freeze into htc slash screen
A2SD
Edit:
I accidentally posted on the wrong thread...
Are there still problems with this?
"backing up EXT causes errors right now."
I have one question.
If i make a nandroid backup, does it make a FULL nand backup or just certain parts of nand ?
If i for example make a backup of my leedroid rom with all my apps and settings
make wipe and then try a gingerbread rom, will restoring nandbackup actually restore the prevision rom with all the settings and apps ?
hojnikb said:
I have one question.
If i make a nandroid backup, does it make a FULL nand backup or just certain parts of nand ?
If i for example make a backup of my leedroid rom with all my apps and settings
make wipe and then try a gingerbread rom, will restoring nandbackup actually restore the prevision rom with all the settings and apps ?
Click to expand...
Click to collapse
It will restore the entire rom to the exact state as the time before the nandroid. So yes all settings and apps will be there.
Great to know..
Thx
Is it worth rooting for a backup?
Also will a new OTA just remove root if or when another OTA comes out... ?
Sent from my HTC Desire using XDA App
Lothaen said:
Is it worth rooting for a backup?
Also will a new OTA just remove root if or when another OTA comes out... ?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
No there is not a real point in rooting for the ability to back up. And despite what some say, never apply OTA updates on rooted devices! But custom versions will come out at the same time as the OTA so you don't miss out on anything.
Sent from my HTC Desire using XDA App
TheGhost1233 said:
No there is not a real point in rooting for the ability to back up. And despite what some say, never apply OTA updates
Click to expand...
Click to collapse
What's an OTA update?
Just install rom manager then click on back up . Boom you have a nandroid back up.
Sent from my HTC Desire using XDA Premium App
Ota update is
Over the air update so its basically stock updates from phone manufactures
Sent from my HTC Desire using XDA Premium App

[Q] Proper backup help

I am running Virtuous and it is running smooth as butter, but I would like to try one of the CM7 nighly, and want to be able to go back if need be with out hours of work. I am running clockwork recovery and rom manager, and also have titaium back up installed. Phone is rooted with s-off. Can I just run a back up from rom manager do a complete wipe and install CM7. I also need to update hboot from .79 to .92 should this be done prior to the rom manager back up. Should CM7 not work out how do I restore back? Thanks
Yeah just nandroid (which means backing up the rom and all your settings) and you can go back at any time. In Rom manager just go to Backup current Rom and you will always have a copy of your setup EXACTLY as it is.
You can update HBOOT whenever you want, it really doesn't matter when you do it. Once you do it will stay that way.
Correct me if I'm wrong, but doesn't doing a nandroid backup essentially make a complete clone of your entire phone that you can restore later?
eman5oh said:
I am running Virtuous and it is running smooth as butter, but I would like to try one of the CM7 nighly, and want to be able to go back if need be with out hours of work. I am running clockwork recovery and rom manager, and also have titaium back up installed. Phone is rooted with s-off. Can I just run a back up from rom manager do a complete wipe and install CM7. I also need to update hboot from .79 to .92 should this be done prior to the rom manager back up. Should CM7 not work out how do I restore back? Thanks
Click to expand...
Click to collapse
Okay, here's what you to do back up:
1. Back up your apps with Titanium Backup - DO NOT BACK UP PHONE DATA. Backing up data for games (e.g. Angry Birds) is fine, but don't back up contacts or Gmail or anything that's going to be included in your new ROM. Reason is, when you restore everything (more on that later), you don't want to have conflicting data screwing things up.
2. Make a nandroid using ROM Manager. Just go to where it says backup current rom, and let it do it's magic. You can (and should) rename it to something you can remember. DO NOT USE SPACES. I like to name mine with the date, ROM name, and version number (e.g. 2-3-11_Virtuous_3.1.0)
3. After the backup finishes, install the new ROM - I always do this through ROM Manager.
4. When CM7 is finished installing, download Titanium Backup and restore your apps using the batch operation - it's a lot simpler than trying to find all your apps and download/install them yourself
5. To go back, simply click "Restore Backup" in ROM Manager and pick Virtuous and all your hard work will be restored
Enjoy!
I've had lots of trouble with ROM manager not restoring or backing up my current ROM properly.....it'll always say that the installation was aborted or say the file is corrupt
Sent from my ADR6300 using XDA App
AlpineM3 said:
I've had lots of trouble with ROM manager not restoring or backing up my current ROM properly.....it'll always say that the installation was aborted or say the file is corrupt
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
How much free space is left on your card? Format and try it with a clean card. I have never had a problem with it restoring anything of mine.
Zoon0n said:
Okay, here's what you to do back up:
1. Back up your apps with Titanium Backup - DO NOT BACK UP PHONE DATA. Backing up data for games (e.g. Angry Birds) is fine, but don't back up contacts or Gmail or anything that's going to be included in your new ROM. Reason is, when you restore everything (more on that later), you don't want to have conflicting data screwing things up.
2. Make a nandroid using ROM Manager. Just go to where it says backup current rom, and let it do it's magic. You can (and should) rename it to something you can remember. DO NOT USE SPACES. I like to name mine with the date, ROM name, and version number (e.g. 2-3-11_Virtuous_3.1.0)
3. After the backup finishes, install the new ROM - I always do this through ROM Manager.
4. When CM7 is finished installing, download Titanium Backup and restore your apps using the batch operation - it's a lot simpler than trying to find all your apps and download/install them yourself
5. To go back, simply click "Restore Backup" in ROM Manager and pick Virtuous and all your hard work will be restored
Enjoy!
Click to expand...
Click to collapse
Am I asking for trouble when backing up apps via titium, and switching roms? I thought that I read that somewhere? I have used app brain to do the restores, but it is a little slow. Also Thanks to everyone for the replies.
I've read that the newer versions of Clockwork are troublesome....anything after 2.5.05. I just went in and erased any previous ROM's that I don't use anymore to free up valuable space on the SD card. Hopefully it works, but the message error i've been getting......well not a message error, but my phone seems to freeze up while developing MD5sum. I read to leave it alone and it might take 10 min's actually, but just want to confirm this is true. Thanks.
g00s3y said:
How much free space is left on your card? Format and try it with a clean card. I have never had a problem with it restoring anything of mine.
Click to expand...
Click to collapse
AlpineM3 said:
I've read that the newer versions of Clockwork are troublesome....anything after 2.5.05. I just went in and erased any previous ROM's that I don't use anymore to free up valuable space on the SD card. Hopefully it works, but the message error i've been getting......well not a message error, but my phone seems to freeze up while developing MD5sum. I read to leave it alone and it might take 10 min's actually, but just want to confirm this is true. Thanks.
Click to expand...
Click to collapse
I use 2.5.1.2 and have never personally had any problem, sorry.
eman5oh said:
Am I asking for trouble when backing up apps via titium, and switching roms? I thought that I read that somewhere? I have used app brain to do the restores, but it is a little slow. Also Thanks to everyone for the replies.
Click to expand...
Click to collapse
I've gone from Stock to Virtuous to MIUI to CyanogenMod and I can say definitively that I have never had any problems with Titanium backing up/restoring apps. You are asking for trouble if you try to back up system data and restore it for ROM's that they were never intended for - just back up the apps you downloaded from the market/installed yourself and you'll be fine
So here is what I did,
1 Did a Rom back up from Rom manager
2 Backed up user apps with Titanium Pro
3 Updated Clock Work Mod to 2.5.1.2
4 Flashed Hboot from .79 to .92
This is were ran into a problem, after hboot flashed it just went into a boot loop were all I could do is go into hboot or clock work recovery but that is it phone would not boot. I searched a little and read that hboot wipes the kernal and that is why it will not reboot. I then went into clockwork and restored the rom I backed up in step 1, and it worked like a charm. Thought I would share so any one else who runs into this. Now off to flash cm7!
Rocking CM7 now, Thanks for all the help and advice from everyone. The Android community rocks.

Nandroid backup rebboting after udating to clockwork recovery 3?

Hello,
I just got back my desire from repair and have rooted it again using unrevoked, my main rom i flashed was cyanogen 7, i made a backup and then i thought i would s-off and update to clockwork recovery 3....everything was successful.
But when i try out other roms then decide to restore my nandroid back up of cyanogen 7 messeges pop up quickly saying all the apps and stuff have stopped unexpectedly and then the phone reboots again and again.
Can some one help please.
Cheers.
Just do a full wipe and fresh install then backup again.
Sent from CM7
Meaple said:
Just do a full wipe and fresh install then backup again.
Sent from CM7
Click to expand...
Click to collapse
Hi,
I have done this 3 times and the nandroid backup still reboots, only way to fix it is to install cyanogen on top of it and it fixes it.
I think i will need to try with a sense rom and see if it happens too.
Thanks.
Your tryings to restore the same backup? I said wipe, install fresh then backup that rom, not restore the old one.
Sent from CM7
And if you did some fancy formatting to your SD card. Well, Might think about that also....
Meaple said:
Your tryings to restore the same backup? I said wipe, install fresh then backup that rom, not restore the old one.
Sent from CM7
Click to expand...
Click to collapse
I have deleted the old backup and made new one's each time after a full wipe, the card is formatted correctly and working fine, i have only had this problem after i updated clockwork mod and s-off.

HELP NEEDED with CWM "error while restoring /data!"

Hey guys,
I have kind of a serious issue right now. I used Touch Recovery 5.8.0.2 and made a full backup today of my whole ROM (2.5GB) before trying out some mods which eventually didn't work. So I decided to wipe and restore the backup I made. No matter what I do I cannot get it to restore my data partition properly. I keep getting "Error while restoring /data!" message, however it does the boot image and system fine but doesn't continue to cache and sd-ext because of the failed data. Whenever I boot it up, some of my apps are missing from the home screen and practically all of them are not working when I launch them (force close). I also get boot up error of Google+ force close, among a bunch of other issues. This is happening even when I try to restore an older backup as well. My device is not working state right now and although I can just restore the stock images to get it working again, it is urgent that I restore my data ASAP! I tried wiping several times and even using the non-touch 5.5.0.4 recovery to restore and same thing keeps happening.
Any help would be highly appreciated!
Please don't tell me my backup is corrupt
Update 1: Eventually I gave up and started from scratch but I have confirmed already this happened on a fresh backup as well, at this time we are trying to figure out what is causing this so I can go back to safely backing up and restoring backups.
Update 2: We have test builds of TWRP Recovery that may have resolved this issue! We need testers!
Please see this post: Link Here
Update 3: We have test builds of ClockworkMod Recovery 6 that may have resolved this issue as well! We need testers!
Please see this post: Link Here
***Always see last few posts on the thread for updates on what we discovered just in case I don't update the OP***
Unfortunately I also have the same error today!
Please help us out.
JayantSparda said:
Unfortunately I also have the same error today!
Please help us out.
Click to expand...
Click to collapse
is your phone encrypted?
are you running stock recovery?
are you running a stock Rom?
have you done a factory reset yet?
Hi Spectre85,
My phone did fine yesterday, I was running AOPK Milestone 3 with FAUX123 kernel.
But when I woke up, my phone looked like it's battery was emtpy.
- When I plugged the phone with the charger, I started the phone again.
- Unfortunately my phone keep looping at the Google screen over and over.
So I pulled the battery and put the battery back again in the phone.
- I went to the bootloader and went to CWM recovery.
Deleted Data, Cache and Dalvike cache.
- Tried to retrieve my backup rom, but keep getting this "Error while restoring /data!" message.
I've tried to install other roms as well, but I still keep getting the bootloop at the Google screen.
Have you guys have any advice for me?
spectre85 said:
is your phone encrypted?
are you running stock recovery?
are you running a stock Rom?
have you done a factory reset yet?
Click to expand...
Click to collapse
For me, no, no (CWM Touch 5.8.0.2), yes (stock rooted 4.0.4), no but my goal is to restore my data not erase it.
I had this happen to me before, what I did was flash a factory image through fast boot and it was fine after.
Sent from my Galaxy Nexus using xda premium
Thanks guys..I flashed the factory image through Fastboot mode and the phone works perfectly again! Too bad I lost all my data, but I'm happier that I have my phone fully functional again
You can't access your backup right? There's no way you can copy the file to your desktop?
mohitrocks said:
You can't access your backup right? There's no way you can copy the file to your desktop?
Click to expand...
Click to collapse
I did copy it. I have full access to the file. Also, just fyi my goal here is not just to get to working state (I'm aware of the stock images) but to actually recover my data. My phone is currently on stock images completely blank and working now.
Fast boot flash the nand images just like u did the stock ones.
Sent from my Galaxy Nexus
bwcorvus said:
Fast boot flash the nand images just like u did the stock ones.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Nanadroid files can be flashed in fastboot? Are you sure? First time I'm hearing this. Doesn't fastboot need .img files? These are .tar files.
Open it up and see if its image...sorry all my recoveries use images.
Sent from my Galaxy Nexus
bwcorvus said:
Open it up and see if its image...sorry all my recoveries use images.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
I guess it depends on the recovery version you use. I remember older versions actually had .img files. However 5.5.0.4 and Touch 5.8.0.2 both have ext4.tar files.
Which version of recovery do you use?
If you have root, you can restore your data partition using Titanium Backup. Use "Export from Nandroid Backup" within TB, select the nandroid backup and then select all apps that you want to restore
Immix said:
If you have root, you can restore your data partition using Titanium Backup. Use "Export from Nandroid Backup" within TB, select the nandroid backup and then select all apps that you want to restore
Click to expand...
Click to collapse
Interesting...will this include settings as well like my home screen icon/widget layout, wallpaper, etc?
open1your1eyes0 said:
Interesting...will this include settings as well like my home screen icon/widget layout, wallpaper, etc?
Click to expand...
Click to collapse
Yes. Titanium Backup can restore all your system apps as well as downloaded apps from a nandroid backup. Not as clean as a nandroid restore from CWM but essentially the same thing. But try to see if Titanium Backup can extract your nandroid backup. It all depends on what exactly went wrong with your nandroid backup to begin with. I don't think it restores cache. So not sure about wallpaper.
Immix said:
Yes. Titanium Backup can restore all your system apps as well as downloaded apps from a nandroid backup. Not as clean as a nandroid restore from CWM but essentially the same thing. But try to see if Titanium Backup can extract your nandroid backup. It all depends on what exactly went wrong with your nandroid backup to begin with. I don't think it restores cache. So not sure about wallpaper.
Click to expand...
Click to collapse
You're right. This works great for restore data to select apps (got my notes and game saves back). I think the icon layout is held in the launcher settings, I'm about to try and restore the data to the launcher app and see what happens. I'm making a CWM backup of first of my current state (that's assuming this backup will actually work).
EDIT: Yes! That did it! Widgets position weren't saved but it's ok I only had a few so I manually put them back. Thank you! I never knew TB had the ability to work with nandroid backups.
I guess this now just leaves me figuring out what went wrong with the CWM backup. It happened twice (I have two backups from the same day that won't restore). Does anyone else use CWM Touch 5.8.0.2 and have successful backups? I would experiment to see if it works now but I don't want to end up with a corrupt backup and redo everything again.
Yes with me its the same thing my data its corrupt is even worse every time I do a nanobackup and restarted my phone the phone freezes on the boot logo and I have to go back to recovery trying to use my backups but I can't so I have to flash a new from again and start from the beginning again!!!! Anybody here has the same experience with that ???
So AGAIN, I'm having the same issue. This time on a recovery 5.5.0.4 that used to work for me when I originally got my phone. I think either my data partition might be too big or something but this really needs to fixed pronto. Anyone know how to contact Koush directly in regards to this matter?

Nandroid Backup Problems Using TWRP

I was messing with my buildprop settings and somehow it made my phone system UI force close and kept freezing but i made sure to make a nandroid backup using twrp just in case anything went wrong.I went into twrp to try to restore back to my nandroid backup and it restored fine but as soon as it boots up i get android process gapps fc then none of my apps are opening up just closes and becomes a black screen,then i got unfortunately process system has stopped.Can anyone help as to why my nandroid backup is acting up.My phone was working fine prior to me editing my buildprop.
Azzair113 said:
I was messing with my buildprop settings and somehow it made my phone system UI force close and kept freezing but i made sure to make a nandroid backup using twrp just in case anything went wrong.I went into twrp to try to restore back to my nandroid backup and it restored fine but as soon as it boots up i get android process gapps fc then none of my apps are opening up just closes and becomes a black screen,then i got unfortunately process system has stopped.Can anyone help as to why my nandroid backup is acting up.My phone was working fine prior to me editing my buildprop.
Click to expand...
Click to collapse
Did you do a full wipe before you restored the backup? I have successfully used TWRP to restore TW after installing CM11, so it seems to work.
mlpmail said:
Did you do a full wipe before you restored the backup? I have successfully used TWRP to restore TW after installing CM11, so it seems to work.
Click to expand...
Click to collapse
No I didnt I guess that might be why thanks I'll let you know if it works

Categories

Resources