Related
I know there are some people like myself who actually like Sense and doing a 'full' root can be daunting, especailly if all you want to do is remove the crud that Vodafone or your Telco install on your branded Legend. But there is no reason this can't be used to remove apps that are in a custom ROM - as far as I am aware! If someone with a custom ROM could confirm this, that would be great!
Righto, as per usual here is the disclaimer - doing this is risky and you do so at your own peril! Don't come crying to me or Paul @ MoDaCo if it bricks your phone (it shouldn't but this is just a warning)
Enough of that you get the idea Now for the fun bit!
First if you are not you'll need VISIONary+ from MoDaCo, at the time of this writing r13 is the latest and is available on page 7.
Please read and check the original post as there may be an updated version. If you are rooted skip to the next step.
This is Paul's guide he done quickly on his G2, it's more of a pictorial guide (same rules apply to the Legend as G2 in this case).
Once installed use the Temproot option, this can take 15 seconds or so to complete, use a Terminal Emulator and type su then return/enter and your $ should change to a # - this means you have temproot.
Go to the market and install SuperUser, Titanium Backup, BusyBox.
Open Titanium Backup allowing it root access when prompted, go to Backup/Restore and scroll to find one of the preinstalled bloatware apps, I chose the Vodafone Music app and the Vodafone Web app.
Long hold on the app you want to remove and scroll down a bit and choose the option "Force remove app (by recovery exploit)"
This will reboot your phone TWICE, you will get the recovery screen up - LET IT RUN IT's COURSE! DO NOT INTERRUPT THIS.
Once it boots back into your normal check that the app is no longer in your App drawer
Repeat for all the Apps that came preinstalled that you don't want, just be careful you don't remove anything that may still be needed!
A huge thanks to Paul at MoDaCo for this ingenious hack and the Titanium Backup, BusyBox and SuperUser developers for their hard work in writing their apps which also allow us to easy do this
Oh and you can use the Temproot on boot to have a sortof but not fully permaroot
Great work. I'll try on CM 6.1 RC1. One thing though...If I'm rooted I presume I need only the Titanium backup not VISIONary or other tools, right?
Yes you need the other apps, but you can remove them afterwards if you want. You'll need SuperUser to be able to grant Titanium Backup access, and Titanium Backup requires BusyBox to be installed - Titanium Backup gives you the option to install BusyBox if you press the 'Problems?' button under the Overview tab.
PS: you can use the free version of Titanium Backup for this exercise.
Yes, thank you. I knew about busybox and the option to install it from Titanium. SuperUser I have it already since I'm using CyanogenMod RC1 and it is included in the ROM (I think it is OK like this). So only Titanium (+busybox) needs to be installed.
I'll give it a try and let you know the results. I'll try to remove a rather large application (for ex Google Maps) and I'll install it afterward on the sdcard (since it is system appl, it cannot be moved directly to sdcard)
Later edit: IT WORKS! So I've tried to (and succeeded) remove 2 "system" applications: Google Maps and Calculator. Both were removed and the free space is now available (before 80 Mb free, after 91.2 Mb free).
There was only one issue with Maps, the icon still showed up in the application drawer and it was working (even after going through all above). After several checks I found the reason. The Maps were installed twice...the version included in the CM ROM (that was deleted by this procedure) AND the updated Maps (it once asked for upgrading the application from the market and I did that). After removing the "system installed" version of Google Maps, the "updates" remained. I went to Settings-Applications-Manage Applications and I found Maps there. I've uninstalled the updates then rebooted the phone. After that the icon was gone completely.
To conclude, for CM ROMS (or for all phones that are already rooted and have already the SU application), the steps to be performed for removing a system appl are:
1. Install Titanium Backup
2. Press (as instructed) "Problems" button. This will install a working version of busybox.
3. Check if the application you want to remove, has also updates (from Market or some other places) installed. If YES, go to Settings-Applications-Manage Applications and uninstall all the updates.
4. Start Titanium Backup and perform the steps indicated in the first post by TheLegendaryJay.
So it is working on custom ROM's as well and you don't need VISIONary or other application/tools.
All credits go to Paul, CM team and this whole community, the ones which made such things possible for our phones. TheLegendaryJay, thank you also for sharing this with us. Perhaps for rooted phones it is easier to remove applications with adb commands, but some are maybe not so technical to install the SDK or know how to use it (I can be counted as one of them), or they just might want to remove an application when they don't have a pc with SDK nearby.
yap, can confirm this. works great on cm 6.1 rc1. thanks for the hint
For you guys who are rooted - why not just flash the overlay filesystem patch, enable it, and then use any file explorer and go to /system/app/ and delete the apps you dont want? just a tip, it's much easier.. (and takes less time)
Because one of the reasons for which I wanted to rip out an application from the ROM is to gain some more space... By using overlay system, as I understood, you're practically duplicate the whole system to make it accessible for writing so I don't know if you gain some more space. Eventually you'll have less. Or, if that space is on the sdcard, that does not suit me also cause as I know, is working slower from there. Anyhow, I don't want to detail this here cause we'll be off-topic.
Rapier said:
Because one of the reasons for which I wanted to rip out an application from the ROM is to gain some more space... By using overlay system, as I understood, you're practically duplicate the whole system to make it accessible for writing so I don't know if you gain some more space. Eventually you'll have less. Or, if that space is on the sdcard, that does not suit me also cause as I know, is working slower from there. Anyhow, I don't want to detail this here cause we'll be off-topic.
Click to expand...
Click to collapse
As I understand it, the system folder is only linked so the phone believes it's on the SD-card. This should mean, no extra space is taken (except for the few kB that makes this possible). i could be wrong, but I use system overlay and I see no whatsoever decrease in performance. Not in benchmarks nor in usage.
If you are rooted - and dont want system overlay, I still think there is a better wway - ADB! just mount system, cd to system/app, ls it and rm whatever apps ypu dont want.. no need for multiple reboots - quick and effective
adb way might be quicker but it might prove to be ineffective (at least for me it was). In order to remove an application, you must check its filename (with ls command). I've tried to remove Facebook and Twitter applications using adb remove and guess what...they're still there. I admit I might have done something wrong, what I'm saying is that through this new method described above, someone is able to remove an appl by chosing it from a list. For the ones that don't feel so confortable using adb, this is an alternative
Sent from my Legend using XDA App
Rapier said:
adb way might be quicker but it might prove to be ineffective (at least for me it was). In order to remove an application, you must check its filename (with ls command). I've tried to remove Facebook and Twitter applications using adb remove and guess what...they're still there. I admit I might have done something wrong, what I'm saying is that through this new method described above, someone is able to remove an appl by chosing it from a list. For the ones that don't feel so confortable using adb, this is an alternative
Sent from my Legend using XDA App
Click to expand...
Click to collapse
When it comes to ADB, you must write the filename exactly as it is, if you want to remove Facebook.apk you must rm Facebook.apk, not facebook.apk or just rm Facebook*
What I do, I ls all files, copy the filenames I want to remove into into a txt file. ex. "rm facebook.apk Torch.apk voiceDialer.apk AndroidTerm.apk" and so on. When I flash a new rom, i just copy that file string and remove em all with that one command ofc. I ls it after and check if there is anything new I want to remove, but I get rid of most of it in a few seconds. (good tip!)
I understood that. Now I've checked again and I know what happened...the same thing I said above. The appl was removed also with adb command but the updates of that appl were not. I've removed the updates from Settings and after that the whole appl was gone (Facebook in this case). So both metods work, everyone can choose what he likes more
Anyway this was much more to test if it's working on custom ROMs as was asked by TheLegendaryJay and less as of providing an alternate way for rooted owners.
Sent from my Legend using XDA App
You both are wrong. Overlay is just an overlay... it uses several file systems or parts of file systems (directories, files), merge them and show them to us as one new merged file system. The principle is such that if U have one read-only and one read-write file system merged together, all writes are then performed to that read-write one. If you'd like to delete one file from read-only portion, that action is noted on read-write portion and your system doesn't t see that file again through merged file system whereas it is in fact still there...
BlaY0 said:
You both are wrong. Overlay is just an overlay... it uses several file systems or parts of file systems (directories, files), merge them and show them to us as one new merged file system. The principle is such that if U have one read-only and one read-write file system merged together, all writes are then performed to that read-write one. If you'd like to delete one file from read-only portion, that action is noted on read-write portion and your system doesn't t see that file again through merged file system whereas it is in fact still there...
Click to expand...
Click to collapse
thanks for this, great info. Now I'm glad I use adb and not file overlay for removing files
Why's that? Overlay is really handy thing for testing... U can make the system think that the file is not there but in fact is. If something goes wrong (boot loop) because of that, U just disable overlay and U R back on with origial state. After U are satisfied with changes, U can merge those changes into read-only file system via recovery mode.
Sent from my HTC Legend
BlaY0, you're totally right. Overlay is a great thing for testing (and by the way many thanks you for what you did). But if you're not a tester, just an enthusiast who look for new stuff for his phone, overlay could be much more than he needs.
I'm looking for example to have as much free space in memory as possible. REAL free space. If I'm using overlay, that will not be gained right? The read only files will still be there, only the overlay will show them "deleted". So...what I'm doing instead is that I'm flashing one of the existing ROMs (as per my preferences - CM 6.1 RC1 for ex.) that will not "brick" my phone, I customize it with widgets and applications as I like, than I start deleting what I don't need. For sure I can use overlay for that, but I can do it also without it. This topic presented an alternative for doing that, to the known adb commands. Also from what I've understood, the method in this topic is more aimed to the ones that are not (or don't want to be) rooted. And for those, the adb method doesn't work
You sure are totally right, but then again if you deleted some apk from /system/app that is needed for some other apk and U didn't know about that, you could end up with a so called boot loop. And if this is done by some noob, the simplest way for him to restore would be to wipe and reflash the original ROM. Overay can prevent such accidents. Actually even with overlay you can save space especially where is needed the most, that's on data partition - there's no need for dex in dalvik-cache any more etc. and surely you get more free ram as that app isn't loading any more. For the system partition it actually doesn't matter if it is full in fact why it shouldn't be full. When we get our S-OFF the first thing I will do is to rearange mtd partitions shrinking system and extending data coz now I have like nearly 50 MB free on system partition that I can not use wisely.
Sent from my HTC Legend
Thanks, VF music and web app not banished from my Legend
Okay, I must be doing something wrong, but I have no idea what. I have the same ROM as Rapier on my Desire, I have Titanium Backup and I did everything he said above. The pre-installed apps are uninstalled with TB (Car app, News and Weather, Facebook, Twitter, Google Voice, Maps, Quickoffice 2.0 which I have no idea what really is), I clear the Dalvik cache and many mega are freed. Then if I reboot, they're back. Like nothing happened.
Do you have any idea or should I give more details? Thanks for the help, guys.
Have you checked also if those applications you're removing do not have some updates installed? Because if they do, you'll get them back on the phone. First remove the updates from each application (from normal "Application" management), then remove the application residing in system with TB.
PS. QuickOffice is a suite program similar with MS Office, that allows you to read (and in the paid version also to write) office documents (.doc, .xls, .ppt...etc)
Thank you for your quick reply.
Yes, I have checked and uninstalled all updates. They are all with the basic version.
About Quickoffice, I know what it is It's just that the one that came with CM 6.1.0 RC1 cannot be accessed, it can only be used to open supported file formats (I just found out after posting here ). I'd prefer the normal Quickoffice with which I can access my dropbox and Google docs too, that's why I wanted to uninstall this in the first place.
Here is a zip I have made which will remove gapps from any ICS/JB ROM to have better battery life. Don't forget to press the thanks button and rate the thread 5 stars.
WORKS ON JELLY BEAN ANDROID 4.1
Mount /system
Flash zip
Reboot
Enjoy
Well done.
Sent from my LG-P500 using xda premium
acerkumar said:
Well done.
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
+1
Sent from my LG-P500 using Tapatalk 2
up
bump
up up.. no one wants it?
TheAndroidGeek said:
up up.. no one wants it?
Click to expand...
Click to collapse
Well, it means no play store so it's not helpful for me at least, i want to remove anything besides google maps and play store.
Anyways, thank you for your hard work!
Alternatives to Google Play Store are:
Aptoide
APKTOP
APPBRAIN
And we cannot use location service.
Does it work in jb also? I would really need it!
Edit: Yes it does! Great thanks!
Ps. I don t use this zip to get rid of gapps completely, but to clean gapps before installing a different gapp zip or when switching from ics to jb and viceversa ! (Full wipe don t delete gapps and some roms don t delete them also so this zip is very useful!)
moly82 said:
Does it work in jb also? I would really need it!
Edit: Yes it does! Great thanks!
Ps. I don t use this zip to get rid of gapps completely, but to clean gapps before installing a different gapp zip or when switching from ics to jb and viceversa ! (Full wipe don t delete gapps and some roms don t delete them also so this zip is very useful!)
Click to expand...
Click to collapse
I have just done this also on the loop kernel on my Xperia S that I installed using the duel booter for Xperia S here:
http://forum.xda-developers.com/showthread.php?t=1880305
Worked for this so well done
brim4brim said:
I have just done this also on the loop kernel on my Xperia S that I installed using the duel booter for Xperia S here:
http://forum.xda-developers.com/showthread.php?t=1880305
Worked for this so well done
Click to expand...
Click to collapse
It should work for any Android Phone I think
Updated with new code
I am getting installation aborted.
I am on 4.1.2. I had mounted system.
username1234321 said:
I am getting installation aborted.
I am on 4.1.2. I had mounted system.
Click to expand...
Click to collapse
It is a bad .zip... You should try redownload zip
there appears to be an error in the zip... installation aborted message.
can you please reupload.
Can this be done manually with adb by deleting each app listed in updater-script ?
DOES NOT WORK. I get error 6. I think the ZIP is messed up.
[FLASHABLE ZIP] Remove GApps in ROM: now supports Android 10
NOTE: script no more maintained. Even not try it on Android 11/12/99.
There by default not possible to edit files on system partitions (here patch) and their quantity has increased.
Also firmwares even more depend on gapps so risk of bootloop even higher.
Script in first post very discounted and therefore deleting not all files.
Here's updated version. Script automatically mounts /system and /vendor, you don't need do it by yourself.
Script compatible with Android 2.3...10.0
Guaranteed delete will be only on custom rom's with built-in or OpenGapps and Pixel / Nexus / Android One firmware due of possible other file naming in manufacturer stock firmware.
I tried to collect all files related to Google.
Script removes apps from /system and /vendor partitions. Probably some of them was updated and additionally stored in internal memory.
So you need manually delete a bit of remainders as normal app.
Batch deleting available with root in Link2SD
Some bits of files can left on device (like important WebView), but almost all other will be removed.
Also here open source version of gapps (microG)
IMPORTANT!
– Maybe some stuff or whole ROM will broken after applying this ZIP because modern firmwares very depends from gapps
– I've tried to remove as much possible Google-related files
– don't apply script after wipe /data, only after first boot. Otherwise execute these commands
– Before applying set Settings > Apps > Gear icon > Default apps > Voice & assist > both to "None" (source)
– Script removes Google Launcher, install 3rd-party app or device will not boot!
– Script removes stock Google keyboard, install 3rd party before applying!
– Script removes Google Dialer, install 3rd-party before applying!
– ...and many other apps
– Apps that display Google Maps can't be installed
– A lot of apps requests Google Play Store and Google Play Services which will be removed
– Network location will be unavailable because it's part of gapps
– Recommended to wipe dalvik-cache to rid out of unused odex-files
>>> Use it at your own risk and make full backup via recovery before flashing! <<<
Previous more "lite" version: remove_gapps_2.3-8.1.zip
Bonoboo said:
Script in first post discounted and delete not all files due update of gapps.
Here's updated version attached to post.
Script automatically mounts /system, you don't need do it by yourself.
Disclaimer: _maybe_ some stuff or all ROM will broken after applying this ZIP.
Use at your own risk.
Especially apps with embedded GoogleMaps such as Foursquare, Instagram and many other.
They will be hidden in Play Store and can't be installed manually because of lack of framework for it.
So there's two versions. One with prefix "Safe" keeps framework.
Click to expand...
Click to collapse
Kind of an odd question but can this work on a CM7 build? If not can you give me ideas to create my own?
9v9 said:
can this work on a CM7 build?
Click to expand...
Click to collapse
Very slightly updated archives, added 2 new files. Please, read that post again.
Now will delete old gapps > compatible with CM7.
Hope it helps.
Like many others I don't always like the updates to some of my installed apps. Yet it is a hassle to avoid accidentally installing an unwanted update. It is so much easier to click on "update all" in Google Play instead of going through each app's update individually.
Yet I have not found a way to make an installed and purchased app safe from updating. Titanium backup's "detach from market" does not work.
May I suggest a module that would prevent an app from updating? Maybe by making its app files write only?
I think a package like that would be useful. But an easy workaround in the mean time would be to go to Google play store settings and change the automatic update to never.
I already don't allow automatic updates but it is still a nuisance to have to pick through and avoid the persistent update notifications.
I currently use Changelog Droid to accomplish this, although I'd certainly welcome a module to replace it.
Yes, that will tell me what the update changes. I'm looking for something that would "prevent" the update.
this would help me a lot as well. im sure there is a module somewhere that will detach an app from the market and it would just stop showing in the pay store updates.
I think it would help a lot of users. Titanium backup has had that feature for years but it hasn't worked for years. Every time the play store refreshes it reattaches the app.
I am not a programmer but it seems to me that if a tool made an installed app's main files "read only" any attempted update would simply fail, which would solve the problem. Wouldn't that work?
Right now, I try to avoid certain updates but if I accidentally update I use titanium backup to restore the previous backed up version. But it would be nice if it could be simpler. I don't understand why the play store insists on forcing updates.
maybeme2 said:
I think it would help a lot of users. Titanium backup has had that feature for years but it hasn't worked for years. Every time the play store refreshes it reattaches the app.
I am not a programmer but it seems to me that if a tool made an installed app's main files "read only" any attempted update would simply fail, which would solve the problem. Wouldn't that work?
Right now, I try to avoid certain updates but if I accidentally update I use titanium backup to restore the previous backed up version. But it would be nice if it could be simpler. I don't understand why the play store insists on forcing updates.
Click to expand...
Click to collapse
There is some kind of workaround for this issue.
You can use Raccoon to download .apk files from the Play Store to your computer (you can also download previous app versions, search the thread for it). Afterwards, use the app ZipSigner to sign the downloaded .apk with your own key. If required, uninstall the official app version, reboot, install the newly signed .apk and reboot again. Now the update notification from Google Play Store should be gone as the app isn't signed with the same key as the official one from Play Store.
Thank you. I'll try that. Thanks for taking the time to help.
orville87 said:
There is some kind of workaround for this issue.
You can use Raccoon to download .apk files from the Play Store to your computer (you can also download previous app versions, search the thread for it). Afterwards, use the app ZipSigner to sign the downloaded .apk with your own key. If required, uninstall the official app version, reboot, install the newly signed .apk and reboot again. Now the update notification from Google Play Store should be gone as the app isn't signed with the same key as the official one from Play Store.
Click to expand...
Click to collapse
thanks for the workaround. can i use titanium backup to restore the data of the app after download and signing it?
+1
resitm said:
thanks for the workaround. can i use titanium backup to restore the data of the app after download and signing it?
Click to expand...
Click to collapse
maybeme2 said:
+1
Click to expand...
Click to collapse
Yes, you can That's one huge advantage of the described method :good:
Google Play Store checks for the sign code, whereas Titanium Backup depends on the package name (which isn't changed during signing process).
orville87 said:
Yes, you can That's one huge advantage of the described method :good:
Google Play Store checks for the sign code, whereas Titanium Backup depends on the package name (which isn't changed during signing process).
Click to expand...
Click to collapse
I signed the apk and ended up with a zip file, so i flashed that and got the attached error. What am i doing wrong? Got the apk from the developer website which might be causing the issue.
resitm said:
I signed the apk and ended up with a zip file, so i flashed that and got the attached error. What am i doing wrong? Got the apk from the developer website which might be causing the issue.
Click to expand...
Click to collapse
You can select if you want to sign the .apk as .zip or as .apk file (.apk files are .zip files, just with another file type). Don't flash them via recovery. If you can't find the option to sign the .apk as .apk, just sign it as .zip and rename it to .apk afterwards.
orville87 said:
You can select if you want to sign the .apk as .zip or as .apk file (.apk files are .zip files, just with another file type). Don't flash them via recovery. If you can't find the option to sign the .apk as .apk, just sign it as .zip and rename it to .apk afterwards.
Click to expand...
Click to collapse
Thank you very much, i didnt know i could change the output to apk. The app no longer appears in the play store.
I am wondering if someone can make a flashable zip to remove all AOSP apps like phone, contacts, calendar, calculator, mail etc. All this apps are old dinosaurs apps and I am replacing them every time when I flash ROM. Also same thing with Music FX or DSP Manager. Because I am using Viper4Android I have to remove them before I flash Viper.
I have no skill come to that but will be nice if someone can create flashable zip or aroma installer which will remove all of that. Anyone?
"...old dinosaur apps..."
That still work. But I understand where you're coming from. With Google now updating most apps included in AOSP through the Play Store now the versions still in AOSP no longer get updated. What are you replacing these apps with, and is it a flashable zip you're using or a manual install?
simunovic said:
I am wondering if someone can make a flashable zip to remove all AOSP apps like phone, contacts, calendar, calculator, mail etc. All this apps are old dinosaurs apps and I am replacing them every time when I flash ROM. Also same thing with Music FX or DSP Manager. Because I am using Viper4Android I have to remove them before I flash Viper.
I have no skill come to that but will be nice if someone can create flashable zip or aroma installer which will remove all of that. Anyone?
Click to expand...
Click to collapse
If you install "Stock" or "Super" OpenGapps, it automatically replaces them I believe.
MrBrady said:
If you install "Stock" or "Super" OpenGapps, it automatically replaces them I believe.
Click to expand...
Click to collapse
Yes, also with aroma open gapps I can simply replace anything I need. But, there is a catch. All this apps when they get updated in Google Play they stay where they are and new copy is installed like a duplicate. So you can uninstall update and get back to old version. That part I don't like. Why on Earth I need old app?
While apps installed from Google Play when they get updated they will be simply replaced. That is the reason why I would like to create aroma installer to remove all this apps from the system. Then I choose pico apps and everything else grab from Play Store.
I believe that make sense, right?
simunovic said:
Yes, also with aroma open gapps I can simply replace anything I need. But, there is a catch. All this apps when they get updated in Google Play they stay where they are and new copy is installed like a duplicate. So you can uninstall update and get back to old version. That part I don't like. Why on Earth I need old app?
While apps installed from Google Play when they get updated they will be simply replaced. That is the reason why I would like to create aroma installer to remove all this apps from the system. Then I choose pico apps and everything else grab from Play Store.
I believe that make sense, right?
Click to expand...
Click to collapse
There appear to be duplicates because the original GAPPS package installed the AOSP version as a System App. When the app gets updated from the Play Store, the update is installed as a User App. So when you re-install/dirty install with the Stock or AROMA package, it does remove the System version, but not the Updated/User Version.
The only way around this that I know of is to not let apps update or install the desired GAPPS package from the very beginning.
There are also flashable mods that remove GAPPS, like this one: http://forum.xda-developers.com/nexus-6p/themes-apps/script-google-apps-debloater-t3446118. It works on the Nexus 6 as well, although it doesn't remove 100% of what it says it does. It's been hit-and-miss for me, but does work for the major debloat (international keyboards).
MrBrady said:
There appear to be duplicates because the original GAPPS package installed the AOSP version as a System App. When the app gets updated from the Play Store, the update is installed as a User App. So when you re-install/dirty install with the Stock or AROMA package, it does remove the System version, but not the Updated/User Version.
The only way around this that I know of is to not let apps update or install the desired GAPPS package from the very beginning.
There are also flashable mods that remove GAPPS, like this one: http://forum.xda-developers.com/nexus-6p/themes-apps/script-google-apps-debloater-t3446118. It works on the Nexus 6 as well, although it doesn't remove 100% of what it says it does. It's been hit-and-miss for me, but does work for the major debloat (international keyboards).
Click to expand...
Click to collapse
Dirty flashing instead of updating core apps is just to much to play for me. I don't have that time anymore ;(
I like to keep it simple is possible.
That script is very similar to what I am trying to do. I need same thing but with AOSP core apps plus music fx and dsp manager to be included also. That way my way of flashing will look like: flash ROM, remove AOSP core apps, flash pico open apps, flash viper, supersu... done
Now all I need to do download the rest from G play. Updating will not make any duplicates. All is clean, lean and fast
Strephon Alkhalikoi said:
"...old dinosaur apps..."
That still work. But I understand where you're coming from. With Google now updating most apps included in AOSP through the Play Store now the versions still in AOSP no longer get updated. What are you replacing these apps with, and is it a flashable zip you're using or a manual install?
Click to expand...
Click to collapse
I am updating them with original Google versions from G Play.
If you really want to do this, the best way is by doing, because it's unlikely anyone is going to do it for you. Download a flashable zip from the forums, unzip it, extract the updater-script from the META-INF folder and open it. See what the script does, and then try making your changes to that script. Each app you want to delete will be on its own line in the script, and each will use either of the following commands.
Code:
delete("system/app/folder/apk");
delete_recursive("system/app/folder");
In the above, folder is the app's folder, and apk refers to the app itself. The first removes individual files. The second removes entire folders.
Strephon Alkhalikoi said:
If you really want to do this, the best way is by doing, because it's unlikely anyone is going to do it for you. Download a flashable zip from the forums, unzip it, extract the updater-script from the META-INF folder and open it. See what the script does, and then try making your changes to that script. Each app you want to delete will be on its own line in the script, and each will use either of the following commands.
Code:
delete("system/app/folder/apk");
delete_recursive("system/app/folder");
In the above, folder is the app's folder, and apk refers to the app itself. The first removes individual files. The second removes entire folders.
Click to expand...
Click to collapse
Thanks a lot. I will give it a try. Not my thing but seems simple enough
Emilius said:
I am wondering if someone can make a flashable zip to remove all AOSP apps like phone, contacts, calendar, calculator, mail etc. All this apps are old dinosaurs apps and I am replacing them every time when I flash ROM. Also same thing with Music FX or DSP Manager. Because I am using Viper4Android I have to remove them before I flash Viper.
I have no skill come to that but will be nice if someone can create flashable zip or aroma installer which will remove all of that. Anyone?
Click to expand...
Click to collapse
If you can boot into OS before removing them, then you can just root your device then get a file manager that you can give root access before going into the filesystem and just deleting the apps from there.
On OxygenOS Stock ROM (4.1.6) there are some apps came pre-installed that I don't use. For example Google Gmail, Hangout also OnePlus's own calculator/clock etc. I want to delete those apps and replace Gmail with Inbox. completely remove Hangout, OPCalculator and OPClock with Google's Calculator and Clock. I have deleted those apps before by manually deleting them from inside /System/App and /System/Priv-app
Now, I'm trying to write my 'own' TWRP flash-able updater script to do such action. But I am kind of confused if only deleting an APK's parent folder is enough to remove the apps completely? For example, if I only delete the folder System/App/(Deskclock) - is that enough or there will be related files remaining somewhere else?
* I know Titanium Backup or other debloat apps can perform similar task, but the main purpose of this question is to know how can this be done manually and properly without leaving un-necessary files in the system.
Thanks.
Deleting the folder of an app in /system/app will remove the app from your phone (as in, not showing up in launchers or the Installed Apps list). However, app data and updates may still be saved in the /data partition. To make sure all of it is removed, first clear data and uninstall all updates to the system apps you with to remove from the Installed Apps list (disable it), then delete the APK either through a root explorer, or a recovery script.
Anova's Origin said:
Deleting the folder of an app in /system/app will remove the app from your phone (as in, not showing up in launchers or the Installed Apps list). However, app data and updates may still be saved in the /data partition. To make sure all of it is removed, first clear data and uninstall all updates to the system apps you with to remove from the Installed Apps list (disable it), then delete the APK either through a root explorer, or a recovery script.
Click to expand...
Click to collapse
Thank you very much! Appreciate your replay.
Suggest to use OOS debloater via twrp
Babloo289 said:
Suggest to use OOS debloater via twrp
Click to expand...
Click to collapse
Are you talking about this one? https://forum.xda-developers.com/oneplus-3/themes/aroma-oos-debloater-t3615828
Hi, Just a quick question.. as you mentioned here
Anova's Origin said:
To make sure all of it is removed, first clear data and uninstall all updates to the system apps you with to remove from the Installed Apps list (disable it),
Click to expand...
Click to collapse
1. I wonder if this is even possible inside TWRP, I mean targeting those unwanted apps, uninstalling updates+ clearing app data/disable them.. Or you are suggesting me to remove them manually from the OOS interface/settings one by one?
2. Also while in TWRP, none of those app (that I will remove) are not functional so what's the points of clearing app data/uninstalling updates? why not simply delete /system/app/(app.apk) and /data/app/(related files.)
Thanks again.
tushxda said:
Hi, Just a quick question.. as you mentioned here
1. I wonder if this is even possible inside TWRP, I mean targeting those unwanted apps, uninstalling updates+ clearing app data/disable them.. Or you are suggesting me to remove them manually from the OOS interface/settings one by one?
2. Also while in TWRP, none of those app (that I will remove) are not functional so what's the points of clearing app data/uninstalling updates? why not simply delete /system/app/(app.apk) and /data/app/(related files.)
Thanks again.
Click to expand...
Click to collapse
1) If you know where the extra data/updates are stored in /data, then you could use a recovery script to delete them. It's kind of one-shot deal though, as unless you open the apps again (after re-flashing a ROM), they won't have any data saved to them the next time you want to delete them.
2) If they aren't functional, they likely won't have much app data to begin with. I would clear the app data from apps like Google Play Music or Movies (if you don't want to use them) before deleting them. Random Engineering Test Tools and unessential services won't have much data stored and can be deleted directly.
i think its just fine bt read other comments too for better understanding.