How to backup and restore app data - Android Software/Hacking General [Developers Only]

While trying to get apps2sd to work I had to flash my phone a couple of times. Each time I had to redo my Locale settings, and other various apps.
Is there a way to backup and restore that application data? (like Locale, atrid, grocery iq, etc)
I think I finally got apps2sd working, will that save it if I decide to flash my phone with say Damage Controls rom?
I saw a thread about using an app called "backup for root users". Will that work?
thanks in advance

Related

[APP] Titanium Backup

If I do a wipe and change roms would do the pro version of titanium backup put all my apps and settings back exactly how they were with the new rom?
djsaad1 said:
If I do a wipe and change roms would do the pro version of titanium backup put all my apps and settings back exactly how they were with the new rom?
Click to expand...
Click to collapse
If you're switching different roms (like Cyanogen to Sense), it'd probably mess stuff up quite a bit
would be going from cyanogen to enomther. I would like to try enomther out but really not in the mood to install everything again and put all my settings back in, especially if I end up going back to cyanogen again.
I'm not sure if this is how it works, but everytime I flash I backup the app and data of helixlauncher and when I restore it my icons are all in the right place. You obviously have to reinstall all your applications first before the icons work, but it worked, to my surprise.
From my experience with the pro version, which is much better than the free, and worth it,
Any of the stuff in red, i dont back up. I just backup all my actual apps I know i use on my phone, with data.
I use mybackupPro, to restore all my call logs and texts, yadda yadda, but titanium backup for apps+data
I haven't found anything to successfuly restore my screens and widgets without error or issues, but whatever. atleast the widgets data is still stores [atleast with Pure calenders and such]
I wish there was some sort of better guide though, like exactly which system settings NOT to back up, that would be awesome.
I too would like to see it all spelled out. Especially for noob such as myself.
I've been using mybackupPro for exactly the same reason, together with Titanium. But my widgets and shorcuts aren't restored. And I use More Icons Pro which is more of a pain to redo after every flash or ROM change.
Ok Guys. Here is an easy report on Titanium Backup.
Titanium Backup will backup all of your installed applications(this can include system apps), settings, Launcher Icon Layout, Wifi, sms/calllog etc..
It WILL work between at least android 2.1 roms(Cyan, Enom etc,,). I have not tried going over to a desire ROM
PRO is VERY much worth it. It allows you batch install instead of clicking for every app. Easily worth 4 or 6 bux.
Now what you do.
Install and possibly donate. U use paypal and get an email with the "pro" key soon after.
-Click backup/restore
-Click menu(phone button), batch
-Click Backup All user apps.
-Let it run, then go back.
-Individually backup all items highlighted in green. This will be bookmarks, call log, calendar, LAUNCHER, wifi, stuff like that.
-SKIP RED ONES. These are system apps and u basically are overwriting your new ROM.
Ok now you are backed up in your SD card in folder Titanium backup.
You can now, Wipe, install a rom, download titanium from market, click backup/restore, Click batch. Then click restore all apps and Data.
Restart your Phone.
And your back in business. EZ PZ. Your settings, Wifi, Icon layout, etc. will be installed. The only thing I have to adjust is my wallpaper/widgets usually.
All in all you can do a full ROM from wipe swap in about 15 minutes. I always Wipe because its so easy, why not.
Also. This works with Apps2sd as well. It can go from non-apps2sd to apps2sd, or apps2sd to non-apps2sd. Basically it doesnt care...
seanowns said:
Ok Guys. Here is an easy report on Titanium Backup.
Titanium Backup will backup all of your installed applications(this can include system apps), settings, Launcher Icon Layout, Wifi, sms/calllog etc..
It WILL work between at least android 2.1 roms(Cyan, Enom etc,,). I have not tried going over to a desire ROM
PRO is VERY much worth it. It allows you batch install instead of clicking for every app. Easily worth 4 or 6 bux.
Now what you do.
Install and possibly donate. U use paypal and get an email with the "pro" key soon after.
-Click backup/restore
-Click menu(phone button), batch
-Click Backup All user apps.
-Let it run, then go back.
-Individually backup all items highlighted in green. This will be bookmarks, call log, calendar, LAUNCHER, wifi, stuff like that.
-SKIP RED ONES. These are system apps and u basically are overwriting your new ROM.
Ok now you are backed up in your SD card in folder Titanium backup.
You can now, Wipe, install a rom, download titanium from market, click backup/restore, Click batch. Then click restore all apps and Data.
Restart your Phone.
And your back in business. EZ PZ. Your settings, Wifi, Icon layout, etc. will be installed. The only thing I have to adjust is my wallpaper/widgets usually.
All in all you can do a full ROM from wipe swap in about 15 minutes. I always Wipe because its so easy, why not.
Also. This works with Apps2sd as well. It can go from non-apps2sd to apps2sd, or apps2sd to non-apps2sd. Basically it doesnt care...
Click to expand...
Click to collapse
Great write-up. I think a lot of us needed this...
is Titanium regarded as a better backup solution than Nandroid? or are they comparable?
thnx!
Does the author of titanium post here?
Would like to share some feedback.
MI_canuck said:
is Titanium regarded as a better backup solution than Nandroid? or are they comparable?
thnx!
Click to expand...
Click to collapse
Different types of backups.
MI_canuck said:
is Titanium regarded as a better backup solution than Nandroid? or are they comparable?
thnx!
Click to expand...
Click to collapse
Nandroid will back up your entire ROM, all apps, and all settings in one package. Titanium just baks up the apps that you use, so if you switch ROMs or wipe, it's a very fast and easy process to reinstate them.
Both are pretty mandatory. Show some love and get the donate version. Good devs shouldn't have to eat Ramen Noodles. Except by choice.
seanowns said:
It WILL work between at least android 2.1 roms(Cyan, Enom etc,,). I have not tried going over to a desire ROM
PRO is VERY much worth it. It allows you batch install instead of clicking for every app. Easily worth 4 or 6 bux.
Click to expand...
Click to collapse
Just a note: The free version does batch back-up and restore, but no verify or market doctor. This may be a recent change to the free, as I just started using titanium when I got my Nexus.
Jumped to the MoDaCo Desire Rom for a few, and reinstalled only the apps without any system data, worked just fine. I can see a potential issue though doing backups from Desire of anything requiring Sense, and trying to restore on a non-Sense ROM.
seanowns said:
Ok Guys. Here is an easy report on Titanium Backup.
Titanium Backup will backup all of your installed applications(this can include system apps), settings, Launcher Icon Layout, Wifi, sms/calllog etc..
It WILL work between at least android 2.1 roms(Cyan, Enom etc,,). I have not tried going over to a desire ROM
PRO is VERY much worth it. It allows you batch install instead of clicking for every app. Easily worth 4 or 6 bux.
Now what you do.
Install and possibly donate. U use paypal and get an email with the "pro" key soon after.
-Click backup/restore
-Click menu(phone button), batch
-Click Backup All user apps.
-Let it run, then go back.
-Individually backup all items highlighted in green. This will be bookmarks, call log, calendar, LAUNCHER, wifi, stuff like that.
-SKIP RED ONES. These are system apps and u basically are overwriting your new ROM.
Ok now you are backed up in your SD card in folder Titanium backup.
You can now, Wipe, install a rom, download titanium from market, click backup/restore, Click batch. Then click restore all apps and Data.
Restart your Phone.
And your back in business. EZ PZ. Your settings, Wifi, Icon layout, etc. will be installed. The only thing I have to adjust is my wallpaper/widgets usually.
All in all you can do a full ROM from wipe swap in about 15 minutes. I always Wipe because its so easy, why not.
Also. This works with Apps2sd as well. It can go from non-apps2sd to apps2sd, or apps2sd to non-apps2sd. Basically it doesnt care...
Click to expand...
Click to collapse
Hi seanowns,
Many thanks for this mini-guide. I'll definitely add something like this to my web page
Just one thing: the reason why we usually skip the "red" system items is not because Titanium Backup would overwrite these system apps (it doesn't) but rather because they are items which usually don't contain any interesting data.
For system apps: Titanium Backup currently never backs up (nor restores) the app itself. It only touches the system data.
Daswolven said:
Just a note: The free version does batch back-up and restore, but no verify or market doctor. This may be a recent change to the free, as I just started using titanium when I got my Nexus.
Jumped to the MoDaCo Desire Rom for a few, and reinstalled only the apps without any system data, worked just fine. I can see a potential issue though doing backups from Desire of anything requiring Sense, and trying to restore on a non-Sense ROM.
Click to expand...
Click to collapse
This is still accurate today. I might add the backup verifier in the free version, but it's hard as that requires Hypershell.
Yes indeed, when backing up/restoring across HTC and Google ROMs (or generally speaking: between wildly different ROMs), it is advised to restore the system items with caution, and generally only the system items you need. There's no such problem with user apps & data, which will *always* work across ROMs.
Ahh. Good to know about the Red system items. It means I can be even more lazy and just back up everything.
Adding an official guide is a good idea. I had these same questions a few months ago and actually held of trying it for a week.
@ joel.bourquard
Welcome
Thanks for stopping by...BTW..i love your app...full version
I didnt know about the green and red labeled items lol
Have to look whether there is a feature to select all *green* or similar to that.
Or if Green items in list can be added to a batch execution, if it is, im not understanding the wording of the batch files
Ideas for Titanium Improvement
joel.bourquard said:
This is still accurate today. I might add the backup verifier in the free version, but it's hard as that requires Hypershell.
Yes indeed, when backing up/restoring across HTC and Google ROMs (or generally speaking: between wildly different ROMs), it is advised to restore the system items with caution, and generally only the system items you need. There's no such problem with user apps & data, which will *always* work across ROMs.
Click to expand...
Click to collapse
I know I'm asking a ton here, but it's something to think about implementing. What would be really useful is to have one (or more if you have multiple backup copies selected) main "Market/User batch" backup restore. If multiple backups are enabled, a name for each set would be cool.
The really useful part would allow several system app/settings entries and allow unique naming by user. One could have say a Cm, a Desire and Enomther system folders, and could back up and restore to each as need be. That way if someone's testing several ROM's there's no confusion about which system app/setting came from which build. That way you're not restoring Enomther's Spare Parts app to a Desire build.
I don't know if this is possible either (I know nandroid does this, but I'm stretching for in house), but a feature where if you are unsure about a system app/data/setting restoration, allow a onetime snapshot pre-restore, so if things do not work out, an undo of last action is possible. Or, if you implement the ideas in the latter paragraph, that responsibility could be left to the user, since they could save the fresh target and data in it's new folder before messing with it.
I'm sure this is all possible now by moving and renaming the backups on sdcard, but it would be much cleaner from within Titanium's ui.
Great app...happy donator here, and it has been a staple in many tutorials I have scattered around the forums. Thank you, and keep up the good work!
Nice Idea!!
And TitBackup is absolutely worth the money!!! (Happy ProVersion User)
rori1 said:
Nice Idea!!
And TitBackup is absolutely worth the money!!! (Happy ProVersion User)
Click to expand...
Click to collapse
Not exactly the best abbreviation...
So, can I backup the MUSIC playlists? I tried backing up the Music (in ReD) in hopes that it would contain the playlist...but when I restored...it didn't have the playlist.

