[Q] Question regarding restoring data contents from recovery... - General Questions and Answers

Hey guys, just a quick question regarding restoring User Apps data from recovery.
I find myself flashing new roms more and more often these days, and it's becoming a tedious and repetitive task to install my apps and setup everything manually.
I use Titanium Backup PRO to restore my apps, and for my text messages I use GO SMS PRO to restore them.
The problem is, if you e.g. try to flash from CM7 to CM9, or flash from your current rom to an entirely different rom (which may also require a different kernel to be flashed), then as far as I know you can't simply use Titanium Backup to restore your apps data/settings. You can only use it to restore the apps (simply just installing the .apk files), but you would have to manually configure the settings all over again. I'm sure this has happened to many people with regards to using Titanium Backup when restoring user app data/settings, where they experienced corrupted data or battery drain issues etc.
As for restoring text messages with GO SMS PRO, it works but it lags and takes a long time. It would often popup the force close error box, and I would have to always choose "WAIT" to make it continue running. It may seem it's lagging or not working but in the end it restores all my messages fine.
Anyway, it's annoying to do all this setup manually, so I was wondering if it's possible to simply recover user apps data AND settings from the recovery? As far as I know, you simply recover /data from the recovery? Will that cause any problems if you were to update from CM7 to CM9?

Related

[Q] Titanium backup question

