Titanium Backup won't restore apps, just data. - Android Apps and Games

I've done this many times but after the latest reformat when I select an app to restore, Titanium Backup 7.5.0 (Pro/Donate version) only gives a "data only" option. It seems to have lost the apps themselves.
And if I reinstall the app from the store and then restore the data from TB, the app will usually crash.
Additionally, some of the apps aren't even found until I install them from the play store. After that, I have the "data only" option for them again.
LG G3 D852 on Marshmallow.

set SELinux to permissive before trying to restore TiBackup

Thanks JumboMan, but no joy. Set SELinux to permissive and the behaviour didn't change.

Related

[Q] Titanium Backup Restoring App Restores Forever

Trying to restore a system app which I un-installed and the spinning circle just spins and spins. I've watched it spin for about 15 minutes now.
I tried setting "App Processing" to each of the modes, default, interactive and classic but that doesn't seem to change anything. "Install from unknown sources" is checked in my system settings.
Any suggestions?
If it helps, this is on a JB LG P769 (T-Mobile) with link2sd installed (ext3 partition).
Thanks.
FusiveR said:
Trying to restore a system app which I un-installed and the spinning circle just spins and spins. I've watched it spin for about 15 minutes now.
I tried setting "App Processing" to each of the modes, default, interactive and classic but that doesn't seem to change anything. "Install from unknown sources" is checked in my system settings.
Any suggestions?
If it helps, this is on a JB LG P769 (T-Mobile) with link2sd installed (ext3 partition).
Thanks.
Click to expand...
Click to collapse
Titanium Backup does that from time to time. Just force stop it and retry.
sent from my locked rooted P769 v20f
I'm on YouTube (BioDesigner48)
Actually all I had to do was reboot the device and the apps were there. It seems like titanium backup was successful in restoring but just wasn't reporting it as such.
issue with superuser
Maybe posting here is close to necrophilia, but I had a similar problem (which did not get solved by rebooting) and this thread was the first to show up in google search. If the problems below seem familar to you, maybe this will help.
Problems:
- Uninstall Apps via Titanium (free) did not work properly, they always came back after the next reboot.
- Restore froze / took forever.
- Granted su-right several to dozens of times while creating backups.
Fix:
May sound stupid, but the SU (integrated in cyanogen 11) was outdated. That's it. Installed SuperSU and now it works fine.
Note:
Titanium Backup notes the outdated SU on first start and displays a warning message. But if you skip it without reading, then it's good luck searching.
FusiveR said:
Actually all I had to do was reboot the device and the apps were there. It seems like titanium backup was successful in restoring but just wasn't reporting it as such.
Click to expand...
Click to collapse
Thanks. Rebooting the device did work. I guess giving it a minute(especially when restoring app+data) to spin and then going for a reboot would be safe.
Disabling Play Protect and Verify apps over USB before restoring with Titanium works for me.
zonexo said:
Disabling Play Protect and Verify apps over USB before restoring with Titanium works for me.
Click to expand...
Click to collapse
Thanks mate! Disabling Verify apps over USB from developer menu did the trick

[FIX] Titanium backup not restoring? Check your runtime!

I manually upgraded my ROM to 10f so that I wouldn't get the notification anymore. After installing TB I tried to restore my apps and none of them would work! Batch restore just hung so I tried and individual restore and got a parse error, and it hit me....
I was using ART instead of Dalvik on my old ROM! swapped my runtime over to ART and TB works like it should now.
Just a heads up for anyone else who might run into this.
You can also let Google restore your apps automatically and then use TB to restore just the "data" for those apps that you need to rather than restoring "App and Data". This is a "safer" method of restoring apps IMHO because you won't run into incompatibility issues while still recovering your data for the apps.
I have always had issue with google restoring my apps. It either doesn't work at all, or it installs every app I've used in the past year or so, even the ones I've removed

Titanium Backup Pro 7.5.0.3 - Restore all apps with data shows 0

I've just upgraded my Nexus 4 from cm-13.0-20160429-SNAPSHOT-ZNH0EAO2YJ-mako to cm-13.0-20160820-SNAPSHOT-ZNH5YAO0J5-mako. First I backed up my apps and data with Titanium Backup Pro, using gzip and filtering on 'User' apps.
After wiping, re-installing Gapps, Google sync'ed my apps back to the device (mostly without data) which I hadn't seen before. I re-enabled the Developers option, re-installed SuperSU from zip, set Security to enable Unknown Sources, and went to Titanium Pro to restore my data. I restored the old ID; In Titanium the same filter shows all my backups are there on the device, with data - I can see each one - but the option to reinstall isn't available.
The batch 'Restore all apps with data' shows 0 of 153 backed-up apps.
Btw restoring xml sms and call logs, which are also present, failed with the messages 'Data restore failed for...' but I fixed this by switching from 'Normal Android Way' to 'File Way'
Have I missed something? Can anyone suggest how to get this working?
Although the backups are showing in the filter, I got Titanium to search and change the Backup Folder location from /storage/sdcard/TitaniumBackup to /storage/emulated/0/TitaniumBackup without 'moving' the files, and reloaded applications:
1 Menu - Preferences... - Backup settings - * Backup folder location - DETECT! - select location - tap on 'USE THE CURRENT FOLDER'
2 Menu - SPECIAL FEATURES - Reload application
but it didn't help.
Finally figured it out...
Backup/Restore tab; Click to edit filters - Status: Backed up and Type: User are checked - correctly lists all my backed-up apps and data.
However the Filter by platform tab shows ROM Android version: 5.0.2 is checked, 6.0.1 is unchecked. Which is odd as none of the backups are 5.0.2 and I haven't used 5.0.2 for a long time.
Checking the 6.0.1 checkbox doesn't affect the list of backups, but when I go to Restore, they are listed.
And having unchecked 5.0.2, it now disappears from the Filter by platform section
Other incorrect and outdated information regarding the Rom build, and OS still remains, and I can't update it, but as it's not checked it doesn't matter.
Just another Titanium 'gotcha' Perhaps one for the TiBu devs.

New Pixel 3 setup: Restoring backups fails with both Titanium and MyBackup Pro

I'm setting up a new Pixel 3 (Android 9), and moving from a Note 4 (Android 6.0.1).
When setting up, Google installs some, but not all, apps from the store. The missing apps I expected to restore from redundant Titanium Backup and My Backup Pro backups.
I have successfully installed Magisk 18.1 using the Boot Image Patch method (no TWRP)
Titanium Backup Pro reports it has superuser rights. When I try to restore an app created with the Note 4, Titanium Backup hangs forever on the "Restoring App+Data AppName n.n.nn.n" overlay with the spinning circle. TiBk is unresponsive, although Android is still running and I can see home screen or notifications. Restart is required to clear the pending action. I have run TiBk with USB debugging enabled (if that is still required), but get the same failure.
I also have MyBackup Pro. When I try to restore an apk (or apk+data), it appears to run normally. MBP reports it has superuser rights. At the end of the process the status summary says: Appname: failed: cp: can't create '/data/app/appnamestring-1/appnamestring.apk': Path does not exist.
I tried using MBP to back up an app already installed on the Pixel 3 from the store, and then restore it. It gives the same error, except the place where there is "appnamestring-1" in the Android 6 backup, there is now something like "appnamestring-2fjdk56akjfkdye7dkfja9=="
Also, I observe that the app that was installed prior to this backup restore experiment is no longer present afterward. I re-installed from the store.
Can anyone suggest next steps for solving this issue?
timg11 said:
I'm setting up a new Pixel 3 (Android 9), and moving from a Note 4 (Android 6.0.1).
When setting up, Google installs some, but not all, apps from the store. The missing apps I expected to restore from redundant Titanium Backup and My Backup Pro backups.
I have successfully installed Magisk 18.1 using the Boot Image Patch method (no TWRP)
Titanium Backup Pro reports it has superuser rights. When I try to restore an app created with the Note 4, Titanium Backup hangs forever on the "Restoring App+Data AppName n.n.nn.n" overlay with the spinning circle. TiBk is unresponsive, although Android is still running and I can see home screen or notifications. Restart is required to clear the pending action. I have run TiBk with USB debugging enabled (if that is still required), but get the same failure.
I also have MyBackup Pro. When I try to restore an apk (or apk+data), it appears to run normally. MBP reports it has superuser rights. At the end of the process the status summary says: Appname: failed: cp: can't create '/data/app/appnamestring-1/appnamestring.apk': Path does not exist.
I tried using MBP to back up an app already installed on the Pixel 3 from the store, and then restore it. It gives the same error, except the place where there is "appnamestring-1" in the Android 6 backup, there is now something like "appnamestring-2fjdk56akjfkdye7dkfja9=="
Also, I observe that the app that was installed prior to this backup restore experiment is no longer present afterward. I re-installed from the store.
Can anyone suggest next steps for solving this issue?
Click to expand...
Click to collapse
The only way that worked for me is getting my apps installed from GDrive backup (the from settings - > security - > backup or so). Actually this only restores apps from the play store.
Restore via ADB also didn't work for me...
TGHH said:
The only way that worked for me is getting my apps installed from GDrive backup (the from settings - > security - > backup or so). Actually this only restores apps from the play store.
Restore via ADB also didn't work for me...
Click to expand...
Click to collapse
Thank you for the reply! It was rather quiet around here...
But seriously, you can't restore apps? Why?? What is the issue? Why can't an app designed to backup and restore, running with superuser permissions, restore an app?
timg11 said:
Thank you for the reply! It was rather quiet around here...
But seriously, you can't restore apps? Why?? What is the issue? Why can't an app designed to backup and restore, running with superuser permissions, restore an app?
Click to expand...
Click to collapse
I found it also quite annoying! Trying to copy apps via cable seems to be only fetching a list of apps from the old phone and then re-installing them. No settings, no data. Also - obviously - only apps from play store! So unusable.
My advise - export, backup etc. all you can from your old phone for import or so.
In regards to Titanium - there's a wayto make it work. I had this once that it got stuck: in the settings there's an option to change the processing mode - see https://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-troubleshooting.html , number 29.
You will have to ACK every app to be stored but it should work.
Not sure what I did different to you but it worked for me (titanium). Maybe try restoring app only, then data only. I think I might have done a batch restore from a nandroid originally.

