Titanium restoring system apps on lollipop - G2 Q&A, Help & Troubleshooting

Hey all, I'm having problems restoring system apps on stock lp d802, (such ass lg messaging). titanium stucks on restoring, after reboot app is there, but it's not responding (tried multiple apps). What am I missing?

Never restore system apps... Try restore only data, or use some sms backup app
_____________________________________Read more write less and be smart

Closed Force said:
Hey all, I'm having problems restoring system apps on stock lp d802, (such ass lg messaging). titanium stucks on restoring, after reboot app is there, but it's not responding (tried multiple apps). What am I missing?
Click to expand...
Click to collapse
Siggey is right. Try to avoid system app restoring.
But, as a possible solution.. Set SELinux to Permissive and trying to restore your Titanium Backup again.

Just want to report that I managed to restore some of the system apps. After titanium stuck at restoring, force close it, go to es explorer navigate to root, system, apps, at root of folder there you will find the app you tried to restore in my example lggallery.apk. Create folder of the same name, change it's permissions to match other folders, move apk to folder, reboot.

Closed Force said:
Just want to report that I managed to restore some of the system apps. After titanium stuck at restoring, force close it, go to es explorer navigate to root, system, apps, at root of folder there you will find the app you tried to restore in my example lggallery.apk. Create folder of the same name, change it's permissions to match other folders, move apk to folder, reboot.
Click to expand...
Click to collapse
It's one of the apps that is causing the issue. For me it's Google Drive. Restore some first and you'll soon weed out which ones you can and can't restore.

Related

update-script

I have about 10-15 apps I always end up installing for every new rom. I was wondering if I could just use this method to create an update.zip so I could just load it from recovery after I load a rom. I tried and for the most part (swype excluded) the apps installed ok, but i noticed if I wanted to remove them I could not. I am guessing its because I put the apk in the system/app folder. can i put it in another folder to make it appear just as if it was installed from the market? I don't see any apps installed anywhere else to be honest?
I'm not to sure about the update script but I just use Titanium Backup to reinstall all my apps. Just download it from marketplace and run a app backup. So after I install a new Rom I just redownload titanium from the market place and restore all apps. Then I can uninstall an app or delete it from the backup. Not really sure if this helps you but trying to help others out.
ejkeebler said:
I have about 10-15 apps I always end up installing for every new rom. I was wondering if I could just use this method to create an update.zip so I could just load it from recovery after I load a rom. I tried and for the most part (swype excluded) the apps installed ok, but i noticed if I wanted to remove them I could not. I am guessing its because I put the apk in the system/app folder. can i put it in another folder to make it appear just as if it was installed from the market? I don't see any apps installed anywhere else to be honest?
Click to expand...
Click to collapse
If you did something like this you would lose all data associated with those apps such as settings, game saves, etc. Best thing is Titanium backup. Also if you installed the apps without going through the market, you wont get updates.
i think if you put them in /data/app they can be uninstalled so make an update.zip that places them there
You can use ti backup to make an update.zip
Sent from my ADR6300 using XDA App
I guess i'll stick with Titanium Backup. I'll have to look into the update.zip option from there, but if it doesnt restore data, kind of a wasted step. I'll have to buckle down and look at it today. It seems kind of cumbersome going through each app 1 at a time, and don't think I want an every app restore. I imagine there's got to be an option where you can select only certain apps....thanks!
TNS201 said:
If you did something like this you would lose all data associated with those apps such as settings, game saves, etc. Best thing is Titanium backup. Also if you installed the apps without going through the market, you wont get updates.
Click to expand...
Click to collapse
Unless you also threw the corresponding db's from /data/data in there. Then you would (like you said) run into Market problems without a restore of the vending prefs and databases. Like yourself and everyone before said...use Titanium.
Titanium Tip:
1. Create a folder in root of sdcard. For example /sdcard/Reinstall
2. Go to Titanium's settings and make Reinstall your backup folder
3. Backup the apps you want to keep for restore.
4. Go back to settings and change to your regular backup folder so you don't populate your reinstall folder with unwanted apps.
5. After a wipe, download Titanium (Titanium also has an option to create an update.zip of itself so you can install it in recovery before 1st boot).
6. Go to Titanium and change backup folder to Reinstall.
7. Batch restore (donate only) or manually restore the contents.
8. Remember to change backup folder again.
I do this for system apps/settings across different roms also. For instance, I have a DesireSys folder and a FroyoSys folder. Learn to use the filters, makes life much easier.
overground said:
Unless you also threw the corresponding db's from /data/data in there. Then you would (like you said) run into Market problems without a restore of the vending prefs and databases. Like yourself and everyone before said...use Titanium.
Titanium Tip:
1. Create a folder in root of sdcard. For example /sdcard/Reinstall
2. Go to Titanium's settings and make Reinstall your backup folder
3. Backup the apps you want to keep for restore.
4. Go back to settings and change to your regular backup folder so you don't populate your reinstall folder with unwanted apps.
5. After a wipe, download Titanium (Titanium also has an option to create an update.zip of itself so you can install it in recovery before 1st boot).6. Go to Titanium and change backup folder to Reinstall.
7. Batch restore (donate only) or manually restore the contents.
8. Remember to change backup folder again.
I do this for system apps/settings across different roms also. For instance, I have a DesireSys folder and a FroyoSys folder. Learn to use the filters, makes life much easier.
Click to expand...
Click to collapse
Excellent! I've been downloading it after each install. I thought there had to be an easier way.

