Proper way to restore from Nandroid backup??? - myTouch 4G Q&A, Help & Troubleshooting

I searched high and low and can't find a definitive answer... Am I supposed to wipe cache, dalvik cache or anything else prior to restoring a nandroid backup?
Thanks for helping a noob out.
RA

radamo said:
I searched high and low and can't find a definitive answer... Am I supposed to wipe cache, dalvik cache or anything else prior to restoring a nandroid backup?
Thanks for helping a noob out.
RA
Click to expand...
Click to collapse
boot into recovery
select back up restore option
select restore backup
select the backup you wish to restore and let it do its thing
then reboot
DONE
no need to wipe anything at all...
but just for warm and fuzzies i would make sure that you have the engineerring bootlader, AKA 85.2007 and not the 86.0000 just in cause something unforseen happens, as there has been an influx of problems with mount errors and FAIL PU errors, just my 2 cents

radamo said:
I searched high and low and can't find a definitive answer... Am I supposed to wipe cache, dalvik cache or anything else prior to restoring a nandroid backup?
Thanks for helping a noob out.
RA
Click to expand...
Click to collapse
I wipe everything prior to to using the backup. the nandroid contains all system files(apps,etc) so I wipe to get rid of rom in use.

Ace42 said:
I wipe everything prior to to using the backup. the nandroid contains all system files(apps,etc) so I wipe to get rid of rom in use.
Click to expand...
Click to collapse
this is not needed as the nandroid is like a picture of your system as a whole when making a backup... so restoring a backup wipes your entire system back to the state it was when the nandroid back up was made... but if that makes you feel warm and fuzzy then my all means do it your way, i used to do the same thing you stated until i did my research and found that is is not needed, and have never had a problem since not wiping prior to doing a nandroid restore!

irrelephant said:
this is not needed as the nandroid is like a picture of your system as a whole when making a backup... so restoring a backup wipes your entire system back to the state it was when the nandroid back up was made... but if that makes you feel warm and fuzzy then my all means do it your way, i used to do the same thing you stated until i did my research and found that is is not needed, and have never had a problem since not wiping prior to doing a nandroid restore!
Click to expand...
Click to collapse
+1 - I've never wiped before a restore, but have done countless restores. Don't worry about it.

Related

On flashing between roms.

I know to do a system wipe/factory reboot, but do I also wipe the dalvik cache every time?
Zardos66 said:
I know to do a system wipe/factory reboot, but do I also wipe the dalvik cache every time?
Click to expand...
Click to collapse
It's the safest way to do it, yes. If I were you, before doing anything, I'd install Titanium Backup and create a backup of all of you installed applications. Then, I would create a Nandroid backup for this current rom.
Each time you install a new rom, install Titanium Backup and restore your applications. Then, finish it up by creating a Nandroid backup. In the end, you can just flash between Nandroid backups to switch back and forth between roms that will contain all of your applications and user data.
Saturn2K said:
It's the safest way to do it, yes. If I were you, before doing anything, I'd install Titanium Backup and create a backup of all of you installed applications. Then, I would create a Nandroid backup for this current rom.
Each time you install a new rom, install Titanium Backup and restore your applications. Then, finish it up by creating a Nandroid backup. In the end, you can just flash between Nandroid backups to switch back and forth between roms that will contain all of your applications and user data.
Click to expand...
Click to collapse
Alright, cool. I do make nandroid backups for everything and I use Titanium. I just wasn't sure on wiping Dalvik everytime. Thanks!

[Q] When I restore a NAND backup, do I need to wipe anything?

When I restore a NAND backup via xrecovery, do I need to wipe anything?
Anyone? Cache or something?
No, you don't. Point of backup is to restore your phone in previous state, so it would be pointless to wipe anything after restore.
Blagus said:
No, you don't. Point of backup is to restore your phone in previous state, so it would be pointless to wipe anything after restore.
Click to expand...
Click to collapse
Yeah, thought of that, but I saw somewhere that you must still wipe cache or do a factory reset cuz you will bootloop. Thanks!

CM10 - Can't install nandroid backup - "Error while restoring /system"

Dear all,
I was on Quarx CM10 build 20121118, then just tried this http://forum.xda-developers.com/showthread.php?t=2080556 and managed to kill my phone. I think what happened was that the data partition was full and an empty services.jar was written back. But whatever I thought I am a lucky guy because I did a full backup in custom recovery just the night before.
So I went into custom recovery, did a factory reset, wiped all I could and selected restore system and data.
But all I get is "Error while restoring /system" And "error while restoring android secure".
I spent the whole day searching the forum, found something about formatting system/data to ext3, tried that with no change.
Any help would be greatly appreciated. Would be even greater if you could explain the steps understandable for an idiot like me.
Thanks in advance,
Matthias
mmbytes said:
Dear all,
I was on Quarx CM10 build 20121118, then just tried this http://forum.xda-developers.com/showthread.php?t=2080556 and managed to kill my phone. I think what happened was that the data partition was full and an empty services.jar was written back. But whatever I thought I am a lucky guy because I did a full backup in custom recovery just the night before.
So I went into custom recovery, did a factory reset, wiped all I could and selected restore system and data.
But all I get is "Error while restoring /system" And "error while restoring android secure".
I spent the whole day searching the forum, found something about formatting system/data to ext3, tried that with no change.
Any help would be greatly appreciated. Would be even greater if you could explain the steps understandable for an idiot like me.
Thanks in advance,
Matthias
Click to expand...
Click to collapse
You can't restore nandroid of CM10/9, i dont know why, but i also can't restore cyanogenmod nandroid backups, stock roms backups are restoring fine, but cm - still no luck. PS: your system is ext3, because we have locked boot. Data and other partitions restoring fine except cm backups.
mmbytes said:
Dear all,
I was on Quarx CM10 build 20121118, then just tried this http://forum.xda-developers.com/showthread.php?t=2080556 and managed to kill my phone. I think what happened was that the data partition was full and an empty services.jar was written back. But whatever I thought I am a lucky guy because I did a full backup in custom recovery just the night before.
So I went into custom recovery, did a factory reset, wiped all I could and selected restore system and data.
But all I get is "Error while restoring /system" And "error while restoring android secure".
I spent the whole day searching the forum, found something about formatting system/data to ext3, tried that with no change.
Any help would be greatly appreciated. Would be even greater if you could explain the steps understandable for an idiot like me.
Thanks in advance,
Matthias
Click to expand...
Click to collapse
That's the point formatting system & data to ext3, but make sure don't wip data & cache after rom installed without reboot , since you're still under CM10's bootmenu.
Hope this helps .
Sent from my GT-N7100 using xda app-developers app
donf6938 said:
That's the point formatting system & data to ext3, but make sure don't wip data & cache after rom installed without reboot , since you're still under CM10's bootmenu.
Hope this helps .
Click to expand...
Click to collapse
Sorry, no. I do not understand what you mean. Could you please describe the steps?

nandroid + flashing/restoring across roms

I'm having a little trouble understanding nandroid vs. other forms of backup and would appreciate some clarification. I'm running CM nightly on my Fido (Canada) G4. I took a nandroid as well as titanium backup of the factory stock image before I flashed CM.
A poster in the last thread I made suggested if I wanted to restore to stock, I could simply restore the nandroid, but I've also seen people say you shouldn't use nandroid to go across ROMs. My understanding is that nandroid is like having a filesystem backup, which would obviously not react well if you restored it over a new operating system (e.g. two different versions of windows). Or is nandroid more like say Acronis, which takes an entire disk image and overwrites everything?
Other misc questions:
- If I do restore via nandroid, do I need to wipe all data / cache / system data before or after the restore?
- I assume I can use titanium to restore SMS + all non-system apps across ROMs, which would save a lot of time.
- If I'm going from one CM nightly to another, would titanium work for system apps (e.g. all my settings, or contacts, etc)
- If I want to flash a new CM nightly, do I need to follow the entire wipe procedure just as if it were going from one ROM to a completely different one?
Thanks!
always make a nandroid in recovery. i recommend keeping it on your micro sd card. in the event you need to return your device to it's previously functioning state, restore the nandroid in recovery. if you are running an aosp rom and your nandroid is touchwiz, wipe data, cache & dalvik before restoring the nandroid. if the backup is on your micro sd then feel free to wipe system as well.
if you want to flash a nightly or update to a rom you are currently running, simply wipe cache and dalvik then flash the update, gapps and any custom kernel that you may be running.
i cannot answer your titanium backup questions because i do not use that program
xBeerdroiDx said:
always make a nandroid in recovery. i recommend keeping it on your micro sd card. in the event you need to return your device to it's previously functioning state, restore the nandroid in recovery. if you are running an aosp rom and your nandroid is touchwiz, wipe data, cache & dalvik before restoring the nandroid. if the backup is on your micro sd then feel free to wipe system as well.
if you want to flash a nightly or update to a rom you are currently running, simply wipe cache and dalvik then flash the update, gapps and any custom kernel that you may be running.
i cannot answer your titanium backup questions because i do not use that program
Click to expand...
Click to collapse
yes, that's about what I have. ok, thank you for the clarification of what to wipe! that's good to know.
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
and thanks, I'll hold out hope that someone with titanium expertise will be able to answer that one
kabutar said:
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
Click to expand...
Click to collapse
yes, system/user data will remain. understand, however, that if you perform one of these dirty flashes and you have a problem with the functionality of the ROM, you'll need to do a full wipe and flash to see if this clears the issue before you report the problem in the development thread.
kabutar said:
yes, that's about what I have. ok, thank you for the clarification of what to wipe! that's good to know.
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
and thanks, I'll hold out hope that someone with titanium expertise will be able to answer that one
Click to expand...
Click to collapse
Your right on both titanium questions.. However its not recommended to restore system apps you backed up on a aokp/aosp ROM to a touchwiz ROM and the other way around... Other than that like I said your fine
Sent from my WANAM'ED AT&T S4

[Q] PLEASE HELP: Settings Application Gone

I have been doing some nandroid backups with online nandroid backup app and noticed the settings app was missing shortly after restoring desktop data from a nandroid backup using nandroid manager. Please help! This is a major inconvenience!
Wipe dalvik cache and cache and reflash your ROM and gapps.
estallings15 said:
Wipe dalvik cache and cache and reflash your ROM and gapps.
Click to expand...
Click to collapse
Thanks for the response. What do you recommend I do in terms of backup? Would nandroid backup and later restore with nandroid manager app of user apps/app data work? How about my rom's settings I've worked so hard setting up?
frusso21 said:
Thanks for the response. What do you recommend I do in terms of backup? Would nandroid backup and later restore with nandroid manager app of user apps/app data work? How about my rom's settings I've worked so hard setting up?
Click to expand...
Click to collapse
Make a nandroid in recovery. I always use titanium backup to restore apps. If the data for settings.apk is in your data partition it won't be touched. The other APS shouldn't be touched either. The backup will just be for good measure.
estallings15 said:
Make a nandroid in recovery. I always use titanium backup to restore apps. If the data for settings.apk is in your data partition it won't be touched. The other APS shouldn't be touched either. The backup will just be for good measure.
Click to expand...
Click to collapse
Aaaaand it didn't work. Everything is the same as 10 minutes ago. Please help
ROM Update fixed this.

Categories

Resources