Searched and didn't find this specific question or anything close - so I'll post
I've been flashing roms a lot now that I've got the hang of it, but I think I was creating a problem for myself with titanium backup, which I think I've maybe now solved, but I'm not absolutely sure.
On the last couple of nighlies of CM that I've flashed I've been getting unfixable FC of the phone app (rom manager fix permissions didn't fix it and neither did wiping dalvik cache).
So I flashed ns-collab and I like it, but today I got the same FC problems and had to restore my nandroid to get the phone working (I was at work).
NS-collab is meant to be stable so I was starting to think that it's not the roms that are at fault but something I'm doing, and I had a feeling it was what I do with TB. So here is exactly what I do when I flash a new rom.
____________________________
I have TB set to "backup all user apps". That's it - no system data.
Before flashing the rom (even if it's just an update) I clear data, cache, and dalvik cache.
When I've got the new rom flashed I do not allow google backup to restore my stuff as I want it done with TB.
In TB restore I run "Restore all apps with data". When I do this I select the app+data checkbox in TB before clicking "Run the batch operation".
___________________________
So, I had a look at the apps that get restored when I run TB "Restore all apps with data", and I noticed there is quite a lot of android stuff in there like the dialler and lots of other services that are part of the android os and don't need restored with TB really.
I've just flashed the updated version of ns-collab and I removed all these android services from the TB restore before I ran it so I'll see if any problems crop up now.
But my question is, was I causing the phone to be unstable by allowing these android services to be restored by TB. Remember I did not select to restore system data, but I am wondering if system data was restored anyway because there were android apps in the list and I had the app+data option selected.
Hope the above isn't confusing and any advice will be appreciated.
Lot of information but I say you found your problem yourself.
I have not had issues in the past restoring: bookmarks, contacts/calls storage, SMS/MMS/APN Dialer storage, SMS/MMS PREFS etc.
I do think you are giving yourself a little extra work than needed. It is not necessary to do a data wipe before updating a ROM, wiping cache and dalvik cache should be sufficient and a lot of people don't even do that. Of course a good clean wipe every now and then is good and gives you that warm fuzzy feeling inside like after you change the oil in your car
In general, I do not recommend a full batch restore like restore all apps and data. I find when restoring with TB it is a good time to clean up and only restore the apps your really want back on your phone. I also do a batch restore, de-select all and just go down the list and pick out the stuff I HAVE to have.
irishrally said:
I have not had issues in the past restoring: bookmarks, contacts/calls storage, SMS/MMS/APN Dialer storage, SMS/MMS PREFS etc.
I do think you are giving yourself a little extra work than needed. It is not necessary to do a data wipe before updating a ROM, wiping cache and dalvik cache should be sufficient and a lot of people don't even do that. Of course a good clean wipe every now and then is good and gives you that warm fuzzy feeling inside like after you change the oil in your car
In general, I do not recommend a full batch restore like restore all apps and data. I find when restoring with TB it is a good time to clean up and only restore the apps your really want back on your phone. I also do a batch restore, de-select all and just go down the list and pick out the stuff I HAVE to have.
Click to expand...
Click to collapse
I think you are right about me giving myself work. Because I'm still a noob I'm still over cautious I think.
Maybe I'll try doing it your way. Sounds sensible.
Anybody know definitively whether me restoring everything via all apps and data would have contributed to the FCs I have been getting?
buachaille said:
I think you are right about me giving myself work. Because I'm still a noob I'm still over cautious I think.
Maybe I'll try doing it your way. Sounds sensible.
Anybody know definitively whether me restoring everything via all apps and data would have contributed to the FCs I have been getting?
Click to expand...
Click to collapse
Did you try fixing permissions? I only use the batch for Backup all user apps.
Backing up bookmarks.. I use BookmarkSB and SMS (i know theres a app for that) but i use GVoice so i dont need it
I've never had a problem restoring user apps with data. Instead of restoring all, choose restore missing user apps with data or something like that.
Although, I've had problems restoring SMS and certain data for system apps on the NS. Can't figure out why it doesn't work but whatever.
Sent from my Nexus S using XDA App
I would suggest you install app2sd & move your application to the sd-card. Each time you flash a new rom just wipe the /cache, dalvik-cache and battery stats. This is all you would ever require.
Thanks for all the replies. Quite a few suggestions there which I will try out.
Didn't have any FC problems at all at work today, so I'm hoping my more cautious restore last night might have done the trick.
buachaille said:
Thanks for all the replies. Quite a few suggestions there which I will try out.
Didn't have any FC problems at all at work today, so I'm hoping my more cautious restore last night might have done the trick.
Click to expand...
Click to collapse
Yeah FCs happen when you backup system apps / bookmarks etc. It could interfere

[Q] Partially Restore CWM backup?

Hey Guys!
So I've been around the place for a while, usually passive. I rooted my phone a few months back, and left it at that coz i was too scared of bricking my new phone . But now getting tired of waiting for the official ICS (Not the buggy leak) has got me thinking of getting a custom Rom (cant decide between Victory or Romulus).
I've just installed CMW, and my phones backing up as we speak. My question is this, is it possible to restore a partial backup? Im hoping that once i get the custom rom up and running, i can restore my contacts, texts and apps onto my new rom. I know titanium backup can restore apps but i assume all that is gone once i format before installing the rom, right?
Thanks guys any help appreciated!
fire_fist_ace said:
Hey Guys!
So I've been around the place for a while, usually passive. I rooted my phone a few months back, and left it at that coz i was too scared of bricking my new phone . But now getting tired of waiting for the official ICS (Not the buggy leak) has got me thinking of getting a custom Rom (cant decide between Victory or Romulus).
I've just installed CMW, and my phones backing up as we speak. My question is this, is it possible to restore a partial backup? Im hoping that once i get the custom rom up and running, i can restore my contacts, texts and apps onto my new rom. I know titanium backup can restore apps but i assume all that is gone once i format before installing the rom, right?
Thanks guys any help appreciated!
Click to expand...
Click to collapse
When you install any new ROM, you (usually) need to perform a full wipe through CWM including: wipe user data/factory reset, wipe cache, wipe Dalvik, then flash. Now, that will delete ALL of your stuff, contacts, texts, apps, etc. However, if you have access to WiFi, when your ROM flash has completed, you will be prompted to re-enter your Google account and, at which time, your contacts will re-populate (give it some time). Though, be sure you sync with Google's servers prior to your flash, so that any new contacts will be re-added once your account has been added after the flash. Also, if on WiFi, when your account has been entered, go to Google Play Store, and click the "my apps" button, and again after some time (depending on the number of apps you had) they too will re-populate. As far as texts, you could try a text backup app -not too familiar with this, as I don't ever have a need to save any texts- and you should be good. Word of warning: DO NOT use Titanium Backup to restore ANY application data, only the apps themselves. Also, another good alternative to TIB is App Backup & Restore. Hopefully, this clears up any doubts you have with your "stuff" and how to retrieve it after a flash...
Apex used capital letters in "do not restore app data" with good reason. Only a handful of times have I not followed those directions and every time I got weird fc's and an overall more unstable system. It's a shame there isn't a good way to do it but it only leads to heartache. Always keep a solid backup. I keep two. One original and another after a couple days on a new rom so that I'm able to experiment down the line.
I hope you have a good experience with your new system and learn a bit. It gets a little addicting.
Sent from my MB865 using Tapatalk 2
Apex_Strider said:
When you install any new ROM, you (usually) need to perform a full wipe through CWM including: wipe user data/factory reset, wipe cache, wipe Dalvik, then flash. Now, that will delete ALL of your stuff, contacts, texts, apps, etc. However, if you have access to WiFi, when your ROM flash has completed, you will be prompted to re-enter your Google account and, at which time, your contacts will re-populate (give it some time). Though, be sure you sync with Google's servers prior to your flash, so that any new contacts will be re-added once your account has been added after the flash. Also, if on WiFi, when your account has been entered, go to Google Play Store, and click the "my apps" button, and again after some time (depending on the number of apps you had) they too will re-populate. As far as texts, you could try a text backup app -not too familiar with this, as I don't ever have a need to save any texts- and you should be good. Word of warning: DO NOT use Titanium Backup to restore ANY application data, only the apps themselves. Also, another good alternative to TIB is App Backup & Restore. Hopefully, this clears up any doubts you have with your "stuff" and how to retrieve it after a flash...
Click to expand...
Click to collapse
So, once i clear everything and flash, to get back my apps all i have to do is reinstall "App Backup and Restore" then I can restore any saved apps? Because looking at the play store, the list in my apps (Not Installed) is too long, and contains apps that i simply installed to try and immediately removed.
One more thing as well, well actually 2. I was watching a video by mastermind278 on youtube on how to install custom Roms. He installs a rom by selecting restore from cmw recovery, so my question is, does that restore method work for installing most Roms, say for example, the Romulus rom? And finally, are the separate mods installed in the same way?
fire_fist_ace said:
So, once i clear everything and flash, to get back my apps all i have to do is reinstall "App Backup and Restore" then I can restore any saved apps? Because looking at the play store, the list in my apps (Not Installed) is too long, and contains apps that i simply installed to try and immediately removed.
One more thing as well, well actually 2. I was watching a video by mastermind278 on youtube on how to install custom Roms. He installs a rom by selecting restore from cmw recovery, so my question is, does that restore method work for installing most Roms, say for example, the Romulus rom? And finally, are the separate mods installed in the same way?
Click to expand...
Click to collapse
You can 'manually' select which apps you'd like to restore from within this app, so if there are some you'd rather forgo restoring, you can pick and choose.
As far as the flashing method through CWM, you'll just have to read and understand each of the ROM's flashing methods, as some of the GB ROM installs are different (flash or CWM restore). All of which are detailed in the threads for these ROM's. Along with that, any mods you'd like, you'll just need to refer to the install instructions for each...
Sent from my SAMSUNG-SGH-I747 using xda premium

How to restore using Titanium Backup

I had recently rooted my phone and had installed Titanium backup using which I backed up all the apps+data.
Using Titanium backup I tried to remove a stock app provided by lg. During this process the phone rebooted twice and after that I saw that the phone had been reset to the factory settings.
I restored by following the below steps
Titanium backup > Backup/Restore > menu > batch > Restore > run Restore missing apps + all system data.
After restoring I observe that the phone is not being able to connect to any wifi, however previously when it was in factory reset it was being able to connect to wifi. Could anyone please help.
Which stock app did u remove?
sarus_b said:
Which stock app did u remove?
Click to expand...
Click to collapse
I think it was one of "Dhingana", "Bollywoodji" or "AG indian newspapers". I had restored after that but currently I do not find "Dhingana" among the installed apps.
It would be the best of you would factory reset again. If you have a custom recovery, then reboot into it(either from ROM Manager or with phone off holding Volume Down+Home+Power) and wipe data, cache etc. If you haven't got a custom recovery, then power your phone off and use the key combination above. It should work.
And don't use "restore system data" option in Titanium. Better restore individual apps in the "Backup/Restore" without going into the Batch mode.
--
P>
Sent from my LG-P500 using xda app-developers app
Which setting/file are the system settings saved in? Things like the nav bar, notification bar, display, account syns, etc....? I know all about the pitfalls of restoring system data across different ROMs and for those cases, I just bite the bullet and redo all of those settings. But it seriously takes an hour or two to go in and redo all of those settings and if a RM is getting updated every couple of weeks, this just gets way too tedious for it to be worth it.
I know I can just do a system data + app and data restore for those cases and I do use that but there are times when I do not want every single thing restored and it would be nice to know which file all of those settings are saved in. I tried tinkering with just a few of those but I could not seem to find it.
Thank you in advance for any help, much appreciated.
And/or which file(s) cause the android.process.media to stop working and in general causes apps to crash? Also, does the Android ID cause/affect that? Thanks again.
[Edit] After much trial and error, I found the cause of the android.media.process and all apps in general crashing as a result problem(s). It was the file(s) Download Manager eng.prbassplayer and/or Downloads eng.prbassplayer inside Titanium Backup - Restore System Data selections. Just fyi for those wanting to know. I restored all other system and app data besides those and had no problems whatsoever with all Interface settings restored. I still did not figure out which file restored the Interface settings, if anyone could still shed some light on that.
This post relates to custom ROMs and restoring stuff with TB. Hoping someone can help.
I have been playing with Resurrection Remix for the last 7 months and have recently switched to Vanilla Rootbox.
With these two ROM's (and probably others) when an update is released a wipe/factory reset is required before installing the update. This causes a great amount of inconvenience as I have to manually re-setup all my shortcuts/widgets, email accounts, custom settings such as custom settings (toggles, etc...) ringtones and notifications sounds and so on.
All this takes ages and I'm getting a little tired of having to do it. There must be an easier way? Can this sort of stuff be restored with TB? I could be wrong but I don't think it can.
Many thanks.
tmarinos said:
This post relates to custom ROMs and restoring stuff with TB. Hoping someone can help.
I have been playing with Resurrection Remix for the last 7 months and have recently switched to Vanilla Rootbox.
With these two ROM's (and probably others) when an update is released a wipe/factory reset is required before installing the update. This causes a great amount of inconvenience as I have to manually re-setup all my shortcuts/widgets, email accounts, custom settings such as custom settings (toggles, etc...) ringtones and notifications sounds and so on.
All this takes ages and I'm getting a little tired of having to do it. There must be an easier way? Can this sort of stuff be restored with TB? I could be wrong but I don't think it can.
Many thanks.
Click to expand...
Click to collapse
try to save them in TB, if you can find in TB and save them it will be restored to any rom you will use in future
I was under the impression that those settings caused problems if formats were needed and especially between different ROM's?
And yeah, tmarinos I definitely her you there. I have stopped using those extra customizations for my ROM, though I can usually restore my home screen and app drawer settings safely, thankfully.
The developers of my ROM (Slim Bean) have started that they want to include a feature to restores those settings between resets, so hopefully that type of feature becomes more integrated as time goes on. Hopefully.
On another note, my phone's TB is having issues. When it runs an automated scheduled backup task, it keeps saying "insufficient storage" but if I manually run that exact same task it runs just fine. Anyone have any idea what that's about?
Sent from my GT-P3113 using xda app-developers app

Is it safe to restore app data when switching ROMs?

If I backed up apps and data on an AOSP ROM and want to restore them on a JB ROM, for example, is it safe to restore app data through Titanium Backup? For whatever reason, Titanium Backup doesn't seem to offer an option to batch restore apps WITHOUT data, it only has "restore all apps with data." I've heard that this isn't advised, but I don't want to have to restore all of these apps individually. Seems odd that the top-selling root app doesn't have this option... waste of money if you ask me.
Keep in mind this isn't system data, as I only ever backup user apps.
ive done it without problems.
just dont do system data as you said.
Restoring apps with data is kind of the point of titanium backup. Feel free to do it across Roms, even phones.
If you don't want to restore data, there's a real button option after you choose 'restore missing apps with data' so you can just do apps.
I would avoid restoring system data. Especially when going from AOSP to TW or vice versa.
Sent from my Galaxy Nexus using xda app-developers app
Sometimes it can be a problem. Just try it.
I use Go Backup and just restored a bunch of apps from my DINC2 running ParanoidAndroid, I also restored my WiFI passwords and ringtone just fine. I think it might depend on the app.
Many people have said its not safe to restore system apps and data when switching between different ROMs. HOWEVER, what about when switching between versions of Cyanogen?
For instance I have been following the Release Candidate Versions for CyanogenMod 10.1.0. Right now I am on RC5. However, it is quite annoying to reset all of my system settings each time I flash the updated version. I'm wondering if because it is just a different version of the same ROM, if it would be advisable to backup and restore system apps+data when I flash to a new version.
Thanks
You might have to since there are likely to be changes from the previous version to the next version of the same ROM.
Restoring apps with data is generally fine. There will be some apps that may not work correctly and will require you to uninstall and reinstall from the playstore (ex, words with friends, notifications break on tibu restores), but in general is fine. Tibu will automatically not install apps that the system will reject (system or stock apps).
As far as system data goes, in general never do it. Just tap the batch restore of system data, uncheck all, and select a few basic items to restore. Choose xml format. What generally works across all roms is: call log, messages sms/mms, Wi-Fi access points, and Bluetooth access points. Those are the 4 you really only need, as it takes about 5 min to set up your main system settings. Main system settings vary to much between builds to restore safely, things will break. Full system data restore is only useful if wiping and installing the exact same rom, which almost never happens!
Thank you! Those were really the only 4 I care about...
My 2 cents..
It all comes down to whether the android version, system version, stock ota base, touch wiz vs aosp, gapps, launcher grid size etc changed when you switched roms. Also if app permissions change you can get apps that force close, most of the time you can fix this by fixing permissions via recovery or script command. If the app has been zipaligned then you'll have to wipe dalvik cache to get the app to rebuild its cache in some cases. In general, user apps are ok because most problems that may happen can easily be fixed.
Sorry this is a complex question with a lot of variables and I generalized a lot in my post.
Surge1223
Restore Apps with Filter
Quacker said:
If I backed up apps and data on an AOSP ROM and want to restore them on a JB ROM, for example, is it safe to restore app data through Titanium Backup? For whatever reason, Titanium Backup doesn't seem to offer an option to batch restore apps WITHOUT data, it only has "restore all apps with data." I've heard that this isn't advised, but I don't want to have to restore all of these apps individually. Seems odd that the top-selling root app doesn't have this option... waste of money if you ask me.
Keep in mind this isn't system data, as I only ever backup user apps.
Click to expand...
Click to collapse
It was mentioned earlier in the post but in case you missed it (I did the first few times using TiBU), you can hit the "Restore All Apps + Missing Data" and when you go to run that batch, you will come to a screen with all the apps checked. Just hit "unselect all" and then check the user apps you want to restore. That was you restore all your missing apps and the data for all apps except for the sys apps. Works like a charm!
lazarus0000 said:
It was mentioned earlier in the post but in case you missed it (I did the first few times using TiBU), you can hit the "Restore All Apps + Missing Data" and when you go to run that batch, you will come to a screen with all the apps checked. Just hit "unselect all" and then check the user apps you want to restore. That was you restore all your missing apps and the data for all apps except for the sys apps. Works like a charm!
Click to expand...
Click to collapse
I always select "restore missing apps with data" and that's all user stuff. I don't back up system either so I don't have to worry about it.
Sent from my SCH-I535 using Tapatalk 4 Beta
Just don't mention that you did this in the support thread for the ROM you're using

[Q] Backup/Restore To New ROM

I'm not a big ROM tester and pretty much remain on stock. I do have root, custom recovery and unlocked bootloader on my GS3 (4.1.2 stock).
When you guys switch ROMs and a clean flash is required, what exactly are you all doing to backup and then restore your data?
Are you just backing up "all user apps" with Titanium and then immediately installing Titanium on the new ROM and restoring the backup?
What about system settings? You just run through those one at a time and set them to the way they were? What about custom contact ringtones and other customizations?
Sounds like a lot of work to me, but maybe I'm missing something.
Is there a better way to do this?
Does anyone have any thoughts on this? I'm really trying to figure out how you guys are ok with doing a full wipe so frequently.
I am by no means a "constant ROM'er", but I have tried it a few times on a few different devices. Here is generally what I do:
1. Back up apps and data with Titanium Backup. I usually back these up to a folder on my external SD card just to be safe. Even though a factory reset shouldn't erase your backups on your internal memory, I just like to be safe.
2. After flashing a custom ROM I install TB as the very first app. ***HINT: If you have your phone setup to automatically restore apps thru Google, apps will automatically begin to download and install. This can slow down the whole process of restoring your apps and data. To keep this from happening, you can either disable the automatic restore OR don't sign in to google when you first set up the phone (that way google won't know which apps to begin to restore).
3. Run TB's restore apps & data BUT RESTORE SYSTEM APPS/DATA AT YOUR OWN RISK. In most cases from my own experiences and others, system apps and data do NOT restore well after flashing a new ROM.
Again, I am no expert and I simply follow the guides and advice of those much smarter and more experienced than I on these forums. Something I said above could be wrong so please correct me if anyone sees a fallacy.
I appreciate the reply. That's pretty much what I though. It's still a lot of work to tweak all the system settings back to the way they were. Ringtones, custom contact ringtones, various system settings, etc.

Categories

Resources