Integration of System Updates to ROM with TB fails - Xperia Z3 Q&A, Help & Troubleshooting

Hi,
anyone else with the same Problem?
Since KitKat (and still with Lollipop 5.1.1) the Titanium Backup function to include Systemapp Updates to the ROM fails. Happens at all Google Apps, FileCommander and Sony Apps.
There is no Error Message. In some cases it only deletes the App completeley and in other cases the progress is running endless (tested for 1 Hour without completion).
Device is Bootloader unlocked, rooted (SuperSU)....... any Hints?

Hmm I had no issue with kitkat, but it definitely does not work with lollipop.
Issue is with tb it's not going to create a subfolder and put libs in subfolder.
If you want to integrate apps, copy the apk from data directory and paste it over system apk, and then replace all the libs using same process.
Reboot phone so it optimized new system apk, then under normal application management uninstall app and replace with factory version (which will be new version)
Reboot and you should be good, restore data if you need to.
Sent from my SCH-I545 using XDA Free mobile app

Can you give me the necessary Directorys for Internal Memory Apps and System Apps, please?

It's /data/app/ and system apps are either in /system/app or /system/priv-app/
If you go into TB backup/restore, find the app, touch it for more options, right under the freeze option touch the name and it'll give you exact locations as well
Sent from my SCH-I545 using XDA Free mobile app

Hi!
Is TB do an update to fix this bug ?
I try to contact them to many times and no one answer me.
Did you find another app to do that ?
Did you still with manual methode ?
Tks

Still broken, only manual method works.
It's like it can't make subfolders in system
Just do it manually not so bad. Copy the updated files from data to system app folder, change permissions and hot reboot.
Android will do the rest.. no data loss or having to install/uninstall.
Sent from my stang5litre Edition 5.0 using XDA Free mobile app

Related

Install titanium backup without market

