Personally, I don' t like the basic set of apps that come preinstalled with LineageOS like the calculator, calendar, contacts, dialer, etc. and prefer the Google version of these apps. So I just delete these apps from the system folder after installing the rom. But after every update, I have to repeat this process, which becomes very cumbersome. So, I created this script that deletes all the unwanted apps at once, and I thought that I would share it with everyone because let's be honest, no one likes those LineageOS apps.
*This script will work with all versions of LineageOS!*
List of deleted apps:
BasicDreams
Calendar
DeskClock
Email
ExactCalculator
Jelly
LockClock
messaging
PhotoTable
PicoTts
webview
Contacts
Dialer
Eleven
Gallery2
Installation:
Just got to the recovery and flash the zip file!
NOTE: You can always edit the script yourself if you want to keep certain apps.
Instructions for editing the script
1. Unzip the file.
2. Navigate to META-INF>com>google>android and open the "updater-script" with a text-editor.
3. Just add a "#" (without the quotes) at the starting line for the app you want to keep.
4. Save the updater-script file and re-zip.
You can do this with OpenGApps. https://github.com/opengapps/opengapps/wiki
It replaces your apps with Google Apps (if you want) or you can add apps to be removed during install.
archiv said:
You can do this with OpenGApps. https://github.com/opengapps/opengapps/wiki
It replaces your apps with Google Apps (if you want) or you can add apps to be removed during install.
Click to expand...
Click to collapse
Yes but that is only possible with the aroma package of opengapps, which is greater than 1 GB in size. Not everyone needs that package and it takes a lot of space, which is not worth it just for uninstalling some apps. I just made this script to make it a little easier for people to do the job without having to waste so much of space, especially considering that this phone does not support an SD Card.
@shreyamt The aroma package is not required to remove stock rom apps. This can be done through an open gapps config file.
Edit: Shreyamt I did try out your script and even added some other stuff I don't like to have installed. Works very well, I'm sure lots of people will find this helpful as it's easier than the gapps config file.
shreyamt said:
Yes but that is only possible with the aroma package of opengapps, which is greater than 1 GB in size. Not everyone needs that package and it takes a lot of space, which is not worth it just for uninstalling some apps. I just made this script to make it a little easier for people to do the job without having to waste so much of space, especially considering that this phone does not support an SD Card.
Click to expand...
Click to collapse
SlotTech said:
@shreyamt The aroma package is not required to remove stock rom apps. This can be done through an open gapps config file.
Edit: Shreyamt I did try out your script and even added some other stuff I don't like to have installed. Works very well, I'm sure lots of people will find this helpful as it's easier than the gapps config file.
Click to expand...
Click to collapse
That's why I shared it
How to make this work with Lineage Android 11 nowadays?
Marvino. said:
How to make this work with Lineage Android 11 nowadays?
Click to expand...
Click to collapse
Just use universal android debloater to search and delete the packages through adb. Note that most of these applications are unlisted, but you can find their 'names' in app info.
GitHub - 0x192/universal-android-debloater: Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device.
Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device. - GitHub - 0x192/universal-android-debloater:...
github.com
Related
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.
I'm looking for a way to replace the system apps with their AOSP counter part.
E.g. dialer, email, contacts etc.
Does someone know if it's possible for all apps or are their any problems to be expected?
And second question, is there probably a flash able zip for this?
I'd be curious to know as well. Coming from a Nexus device I hate Sony's attempts to "improve" the basic apps like dialer and messaging. They all look like they were designed in 1998.
That should be possible....
Nebucatnetzer said:
I'm looking for a way to replace the system apps with their AOSP counter part.
E.g. dialer, email, contacts etc.
Does someone know if it's possible for all apps or are their any problems to be expected?
And second question, is there probably a flash able zip for this?
Click to expand...
Click to collapse
I think at the moment there is no available zip. You need CWM for your idea - do you have your phone rooted ?
If so there should be a possiblity to create such a flashable zip , that erase the not needed apps and install the new apps...
If your phone is not rooted maybe a batch file could do the trick via ADB for you - in a first step it should block the not wanted apps and in a second step it should install the new apps.
So you need the Names of the packages / apps that should be erased and before that, you should find the AOSP-Apps that run on the Z3C.
pipspeak said:
I'd be curious to know as well. Coming from a Nexus device I hate Sony's attempts to "improve" the basic apps like dialer and messaging. They all look like they were designed in 1998.
Click to expand...
Click to collapse
My favorites are
Textra for messaging
Quickpic for album
MX Player for Videos
Rhonin86 said:
I think at the moment there is no available zip. You need CWM for your idea - do you have your phone rooted ?
If so there should be a possiblity to create such a flashable zip , that erase the not needed apps and install the new apps...
If your phone is not rooted maybe a batch file could do the trick via ADB for you - in a first step it should block the not wanted apps and in a second step it should install the new apps.
So you need the Names of the packages / apps that should be erased and before that, you should find the AOSP-Apps that run on the Z3C.
Click to expand...
Click to collapse
Yes it's rooted.
I would be happy too, to replace the dialer & contact apps with AOSP ones.
Regarding messaging, i'm using this one : https://play.google.com/store/apps/details?id=fr.slvn.mms
Collecting of required information
Hi folx,
in this post i try to get all required information to replace the not wanted SONY stuff by the desired stuff mostly AOSP.
Your phone should be rooted and CWM should be installed.
Then we have to build a fitting flashable zip file.
But to succeed we fist need to test if the wanted apps will work on our phone. (i will test for example: Dialer from CM11)
If these Apps work, then we should have a deeper look on the creating of such a flashable.zip file. I have found a lot of howtos in the web. But to be sure we should backup those SONY-Apps
Here are 2 links i would use:
http://www.android-hilfe.de/root-hacking-modding-fuer-lenovo-ideapad-a1/268272-how-cwm-update-zips-erstellen.html german
http://forum.xda-developers.com/showthread.php?t=1721680 english here at XDA
http://forum.xda-developers.com/showthread.php?t=2764533 this can also be useful
The updater - script within this zip-file could be adjusted to our needs. Deleting the not wanted Sony.apps from /system /app and replace them with the wanted Apps. If i find the time i could provide such a file - but i can't test it.
The simple Trick:
But you could do it more simple - you just need a root explorer (i prefer ES File Explorer). Go to the above mentioned folder /system/app or system/private. There you should find the not wanted apps. Just copy them in a backup folder on your sdcard, delete the sony apk in the system - partition, copy your desired apk in the folder, where you have deleted the Sony-apk, give the right permissions and then reboot.
If the new app fails - just delete it in the same manner as described above and copy the backupped app in the corresponding folder and check the permissions again. - reboot.
I would really appreciate posting your results and if there are any further questions.... do not hesitate - we are all here to learn and get our phone better
Cheers
Rhonin
I probably have time to test this on the weekend.
I'll let you know how it goes.
I copied over Contacts, Contacts Prvovider and the Dialer apks.
However I couldn't get them to work.
Neither the Contacts nor the Dialer app showed up in the app drawer.
Email didn't work either.
Deskclock works fine. I'd love dialler to work...
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.
Title is pretty self-explanatory. I prefer Google's apps over some of Huawei's apps and wondered if it's possible to do without bricking the device.
No,You can with root delete Unneccesary google apps
Backup system partition or at least the apks you will remove and try it
Okay, tested it. I couldn't install a stock+ package so I cut down it a little. It seems to work expect from one issue, the "App persmissions" page doesn't open and the popup for permissions has no background.
This small script is now canceled, as I don't own Xperia E1 anymore. I don't know if anybody uses it anyway (as just a few people own Xperia E1 now), but if there is somebody - you can create the same thread with my script and manage it yourself. To download the scripts, head over to this thread - https://forum.xda-developers.com/xperia-e1/themes-apps/tweaks-flashable-zips-scripts-t3813261
Only for Pico package! I don't see a reason to flash Full only to write a script to remove it.
Notice: Google is changing file names regularly, therefore I can't promise that the script will delete every of the Google apps at the time of its writing.
You can also use the script to remove the pre-installed GApps on the stock ROM. Chrome will be removed too (as every app associated with Google).
"Open GApps Remover" is a flashable zip to remove ALL apps and traces of Google. In short - the ROM will look like you've flashed it for first time (custom).
Keep in mind that the zip also wipes your Cache and Dalvik-cache, so if you have any patches or modifications on your system which rely on Dalvik-cache - you will need to apply them again. Wiping Cache and Dalvik-cache also means that you will have to wait from 5 to 10 minutes, all depending on the number of applications you have installed on your phone.
The script will also delete some Google libs and files so that no unwanted files will take space on the ROM.
Tested only on TWRP, PhilZ should work too, I guess.
PM me if something isn't deleted.
Changelog (dd-mm-yyyy):
(13.06.2018):
-Added more file names of the Google Play Services application.
(23.05.2018):
-Fixed a typo.
--------------------
Current version:
Stock - 2.1 [FINAL]
LineageOS 11 - 2.1 [FINAL]
Latest update:
Stock - 13.06.2018 [END]
LineageOS 11 - 13.06.2018 [END]
I don't even ****ing know why I created a damn poll for this thread, lol.