[Q] Backup data without apk? - Android Q&A, Help & Troubleshooting

Is there any way to do it?
I'm currently using Titanium Backup and it's impossible.
The reason I want to do this is because games' APK take a lot of place, and I already have them backed up on my PC. I just want their data to save my progress.
Thanks

RomToolBox PRO is awsome, you can do thin on it...
Titanium is horrible...

360porcento said:
RomToolBox PRO is awsome, you can do thin on it...
Titanium is horrible...
Click to expand...
Click to collapse
First of all, titanium backup isn't horrible.
That being said, Rom toolbox pro is laggy, not optimized for mdpi (three icons fill up my whole screen), and while it does allow me to backup data without the apk, the schedules I defined get stuck at "loading app data", which makes it useless, really.
It might be an issue on my side, I'll contact the dev later, but I still prefer titanium backup. It's more customizable, offers filters and works correctly.
Thanks for the suggestion, tho

GermainZ said:
First of all, titanium backup isn't horrible.
That being said, Rom toolbox pro is laggy, not optimized for mdpi (three icons fill up my whole screen), and while it does allow me to backup data without the apk, the schedules I defined get stuck at "loading app data", which makes it useless, really.
It might be an issue on my side, I'll contact the dev later, but I still prefer titanium backup. It's more customizable, offers filters and works correctly.
Thanks for the suggestion, tho
Click to expand...
Click to collapse
Ok then... thats really strange... romtoolbox pro works for me and I have problems with titanium... XP
just passed on my mind : if you just make copy of the data... and then if you need, you just put it back in the right folder? i think it should work but im not sure... try copyng the data folder from one game (a little one just for testing) to the pc, make a full backup with titanium, unnistall the game, delete the data. Install the game and paste the data from the pc, if it doenst work, just install from the titanium...
and you dont need to remember the exact directory for the data, you can just copy it with all the folders and when you are restoring it just merge the folders....

360porcento said:
Ok then... thats really strange... romtoolbox pro works for me and I have problems with titanium... XP
just passed on my mind : if you just make copy of the data... and then if you need, you just put it back in the right folder? i think it should work but im not sure... try copyng the data folder from one game (a little one just for testing) to the pc, make a full backup with titanium, unnistall the game, delete the data. Install the game and paste the data from the pc, if it doenst work, just install from the titanium...
and you dont need to remember the exact directory for the data, you can just copy it with all the folders and when you are restoring it just merge the folders....
Click to expand...
Click to collapse
Thanks for the suggestion again.
I finally found a way to do it using Titanium Backup. It's not as straightforward as Rom Toolbox PRO, but it works.
First of all, delete your games' backups. Then, go to the settings and deselect "Backup Normal Apps", and backup the games again. You can use labels to make it easier. Only the data should be backed up.
To get it working the way I want (with 0 user interaction), I also used labels, schedules and Tasker.
Normally, you can't specify if you want the apk or not in the schedules. So instead, I used a Tasker task that triggers just before the data backup (then after it again) to modify Titanium Backup's settings (using shell commands & the .xml file in /data/data/...) and set the "Backup Normal Apps" settings to true/false.
Works like a charm.