I flash roms a lot and there is something I need to find a fix for.
Once the flash is done I boot up and start initial phone setup menu. I have to sign into my google account at this stage obviously. So once that's done the first thing I want to do is restore my apps with titanium, so I go to the market for it, but the market straight away starts downloading ALL my apps at once when I only want TB to download. Only way to stop it is to go through the entire app list and cancel all the downloads, which takes a while. I cant let the downloads go ahead as it's far too many megabytes.
So I want a way to install TB without using the market. I've tried creating the update.zip in TB options and the zip does get created, but when I flash it from recovery it doesn't install.
Can I get the apk from somewhere and install it that way (I know you can push from cmd prompt although I've never tried it), and if so is there a way to do it on the phone only, as I often flash roms when I'm away from the computer.
When you enter your google credentials, it'll ask you if you want to back up your data. Uncheck it. Once your past that screen go into settings > privacy and assure automatic restore is unchecked.
The apks are in /data/app/ by the way.
Sent from my Nexus S using XDA Premium App
zephiK said:
When you enter your google credentials, it'll ask you if you want to back up your data. Uncheck it. Once your past that screen go into settings > privacy and assure automatic restore is unchecked.
The apks are in /data/app/ by the way.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
I'm very familiar with these options. I always leave the option to backup to google ticked in case I ever need it (unlikely), but I always have auto' restore unticked, so I'm pretty sure that the automatic downloading of my apps is because the market app recognizes that I own them all when I sign in with my google account, and not because of auto' restore - but correct me if I'm wrong.
So how would I install TB using the apk. Does it have to be done with my computer? Is there another way. Root explorer would be great, but I'd have to install that the same way, which renders it useless in this particular case. What do all you experienced people do to get round this. Or do you just get through it the same way I do???
You can extract your TB using root explorer and save it on your sdcard. Sometimes its stored in /system/app or /data/app.
Usually roms come with a file explorer, so once you have a rom installed go to its file explorer and install your backed up TB. That's how I usually do it. Hope that helps.
Sent from my Nexus S using XDA Premium App
markfavis said:
You can extract your TB using root explorer and save it on your sdcard. Sometimes its stored in /system/app or /data/app.
Usually roms come with a file explorer, so once you have a rom installed go to its file explorer and install your backed up TB. That's how I usually do it. Hope that helps.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
markfavis,
you the man Your post helped me figure some stuff out. Your thanks meter just went up by a point.
I use ns_collab most of the time and I did not realise it came with root explorer preinstalled until you mentioned roms coming with a file manager. I did a bit of research and discovered root explorer is preinstalled with ns_collab. I never realised it was part of the rom as I already own root explorer so TB always restores my copy.
I've already made a copy of the TB apk files, so I reckon i've got this sorted for next time I flash a rom.
Just one more thing to check. The apk files I have backed up are:
com.keramidas.titaniumbackup-1.apk
and
com.keramidas.titaniumbackuppro-1.apk
Is this all I need to
I think you only need one of those files. One of em is the pro version. I only have one file and I install it like a regular apk file.
Sent from my Nexus S using XDA Premium App
markfavis said:
I think you only need one of those files. One of em is the pro version. I only have one file and I install it like a regular apk file.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
I've got the pro version - so I think this must be right. If you are on the free version and only use one file then I'm cookin
im using the pro version and i only have one apk file. pro restores faster with hypershell

[APP][ROOT][3.0+] Backup2Tar v0.1 Flashable App+Data Backup using Tar.

Backup2Tar is a Free backup tool that I created to help restore my apps after flashing a new rom.
How it works :
Select which apps to backup from the UI
The app generates a tar file on your sdcard (update.tar.gz) with the package files and data.
Finally, the app will generate restore_tar.zip which contains busybox and a small shell script to find update.tar.gz and extract it.
As of right now it's a very simple app, there are no options at all and I made it for personal use and to (re-)learn Java.
FAQ :
Why tar?
because it's the standard archive format on Linux, preserves permissions and user information.
But all the cool kids use zip files.
Yes, sure you can hack a nice updater-script to fix permissions on all files, but it's bound to screw up permissions some way or the other, specially with apps that have executable files in their /data/data/.
Your icons suck
Feel free to create new icons for the app and I will gladly use them.
Is there anyway to help?
Provide me with ideas, ways to improve it, better artwork and feel free to donate!
TODO :
Toggle saving apps' data and/or cache.
Store other important settings (wifi, gps, etc).
Clean up the source code and publish it.
Tested Devices :
N7000 (running 4.1.2 / Phillz Kernel).
Rooted 3.0.0, 4.0.3, 4.2.2 Android emulators (tested using update-binary, not from recovery).
All comments / suggestions are welcome.
Changelog :
v0.1
Initial alpha release.
Sounds useful, downloading now. Thanks!
Sent from my SGH-I897 using XDA
Will this backup my paid apps or only non "protected" apps?
famewolf said:
Will this backup my paid apps or only non "protected" apps?
Click to expand...
Click to collapse
I'm not sure, I don't have any protected apps at the moment to try with.
If you can test and report back it would be great.
The app copies /data/app/xxx.apk and /data/data/xxx, so if the protected files aren't in /data/data they won't be copied.
life.eq.null said:
I'm not sure, I don't have any protected apps at the moment to try with.
If you can test and report back it would be great.
The app copies /data/app/xxx.apk and /data/data/xxx, so if the protected files aren't in /data/data they won't be copied.
Click to expand...
Click to collapse
I'll see if I can get some time to install and try it.
Have you considered adding /system/app and it's associated data to the list? An app might be included in one rom and not in another so I'd still want the ability to back it up even if it has to back it up to /data
Also I didn't see it in the screenshots but if not there a single checkbox to backup ALL apps in list would be highly useful rather than having to click all of them.
You can backup system apps as well.
I found a bug in restoring, some apps won't restore right without "reinstalling" using the package manager, gonna try to figure out how to call the package manager from recovery.
Workaround to fix the apps that aren't working after restoring is to use adb shell.
PHP:
$ adb shell
$ su
# tar tzf /sdcard/update.tar.gz | grep data/app/ | while read APK; do pm install -r "/$APK"; done
This basicly will use the package manager to "properly" install all the apk.
I will release a fixed version later today.
I will add check-all option as well, I'm still getting the hang of action bars and such.
does this script preserve "move to sd" location? i mean, i used a lot "move to sd" standard android function, to move many big apps to sdcard/.android_secure folder... of course, none of the those that use widgets...
i found that restoring with titanium backup does not preserve this: if i batch restore my apps, it fills up my internal memory (samsung note n7000), and i've to move a bunch of them to sd before redoing restore of the remaining ones... very boring...
is there a way to restore apps EXACTLY in the same location where they were when backupped? thanks
Is it possible to backup the whole ext partition as well? As Im using Link2Sd and to restore it quite tedious. My apps + games are out of the internal space.. So, I extend using ext partition.
Can we flash the backup to stock unrooted rom ,from the stock recovery??
Sent from my GT-I9070 using xda premium
no answers in days from the developer to a fresh project... then no development at all? hope not...
mrshark said:
no answers in days from the developer to a fresh project... then no development at all? hope not...
Click to expand...
Click to collapse
You posted your original question late on the 28th and this most recent complaint early on the 30th at least by my timezone....perhaps you have an unreasonable expectation as to how soon he needs to respond to you.
famewolf said:
You posted your original question late on the 28th and this most recent complaint early on the 30th at least by my timezone....perhaps you have an unreasonable expectation as to how soon he needs to respond to you.
Click to expand...
Click to collapse
3 weeks is enough?

Troubles in converting user apps as system apps

Hi every one.
I am new here. So I'm writing with all the details I can think of.
I'm using HTC desire x jelly bean in India. I've temp rooted the device. Now I run with a twrp touch screen edition revovery. I run the stock version (with odex) Rom. The only changes I made is removal of some bloatware.
The main reason I've rooted my device is to save space by pushing non movable and frequently used apps to system/app .
Since I only have temp root, The way I'm making user apps as system app is as follows
1. creating a backup Apk file either by manually copying from data/app or by clean master.
2 uninstall the app.
3 after entering the twrp recovery, I move the Apk files to system/app ( I don't create any odex files for the moved app)
4 reboot after wiping dalvik & cache.
Its a working method. But my problem is that several apps both that I frequently uses and high size are cannot converted into system apps. After making such apps as system apps, when I try to open them it force closes, crashes, or misbehaving (eg. Shows No internet connectivity even if I'm connected to web). I tried odexing the user Apk. But it not seems to be the problem. I like to know
1 why is this happening.
2 can I identify such apps before moving it to the /system/app
3 how/can I solve this isue ( I don't own a pc).
4 I am writing a list of apps that I've already tried and failed to convert as system apps. If there is no general methods can you suggest methods for the following apps
Quick pick
Mx player
BS player
Chrome
Adobe reader
Google plus
Opera mini
Opera
Google Maps
RAR
Mozilla Firefox
Freecharge
Advance download manager
Google search
Dolphin browser Jetpack
Chess free
Thanks in advance.
Sent from my HTC Desire X using XDA Free mobile app
According to your topic use link 2SD app which help you to convert system app to user and vice versa don't try to to make important system app to user app otherwise your device may brick
@amitpartial
I'm really sorry of this.
This is a duplicate thread. The original thread is at as follows
http://forum.xda-developers.com/showthread.php?t=2956631
Troubles in Making user apps as system apps
Sent from my HTC Desire X using XDA Free mobile app
@amitpartial
Problem resolved at thread
http://forum.xda-developers.com/showthread.php?t=2958009
problems after Pushing user apps into system apps
Sent from my HTC Desire X using XDA Free mobile app

[Q] CyanDelta Brings back the deleted system apps on updating.

I've been using cyandelta to update CM12. The problem is, i deleted some system apps and files in CM12. after updating with cyandelta, it again flashes the deleted system apps. is there anyway to stop this.? Deleting the apps daily is PITA. However a script can come in handy to delete the apps in one stroke. But i just want to know is there any other alternatives.
Y:cool: said:
I've been using cyandelta to update CM12. The problem is, i deleted some system apps and files in CM12. after updating with cyandelta, it again flashes the deleted system apps. is there anyway to stop this.? Deleting the apps daily is PITA. However a script can come in handy to delete the apps in one stroke. But i just want to know is there any other alternatives.
Click to expand...
Click to collapse
Make a flashable zip to remove unwanted apps.
Every time when u update just flash it. Hassel free way for ur requirement
Sent from my Moto G using Tapatalk
+1 on the above :thumbup:
I also like to install Google Now Launcher (Google Search + Google Home) to the system dir, so the package can also do that. I can upload a sample package if needed, but the trick lies in updater-script and it's pretty easy.
Sent from Google Nexus 4 @ CM12
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
If the package you use to update the ROM has those system apps, you'll have them installed every time you flash.
Did you try not deleting them, but just deactivating them?

[Q] Problem Restoring System Apps With Titanium Backup Pro

Titanium Backup Pro will not restore system apps.
Samsung Galaxy S6 SM-G920T
Titanium Backup 7.1.2 with Pro
Stock rooted with CF-Auto-Root
Tried SuperSU v2.45 - v2.46 - v2.49
The Problem
I made backup of apps that I would like to remove from the phone. I did a test by removing Amazon App. When I try to restore app, Titanium hand at restoring app, spinner will go for as long as I leave my phone on. Kill Titanium, reboot phone and I get a toast popup that Amazon has stopped. Amazon app icon in app draw, I touch to start app and get the same toast popup that Amazon has stopped. Start Root Explorer Pro navigate to system/priv-app Amazon app folder is not there. Navigate to system/app Amazon app is located here, but not in a folder and not with any support files. I tried this with a few other apps and it does not matter if they are located in system/priv-app or system/app same result.
I have search and found older threads that suggest changing Application Processing Mode to Interactive, but no mode changes have helped.
I also tried changing Mount namespace separation in SuperSU.
When applying these changes I have reboot the phone.
Any Ideas, please help.
Thank You
Nobody used Titanium Backup?
Nobody used Titanium Backup?
Can I get a Confirmation From Someone.
Hey, im on G925F and I have the same issue. I have USB debug activated/on, rooted, tried various tricks and switching the way of app processing in TB and none worked. I cannot restore previously backedup system apps at all
same problem here!
also, converting a user app to a system app fails the same way!
TML1504 said:
same problem here!
also, converting a user app to a system app fails the same way!
Click to expand...
Click to collapse
Same problem here
Sent from my Micromax A065 using XDA Free mobile app
can some one pls post efs folder for g920f a need it like tar file
I too am unable to restore system apps backed up by Titanium Backup with Titanium Backup. I'm running the latest version of Titanium Backup (Pro), stock KitKat 4.4.2 on a Samsung Galaxy Light (SGH-T399N), rooted with SuperSU 2.50+Pro. The restore process never completes but will run forever without any error messages until I kill it externally with Task Manager. Converting a non-system app to a system app behaves the same way...tries forever without completing. From the number of earlier posts in this thread it's obvious I'm not alone. The only suggested solution I've encountered that seems applicable to my situation is to replace SuperSU with Superuser. I'm loathe to do that and hoping the problem is something else.
Same here, already tried Indirect App Processing but no help. Had this problem with my old Xperia V running CM Rom never figured how to fix it
Titanium backup is not supposed to be used to restore system apps. If I'm correct even the developer of the app says not to restore system apps with Titanium.
I have used Titanium backup for years to restore purchased apps but never system apps. Never had a problem reinstalling backups of apps.
Sent from my SM-G920T using XDA Forums Pro.

Categories

Resources