Remove all AOSP apps - Nexus 6 Q&A, Help & Troubleshooting

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.

Related

[MOD][FLASHABLE ZIP] Remove GApps in any ICS/JB ROM

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.

Help with cyanogen gapps

I want to try cyanogenmod and install all that is needed, obviously also vending and stuff but I don't want to have goolge+ nor hangout not gmail. Can I install gapps and remove them 100% safely? Is there a way to install only a subset of the apps contained in the zip? Any solution?
Cellulario said:
I want to try cyanogenmod and install all that is needed, obviously also vending and stuff but I don't want to have goolge+ nor hangout not gmail. Can I install gapps and remove them 100% safely? Is there a way to install only a subset of the apps contained in the zip? Any solution?
Click to expand...
Click to collapse
Best thing to do is to just flash the gapps then manually remove the apks of the apps you don't want from the system. You could modify the zip (remove apks) resign it and flash the 'lighter' zip, but make sure it is done properly because the last time I done it I ended up in a bootloop which pretty much wasted my time.
What do you mean exactly? Should I flash, boot up, and with a file browser seek these files and delete them, or delete them after flashing, without letting my device boot up?
Cellulario said:
What do you mean exactly? Should I flash, boot up, and with a file browser seek these files and delete them, or delete them after flashing, without letting my device boot up?
Click to expand...
Click to collapse
Flash the ROM then the gapps, then reboot the device via the recovery. Once it is booted use the built in file manager (or your own choice manager) with root access to remove the apks. Once removed reboot the device and your done. This is what I always do, I don't like messing around with zips.
Also be careful of what you remove, if unsure then google the apk name, better safe than sorry.
Or alternatively you can use a claimed to be lightest gapps package.
http://forum.xda-developers.com/showthread.php?t=2779598
TechnoSparks said:
Or alternatively you can use a claimed to be lightest gapps package.
http://forum.xda-developers.com/showthread.php?t=2779598
Click to expand...
Click to collapse
I'd also recommend using a light/slim/small gapps package, you can find many of them on xda. If some apps are missing (like Gmail or maps), you can install most of them from play store once you have the Google service installed (they are on any gapps package)
Go for the pico modular package from the following link: http://forum.xda-developers.com/showthread.php?t=2397942
try find with google 7-2_GApps_Minimal_4.4.4_signed.zip only 23mb tested with all rom based cm 11 4.4.4

Replacing Sony's apps

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...

Detaching apps from market

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.

[SCRIPT] LineageOS Debloat Script

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

Categories

Resources