Swipe restote

I used titanium backup to backup the new Swipe before removing it. I went to restore it and there is a checkbox next to the item, instead of the other logo. Basically the restore feature is grayed out for most items I backed up? I went to the directory the backup uses and there is a compressed file for swipe. If I open it, I see some data, but no apk file.
Question 1st is how do I find the apk to restore this?
Question 2 is why can't I restore all backed up files via titanium (paid version)? Scares me to think I was safe using this product.
Use astro and hit the search button. Type swype with no spaces and search. You might find the apk that way.
Sent from my PC36100 using XDA App
Well I just discovered something strange with most Apps backed up with titanium. If I click on a file that I backed up (say swipe from last update) and uninstalled via titanium, and I get a message that data was backed up, and but no apk present. Sure enough, if I click on the archived swipe file, I see a data file and folder and no apk. Why would titanium backup some files completely and partially with others?
Also, without doing a nand restore, which I really don't want to start from square one, how can I get the swipe apk from the last OTA? SwiftKey has been unreliable since their past two updates?
Thanks
Pull the APK from a stock rooted ROM's zip file.
TB usually won't backup /system apps because, y'know, they're in the non-writable system partition. Normally, they're still there, and normally, you don't mess with stuff in /system, nor should you copy stuff over from one ROM to another if it's a system app.

Cannot restore Titanium Backup from PACman to Paranoid Android