[Q] Titanium Backup Question

I figured these questions would have been answered somewhere but my forum searches didn't turn up anything, so if it has been, feel free to direct me to the correct location. Here goes:
I have Titanium Backup Pro, and am getting ready to flash the Cognition ROM (I have a Samsung Captivate). I have in many places seen people recommend to only backup and then restore user apps and app data when switching from one ROM to another (or from stock to a ROM). However, when I look in the batch list (I have version 3.6.7 of TB) there is an option for user apps, system data, or user apps and system data but no option for user apps and app data. Is app data included in the batch file for apps?
Also, a wiki I read (can't post the link, too junior) claims that you can restore apps without restrictions across ROMS, which to me means that restoring system data shouldn't be a problem.
Essentially, I am worried that if I only back up user apps using the batch file, when I restore, the apps will be there, but their data (like my prized angry birds progress, heaven forbid I lose it) won't be. Is that the case or does the user apps backup include that kind of stuff?
Also, it seems like system data includes things like SMS history. Should I go through and backup specific parts of the system data like texts and contacts and restore those but just not use the batch file?
Thanks to anyone who can either answer these questions or direct me to the correct thread/website.
cdenney said:
I figured these questions would have been answered somewhere but my forum searches didn't turn up anything, so if it has been, feel free to direct me to the correct location. Here goes:
I have Titanium Backup Pro, and am getting ready to flash the Cognition ROM (I have a Samsung Captivate). I have in many places seen people recommend to only backup and then restore user apps and app data when switching from one ROM to another (or from stock to a ROM). However, when I look in the batch list (I have version 3.6.7 of TB) there is an option for user apps, system data, or user apps and system data but no option for user apps and app data. Is app data included in the batch file for apps?
Also, a wiki I read (can't post the link, too junior) claims that you can restore apps without restrictions across ROMS, which to me means that restoring system data shouldn't be a problem.
Essentially, I am worried that if I only back up user apps using the batch file, when I restore, the apps will be there, but their data (like my prized angry birds progress, heaven forbid I lose it) won't be. Is that the case or does the user apps backup include that kind of stuff?
Also, it seems like system data includes things like SMS history. Should I go through and backup specific parts of the system data like texts and contacts and restore those but just not use the batch file?
Thanks to anyone who can either answer these questions or direct me to the correct thread/website.
Click to expand...
Click to collapse
I've always backed up user apps and data and system data. The trick is to uncheck anything you're not sure of when you go to restore.
The only system data I restore is my wifi access points. You should have your angry birds progress, but I've never had my sms restore.
Make a nandroid before you restore so that you can go back if it starts acting wonky on you.
I hope this helps!
you said you back up user apps, <i>data</i>, and system data. TB for me doesn't have an option of apps and data. It only has apps or apps and system data, which is why I'm worried.
Sent from my Samsung Captivate
cdenney said:
you said you back up user apps, <i>data</i>, and system data. TB for me doesn't have an option of apps and data. It only has apps or apps and system data, which is why I'm worried.
Sent from my Samsung Captivate
Click to expand...
Click to collapse
it automatically backs up the app and the data
you can restore apps accross roms but your asking for trouble if you try and restore data.
there should be an option in the batch to "restore missing apps with data" when you click "run" it will pop up with all the apps and at the top it will have a radio button to select app, app + data, or...um something else perhaps just data? (sorry flashing something else on my phone right now)
always select just app when flashing a different rom, else you might end up with a soft brick or atleast some FC.
hope this helps.
If I have helped please click my "Thanks" button!

[Q] Backing up license keys/registration ?

Using Titanium Backup I backup apps + data .......but RESTORING apps+data does NOT restore license keys/reg info. I have to renter keys or reactivate apps. Reactivating apps in a couple of cases is proving a major pain. Is there a way to backup apps AND licenses or registry keys associated with the apps ?
Thanks in advance.
What kind of apps / licenses are you having issues with? Everything Android Market, err sorry Play Store has not had any issue. Even Amazon Apps and code-to-unlock apps all restore without any issue for me and with no need to re-activate.
chappatti,
In TB navigate to:
Menu->Preferences->Backup app external data
Tap on that setting in the preferences menu and make sure Enabled (Always) is selected.
If you only want to backup external data for some apps you can create a label to apply to those apps and select "Enabled for apps within a certain label"
One example is CoPilot navigation software. You can use it on only one device at a time. So I have to deactivate each time I change a ROM. But if I forget I am shot........
If I nandroid backup the system, then restoring it does not cause any problems since all data is restored. But of course that defeats the purpose of installing a new ROM
Any other app that works ? I will retry TB in the mean time.
Thanks !!

Titanium Backup when using a Nightlies ROM

I'm fairly new to Ti and have a question. I'd like to backup my downloaded apps and user data like text messages and email settings. I don't need much more than that. I saw a tutorial that said to backup apps, user and system data. That doesn't seem right if I'm using a custom ROM.
What do you guys recommend?
t0adman said:
I'm fairly new to Ti and have a question. I'd like to backup my downloaded apps and user data like text messages and email settings. I don't need much more than that. I saw a tutorial that said to backup apps, user and system data. That doesn't seem right if I'm using a custom ROM.
What do you guys recommend?
Click to expand...
Click to collapse
With titanium backup, you can backup all your apps and the data and then when you go to a different rom or newer build tell it to rebackup only app s that have been updated or contain new data. Text messages can be backed up in it as well and its super simple to backup and restore them (depending on how many messages you, more messages longer it takes). As far as email settings ive never done that so i can't comment on that part.
The reason for this is that if you flash a new rom and something goes wrong you can still have that data to just simply restore. The reason i use titanium backup is because its a thousand times faster to restore all your apps with that then redownload them all.
Word of advise, NEVER restore system data, that could potentially cause issues in the future, restoring apps and app data for games and such should be fine though
But as far as nightlies go, a full wipe shouldn't be required everytime a new one comes out, unless stated otherwise, or for myself i don't like to flash more than 3 or 4 nightlies on top of eachother so by the 4th or 5th one i do a fresh install, in which i backup apps and messages and restore them.
I hope that helps you understand a little better
Yes, definitely! Thank you. I'm seeing the option to backup all user apps, all system data, a combo of both, and several other scenarios. Last time I backed up just user apps and when I restored them I lost all my text messages. Is there a setting I need to select?
t0adman said:
Yes, definitely! Thank you. I'm seeing the option to backup all user apps, all system data, a combo of both, and several other scenarios. Last time I backed up just user apps and when I restored them I lost all my text messages. Is there a setting I need to select?
Click to expand...
Click to collapse
i can't remember if you need the pro version or not but for text messages and call logs, when you first enter the app hit the menu button and it should be under "backup data to xml" you'll click that and then choose what data you want to backup. From there you can either backup to your sd card, or i believe dropbox/google drive, but i always put it on the sdcard since its not a very big file
Neverendingxsin said:
i can't remember if you need the pro version or not but for text messages and call logs, when you first enter the app hit the menu button and it should be under "backup data to xml" you'll click that and then choose what data you want to backup. From there you can either backup to your sd card, or i believe dropbox/google drive, but i always put it on the sdcard since its not a very big file
Click to expand...
Click to collapse
nonono, there's an easier way to do what he wants.
@ OP, choose the option to backup all user apps... run it... there's one backup. Then, go into backup system apps, de-select all, then scroll through and find Call Log and Messages and check those... run the backup of those two items. Then you'll have all your user apps + texts and call logs.
Now you can do a factory wipe, run TiBu and restore ALL backups that you have (you only have user apps and the two items from system) and you will have everything except various system settings back as they were.
You can use filters to make it even easier. Make a new filter, only add the apps you want backed up (downloaded apps and the call log). Then all you have to do is backup and restore one list.
You can get fancy with it too. I have 3 filters. One for user apps I won't need to restore data to, one for use apps I want to be able to restore data to, and one for bloat that always gets bulk uninstalled immediately (I also use this list to test if system apps are removable by backing them up, uninstalling them, then if no problems arise I delete the back up). When ever I do a full wipe I just restore the first list (apps only), restore the second list (apps + data), and bulk uninstall everything on the third list. Takes all of 5 minutes and it's like I never wiped at all.
That said, I just dirty flash nightlies. Until I have a problem, there's no reason to do a full wipe.
Sycobob said:
You can use filters to make it even easier. Make a new filter, only add the apps you want backed up (downloaded apps and the call log). Then all you have to do is backup and restore one list.
You can get fancy with it too. I have 3 filters. One for user apps I won't need to restore data to, one for use apps I want to be able to restore data to, and one for bloat that always gets bulk uninstalled immediately (I also use this list to test if system apps are removable by backing them up, uninstalling them, then if no problems arise I delete the back up). When ever I do a full wipe I just restore the first list (apps only), restore the second list (apps + data), and bulk uninstall everything on the third list. Takes all of 5 minutes and it's like I never wiped at all.
That said, I just dirty flash nightlies. Until I have a problem, there's no reason to do a full wipe.
Click to expand...
Click to collapse
Oh Yeh, I forgot about the filters, I haven't messed with them much at all.
Go backup is also quite good as an alternative. Less customization but very simple to use
Sent from my SCH-I535 using xda app-developers app

[Q] Titanium Backup Proper Use?

Hello,
Though I have used TB many times to restore my apps after flashing a new ROM I haver never worried about the App Data. That was because back then I had very little data to be concerned about.
Well now I would like to move my apps and the app data to a new phone and I decided to ask someone with more experience for some clarification.
In TB Pro, touch Menu key, then Batch.
Choices are "Backup all user apps", "Backup all system data", or "Backup all user apps + system data".
Perhaps I am just reading this incorrectly, but I only want to backup my apps and the data associated with the apps (game progress, etc.). I don't think that I want to backup any system data since I am moving to a new phone..
Does the "Backup all user apps" selection include the data from the apps?
Also, I have read about using TB to create a zip file with my apps and app data. Is this a better idea, and if so how is it done?
Sorry for all the questions. As you can see I have only used TB sparingly and it has been a while, so I would appreciate some more expert assistance,
Thanks,
rblancrt
Don't know if you got any help but I use my root backup it will back up data call logs messages calender and much more to your sd card for easy transfer. Don't know if this will help but I found it's easier to use than TB I have both my root backup and TB on my phone and I never use TB anymore. Just a suggestion. Good luck.
Sent from my SPH-L710 using xda app-developers app

Categories

Resources