I want to save some space on the internal storage, and since tha system partition is enormous, on 4.3 I integrate the updates into system/app. For example If Facebook gets an update I delete "facebook-xhdpi.apk" and I just move the new facebook from data/app to system/app and voila! Even after a factory reset I have no problems...
But on Kit Kat this is almost impossible. Even after signing the apks, renaming them like the old ones and giving the correct permissions via root explorer they force close. Even Google+ gives a "reinstall-loop" as I call it :crying:
What can I do? Fixing permissions by TWRP doesn't work either.
Open the APK using 7zip, extract the libraries there(the files inside the lib folder), place the extracted libraries inside /system/lib/, delete the libs folder inside the apk, move the apk to /system/app/ or /system/priv-app/ depending what type it is.
Just a warning though... Be careful with replacing already existing libraries in /system/lib/ sometimes they break stuff so if that happens just don't replace them.
Doesn't titanium offer this kind of switch? Have never done it but if it's automated then it's worth a look.
It does... But once you wipe data of the app you moved to system it force closes again. Thing is... System apps doesn't extract libraries in /data/data/ folder hence they force close.
Riyal said:
It does... But once you wipe data of the app you moved to system it force closes again. Thing is... System apps doesn't extract libraries in /data/data/ folder hence they force close.
Click to expand...
Click to collapse
Would it be possible to change the path via titanium or even shift the files via a file explorer? Again haven't done it myself before either.
Also could the apps be added to the ROM you're installing prior to the initial flash?
Sent from my C6903 using XDA Premium 4 mobile app
Please help, cant update to lollipop because i deleted this from system app folder. Please someone with root attach files
I noticed a storage space waste with the LP.
When you install applications they go to / data / app and there it creates a lib folder with the content of the lib folder from within the application;
Often the lib folder of this application alone is more than half the size of the application (which increases their occupation);
If you install an app and deletes the apk the lib folder it still works because the libs are in the lib folder (which reduces their occupation);
But when this app is updated folder changed apk is not cleared but another maid;
I think the facility should be reconsidered, that is, so an app is installed within the lib apk should be automatically erased.
Such a situation would be a bug or an error Lollipop development project?
You sure you are not on about odexed apps??
can some one with stock rom please upload the files on system that related to google speech / now?
on system/ tts (all of it)
and wherever the velvet.apk is located so all of that folder (I can't find it probably because I've messed up with the google now (I have deleted the system apk and converting it back from user to system with titanium doesn't do well..
and pretty much everything you think might be related to this.
I would highly appreciate any help!
Thanks!
Hi,can someone upload system app folder and priv-app folder? Every apps that is on s21ultra,thanx.