After Google Services drying up my monthly data cap trying to download 4.3, I thought I'd move from PACman v23 to the new Paranoid Android 3.92 as it had 4.3. I thought I did all the right things. I backed up in Rom Manager, copied the file across to my PC. I ran a fresh backup of everything in Titanium Backup and copied that all across to my PC too.
I did a factory reset/data wipe and flashed bootloader/modem/rom/gapps as instructed and got the latest Paranoid Android running. I copy across my TB backup directory and I install TitaniumBackup from the market place. I go restore missing apps, and then... it just hangs on the first app. Read a little online, change the restore mode to "Interactive", doesn't fix it. Go back to the normal setting. I run Verify Backups, and to my surprise, it says there are errors with ALL my backup files. I get pissed, decide perhaps I should've just created a flashable zip. So I say no problem. I'm persistent. I'll create a backup of Paranoid Android, reflash my PACman backup, redo my Titanium Backup, and then reflash my Paranoid Android backup and apply the TB backup zip. So I Copy my PACman zip file, choose Install ZIP from sdcard, select the PACman zip and boom... MD5 verification failed.
I realise I had some Titanium Backup essentials backup on Google Drive and Dropbox, so I copy them over. Point TB to that directory, but the same problem persists. It just hangs.
I've been copying across the same TB folder between various ROM installations with no issues, and I'm not sure what is causing the issue here. I suspect it is either the bootloader and radio (which was what has been the extra step compared to installing other roms) but I don't want to admit that now all my backups are completely useless.
Am I missing something here? Anyone have any suggestions?
TL;DR I can't seem to get any TB backups to restore on my newly flashed Paranoid Android rom.
mversion said:
After Google Services drying up my monthly data cap trying to download 4.3, I thought I'd move from PACman v23 to the new Paranoid Android 3.92 as it had 4.3. I thought I did all the right things. I backed up in Rom Manager, copied the file across to my PC. I ran a fresh backup of everything in Titanium Backup and copied that all across to my PC too.
I did a factory reset/data wipe and flashed bootloader/modem/rom/gapps as instructed and got the latest Paranoid Android running. I copy across my TB backup directory and I install TitaniumBackup from the market place. I go restore missing apps, and then... it just hangs on the first app. Read a little online, change the restore mode to "Interactive", doesn't fix it. Go back to the normal setting. I run Verify Backups, and to my surprise, it says there are errors with ALL my backup files. I get pissed, decide perhaps I should've just created a flashable zip. So I say no problem. I'm persistent. I'll create a backup of Paranoid Android, reflash my PACman backup, redo my Titanium Backup, and then reflash my Paranoid Android backup and apply the TB backup zip. So I Copy my PACman zip file, choose Install ZIP from sdcard, select the PACman zip and boom... MD5 verification failed.
I realise I had some Titanium Backup essentials backup on Google Drive and Dropbox, so I copy them over. Point TB to that directory, but the same problem persists. It just hangs.
I've been copying across the same TB folder between various ROM installations with no issues, and I'm not sure what is causing the issue here. I suspect it is either the bootloader and radio (which was what has been the extra step compared to installing other roms) but I don't want to admit that now all my backups are completely useless.
Am I missing something here? Anyone have any suggestions?
TL;DR I can't seem to get any TB backups to restore on my newly flashed Paranoid Android rom.
Click to expand...
Click to collapse
Do you have the latest version of Titanium Backup, that supports Android 4.3?
mversion said:
After Google Services drying up my monthly data cap trying to download 4.3, I thought I'd move from PACman v23 to the new Paranoid Android 3.92 as it had 4.3. I thought I did all the right things. I backed up in Rom Manager, copied the file across to my PC. I ran a fresh backup of everything in Titanium Backup and copied that all across to my PC too.
I did a factory reset/data wipe and flashed bootloader/modem/rom/gapps as instructed and got the latest Paranoid Android running. I copy across my TB backup directory and I install TitaniumBackup from the market place. I go restore missing apps, and then... it just hangs on the first app. Read a little online, change the restore mode to "Interactive", doesn't fix it. Go back to the normal setting. I run Verify Backups, and to my surprise, it says there are errors with ALL my backup files. I get pissed, decide perhaps I should've just created a flashable zip. So I say no problem. I'm persistent. I'll create a backup of Paranoid Android, reflash my PACman backup, redo my Titanium Backup, and then reflash my Paranoid Android backup and apply the TB backup zip. So I Copy my PACman zip file, choose Install ZIP from sdcard, select the PACman zip and boom... MD5 verification failed.
I realise I had some Titanium Backup essentials backup on Google Drive and Dropbox, so I copy them over. Point TB to that directory, but the same problem persists. It just hangs.
I've been copying across the same TB folder between various ROM installations with no issues, and I'm not sure what is causing the issue here. I suspect it is either the bootloader and radio (which was what has been the extra step compared to installing other roms) but I don't want to admit that now all my backups are completely useless.
Am I missing something here? Anyone have any suggestions?
TL;DR I can't seem to get any TB backups to restore on my newly flashed Paranoid Android rom.
Click to expand...
Click to collapse
I'm having the same issues. Best luck I had is to install the latest SuperSU(PA uses an integrated superuser) and then restore my apps one by one. Some work and others don't. It's a problem with 4.3/TB and SU which hopefully will be resolved. Most of my games worked but Nova launcher did not. I was also in indirect mode when restoring them.
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
I think I screwed something up before. Just did a factory reset, installed latest SuperSU and changed app installation to indirect mode. Everything restored flawlessly after that.
Here is the reply for anyone having similar issues which is explained easily in details
https://plus.google.com/app/basic/stream/z12rw1urfveawxfxm04cjl1aoor5ezninhc
johnie5 said:
Here is the reply for anyone having similar issues which is explained easily in details
https://plus.google.com/app/basic/stream/z12rw1urfveawxfxm04cjl1aoor5ezninhc
Click to expand...
Click to collapse
Thanks.
I installed stock 4.3, had to flash the latest SuperSU to get root, and found that all my Titanium Backup files were A-OK. Perhaps it is just a matter of the latest SuperSU and the TB workaround detailed on that link:
...Titanium Backup is an example of such an app. It may incorrectly detect the path to your internal storage for backups, and thus crash on backup/restore. You can fix this by going into preferences and selecting a folder under /storage/emulated/legacy as backup/restore path, not under /storage/emulated/0.
Click to expand...
Click to collapse
I'll reinstall PA3.92 and try again.
Last update: Installing the latest Paranoid Android 3.94 and putting my Titanium Backup folder in the legacy folder detailed above has given me a working solution.
Mercado_Negro said:
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
Click to expand...
Click to collapse
Thanks for the solution!! I've been trying to restore stuff for hours.
Happy I found a solution. I too spent way too long getting Titanium Backup to restore apps. And once I found this solution, implementing the folder change isn't just ticking a box or adding an entry. But all's well now. Really enjoying my first taste of Paranoid Android - lots of settings to figure out. I was having dpi/resolution issues with Simpson's Tapped Out and PA will give me several solution options. Thanks everyone!
mversion said:
Thanks.
I installed stock 4.3, had to flash the latest SuperSU to get root, and found that all my Titanium Backup files were A-OK. Perhaps it is just a matter of the latest SuperSU and the TB workaround detailed on that link:
I'll reinstall PA3.92 and try again.
Click to expand...
Click to collapse
I was having restore problems with Titanium Backup and installed SuperSU from the play store after reading this and then allowed it to update the binaries through CWM.
All my backups are now restoring fine!
Mercado_Negro said:
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
Click to expand...
Click to collapse
This worked for me, too, on two different ROMs on my HTC One. I can't believe how easy it was after I tried to figure out a solution for about two hours. Thanks!!!
Mercado_Negro said:
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
Click to expand...
Click to collapse
That's a bingo!
here is what I did (nexus 7 FLO)
menu - > preferences -> Backup folder location -> DETECT
choose /legacy instead of /0/something or other
It will ask to move the data
select yes
restore away
Mercado_Negro said:
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
Click to expand...
Click to collapse
This was much appreciated. I simply switched the backup folder location from /storage/emulated/0 to /storage/emulated/legacy instead. Problem Solved. No Rebooting, no installing SuperSU or anything. I've spent two hours trying to restore my backups (the one time, I forgot to create the flash zips with all my backups and the one time I didn't have space to create a Nandroid,) and now I'm good to Go.
Mercado_Negro said:
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
Click to expand...
Click to collapse
Thanks , worked perfect :good:
Xentar712 said:
I'm having the same issues. Best luck I had is to install the latest SuperSU(PA uses an integrated superuser) and then restore my apps one by one. Some work and others don't. It's a problem with 4.3/TB and SU which hopefully will be resolved. Most of my games worked but Nova launcher did not. I was also in indirect mode when restoring them.
Click to expand...
Click to collapse
Thank you. I've had a few reinstalls now where I've had to redirect TiBu to the "Legacy" path but this time with Carbon rom I also had to update SuperSU, then let SuperSU update the binary through CWM before I could restore anything.
Edit: Also if you're having problems figuring out how to change Titanium Backup's default path in preferences, your phone/tablet's Back button (beside the home button) will move you up through directories in the "select backup folder" dialog. This one had me stuck for awhile so maybe this info will help someone else.
Even changing it to legacy I am unable to get TiBU to restore. I have even made it navigate to the Titanium Backup Folder where I can see all my apps and system data backed up but it won't load it to restore for some reason.
Any suggestions?
xavier2k3 said:
Even changing it to legacy I am unable to get TiBU to restore. I have even made it navigate to the Titanium Backup Folder where I can see all my apps and system data backed up but it won't load it to restore for some reason.
Any suggestions?
Click to expand...
Click to collapse
Yes, flash superSU:
http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip
droidgren said:
Yes, flash superSU:
http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip
Click to expand...
Click to collapse
Already had. I just set it up again from scratch. Wasn't that bad to be honest.
Titanium Backup was updated today to version 6.1.1. It uses the /legacy path now by default for ROMs using Superuser. You shouldn't run into problems anymore.

