How backup AppData to an *.apk? - Android Q&A, Help & Troubleshooting

Hi,
I know there are some kind of Backup options like Helium, TitaniumBackup etc. But I wanted to know if there's a backup option which saves the AppData inside of the *.apk. So I have one file to deploy that automatically installs the latest user data?
Regards,
Insignificant

Related

[Q] How does Titanium Backup work (Technically, not how to use the app)

I want to know what Titanium Backup actually does so I can do it myself through terminal. Here are my guesses as to what its features do
-Backup Apps: Takes the apk from /system/app/ or /data/app/ depending on where it comes from and chucks it on the sdcard with a unique number ([Name]-[Unique].apk). It also takes app data from /data/data/ and puts it into a tarball on the sdcard as ([Name]-[Date]-[Time].tar). It also has a properties file named ([Name]-[Date]-[Time].properties)?
-Restore: Reverse of Backup.
-Market Stuff: No idea...
Good question,
I would like to know, to, since I need to backup and restore the home screen settings.
I guess it's not only a simple backup and restore, since it also backups information providers.

[Q] Game Data Backup

I'm having a problem getting games to work after the data folder is manually copied into sdcard/Android/data it always says it needs to download them by wifi even though I'm putting the exact same files in there that its downloading down to the last byte, I even copied then deleted the files they downloaded through wifi and then copied them back in and the game doesn't work.
Anyone can tell me whats going on here this doesn't make sense to me I can't backup my games!
Would probably be better if you backed up the Game app and data using Titanium Backup or My Backup. Then you can restore them intact.
killall said:
Would probably be better if you backed up the Game app and data using Titanium Backup or My Backup. Then you can restore them intact.
Click to expand...
Click to collapse
I could try that but Titanium Backup has hung for me before trying to backup Shadowgun so it might not work for all games, I'd really like to understand why removing and copying back the game data breaks the game, it would be great if I could just keep the files safe on my PC.
tazer4 said:
I could try that but Titanium Backup has hung for me before trying to backup Shadowgun so it might not work for all games, I'd really like to understand why removing and copying back the game data breaks the game, it would be great if I could just keep the files safe on my PC.
Click to expand...
Click to collapse
I've used Titanium Backup to backup the data of several games (Let's Golf 3 for example with 1Gb of aditional data) and when reinstalling the ROM the game worked without problems or saying to redownload the data.
The main issue with backing up just the /sdcard folder of the aditional data is that the app probably has some variable saved saying if the aditional data has been saved or not, so maybe if you only save the /sdcard folder and reinstall the app from the market, as it doesn't have its original data will prompt you to redownload the aditional data.
I would suggest you try the following:
1) Backup the app from Titanium Backup (app+data). This does a backup of the app you download from Market, not the aditional data.
2) If you're gonna format /sdcard partition, save the aditional data in your PC or an external device to be able to restore it. Just do a copy/paste.
3) Once resintalled the ROM or whatever you're doing, restore first the /sdcard folder saved in step 2.
4) Restore the app from Titanium Backup, select restore app+data.
5) Run the app and it shouldn't ask to redownload the data.
If you're still having problems, please post which app is the one you're trying to restore.
For some reason titanium backup doesn't work for me, it will backup successfully but won't restore the apps.
My Backup pro restores the apps correctly but any downloaded data isn't for some reason. Some help would be great.
Dafydd1994 said:
For some reason titanium backup doesn't work for me, it will backup successfully but won't restore the apps.
My Backup pro restores the apps correctly but any downloaded data isn't for some reason. Some help would be great.
Click to expand...
Click to collapse
maybe coz ur ROM not same with ur ROM when make a backup

Looking for options to backup fastest

I am the type of guy who trys a rom for a few days then moves on to another. One thing i have hated is loosing my apps, and game saves for them also. I use titanium backup, but alot of times it doesn't back up my game saves. Also my issue with titanium back up is when i restore my apps i have to manually select install on all the apps i add.
Im looking for a way to hook my phone to my computer and MOST importantly back up my sms and photos. but would also love to back up my apps and game saves. is there a better option then titanium backup?
thank you
For 1 get titanium backup pro! you will not regret it. This will allow auto backup/restore and you wont have to click to restore 1 at a time.
Depending on where the app saves data, Titanium backup will store your game files. However big games (gameloft etc) store files on ur sdcard.
What I do is backup my sdcard + Titanium backup. This should basically get everything. And in many apps you can backup setting's manually to sdcard (most launchers,GOSmS,etc).
I use a program called Allway Sync. Anything would work (or just copy entire drive every time) but this is how i have it setup. I plug in my phone to computer. SDcard gets H: , External SDcard gets I: and with Allway Sync it just does a 1 way backup to a folder on my computer (propagating changes and deletions). This way if i haven't changed much since last backup it will be done in under a minute instead of re-copying 10+gigs.
Then you can get more detailed with Allway Sync settings and exclude the junk folders (cache,tmp, etc) so it slims your backup down more making it clean.
Once I change rom's or anything I switch direction on Allway sync and copy files back onto sdcard's and then use Titanium Backup Pro to restore all app's.
Wonderful idea. i will look into all that. thank you very much
nasapunk88 said:
For 1 get titanium backup pro! you will not regret it. This will allow auto backup/restore and you wont have to click to restore 1 at a time.
Depending on where the app saves data, Titanium backup will store your game files. However big games (gameloft etc) store files on ur sdcard.
What I do is backup my sdcard + Titanium backup. This should basically get everything. And in many apps you can backup setting's manually to sdcard (most launchers,GOSmS,etc).
I use a program called Allway Sync. Anything would work (or just copy entire drive every time) but this is how i have it setup. I plug in my phone to computer. SDcard gets H: , External SDcard gets I: and with Allway Sync it just does a 1 way backup to a folder on my computer (propagating changes and deletions). This way if i haven't changed much since last backup it will be done in under a minute instead of re-copying 10+gigs.
Then you can get more detailed with Allway Sync settings and exclude the junk folders (cache,tmp, etc) so it slims your backup down more making it clean.
Once I change rom's or anything I switch direction on Allway sync and copy files back onto sdcard's and then use Titanium Backup Pro to restore all app's.
Click to expand...
Click to collapse
Can u please show me how can i restore the back up with titanium back up bro? When i wipe all data to flash a new rom, so do i need to reinstall titanium back up and just go there to restore all data?
Thank you
Install TiBu, then batch restore. Only backup user apps and data. That will restore everything from the app and it will do it automatically.
Miui backup is the best by far, but you have to be using miui.
Sent from my SGH-I777 using xda premium

How to change the Restoring Folder with TiBu

I have recently found the way to have root on the secondary user in my N7, which means that now I can use TiBu with only one problem... when I restore the Data of an App, I think TiBu it's not sending it to data/user/10 (the data folder of the second user)...
Is there a way I can change it?

Backup Widget Settings in Android

Hello,
I have a Galaxy S2 I9100 running CM12.1
I use Titanium Backup to backup all my apps and settings and it works really well but the two things that it doesn't backup are my widgets and profiles.
I know that you can backup profiles by saving a copy of /Data/System/Profiles.xml and I know that you can backup widgets using My Backup Root.
I don't want to have to use another app just to backup my widgets and I would like to just keep a copy of the appropriate files saved so that I can restore them manually as I do with profiles.
Does anyone know which file(s) widget setting are saved in so that I can make a copy of it?
Thanks
Steven
If you *can* use My Backup Root to backup your widgets, I think that's your best bet. I'm not sure how My Backup works, but perhaps you could directly access the files in question through the backup it makes.

Categories

Resources