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.
Related
So what's the purpose of this thread?
On 2.2 and 2.1 Android versions after installing of any app there were created:
- /data/app/<package_name>.apk - main file
- /data/data/<package_name>/ - folder with app data, libs, settings etc.
- /data/dalvik-cache/[email protected]@<package_name>.dex - dalvik-cache file
After deinstalation with bulit-in uninstaller all files and folders where removed so phone was clean after deinstallation huge number of apps.
Now, on 2.2.1 after installing any app there are created:
- /data/app/<package_name>.apk - main file
- /data/data/<package_name>/ - folder with app data, libs, etc.
- /data/dalvik-cache/[email protected]@<package_name>.dex - dalvik-cache file
- /dbdata/databases/<package_name>/ - folder with app settings, AFAIK it's created on first app usage.
Samsung changed this to remove lag (dbdata is faster than data). After deinstallation last folder isn't removed! Samsung developers forgot to change uninstaller, in result we have a lot of unneeded folders in /dbdata/databases/ after deinstallation of apps.
Ane ideas how to fix it?
i noticed this too. sadly i dont know how to fix it, other than manually delete the leftovers
yep confirmed.. just went in with root explorer and deleted a couple of things i have deleted from the phone.
Well one simple solution is to create a simple listview uninstaller that calls pm uninstall on the package plus delete's the package name from the /dbdata partition
Or better yet, find an open source uninstaller and modify that
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.
Welcome!
My proposal is to create modifications (patch or a separate system) based on the Stock ROM, but that part of the application have been converted from the Cyanogenmod 10.0 (install with no problem), part of the application removed (Verizon applications, third-party unnecessary applications, apps, Google [install from ZIP ])
Why is that?
Stock ROM is probably the best ROM including the Droid 4, stable, fast (if there is no application Verizon), fully supports add-ons for Droid (like Lapdock), which does not support Cyanogenmod 11/12, No need to waste space on the / sdcard to another system (/sdcard has only 8GB)
My plan
1) For additional ROM-slot clone Stock Rom
2) Replace AOSP/Moto apps for Cyanogenmod [Settings.apk almost brick my Droid - rapid intervention saved him, but Trebuchet.apk works very well]
3) Remove unnecessary applications to achieve as far as pure Stock ROM (like Nuance speech recognition)
4) Extract the Google applications - not everyone wants Google Apps
5) Other options?
I have no knowledge of how to make the patch (usually did Backup -> Restore), maybe someone knows and wants to help
I would like to know do you think?
Fervi
Sounds like a great idea.
I have some solutions have already been developed
http://speedy.sh/4aVMm/CMAppsStock.zip
Here you have Cyanogenmod programs that run on the Stock ROM (not all full)
I use at home Trebutchet Launcher and SMS / MMS application
http://gmclan.org/up6184_0_backuplist.html
If you have Root and Busybox - you can run my script
It is a program (recommended for people who have used Mentor's ROM), which excludes many unnecessary (in my opinion) function, Google Play or [you then turn 3 modules and have the shop back]
Be sure to have installed Trebutchet because it disables the built-Stock Launcher.
In fact, my script should not destroy your phone (factory reset should restore apps off my script, so you will regain the initial state) [However, you should have a backup system]
You can run the script in a terminal emulator spending (you can download it from F-Droid) - "busybox sh <script name>"
Screenshot:
http://gmclan.org/uploader/6184/Screenshot_2014_12_29_21_38_32.png
http://gmclan.org/uploader/6184/Screenshot_2014_12_29_21_38_46.png
http://gmclan.org/uploader/6184/Screenshot_2014_12_29_21_38_54.png
I cannot replace all of Stock Software to Cyanogenmod, because my Stock ROM start bricking, so i replace only some sure software
Fervi
look at this one http://forum.xda-developers.com/showthread.php?t=2122709
Hey~
As with LineageOS 14.1 on stock slot isn't enough space left in /system for installing even pico gapps, i created a small script that moves ringtones and some default apps to other partitions.
The script installs persistent in /system/addon.d/ and will automatically executed and kept on every system update.
Just install the according zip in recovery after LineageOS 14.
It moves alarms, ringtones and notifications to /sdcard/media/audio and calendar, clock, music, email, calculator, gallery, browser, recorder and camera apps to /data/app.
This will provide enough free space on /system for installing pico gapps.
There's also a version for use on safe slot, which also moves aosp-keyboard but i don't recommend to use lineage14 on safe slot.
(aosp-keyboard needs ~50mb, using this version on stock slot could free enough space to make nano gapps fit)
You can also edit 10-movedata.sh to move or remove any apps you want.
For example if you want to remove Calendar instead of moving, you can place a hash before the line 'move Calendar com.android.calendar' and remove the hash before '#remove Calendar'.
Or just add new lines below to move other apps:
'move Calendar com.android.calendar' will move '/system/(priv-)app/Calendar' to '/data/app/com.android.calendar-1'
'remove Calendar' will remove '/system/(priv-)app/Calendar'
Hope this will be useful for some of you.
Have fun!
- Changes -
16.12.2017 (1.2): Fixed the biiiiig mistake that caused moving apps to wrong destination.
Added experimential version for crDroid.
09.12.2017 (1.1): Optimized the script a lot and messed up everything. Big sorry..
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