[Q] How to restore Titanium backup backup without root ? urgent help

Hello,
i have titanium backup files i made from my old Note2 and now i want to restore on my new S4
i don't want to root my new s4 anyway to keep it clean
is there any way to make titanium backup restore the apps without root ?
i need only the apps not the data .. just the apps
so , is there any other way to restore just the apps from the titanium backup folder ?
Extract the apk files from the titanium backup archives and put it on your sdcard so you can install them
Sent from my Xperia Arc S using XDA Premium 4 mobile app
om22 said:
Extract the apk files from the titanium backup archives and put it on your sdcard so you can install them
Sent from my Xperia Arc S using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I need to restore my backups to my non-rooted phone but I need the app data.. is this possible?
Not without root. I wouldn't recommend extracting the apks as your market links will be broken. No updates. You need root or start again
MamomaN said:
Hello,
i have titanium backup files i made from my old Note2 and now i want to restore on my new S4
i don't want to root my new s4 anyway to keep it clean
is there any way to make titanium backup restore the apps without root ?
i need only the apps not the data .. just the apps
so , is there any other way to restore just the apps from the titanium backup folder ?
Click to expand...
Click to collapse
If you still have Note II, there is an easy way to accomplish what you need.
Astro File Manager can back up all installed apps to a folder named "backups." Apps can be reinstalled in the normal way from this folder. Market link is not lost, no root required.
After some of my past experiences, I tend to back up things six ways from Sunday and this has been handy for me.
I hope this helps.
Use Helium if you can..
On the same line, if you still have your note 2, use Helium (Koush's app, previously Carbon) instead..
It allows for backup/restore of data without root.
Now can you use data files backed up with Titanium to restore using Helium is unknown to me...
---
Edit: Apologies, wrong reply, dint read that you want just the apps and not the data! Talked only about data..
My experiences.
I just got a G3 and the computer side for Helium wouldn't recognize my phone. Not sure if I wanna root.
OK. I just lied to you. I do wanna root it.
I'm gonna try the Astro method.
I am stuck in the same situation....tried everything but there is no way around to to restore unless the phone is rooted
bsam55 said:
If you still have Note II, there is an easy way to accomplish what you need.
Astro File Manager can back up all installed apps to a folder named "backups." Apps can be reinstalled in the normal way from this folder. Market link is not lost, no root required.
After some of my past experiences, I tend to back up things six ways from Sunday and this has been handy for me.
I hope this helps.
Click to expand...
Click to collapse
I tried the Astro method suggested here. Just a warning: only the apk is backed up; no app data. I was hoping it would do the app data since that is what I really care about.
On a rooted device, ES File Explorer (any version) can back up both apps and data. I back up my apps and data with it all the time, or else I wouldn't have gone through the trouble of modifying pre-malware versions of that app to work with systemless root.
Without root however, backing up the data is impossible.
Strephon Alkhalikoi said:
On a rooted device, ES File Explorer (any version) can back up both apps and data. I back up my apps and data with it all the time, or else I wouldn't have gone through the trouble of modifying pre-malware versions of that app to work with systemless root.
Without root however, backing up the data is impossible.
Click to expand...
Click to collapse
What about restoring from an ES File Explorer backup? Can an ES File Explorer backup (apps and/or data) be restored on a non-rooted device?
pvman said:
What about restoring from an ES File Explorer backup? Can an ES File Explorer backup (apps and/or data) be restored on a non-rooted device?
Click to expand...
Click to collapse
Just install apk that backed up inside backups/apps. I use ES nowadays just to backup Titanium Backup apk so I don't have to re-download it everytime I clean flash my device.
For data of apps, you might need root.
Sent from my Redmi 3 using XDA Labs
pvman said:
What about restoring from an ES File Explorer backup? Can an ES File Explorer backup (apps and/or data) be restored on a non-rooted device?
Click to expand...
Click to collapse
Apps can be restored, but not data. Even if you did have app data backed up it cannot be restored without root.
EDIT: Clarified message.
Without root, you will not be able to restore data because the file/directory owner and SELinux security context need to be changed. This is the way Android works; with only a few exceptions, each app gets its own user ID (owner) as which the app runs. Generally speaking, one user ID (UID) cannot write the files/directories of another UID. Doing that would require that UID to set the mode bits (permissions) of a file or directory so that group (GID) or "other" is allowed, but Android apps generally don't do that to maintain the "one UID per app" sandbox. Similarly, if SELinux is used, additional access checks are made based on SELinux contexts (but I don't know that well, so I can't explain it, other than to say, if your file context is not right compared to the context of the process accessing it, it will be denied/won't work).
root on the other hand can override permission checks, and can assign the UID, GID, mode bits, and (usually) the SELinux security context of a file or directory. That is what TB does. If you have SuperSU Pro, you can see the chown/chmod/etc. that it does in its logs.

reinstalling a system app

so I was having an issue with the stock messaging app, made a Titanium backup and uninstalled it. So now the backup will not restore for some reason. I have a full system backup on my PC so I tried to pull the apk from priv-app, placed it, set permissions, and rebooted. No dice, messaging force closes when I try and launch it.
Any ideas how I might fix this issue? Thanks in advance!

Categories

Resources