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

Search This thread

shegeloaf

Senior Member
Jun 9, 2014
1,010
223
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
60
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

tosunkaya

Senior Member
Dec 19, 2014
516
262
ANKARA
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,657
1,070
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,600
4,041
Ukraine
Redmi Note 10 Pro
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:

Top Liked Posts

  • There are no posts matching your filters.
  • 41
    [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
    6
    2 All
    Flashable ZIP updated and now support Marshmallow with more new files to remove.
    Download >>
    6
    2 All
    Flashable ZIP updated:
    – Support of Oreo (8.0...8.1)
    Download >>
    2
    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!)