Unable to get Titanium Backup to work on Android 10

Have been unable to get Titanium Backup to work to migrate apps from my old phone to a new pixel 3. From searching around it sounds other people have had issues, but I have been unable to get TB to work.
Phone is newly flashed with Android 10 and google's factory images, after installing Magisk Manager to manage root I've tried the following:
a) install TB through the app store, if I do this TB hangs on restore, but if I install the app through the marketplace and then restore data in TB, that seems to work is some (not many) cases
b) install an older version of TB from apkmirror which was suggested in some threads, TB just hangs if I try that.
This thread suggested disabling "Verify apps over USB" would solve the above issue, but I had no luck. https://forum.xda-developers.com/oneplus-7-pro/help/issues-restoring-titanium-backup-t4011085 and in this thread had the same issue https://forum.xda-developers.com/pixel-3/help/pixel-3-setup-restoring-backups-fails-t3919228
Any suggestions on other things I should try to get TB to work? I've used TB for every phone migration for 10 years now, but am struggling to get it to work. Maybe another backup/restore tool is better, or maybe I should factory reset to Android 9 and stay on that. Thanks!
I couldn't restore a lot of my ~300 user apps, e.g. Zoom, Youtube, Advanced Root Checker, GMail.
All these apps are restoring for ever (hanging while restoring).
A lot others worked without any problem.
The main solution was to disable "Verify over USB" in developer settings.
I restored most of my apps with Indirect method, but later used Direct method (and tried on some of the others), which didn't make a difference.
However the suggested "Disable Play Protect" (in play store) didn't make a difference for all of my apps.
Youtube and Android Auto were the only ones that still didn't restore (still hanging), even with both options disabled.
Even the interactive method didn't help here.
May be this also affects other Google Apps like GMail, but I installed those manually from Play Store and connected them to my account, so I don't know.
I then installed Youtube via the market link and restoring via "data only" worked fine.
When looking at an app backup by Total Commander (just for fun) or Xplore, I see that all these apps seem to have split apks, so I guess that's the real reason.
You just don't use titanium backup i use swift backup pro it does the same job for me
I was able to restore TB backups after a full factory image wipe and Magisk installation.
I had to disable both "Verify Over USB" and "Play Protect" from the Play Store to get it to work. Hope this helps.
luckana said:
You just don't use titanium backup i use swift backup pro it does the same job for me
Click to expand...
Click to collapse
Thanks for this suggestion. Ti Backup has not worked on my Pixel 3 - ever.

Categories

Resources