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

shegeloaf

Senior Member
Jun 9, 2014
989
204
73
sydney
Script in first post very discounted and deleting not all files due update of gapps.
Here's updated version. Script automatically mounts /system, you don't need do it by yourself.
>>>>>>>> Use it at your own risk and make full backup via recovery before flashing! <<<<<<<<
Do you have one for lollipop?
 

davidcie

Senior Member
Sep 30, 2005
118
59
0
Warsaw
Script in first post very-very discounted and therefore deleting not all files.
Here's updated version. Script automatically mounts /system, you don't need do it by yourself.
Script compatible with Android 2.3, 4.0, 4.1, 4.2, 4.3, 4.4, 5.0, 5.1
Guaranteed delete will be only on CyanogenMod rom's and Nexus firmware due of possible other file naming in manufacturer stock firmware.
Probably some small bits of files can left on device (like WebView, Clock from Google), but almost all other will be removed.
@Bonoboo, thank you for maintaining this very useful script! Came across a few files not on your list but installed by Slim-Addons-mini_gapps.4.4.4.build.9-20150107.zip, if you'd like to add them for other users that could possibly save someone an unnecessary wipe:
Code:
/system/app/ExchangeServices.apk
/system/app/HangoutsDialer.apk
/system/lib/libbitmap_parcel.so
/system/lib/libconscrypt_gmscore_jni.so
/system/lib/libfoxit.so
/system/lib/libgmscore.so
/system/lib/libgms-ocrclient.so
/system/lib/libpatts_engine_jni_api_ub.210302120.so
/system/lib/libpatts_engine_jni_api_ub.210303120.so
/system/lib/libspeexwrapper_ub.210302120.so
/system/lib/libspeexwrapper_ub.210303120.so
/system/lib/libsslwrapper_jni.so
/system/lib/libwebrtc_audio_preprocessing.so
/system/lib/libWhisper.so
 
Last edited:
  • Like
Reactions: Bonoboo

davidcie

Senior Member
Sep 30, 2005
118
59
0
Warsaw
Thanks for contribution!
Soon will upload new ZIP with Marshmallow support and your additions.
Thanks :) Just to update, it turns out /system/lib/libwebrtc_audio_preprocessing.so is also present in the ROM (albeit a different version of different size), removing it prevented ROM from booting — had to dirty flash to restore the file.
 
  • Like
Reactions: Askael and Bonoboo

tosunkaya

Senior Member
Dec 19, 2014
513
259
93
ANKARA
tosunkaya.com
Script in first post very discounted and therefore deleting not all files.
Here's updated version. Script automatically mounts /system, you don't need do it by yourself.

Script compatible with Android 2.3...6.0
Guaranteed delete will be only on CyanogenMod rom's and Nexus firmware due of possible other file naming in manufacturer stock firmware.
Probably some small bits of files can left on device (like WebView), but almost all other will be removed.

Note: script removes apps from /system partition.
Probably some of them was updated and additionally stored in internal memory.
So you need manually delete a bit of remainders by usual way.

IMPORTANT!
Maybe some stuff or whole ROM will broken after applying this ZIP
– Script removes stock Google / CM keyboard, install 3rd party before applying!
– Script removes Google Experience Launcher, so make sure you use 3rd-party app or device will not boot!
– Script removes Hangouts, so make sure you use 3rd-party SMS app or you may unable use SMS!
– ..and may other
– Apps with embedded Google Maps such as Foursquare, Instagram and many other can't be launched / installed by any way because of lack of framework for it
– A lot of apps requests installed Google Play Store and Google Play Services which will be removed
– Network location can be disabled because it's part of gapps
– Recommended to wipe dalvik/ART-cache to rid out of unused cache files

>>> Use it at your own risk and make full backup via recovery before flashing! <<<
Not working for cm 13
 

vuckovic_stefan

Senior Member
Apr 15, 2015
1,650
1,070
143
Niš
Script in first post very discounted and therefore deleting not all files.
Here's updated version. Script automatically mounts /system, you don't need do it by yourself.

Script compatible with Android 2.3...6.0
Guaranteed delete will be only on CyanogenMod rom's and Nexus firmware due of possible other file naming in manufacturer stock firmware.
Probably some small bits of files can left on device (like WebView), but almost all other will be removed.

Note: script removes apps from /system partition.
Probably some of them was updated and additionally stored in internal memory.
So you need manually delete a bit of remainders by usual way.

IMPORTANT!
Maybe some stuff or whole ROM will broken after applying this ZIP
– Script removes stock Google / CM keyboard, install 3rd party before applying!
– Script removes Google Experience Launcher, so make sure you use 3rd-party app or device will not boot!
– Script removes Hangouts, so make sure you use 3rd-party SMS app or you may unable use SMS!
– ..and may other
– Apps with embedded Google Maps such as Foursquare, Instagram and many other can't be launched / installed by any way because of lack of framework for it
– A lot of apps requests installed Google Play Store and Google Play Services which will be removed
– Network location can be disabled because it's part of gapps
– Recommended to wipe dalvik/ART-cache to rid out of unused cache files

>>> Use it at your own risk and make full backup via recovery before flashing! <<<
Unfortunately doesnt work on Huawei G510 it broke my rom.... But thanks for a try :)!
 

Bonoboo

Senior Member
Dec 30, 2012
2,530
3,920
203
it broke my rom
Well, in these days firmware more "designed" to work with Google apps - too many dependences.
Do you personally author checked your file?
Because of your script I welled system partition on android 4.1.2
Of course.
Script not performing nothing with /system except deleting specific files and folders.
What actually happened? If phone not boot - see answer above.
And in post I warned about possible problems.
 
Last edited: