[Q] Titanium Backup not working on Lollipop no matter what - G2 Q&A, Help & Troubleshooting

Hi guys, my Titanium Backup 6.2.0.3 has backed up 80 apps on android KitKat. Everything was allright back then, all backups were verified. So i tried Lollipop yesterday, and i tried to restore those apps. Nope, it just hang. TB was allright, i tried to change everything in settings, every mode etc. but it just didnt work. Nothing. So i flashed SuperSU 2.40, as some people talked about it on the forum (i had Ressurection Remix, last version). Nothing. I changed my ROM, now i have Vanir. TB restores DATA, but just data. It can not restore any app, even without the data. The android installer method works (user installation of apk + TB restore of data) but doing that to 80 apps? Seriously?
I solved it, I wrote a How-To here: http://forum.xda-developers.com/lg-g2/help/how-to-restore-kitkat-apps-titanium-t3005385

So i verified those backup in Lollipop. It says 162 errors. In 80 backups theres 162 errors. I did not do anything with the backups. What's the problem? Why is it corrupted? I don't get it.

So i went back to KitKat and guess what? All backups are confirmed as allright, i can restore them and everything.

I found a solution to this.

Which is?

180190 said:
Which is?
Click to expand...
Click to collapse
Here: http://forum.xda-developers.com/showthread.php?t=3005385

batch restore
Some apps are not compatible with Lollipop, so when you do a batch restore using TB, take note of apps that breaks the batch restore process and exclude them in the next batch restore attempt. Or else it will keep breaking the restore process. I have used TB on Lollipop successfully.

Thank you very much.

180190 said:
Thank you very much.
Click to expand...
Click to collapse
You are welcome!

dlx350 said:
Some apps are not compatible with Lollipop, so when you do a batch restore using TB, take note of apps that breaks the batch restore process and exclude them in the next batch restore attempt. Or else it will keep breaking the restore process. I have used TB on Lollipop successfully.
Click to expand...
Click to collapse
That was not the problem. On the ROM's thread more people complained about the problem, some people even suggested using Helium instead. However, I found a solution that restored ALL apps without any problem from the backups created by Titanium Backup.
Here: http://forum.xda-developers.com/showthread.php?t=3005385

No need to do all that. The problem is with Lollipop denying permissions from apps to modify folders and files. Just enter SuperSu and in Settings, under Security, find "Mount namespace separation" and untick it. Then restart your phone and Titanium Backup should be able to back up and restore again.

Related

Messed up home screen after backup

I apologize if this post isn't very clear, I'm tired and English is not my native language...
I upgraded to Cyanogen's 5.0.7 Test 5 ROM not too long ago from CM 4.2.14.1. Before doing that I backed up my app data wit Backup for root users. I haven't done that before, so I checked multiple boxes, not knowing which one was the correct one. The tutorial I followed then stated I should check the SD-card to make sure only app data was backed-up, and no system data.
So I checked and found only maps from my apps.
So far so good.
However, when I restored the app data, my home screen got messed up. It thinks the fourth screen is the center one (so it goes there when pressing the home button) and all widgets say "Problem loading this widget". Also I can't change anything. I Can't remove or rearrange widgets or shortcuts. If I try to do so, Android crashes (FC on android.process.acore).
I'm pretty sure it is completely my own fault, not a bug in the ROM. When I restored the data I must have corrupted the file in which the home screen data is stored.
So, finally my questions: Is there a way to restore this without doing a wipe (I'm guessing re-flashing without a wipe will still keep the corrupted settings)?
If anyone can tell me which file is responsible for the home screen settings, can I delete it so Android will restore it with a new (empty) one?
Can I replace it with someone else's? Or extract it from a ROM-file?
That are the solutions I came up with. If its easier to just wipe and re-flash, tell me and I will do so. I just hoped there was a way I can prevent having to set up the phone all over again...
Thanks in advance!
Did you nandroid backup? If you did, restore it and backup all your apps using Titanium Backup. Backup for root users has always gave me problems as well. Titanium Backup allows all the same options that you need, but just works better imho.
If you didn't nandroid and can't do that - I'm pretty sure a wipe is your only option. You can try fix_permissions from the terminal, but I don't think it's going to fix your problems.
I did do a nandroid backup, but that was just before I flashed CM 5... I guess restoring a nandroid backup from my CM 4.2.14.1 setup is not a good idea?
Hmm, guess I will be re-flashing this evening Thanks anyway!
EDIT: I will use Titanium from now on... I had heard of it, but the tutorial I followed used Backup for root users...
Restoring a nandroid backup is NOT bad at all. That's what its there for. It doesn't matter if you nandroided a completely different ROM then flashed CM5. Flashing a new ROM doesn't affect the nandroid backup EVER.
You flash a nasty, nasty ROM and are like, "Oh ****!" Just go nandroid.
I usually wipe all data/cache before restoring, but some people don't. Either way, it completely restores your phone to the state it was at before backing up. This includes applications and everything. (App data, system settings, app settings, etc.)
I thought nandroid just restored system files and settings... But if it completely restores my phone, a might just as well wipe and re-flash since it will restore it to the previous ROM.
Thanks for the info, I have learned some more about my phone

Error when restoirn data portion of nandroid backup + causing other problems.

Ok, so I have made a number of nandroid backups and after doing some ROM flashing I decided to restore to one of them. I am using TWRP2.6.0.0 and when I clicked on restore it went through all the normal processors for boot, system and recovery but when it reached the data section it took the usual time to restore data (300 secs or so) but then an error message appeared.OK I thought to myself, this backup must just be corrupt so I tried a previous one but the exact same thing occurred. I decided to reboot anyway and it booted up fine but strangely it seemed like the data had already been restored, Google account was logged in, alarms were set ect, but when I launched an app all the data had been erased. I have tried restoring backups using TWRP 2.5.0.0 and 2.6.0.0, backups both with and without compression and restoring each part indevidualy but still I got the same results. As I had no titanium backup data for most of my apps I used an app called nandroid manager root. This let me access the app data from by nandroid backups and restore them and that worked fine. For a while everything worked fine until I noticed a few of my apps had been uninstalled, exposed installer, too manager, 3d mark and few more, I tried redownloading from the play store but I keep getting "app not installed errors" I have also tried installing the apk and using root apps to install it but I keep getting errors. this makes me think some files must'be restored from the nandroid and are not letting the app be installed. I'm not sure and I'm quite a noob but I am wondering if their's anyway to fix this without factory reseeting and if theirs any way to get future nandroid backups to work. Thank you.

Any problems moving to 4.3 after restoring apps and settings w/Titanium Backup Pro?

I'm thinking about finally moving to 4.3 using a custom ROM (haven't decided which one yet). I have Titanium Backup Pro and plan to restore all my apps and settings after the upgrade. Is this process likely to end in a stable system? I don't have the time and patience to go through installing and configuring everything again, so if it's not a dependable process I might as well wait for the OTA update (and deal with Knox later...)
Thanks!
Don't worry, this is what I did all is fine.
Before anything, make a backup of your internal SD (just in case), EFS backup and all apps with Titanium. Then in Phils recovery select option to erase everything for new ROM flashing. I also did manual wipe of cache & dalvik just in case. Don't worry, your internal card won't be touched, but always better safe than sorry. Then flash MJ5 kernel, and finaly flash your chosen ROM. Then you can restore apps from titanium. I had like 2 apps that didn't work at all after restore, probably incompatible with 4.3. The system is stable 100%. Never had a reboot.
Thank you Dalanik. This is very encouraging to know.
oren_b said:
I'm thinking about finally moving to 4.3 using a custom ROM (haven't decided which one yet). I have Titanium Backup Pro and plan to restore all my apps and settings after the upgrade. Is this process likely to end in a stable system? I don't have the time and patience to go through installing and configuring everything again, so if it's not a dependable process I might as well wait for the OTA update (and deal with Knox later...)
Thanks!
Click to expand...
Click to collapse
Did you try it? How did it go?
I had faced a lot of issues when I did this recently. My contacts and message apps started to crash. Could have been OS problem no idea, but I was losing all my messages and my contacts. Ended up using super backup and import/export feature. Then on TB i restored only the apps and not the settings or system data. Now its perfectly stable, no crashes whatsoever
If you erase phone completely for flashing, contacts will be restored automaticaly from google contacts, but I'm afraid SMSes won't. That's another thing worth backing up. I used SMS BAckup and Restore, works perfectly, although you can also use Titanium as well.

[Q] Restoring backup

Sorry if there is a similar question with answer (I was not able to find it).
I just rooted and upgraded from stock 4.4 to 5.1 Android. I was using Go Backup (as always did, for few years now, with many phones) and never had a problem. This time, though, I tried to restore backup, but only got apps, and not DATA... I tried different 5.1 ROM, and the result was the same.
I returned to 4.4 ROM where I was able to restore apps and data without any problems. Then, I backed up everything with TItanium Backup and MyBackup, again flashed 5.1 ROM. Go Backup will, again, just restore Apps, but neither Titanium, nor MyBackup will have their Backup folders... I tried to access those via File Managers, but was not able to find them :/
I read something about changed directories for data in Lollipop, but, is there a fix for this problem?
P.S. I'm using D802, 32GB version.

Titanium Backup: why do I keep getting errors when restoring data?

I've noticed two problems that crop up when I use Titanium Backup to restore my apps/data
1) If I try to restore the missing apps + data, sometimes everything gets restored, and sometimes it gives me "X elements failed", where some apps will not be installed. This happens whether I restore on the same ROM that I backed up on (backup on Cloudy G2, restore on Cloudy G2) , or if I use a different ROM (backup on NDM 5.5, restore on Cloudy G2). I thought I found a work around, where I just install the app from the Play Store first, and THEN I would restore the app data. That worked a few times until....
2) When I tried restoring my app data last night after a fresh KDZ wipe, the apps that I restored data on all couldn't start (Snapchat, Amazon, Wechat, SwiftKey). I would tap them, they would try to open for half a second, then they would close. I tried restarting my phone, but with that, I got "UIDs on your system are inconsistent, you need to wipe your data partition or your device will be unstable". I was stupid, and decided to wipe my data partition so I had to restore all my apps from scratch, but that at least hasn't lead to any problems yet.
Does anyone know what I did wrong, or what I can do to fix this? I know for number 1, some threads mentioned that your Android I.D. changes when you flash a new ROM (that MIGHT explain number 2?), but not a lot of people mention this, and it seems like the majority of people don't have this problem. For number 2, I found this thread, but it was too late already.
If possible, I'd like to find a backup app that avoids ALL of these and just lets me back things up and restore easily. Is there one out there?
tdk0117 said:
I've noticed two problems that crop up when I use Titanium Backup to restore my apps/data
1) If I try to restore the missing apps + data, sometimes everything gets restored, and sometimes it gives me "X elements failed", where some apps will not be installed. This happens whether I restore on the same ROM that I backed up on (backup on Cloudy G2, restore on Cloudy G2) , or if I use a different ROM (backup on NDM 5.5, restore on Cloudy G2). I thought I found a work around, where I just install the app from the Play Store first, and THEN I would restore the app data. That worked a few times until....
2) When I tried restoring my app data last night after a fresh KDZ wipe, the apps that I restored data on all couldn't start (Snapchat, Amazon, Wechat, SwiftKey). I would tap them, they would try to open for half a second, then they would close. I tried restarting my phone, but with that, I got "UIDs on your system are inconsistent, you need to wipe your data partition or your device will be unstable". I was stupid, and decided to wipe my data partition so I had to restore all my apps from scratch, but that at least hasn't lead to any problems yet.
Does anyone know what I did wrong, or what I can do to fix this? I know for number 1, some threads mentioned that your Android I.D. changes when you flash a new ROM (that MIGHT explain number 2?), but not a lot of people mention this, and it seems like the majority of people don't have this problem. For number 2, I found this thread, but it was too late already.
If possible, I'd like to find a backup app that avoids ALL of these and just lets me back things up and restore easily. Is there one out there?
Click to expand...
Click to collapse
is a supersu issue, open supersu than go to is setting and not select "name space mount separation" that is selected by default.
Now titanium can work as intended
Romagnolo1973 said:
is a supersu issue, open supersu than go to is setting and not select "name space mount separation" that is selected by default.
Now titanium can work as intended
Click to expand...
Click to collapse
That will fix both problems that I have?
Try, I was unable to use it untill I change the SuperSu setting and now Titanium is working perfectly, so probably your problem is the same.
Oh I mean, I can use it just fine. It can perform backups. But restoring is a when I get those errors. I'll keep this in mind in case I need to restore to a new ROM, thanks!

Categories

Resources