Advanced restore in CWM - how reliable? - Epic 4G General

If after flashing a ROM in CWM (3.1.0.1) I restore data from a nandroid backup, is that usually a process that goes smoothly or will I be better off down the road if I restore any unique data in a more traditional way? What have your experiences with this process? I'm talking about a Froyo to GB update, of course. Does this method really just bring back apps, their data and settings? How far does it go?

I use advanced restore data all the time now that the old scripts are not working for me when flashing a new ROM. 100 % success rate. If you have issues then try Titanium for only what you absolutely have to have.

I had a nightmare going from ec05 to ei22 with persistent boot loops. CWM data restore, Titanium Backup, and MyBackup Pro all had the same issue... it ended up being a problematic app (or more). I restored my user apps in about 9 stages and I have about a dozen apps left, which, when restored, causes a boot loop.
When moving from major Android versions, I suggest doing Titanium Backup for must-have user apps/data, nothing system related, and restore other apps manually or through the market.
CWM data restore extracts the corresponding backup image to the data partitions and .andoidsecure (sp?) directory on your SD card.

Sounds like I should be careful. Thanks. Lucky for me I'm on the conservative side when it comes to how many apps and what's in them.

Related

Messed up home screen after backup

I apologize if this post isn't very clear, I'm tired and English is not my native language...
I upgraded to Cyanogen's 5.0.7 Test 5 ROM not too long ago from CM 4.2.14.1. Before doing that I backed up my app data wit Backup for root users. I haven't done that before, so I checked multiple boxes, not knowing which one was the correct one. The tutorial I followed then stated I should check the SD-card to make sure only app data was backed-up, and no system data.
So I checked and found only maps from my apps.
So far so good.
However, when I restored the app data, my home screen got messed up. It thinks the fourth screen is the center one (so it goes there when pressing the home button) and all widgets say "Problem loading this widget". Also I can't change anything. I Can't remove or rearrange widgets or shortcuts. If I try to do so, Android crashes (FC on android.process.acore).
I'm pretty sure it is completely my own fault, not a bug in the ROM. When I restored the data I must have corrupted the file in which the home screen data is stored.
So, finally my questions: Is there a way to restore this without doing a wipe (I'm guessing re-flashing without a wipe will still keep the corrupted settings)?
If anyone can tell me which file is responsible for the home screen settings, can I delete it so Android will restore it with a new (empty) one?
Can I replace it with someone else's? Or extract it from a ROM-file?
That are the solutions I came up with. If its easier to just wipe and re-flash, tell me and I will do so. I just hoped there was a way I can prevent having to set up the phone all over again...
Thanks in advance!
Did you nandroid backup? If you did, restore it and backup all your apps using Titanium Backup. Backup for root users has always gave me problems as well. Titanium Backup allows all the same options that you need, but just works better imho.
If you didn't nandroid and can't do that - I'm pretty sure a wipe is your only option. You can try fix_permissions from the terminal, but I don't think it's going to fix your problems.
I did do a nandroid backup, but that was just before I flashed CM 5... I guess restoring a nandroid backup from my CM 4.2.14.1 setup is not a good idea?
Hmm, guess I will be re-flashing this evening Thanks anyway!
EDIT: I will use Titanium from now on... I had heard of it, but the tutorial I followed used Backup for root users...
Restoring a nandroid backup is NOT bad at all. That's what its there for. It doesn't matter if you nandroided a completely different ROM then flashed CM5. Flashing a new ROM doesn't affect the nandroid backup EVER.
You flash a nasty, nasty ROM and are like, "Oh ****!" Just go nandroid.
I usually wipe all data/cache before restoring, but some people don't. Either way, it completely restores your phone to the state it was at before backing up. This includes applications and everything. (App data, system settings, app settings, etc.)
I thought nandroid just restored system files and settings... But if it completely restores my phone, a might just as well wipe and re-flash since it will restore it to the previous ROM.
Thanks for the info, I have learned some more about my phone

Some super-simple noob backup questions

Quick and to the point:
1. Is a clockwork backup a full image of the system, such that if I restore from it no matter what kernel, rom, mod, etc. I've installed, I get exactly the completely system and state that I had when I made the backup? I.e., it is a true failsafe against messing up the phone, so long as CWR will boot and the SD card is intact?
2. A complete backup with Titanium, backing up all apps and system data, is a migration path for trying a new ROM? IOW, I can simply do a complete backup with Titanium, wipe wipe wipe, install the target ROM, then restore "missing apps and data" from Titanium and -- voila! I'm on the new ROM, but with all my apps, configuration, etc. I had before?
I'm getting ready to try out the Syndicate ROM...
dwallersv said:
Quick and to the point:
1. Is a clockwork backup a full image of the system, such that if I restore from it no matter what kernel, rom, mod, etc. I've installed, I get exactly the completely system and state that I had when I made the backup? I.e., it is a true failsafe against messing up the phone, so long as CWR will boot and the SD card is intact?
2. A complete backup with Titanium, backing up all apps and system data, is a migration path for trying a new ROM? IOW, I can simply do a complete backup with Titanium, wipe wipe wipe, install the target ROM, then restore "missing apps and data" from Titanium and -- voila! I'm on the new ROM, but with all my apps, configuration, etc. I had before?
I'm getting ready to try out the Syndicate ROM...
Click to expand...
Click to collapse
Ha! I am searching now for the exact same question! I am looking to try the Epic Experience. I will follow this thread to see what the answer is.
Thanks.
First off might I comment that Syndicate Rom is a great choice. Not just saying that cause any of them are my buddies either, cause IDK Any of them... so far though Running Syndicate Rom/Kernel with SetCPU at 200-1200 has been the smoothest Rom experience I have had up to date.
1. Is a clockwork backup a full image of the system, such that if I restore from it no matter what kernel, rom, mod, etc. I've installed, I get exactly the completely system and state that I had when I made the backup? I.e., it is a true failsafe against messing up the phone, so long as CWR will boot and the SD card is intact?
Click to expand...
Click to collapse
Yes in theory it is a backup of everything, data, apps installed, boot, system, literally the entire phone is backed up. Is it a failsafe though? I would rather say not. On some phones we can restore a clockwork recovery and have no issues, but since I've had my epic and switched around with different Roms, I've noticed that restore dosen't work quite as it should, probably because Roms are so much different, and you run into FC's, boot loops, and other issues... Restoring peices in advanced restore works well but a complete restore almost always has bugs.
True statement though that even if you screw up and get a boot loop, or constant force closes/phone restarts, as long as you can get back into clockwork your phone is not screwed. You were right on that one. So no worries if you wanna test and play.
2. A complete backup with Titanium, backing up all apps and system data, is a migration path for trying a new ROM? IOW, I can simply do a complete backup with Titanium, wipe wipe wipe, install the target ROM, then restore "missing apps and data" from Titanium and -- voila! I'm on the new ROM, but with all my apps, configuration, etc. I had before?
Click to expand...
Click to collapse
You have the idea right. You really don't even need to back all your apps up with titanium anymore these days, though, it too is plagued with FC's and problems. If you are using clockwork recovery, and you have made a backup already... all you have to do when installing a NEW rom is first wipe-fest, then let it boot once, then restart, go to clockwork, go to Advanced Restore, and ONLY restore the DATA part. (Reason for this is if you restore Boot, System, etc it will try to restore the Rom you just installed... Data is where all your apps/settings are at) This will do exactly the same thing as titanium backup will do, only with less bugs and alot easier.
Cool... thanks for the great response.
It's too bad there isn't an iron-clad, 100% reliable means to take a snapshot of the phone that can be restored reliably.
On WM it was simply a matter of using one of the various backup utilities (I used SPB Backup 2) to make an image of the system. No matter what I did to the phone, I could always wipe it back to factory clean, then restore from backup and have my phone back exactly as it was, with no issues.
I'm trying a CW backup, factory reset, restore cycle right now to see what happens. I'll report back on my experience.
EDIT: Okay, one deviation from the WM experience: The factory reset did NOT reset the kernel -- MixUp is still showing as the running kernel. Is Odin the only way to get the factory kernel back?​No matter what, I'm on my way after that to the Syndicate ROM!
EDIT: Okay, the CW restore seems to have restored everything back to the way it was, without problems after some brief playing around. No FCs (so far). On to wiping again, installing Syndicate Standard, then restoring data from CW as recommended here.​
OperationMove said:
You have the idea right. You really don't even need to back all your apps up with titanium anymore these days, though, it too is plagued with FC's and problems. If you are using clockwork recovery, and you have made a backup already... all you have to do when installing a NEW rom is first wipe-fest, then let it boot once, then restart, go to clockwork, go to Advanced Restore, and ONLY restore the DATA part. (Reason for this is if you restore Boot, System, etc it will try to restore the Rom you just installed... Data is where all your apps/settings are at) This will do exactly the same thing as titanium backup will do, only with less bugs and alot easier.
Click to expand...
Click to collapse
Alright I took the plunge and it seemed to work well. Some things that I noticed was that on first boot (before I did the restore), all of the preinstalled apps showed up (for instance, wireless tether, wired tether, launcher pro, etc...). Since I did a restore of the data, all of MY apps are there, but some of the apps that were preinstalled disappeared. Not all of them, though. For example, Launcher Pro and Wired and wireless tether disappeared, but Car Home is still there.
Another thing to note is that my widgets on the home screen don't seem to function correctly at first. I had to remove them and readd them to the home screen for them to work.
Other than that, everything is as it should be.
hotwired34 said:
Alright I took the plunge and it seemed to work well. Some things that I noticed was that on first boot (before I did the restore), all of the preinstalled apps showed up (for instance, wireless tether, wired tether, launcher pro, etc...). Since I did a restore of the data, all of MY apps are there, but some of the apps that were preinstalled disappeared. Not all of them, though. For example, Launcher Pro and Wired and wireless tether disappeared, but Car Home is still there.
Another thing to note is that my widgets on the home screen don't seem to function correctly at first. I had to remove them and readd them to the home screen for them to work.
Other than that, everything is as it should be.
Click to expand...
Click to collapse
Hmmm... okay. So just to provide a different datapoint, I'll go the Titanium route to get my own apps and settings back, and report. I'm guessing CW wiped the DATA partition before the restore, wiping out the pre-installed stuff from the ROM.
dwallersv said:
Hmmm... okay. So just to provide a different datapoint, I'll go the Titanium route to get my own apps and settings back, and report. I'm guessing CW wiped the DATA partition before the restore, wiping out the pre-installed stuff from the ROM.
Click to expand...
Click to collapse
Ok, since yesterday, I tried both ways. I did a wipe back to the default Syndicate Rom and installed Titanium Backup. While restoring, I noticed that not all apps would restore (seemed to be ones that were in the stock ROM so it's understandable). I did a restore of apps + data. Now, I had most of my apps back, however, I noticed that some of the data was missing. For me, most importantly was the SMS Messages. I also wanted to note that doing an application by application restore of the backup was very time consuming! I had to basically reinstall every app (and then Titanium restored the data)
Nandroid doesnt seem to touch the kernel on our phones ether I noticed. I had a problem yesterday after I flashed a new rom and when I went to do a restore through nandroid I got a bootloop. Once I reflashed the kernel it fixed the bootlooping problem. I have noticed this in other instances to with kernels not being backed up since I did one after I rooted my phone so I would have a stock image.
Thanks guys on your experience and feedback on the backup thing that I'm wondering what to do after stock root.
dito33
Sent from my SPH-D700 using XDA App
pyroswithoutfire said:
Nandroid doesnt seem to touch the kernel on our phones ether I noticed. I had a problem yesterday after I flashed a new rom and when I went to do a restore through nandroid I got a bootloop. Once I reflashed the kernel it fixed the bootlooping problem. I have noticed this in other instances to with kernels not being backed up since I did one after I rooted my phone so I would have a stock image.
Click to expand...
Click to collapse
This is what I have been told in the past- a nandroid restore does not replace the kernel

[Q]How are multiple user accounts handled in backups?

My Nexus 10 had two user accounts, mine and my wife's. I was the primary account.
I had a bunch of trouble with the Kit Kat OTA install (see my other thread) so I ended up using WUG's Toolkit to restore root and then did a nandroid backup as well as backing up data/media with the Toolkit. I tried to backup the apps with the Toolkit but it wouldn't work for a bulk or single app backup (would complete immediately and be a 0 kb file). I used Titanium Backup to backup all of the apps in my account.
At no point was I ever given an option to back up files for my wife's user account (I'm the main account, she's got a secondary user account). I tried to log into her account and do a Ti Backup but her account didn't have root. I tried to get root with the toolkit while logged into her account and it wouldn't work and didn't give me the impression that it was supposed to work on the secondary account so I assumed (hoped) that her account was included in the backups I already had.
So after all of this backing up, I flashed stock Kit Kat + Root with the toolkit. Everything is up and running properly but it appears I've got NO backup files for my wife's account (other than the Nandroid (maybe)but I'm not aware of any way to use that without screwing up my clean install of Kit Kat).
So my question is, what is the proper way to backup a device with multiple user accounts so it can be restored after a wipe? Also, if a Nandroid backup is done on a buggy/screwed up firmware upgrade, can the Nandroid still be used to restore the device after the firmware is flashed clean/working properly or will the Nandroid bring back the bugs it had before the wipe/install? If so, the Nandroid backup would include my wife's user account correct? Thanks.
Nobody knows how this works?
Cliff-Notes:
--What is the proper way to backup a device with multiple user accounts so it can be restored after a wipe?
--If a Nandroid backup is done on a buggy/screwed up firmware upgrade, can the Nandroid still be used to restore the device after the firmware is flashed clean/working properly or will the Nandroid bring back the bugs it had before the wipe/install?
--If so, the Nandroid backup would include my wife's user account data correct? Thanks.
I would think a backup made from recovery would copy all data regardless of how many accounts you have and would restore it all just as it was.
Recovery/nandroid backups are account insensitive in that its a low level blanket backup of all data and settings.
Backup of a buggy system will result in buggy restore of system
planet_x69 said:
I would think a backup made from recovery would copy all data regardless of how many accounts you have and would restore it all just as it was.
Recovery/nandroid backups are account insensitive in that its a low level blanket backup of all data and settings.
Backup of a buggy system will result in buggy restore of system
Click to expand...
Click to collapse
Thanks, so if I restore using my Nandroid backup of the buggy system, the end result will be a buggy system again correct?
So the only option to backup multiple accounts on a buggy system and be able to restore it later and not end up with a buggy system would be to make a backup in custom recovery (TWRP or CWM)?
Stinger2300 said:
Thanks, so if I restore using my Nandroid backup of the buggy system, the end result will be a buggy system again correct?
So the only option to backup multiple accounts on a buggy system and be able to restore it later and not end up with a buggy system would be to make a backup in custom recovery (TWRP or CWM)?
Click to expand...
Click to collapse
No recovery (custom or other) can make a clean backup out of a preexisting buggy system.
The important bits you really need is your data, the system will be your apps and kernel etc.
One can usually make a clean backup of the data, flash to stock, reload apps and flash data go about your business as if nothing had happened.
Once the system gets buggy and you have no backups, unless you know exactly what caused the bugs and know what to uninstall or what to install to patch/repair using adb or other, you will need to flash a clean system to restore.
OK, I've got a clean install now, I'm just trying to figure out if I have any way to restore my data from the backups I have. Sounds like my data/media backup from the toolkit may do the trick.
planet_x69 said:
The important bits you really need is your data, the system will be your apps and kernel etc.
One can usually make a clean backup of the data, flash to stock, reload apps and flash data go about your business as if nothing had happened..
Click to expand...
Click to collapse
Regarding this statement, I've done the toolkit "Restore Data/Media" and it didn't bring back the second user account, nor did it restore game saves (Real Racing, TrialX2, etc.) in my account. In Titanium Backup, I have the option to "Restore All Apps With Data" or "Restore All System Data". I did the "all apps with data" option and it brought back my game saves but nothing in the second user account.
Here is the weird part though. Restoring app data from Titanium also restored the "buggy" issues. The home button no longer works, the second user account can't be accessed, the lock screen is gone, etc.
Any idea what app data would cause this?
Is there a fix other than flashing stock and starting over again?
Stinger2300 said:
Regarding this statement, I've done the toolkit "Restore Data/Media" and it didn't bring back the second user account, nor did it restore game saves (Real Racing, TrialX2, etc.) in my account. In Titanium Backup, I have the option to "Restore All Apps With Data" or "Restore All System Data". I did the "all apps with data" option and it brought back my game saves but nothing in the second user account.
Here is the weird part though. Restoring app data from Titanium also restored the "buggy" issues. The home button no longer works, the second user account can't be accessed, the lock screen is gone, etc.
Any idea what app data would cause this?
Is there a fix other than flashing stock and starting over again?
Click to expand...
Click to collapse
Toolkit or Titanium backups are NOT the same as nandroid backups.
The nandroid backup will backup all data regardless of how many accounts you have installed.
Titanium and other OS level tools are not account agnostic. TB though I believe has an account option but shouldnt be used as primary system backup tool. Always use your recovery based backup as your primary data recovery tool.

Any problems moving to 4.3 after restoring apps and settings w/Titanium Backup Pro?

I'm thinking about finally moving to 4.3 using a custom ROM (haven't decided which one yet). I have Titanium Backup Pro and plan to restore all my apps and settings after the upgrade. Is this process likely to end in a stable system? I don't have the time and patience to go through installing and configuring everything again, so if it's not a dependable process I might as well wait for the OTA update (and deal with Knox later...)
Thanks!
Don't worry, this is what I did all is fine.
Before anything, make a backup of your internal SD (just in case), EFS backup and all apps with Titanium. Then in Phils recovery select option to erase everything for new ROM flashing. I also did manual wipe of cache & dalvik just in case. Don't worry, your internal card won't be touched, but always better safe than sorry. Then flash MJ5 kernel, and finaly flash your chosen ROM. Then you can restore apps from titanium. I had like 2 apps that didn't work at all after restore, probably incompatible with 4.3. The system is stable 100%. Never had a reboot.
Thank you Dalanik. This is very encouraging to know.
oren_b said:
I'm thinking about finally moving to 4.3 using a custom ROM (haven't decided which one yet). I have Titanium Backup Pro and plan to restore all my apps and settings after the upgrade. Is this process likely to end in a stable system? I don't have the time and patience to go through installing and configuring everything again, so if it's not a dependable process I might as well wait for the OTA update (and deal with Knox later...)
Thanks!
Click to expand...
Click to collapse
Did you try it? How did it go?
I had faced a lot of issues when I did this recently. My contacts and message apps started to crash. Could have been OS problem no idea, but I was losing all my messages and my contacts. Ended up using super backup and import/export feature. Then on TB i restored only the apps and not the settings or system data. Now its perfectly stable, no crashes whatsoever
If you erase phone completely for flashing, contacts will be restored automaticaly from google contacts, but I'm afraid SMSes won't. That's another thing worth backing up. I used SMS BAckup and Restore, works perfectly, although you can also use Titanium as well.

Titanium Backup: why do I keep getting errors when restoring data?

I've noticed two problems that crop up when I use Titanium Backup to restore my apps/data
1) If I try to restore the missing apps + data, sometimes everything gets restored, and sometimes it gives me "X elements failed", where some apps will not be installed. This happens whether I restore on the same ROM that I backed up on (backup on Cloudy G2, restore on Cloudy G2) , or if I use a different ROM (backup on NDM 5.5, restore on Cloudy G2). I thought I found a work around, where I just install the app from the Play Store first, and THEN I would restore the app data. That worked a few times until....
2) When I tried restoring my app data last night after a fresh KDZ wipe, the apps that I restored data on all couldn't start (Snapchat, Amazon, Wechat, SwiftKey). I would tap them, they would try to open for half a second, then they would close. I tried restarting my phone, but with that, I got "UIDs on your system are inconsistent, you need to wipe your data partition or your device will be unstable". I was stupid, and decided to wipe my data partition so I had to restore all my apps from scratch, but that at least hasn't lead to any problems yet.
Does anyone know what I did wrong, or what I can do to fix this? I know for number 1, some threads mentioned that your Android I.D. changes when you flash a new ROM (that MIGHT explain number 2?), but not a lot of people mention this, and it seems like the majority of people don't have this problem. For number 2, I found this thread, but it was too late already.
If possible, I'd like to find a backup app that avoids ALL of these and just lets me back things up and restore easily. Is there one out there?
tdk0117 said:
I've noticed two problems that crop up when I use Titanium Backup to restore my apps/data
1) If I try to restore the missing apps + data, sometimes everything gets restored, and sometimes it gives me "X elements failed", where some apps will not be installed. This happens whether I restore on the same ROM that I backed up on (backup on Cloudy G2, restore on Cloudy G2) , or if I use a different ROM (backup on NDM 5.5, restore on Cloudy G2). I thought I found a work around, where I just install the app from the Play Store first, and THEN I would restore the app data. That worked a few times until....
2) When I tried restoring my app data last night after a fresh KDZ wipe, the apps that I restored data on all couldn't start (Snapchat, Amazon, Wechat, SwiftKey). I would tap them, they would try to open for half a second, then they would close. I tried restarting my phone, but with that, I got "UIDs on your system are inconsistent, you need to wipe your data partition or your device will be unstable". I was stupid, and decided to wipe my data partition so I had to restore all my apps from scratch, but that at least hasn't lead to any problems yet.
Does anyone know what I did wrong, or what I can do to fix this? I know for number 1, some threads mentioned that your Android I.D. changes when you flash a new ROM (that MIGHT explain number 2?), but not a lot of people mention this, and it seems like the majority of people don't have this problem. For number 2, I found this thread, but it was too late already.
If possible, I'd like to find a backup app that avoids ALL of these and just lets me back things up and restore easily. Is there one out there?
Click to expand...
Click to collapse
is a supersu issue, open supersu than go to is setting and not select "name space mount separation" that is selected by default.
Now titanium can work as intended
Romagnolo1973 said:
is a supersu issue, open supersu than go to is setting and not select "name space mount separation" that is selected by default.
Now titanium can work as intended
Click to expand...
Click to collapse
That will fix both problems that I have?
Try, I was unable to use it untill I change the SuperSu setting and now Titanium is working perfectly, so probably your problem is the same.
Oh I mean, I can use it just fine. It can perform backups. But restoring is a when I get those errors. I'll keep this in mind in case I need to restore to a new ROM, thanks!

Categories

Resources