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

Search This thread

amakuramio

Senior Member
Nov 28, 2013
716
161
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...8.1
Guaranteed delete will be only on CyanogenMod / LineageOS rom's and Nexus / Pixel firmware due of possible other file naming in manufacturer stock firmware.

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 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
– 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! <<<

great! down with google lagware!
 

heyyyloook

Member
Jan 6, 2018
5
0
How can i fix bootloop ?

I installed this zip and i am getting bootloop

Rom:Resurrection rom 7.1.2
Mobile :Grand prime
Recovery:TWRP

Nevermind fixed it !
 
Last edited:

xdadevnube

Senior Member
Jun 28, 2011
1,038
178
2 All
Flashable ZIP updated:
– Support of Pie 9 and 10
– Deleting in /vendor and /system/product
Download >>


Fascinating script!! Great work. I do have a little trouble and thought I'd ask.

My setup:
Google Pixel 3a
Latest Pie factory image installed
Magisk 20.4
TWRP 3.3.1-1

Note that I followed the directions by adding a Dialer, Keyboard, and Launcher.

The script wasn't removing anything until I changed each of the entries in the "delete.sh" file. For whatever reason, my phone's directory structure has an extra "system/" parent folder. Here is an example:
before: rm -rf /system/app/Gmail
after: rm -rf /system/system/app/Gmail

Now the script removes pretty much everything as far as I can tell my using the TWRP File Manager to browse. The issue now is that the phone won't boot all the way into system. Would anybody have an idea which of the missing apps might be causing the system to not boot?
 
Last edited:

nay_

Member
Jun 6, 2020
22
10
California
gapps remover could swap google webview for bromite webview

Perhaps this russian variation on the project has some tips. AntiGapps Script
http://4pda.ru/forum/index.php?showtopic=596516&st=420#entry72458665

like

adb shell settings put global setup_wizard_has_run 1

adb shell settings put secure user_setup_complete 1

adb shell settings put global device_provisioned 1

..

Some bits of files can left on device (like important WebView)

There is an open source project, Bromite, that has a system apk to replace WebView. It is a privacy-focused build

bromite.org

https://bromite.org/system_web_view


--

For Pixel 3XL (crosshatch) what are some recommended options for Dialer, Keyboard, and Launcher.? How do I adb install them? or twrp flash them?
 
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!)