Heya guys, I'm pretty sure this was asked but I cannot find the answer on XDA.
When you update a system odex app with the new market version (eg google maps, google services, etc), the odex file becomes completely useless, right? Until you factory reset your phone then they will be used again?
Because my phone includes Facebook.odex in /system and I would like to delete the 180mb odex file that seems pretty useless to me as Facebook is updated constantly anyways and I would prefer to install manually (unless there odex file is still helping out even after an update, or it's also being updated)
I often integrate the google apps updates in /system as well, so I'm not sure if this changes anything like deleting the old odex, updating the old odex, etc
Thanks guys!
Sent from my Vphone-X3 using XDA-Developers mobile app
Related
Hi,
I have a HTC Desire with Android 2.2. For the moment I do not want a custom ROM and leave the stock ROM (because I trust more in stability).
On the other hand, the apps such as Flash, Google Maps, StreetView, Google Search, YouTube, Speach Search, AppStore (now Google Play) are too old and when I upgrade them via Google Play, the go to User Data where they draw all of the memory.
I rooted my phone (unrevoked3), created a backup via Nandroid and used adb to remove unwanted apps such as Facebook, Twitter, ... . Now I want upgrade the above mentioned apps. Therefore I upgraded each of them, backuped up the apk to SD card and removed the upgrade again.
Now I would remove e.g. Maps.apk and Maps.odex via adb from /system/apps. However, how do I place the upgraded apk (com.google.android.apps.maps-1.apk) in the /system/apps? How do I create the odex file? I would prefer to have apk+odex instead of apk-only.
Unfortunately I always find information on how to de-odex apps (i.e. merge apk+odex) but I do not know why this should be interesting. Instead, the information on how to create odex out of apk would be much more interesting.
Am I the only person who likes to upgrade built-in apps?
dy/dx
Hi, I just rooted, bootstrapped and flashed CyanogenMod-7.1.0-DROID2WE-KANG (Pooka-CM4D2G-GB-20120519.zip) and Gapps (gapps-gb-20110828-signed.zip) and (gapps-gb-20110828-newtalk-signed.zip) on top (the second one for TALK with video chat, ignorantly forgetting it would be replaced with hangouts anyway).
However, it only included a couple Gapps but missed a lot like MAPS, YOUTUBE, GMAIL, VOICE SEARCH, STREETVIEW which use to be included in stock roms. I read this COMPLETELY: http://forum.xda-developers.com/showthread.php?t=1516689 and found the "copyright reason" so decided to download all apps from market but i got a somehow stupid question:
Can I make these apps I downloaded from store like ROM, STOCK apps? If its possible, does it make any difference beyond changing the Uninstall button to "Uninstall Updates"? I mean, like, performance difference?
All info is greatly appreciated. Thank you
Sure, you can move the APKs from /data to /system. There will be no difference in performance whatsoever because it's the same flash storage, just a different partition. Updates will still install to /data unless you feel like manually moving the updated APKs to /system every time an update comes out.
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?
I am running a stock image on my N5 with root and need to add an apk into the system partition but the problem is that I have only 4mb left on there and the apk does not fit. Is it possible to resize the partitions and:
Still keep your data
and/or
Allow for OTA installations down the road?
Short answer is no. And you certainly can't do it without wiping everything else. Repartitioning Android partitions is not for the faint of heart. It takes a lot of knowledge and can easily brick your device.
Sent from my Nexus 9 using XDA Free mobile app
psychephylax said:
I am running a stock image on my N5 with root and need to add an apk into the system partition but the problem is that I have only 4mb left on there and the apk does not fit. Is it possible to resize the partitions and:
Still keep your data
and/or
Allow for OTA installations down the road?
Click to expand...
Click to collapse
Why don't you just simply delete some unused pre-installed apps from /system?
xnormskix said:
Why don't you just simply delete some unused pre-installed apps from /system?
Click to expand...
Click to collapse
He will need to revert changes in order to run the OTA process.
Sent from my Nexus 5 using Tapatalk
Plus, with a nexus image there really isn't much stuff to delete as there is on a carrier image
Sent from my Nexus 7 using Tapatalk
What i am really trying to do is get the droid circle widget working which should live in priv-app in system. I wonder if I can symlink from the user data partition
psychephylax said:
What i am really trying to do is get the droid circle widget working which should live in priv-app in system. I wonder if I can symlink from the user data partition
Click to expand...
Click to collapse
Stock Google OS comes with a ton of crap on /system that really belongs on /data. You delete all those apps, then download them from the playstore. 300ish MB free on /system.
I wrote a script to do this here, or you could use @vomer CleanRom that gets rid of some crap. My script (from memory) keeps stock keyboard, stock camera, and a stock launcher. Everything else is gone and can be reacquired through the playstore, the way it should have been from the beginning.
If it bothers you, could could use TiBu to back up that app data before you delete them, then restore after playstore install.
Who cares about OTA? Really not of concern.
Thank you for putting me on the right track. What I wound up doing was converting a couple of the apps that are baked into the stock ROM from system to user apps with TiBu. Worked like a charm!
awesome ...
Aerowinder said:
Stock Google OS comes with a ton of crap on /system that really belongs on /data. You delete all those apps, then download them from the playstore. 300ish MB free on /system.
Click to expand...
Click to collapse
Thanks for your awesome and simple script - great idea!
Worked on my Nexus 5, 6 and 7. Boosted free space by 360 MB.
Regards.
Update : your script also worked on my Nexus 6 running Stock Marshmallow Version "mra58r" now that I have 863 MB free on /system.
:: TWRP 2.8.7.1 + ElementalX-N6-3.06 Kernel + SuperSU BETA 2.52
Same issue with CM13
I'm facing low system space when installing CM13.
The ROM installs correctly. However, when I go to flash GAPPS, I get a low system error.
How can I fix this?
Flash back to stock, perform a factory wipe, flash twrp, flash cm and gapps. Hopefully, those fixes the issue.
Aerowinder said:
Stock Google OS comes with a ton of crap on /system that really belongs on /data. You delete all those apps, then download them from the playstore. 300ish MB free on /system.
I wrote a script to do this here, or you could use @vomer CleanRom that gets rid of some crap. My script (from memory) keeps stock keyboard, stock camera, and a stock launcher. Everything else is gone and can be reacquired through the playstore, the way it should have been from the beginning.
If it bothers you, could could use TiBu to back up that app data before you delete them, then restore after playstore install.
Who cares about OTA? Really not of concern.
Click to expand...
Click to collapse
Original link to script above is dead. Any chance we could still get the script, particularly if it would still work okay on Android 6 (Marshmallow) or 7 (Nougat)? Thanks.
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