GermainZ said:
Thanks for the suggestion again.
I finally found a way to do it using Titanium Backup. It's not as straightforward as Rom Toolbox PRO, but it works.
First of all, delete your games' backups. Then, go to the settings and deselect "Backup Normal Apps", and backup the games again. You can use labels to make it easier. Only the data should be backed up.
To get it working the way I want (with 0 user interaction), I also used labels, schedules and Tasker.
Normally, you can't specify if you want the apk or not in the schedules. So instead, I used a Tasker task that triggers just before the data backup (then after it again) to modify Titanium Backup's settings (using shell commands & the .xml file in /data/data/...) and set the "Backup Normal Apps" settings to true/false.
Works like a charm.
Click to expand...
Click to collapse
What you're doing with Tasker sounds exactly like what I've been looking for a way to do! Would you mind explaining in a little more detail how you have this set up? (I'm not as familiar with using shell commands to write/edit files). Thank you!

curiousgeorgie said:
What you're doing with Tasker sounds exactly like what I've been looking for a way to do! Would you mind explaining in a little more detail how you have this set up? (I'm not as familiar with using shell commands to write/edit files). Thank you!
Click to expand...
Click to collapse
Sure, modify it to suit your needs. You probably only need to change the times.
Task: Titanium Settings:
Code:
1. Variable Clear, Name: %RESULT
2. Variable Set, Name %path, To /data/data/com.keramidas.TitaniumBackup/shared_prefs/com.keramidas.TitaniumBackup-preferences.xml
3. If %par1 ~ false
4. Variable Set, Name %search_boolean To true
5. Variable Set, Name %replace_boolean To false
6. Else
7. Variable Set, Name %search_boolean To false
8. Variable Set, Name %replace_boolean To true
9. End If
10. Variable Set, Name %search to <boolean name="backupNormalApps" value="%search_boolean"\/>
11. Variable Set, Name %replace to <boolean name="backupNormalApps" value="%replace_boolean"\/>
12. Run Shell, Use Root: yes, Command: busybox sed -i 's/%search/%replace/g' %path
Profile: Time > 01:55:
Code:
1. Perform Task, Name: Titanium Settings, Parameter 1 (%par1): true
** Set a Titanium Backup schedule to backup whatever apps you want fully backed up (APK + data) between 01:55 and 03:55, using labels to select only the apps you want **
Profile: Time > 03:55:
Code:
1. Perform Task, Name: Titanium Settings, Parameter 1 (%par1): false
** Set a Titanium Backup schedule to backup whatever apps you only want a data backup of between 03:55 and 04:30, using labels to select only the apps you want **
Profile: Time > 04:30:
Code:
1. Perform Task, Name: Titanium Settings, Parameter 1 (%par1): true

Related

[Q] Which backup app you would suggest to use before rooting?

After the search through the forum I haven't found a good answer for this question.
I'm preparing for rooting my Desire Z.
I have to downgrade - everything will be lost.
As everyone knows I CAN'T use Titanium backup.
So which backup app you would suggest to use?
I need the perfect restore of settings and apps after the root.
I've looked for some of the apps but I can only say something about the interfaces:
My backup pro - simple interface. Allows to backup "data" (whatever it means) and "applications and media" (not sure if this means widgets too, not sure what does media mean)
Backup Master/B] - nice interface. Lets to choose between: sms, mms, bookmarks, call log, system setting, alarms, apn, application (does it mean widgets too?). This would be the app to go if it works 100% well.
App Backup and reinstall - lists all of the apps. You can chose which one to back up. Seems to backup apps and games only.
So as you see the choice would be quite easy (Backup Everything). However does it work perfectly well? Does it backup widgets too?
May be you would suggest any other app?
i dont think there's any app tht allows u to backup everything without being rooted. but
titanium backup is the way to go after you have.
For those who have the same question.
I had to give the phone to service, so I've backed up the phone using Backup Master.
As I anticipated they have upgraded my system to 2.42 WITHOUT ASKING ME for approval.
The result:
Cons:
1. Some of the apps have not been restored. They've just shown during restore but didn't install.
2. The process was not hands free. I had to confirm reinstalling each app.
3. No settings in the backuped apps have been restored.
4. Phone book wasn't restored.
5. No settings in the launcher or the system were restored.
6. No settings of such apps like Tasker or MS Folder Note has been restored (you have to back up your personal data and your notes from the level of these apps).
Pros:
1. Sms and mms history was restored properly.
2. Call log has been restored properly
2. Most of the apps have been reinstalled.
So as you see you can restore more or less the system bu you will spend hours on setting up the settings back again.

[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] Adroid id changed after ROM change-problem Titanium

I have installed SuperNexus JB 4.1.1. published by Faryaab (http://forum.xda-developers.com/showthread.php?t=1810042)
I did wipe/factory reset data.
I have taken backup of all USER apps+data with Titanium backup.
when I opened Titanium backup, I got the message that your device's android ID has been changed!
What is the importance of this ID? I am having trouble with restoring apps using Titanium backup.
I can reinstall apps by going in to Titaniumbackup Folder in the sdcard and click on the file manually.
anyone ?
I tried searching about this on internet but couldn't find the right info.
any help ?
andoxj said:
I have installed SuperNexus JB 4.1.1. published by Faryaab (http://forum.xda-developers.com/showthread.php?t=1810042)
I did wipe/factory reset data.
I have taken backup of all USER apps+data with Titanium backup.
when I opened Titanium backup, I got the message that your device's android ID has been changed!
What is the importance of this ID? I am having trouble with restoring apps using Titanium backup.
I can reinstall apps by going in to Titaniumbackup Folder in the sdcard and click on the file manually.
Click to expand...
Click to collapse
u can keep ur old id or can change to new id, its up to you as some developers use android id as a way to ensure you're you in some way that isn't as douchey as asking for your hardware id numbers like IMEI or MEID. It's also the way Google recommends to developers for determining who is who for whatever reason. It normally gets reset every time you flash a new ROM or go back to stock.
if u will change ur id ur phone will restart and ur device will have new id although u can keep ur old id too ... no issues there.
Ten Easy Steps for TiBu success:
1. Open TiBu.
2. Menu > Preferences > App processing mode > AUTO Direct (Should be this by default anyway)
3. Create your backup: Hit the Batch button to the top-right on your screen (the one with a checkmark). Hit “Backup all user apps” and click the green checkmark up top on the next screen. When getting ready for future wipes and ROM flashes, you are going to scroll down and just hit “Backup new user apps & newer app versions”, followed by “Redo backups for modified data”... This will update all those saved games and other info that has changed since the last time you backed it up. Do not backup or restore system data.
Note: While not required.. its a great idea to periodically move all of your backups to your computer for safekeeping. When connecting to your computer you will find a /TitaniumBackup directory on your internal storage. Go ahead and just copy the entire folder over to a safe spot on your computer, and update it from time to time. You never know when you that might come in handy!
4. TiBu now lets you backup and restore your call logs, SMS messages, and browser bookmarks (stock browser only).. How sweet is that?! On the main screen hit Menu > Backup data to XML and choose what you would like to backup if you please.
5. Now we're going to make an update.zip.. This is an awesome feature that gives you a file to flash after your ROM, so that when you boot up you will have TiBu already installed and ready to restore all your apps! Menu > Create "update.zip". The only thing you want to change here is under "Titanium Backup will be installed as:" Select "System application". You can change the name of the output file if you like, I just leave it as update.zip for simplicity. Hit your green checkmark up top and you are good to go.
TIP: Remember to create a new update.zip before your next ROM flash if TiBu has been updated at all since then.. which it probably has if its been a while, the developer updates things a lot!
6. Boot to recovery.. flash your ROM and Gapps (if needed). Now Mount the System, then install the TiBu update.zip we just created. Now... reboot.
7. Skip the initial device setup screen. This can be done by quickly tapping the top-left, top-right, bottom-right, and bottom-left corners of the screen in that order. Or you can just skip through everything without entering your Google account info.
8. Launch TiBu and do Batch > Restore missing apps with data. Now here's the important part.. hit Deselect all. Go through the list and manually select the apps you want to restore with data. You can do it safely for MOST user apps: games, utility apps, etc. But do NOT restore data to any Google apps, and try to avoid it for any apps which actively sync often or create accounts in your phone setup. Can you get away with some of these things sometimes? Maybe.. but just don't take the risk. Restoring any bad data you shouldn't could mean you'll have to re-wipe and start all over again. Once you're done selecting, hit the green checkmark to start the restore.
9. Now run through that last step again... This time after hitting Deselect all, hit App only. Now you can select the apps you are going to restore without data. You can do this for just about anything, including your google apps. Its the same as installing them normally.. TiBu will just do it for you in one quick batch job. Afterwards you can do a Menu > Restore data from XML and restore any the call logs and SMS data we backed up earlier as well.
10. Reboot. Go to Settings > Accounts > Add your Google account and set up your phone again. You can take it from here
After I boot from a clean flash I open TiBu and the first thing it does is ask if I want to restore the previous ID...
Great!
Thanks for the detailed description !
I haven't bought the PRO version of TiBu, so I will not be changing the device ID.
Previously, I haven't created the update.zip so I will not be able to restore my previous user app+data too from TiBu.
I should have copied the Titaniumbackup directory to my laptop
Though, I was able to restore SMS and most of my user apps from the TitanumBackup directory, by clicking on the files directly, except the Market links. When I open TiBu, some of the apps doesn't have the market link. But in the Google Play-> My apps, all of my installed apps appear in the "INSTALLED" list.

What to do when changing ROMs

I have had quite a few people ask me recently what to do when they change ROMs. What do I back up? How do I back up? etc. So it got me thinking, what does everyone do to back up and restore after installing a new ROM? Here is my list:
1. Titanium back up: back up a few programs that don't really update often or don't come from the GPlay
2. SMS Backup and Restore: self explanatory
3. Usually have a ROM that has a boot to recovery option in the power menu but when I don't I get a quick download of Quick Boot. Yeah I'm too lazy to power off and then push power and vol up.
4. MAKE A BACKUP in TWRP (my recovery of choice)
5. Wipe (A couple times if I am feeling particularly dirty) Factory reset is what I usually use. But always follow the developer install instructions to be safe.
6. For AOSP ROMs install the ROM of the week, add in the GApps and flash them both. For stock ROMs you don't flash GApps. Read the installation instructions to make sure which type of ROM you have.
7. Reboot system
8. Go through google setup (wifi, gmail acct ect)
9. Let G Play install all my apps
10. Go into Esfile explorer (my file manager of choice) and install any new apk or anything I didn't backup with titanium
11. Go into Titanium Backup and restore selected apps/games. At this point I am only really restoring settings.
12. Restore sms with SMS Backup and Restore
13. Realize that the new ROM doesn't have Straight Talk APN included and enter in all the APN info (considering using APN Backup and Restore)
14. Go through settings and toggle switches and buttons to make the phone how I like it. I really do wish there was a cross ROM backup that would allow me to save pie settings etc. since that seems like what I spend the most time with.
15. Go on XDA and thank ROM Dev for his hard work and let him know of any wonkiness in hopes that I can help.
Yup, thats pretty much what I do. Hopefully this has helped a few of you and I hope that others will chime in on what they do so maybe I can streamline my process.
Steps 5-7, I would omit and just say, "follow instruction provided by the developer found in the roms OP". Especially, since step 6 could be wrong for some roms.
Joecascio2000 said:
Steps 5-7, I would omit and just say, "follow instruction provided by the developer found in the roms OP". Especially, since step 6 could be wrong for some roms.
Click to expand...
Click to collapse
Quite right on step six. I haven't been on a stock rom in a long time. Good catch.
I think I'll revise step 5 as well. As for 7 does everyone else clear cache after installation or is it just me?
Sent from my One X using xda premium
I only use Titanium Backup to restore app data and settings (it also backs up APNs, SMS, and call history). To archive my apps, I use App Backup and Restore (free), since it has batch restore without paying. It only backs up apps, not data. I also have Android's native backup enabled, but it doesn't seem to store anything other than WiFi passwords for me.
When installing a new ROM, I wipe data, cache, and dalvik-cache (even though it seems redundant to me, I do this for good measure). Once the ROM is flashed, booted, and logged in, I open the Play Store and let it install apps automatically. Then I open App Backup and Restore to restore any apps that either aren't in the Play Store or didn't install automatically (if you're on mobile data, you might want to solely use App Backup and Restore to restore your apps). Then once everything's installed, I batch restore data only with Titanium Backup so I don't have to click through the installer prompts for each app. Just watch what data you restore, since some system data (like settings) isn't compatible between ROMs.
My workflow in step form:
1. Take screenshots of all desktops, folders, app drawer, and notification drawer (for power widget layout)
2. Run Titanium Backup to batch backup apps and data: Titanium Backup -> Menu button -> Batch actions -> Backup all user apps + system data -> Run -> Select All -> uncheck all red (system) apps, Google Play Services, and any apps for which I don't need data backed up. (I recheck some red apps, like News & Weather and Trickster MOD, but usually restoring these can cause issues. Only restore these if you know what you're doing)
3. Run App Backup and Restore to backup APKs for installed apps: Tap select all (check mark in the bottom right), then backup
4. Force Google sync to make sure contacts and calendar are up to date: Settings -> Google -> Menu button -> Sync now
5. In recovery (TWRP), wipe data, cache and dalvik cache
6. Flash ROM, Google Apps, and Genie Widget (for the stock News & Weather widget)
7. Sign in to my Google Account
8. (If you have concerns about data usage, skip this step) Open the Play Store and let it download (this can take a while, check under Menu -> My apps to see when the install queue is finished)
9. Open App Backup and Restore, click the Archived tab, select all (check mark), and hit restore
10. Open Titanium Backup, and batch restore all apps with data, selecting all first. (NOTE: If you set Titanium Backup to restore to external SD card instead of internal storage, you need to go to preferences and change your backup location (for me it was /storage/sdcard1/TitaniumBackup). The detect feature worked for me using the "Whole device" option.)
11. Restart your phone.
12. If something seems off with your launcher but you can't put your finger on it, check it against your screenshots.
ecaslak said:
I only use Titanium Backup to restore app data and settings (it also backs up APNs, SMS, and call history). .
Click to expand...
Click to collapse
Really? Dang I need to look into that. Thanks for the heads up
Is Phone/messaging storage the one to back up?
Just to be sure, that only backs up settings and not sent/received texts right?
Sent from my One X using xda premium
newbk said:
Really? Dang I need to look into that. Thanks for the heads up
Is Phone/messaging storage the one to back up?
Just to be sure, that only backs up settings and not sent/received texts right?
Sent from my One X using xda premium
Click to expand...
Click to collapse
That looks like the one! I had that checked, and all of my messages and my custom APNs (Net10, T-Mobile USA, and Orange UK) were saved.

[SOLVED] Titanium Backup (v8.2.2) Keeps Refusing to Restore Settings Configuration

SOLVED
Hey guys,
I'm trying to restore my previous Titanium Backup configuration on my Note 8, on which I just clean-installed the latest DevBase ROM. Normally, I just backup the following folder in order to save Titanium Backup's configuration for later restore, then after the ROM is installed, I restore the folder, install Titanium Backup and everything is restored:
sdcard\data\com.keramidas.TitaniumBackup\settings\​
However, for some reason, the latest version doesn't seem to be restoring from the backup. Any suggestions on what to do to fix it? Really need this my configurations to quickly restore my Note 8 back to normal. Thanks in advance.
Haha can't believe I'm not the only one. Was already buzzing authors but for now no reply. Up until now that always worked. But now since yesterdays flash it doesn't any more. I've been trying to make it work since then without any success. Is your ROM PIE based?
What's even worse for me, i also tried cleaning everything and fresh install TiBu without any settings. I've made a new label, attached an app or two to that label. Then I selected in preferences I want to sync settings, TiBu created /sdcard/data/com.kermidas.TitaniumBackup with corresponding files. After I uninstall and reinstall TiBu first nice surprise is that it force closes. It will not work until I delete /data/data/com.kermidas.TitaniumBackup, after that program starts but it never restores it's settings from /sdcard/data/com.kermidas.TitaniumBackup
I've tried few PIE roms and never managed to find a working sollution. Thinking of going back to Oreo just to test this out then to scream at TiBu makers if it suddenly decided to crap on us. Oh I've also tried old tibu versions. even cracked ones, since I do posses original bought key for TiBu.
jxl69 said:
Haha can't believe I'm not the only one. Was already buzzing authors but for now no reply. Up until now that always worked. But now since yesterdays flash it doesn't any more. I've been trying to make it work since then without any success. Is your ROM PIE based?
Click to expand...
Click to collapse
ROM is Oreo based at the moment.
jxl69 said:
What's even worse for me, i also tried cleaning everything and fresh install TiBu without any settings. I've made a new label, attached an app or two to that label. Then I selected in preferences I want to sync settings, TiBu created /sdcard/data/com.keramidas.TitaniumBackup with corresponding files. After I uninstall and reinstall TiBu first nice surprise is that it force closes. It will not work until I delete /data/data/com.keramidas.TitaniumBackup, after that program starts but it never restores it's settings from /sdcard/data/com.keramidas.TitaniumBackup
Click to expand...
Click to collapse
Yeah, experienced EXACTLY the same issues. I figured out a solution to the problem though; on first install of Titanium Backup, DO NOT OPEN IT YET, instead, MANUALLY grant it its app permissions via Settings > Apps > Titanium Backup, place your settings folder in the com.keramidas.TitaniumBackup folder like normal, then launch Titanium Backup. Here's a detailed step by step process:
1. Ensure you still have a proper backup of the Titanium Backup settings folder, then uninstall Titanium Backup AND Titanium Backup Pro Key (if you also purchased it)
2. Install a root file system app (like Total Commander) from the Play Store, launch it, and navigate to and delete the following folders:
/sdcard/data/com.keramidas.TitaniumBackup
+
/data/data/com.keramidas.TitaniumBackup
AND (if you also purchased it)
/data/data/com.keramidas.TitaniumBackupPro​This will ensure you start off like it's your first time installing the app, and will avoid any crashes due to whatever conflicts.
3. Restore your backed-up Titanium Backup settings folder to the following directory:
/sdcard/data/com.keramidas.TitaniumBackup​
4. Re-install Titanium Backup (and Titanium Backup Pro key, if you purchased it). DO NOT OPEN IT YET!! Otherwise, you'll have to repeat steps 1. to 3. above
5. Navigate to Settings > Apps > Titanium Backup and manually enable its app Permissions (at least Storage, but I'd recommend enabling ALL of them like I did)
6. Vuala, now you can launch Titanium Backup, grant it SU permission, and it'll recognize the backup like it should ​
Hope that helps
MrElectrifyer said:
ROM is Oreo based at the moment.
6. Vuala, now you can launch Titanium Backup, grant it SU permission, and it'll recognize the backup like it should ​
Hope that helps
Click to expand...
Click to collapse
Everyone give this man a beer/coffee/blunt whatever triggers him Even virgin blood if that's his sweet tooth Thank you so many you ended this 2 day misery troll hunt of restoring TiBu settings.

Categories

Resources