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

sintoo

Senior Member
Nov 26, 2009
182
15
0
Recovery install yielded:
(Status 6)
Installation aborted


Searching Google says: Status 6 is a syntax error.

More reading says: It's due to using Windows to edit files , possible causes: command syntax typos, Upper vs Lower case in file names (Unix -> Windows -> Unix)
Or Cariage returns (Notepad++ or most editor will screw up unix text files).
 
  • Like
Reactions: Bonoboo

psydex

Senior Member
Nov 25, 2012
434
50
58
Plovdiv
mobers.org
Script in first post very discounted and deleting 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.

Script compatible with CM7, CM9, CM10, CM10.1, CM10.2, CM11
Full delete will be on CyanogenMod rom's due of possible other file naming in stock firmware.

Disclaimer: _maybe_ some stuff or all ROM will broken after applying this ZIP.
Network location may be will disabled because is part of gapps.
>>>>>>>> Use at your own risk and make backup via recovery! <<<<<<<<

Apps with embedded Google Maps such as Foursquare, Instagram and many other will be hidden in Play Store and can't be installed manually because of lack of framework for it.
Also some apps requests installed Google Play Store too.

There's two versions. One with prefix "Safe" keeps only framework.
Flash via custom recovery:

This doesn't work. It flashes successfuly but after i boot - everything is exactly the same, all gapps are still there. I used the FULL.zip
 

pmvyas

Senior Member
Jul 27, 2009
457
232
0
This doesn't work. It flashes successfuly but after i boot - everything is exactly the same, all gapps are still there. I used the FULL.zip
Just tried. I get error 6 too...

Sent from my LG-P500

---------- Post added at 11:12 PM ---------- Previous post was at 11:10 PM ----------

Sorry, wrong post copied....meant to quote bonobo's post..

Sent from my LG-P500
 

Bonoboo

Senior Member
Dec 30, 2012
2,530
3,920
203
This never gonna work...
Was something wrong with ZIP's: just repacked it and all ok. Again reuploaded.
Tested on LG P500, Android 4.3, TWRP 2.3.6.0 – gapps removed.

Note: script removes apps from /system partition. Maybe some of them was updated and additionally stored in internal memory, so you need manually delete a bit of remainders by usual way.
 
Last edited:
  • Like
Reactions: pmvyas

WMNovice

Member
Dec 11, 2007
36
0
0
Does the gapps package replace any system files?

I have tried running the uninstaller, with no success. I will now try manually, file by file. In this way, I plan to delete each file mentioned in delete.sh.

My question is: does the gapps installer overwrite any system files that are required? Would deleting any such system file installed by the gapps installer without having its original stock ROM version as a backup brick the phone?

So far, I have deleted the add.on files 70-gapps.sh and 71-gapps-faceunlock.sh successfully without any harmful consequences, except I get the message "Google search has stopped" quite often.

Can you explain the logic behind your uninstall script so I can take those same steps manually? What do you have to unmount/mount, what do you have to delete, what do you have to replace from the original stock ROM backup? I'm afraid I do not have an original stock ROM backup, so I'll be stuck if any file from the original stock ROM is required.

Any help would be appreciated!
 

Bonoboo

Senior Member
Dec 30, 2012
2,530
3,920
203
I have tried running the uninstaller
Running? This must be flashed via recovery.

does the gapps installer overwrite any system files that are required? Would deleting any such system file installed by the gapps installer without having its original stock ROM version as a backup brick the phone?
No one knows from what app ROM very depends.
There always risk to get bootloop.

Can you explain the logic behind your uninstall script so I can take those same steps manually?
What do you have to unmount/mount, what do you have to delete
Nothing special.
Mounting /system from updater-script, extracting shell-script to /tmp, setting permissions, running it.
Script just deleting APK's, names I took from gapps ZIP's. That's all.

what do you have to replace from the original stock ROM backup? I'm afraid I do not have an original stock ROM backup, so I'll be stuck if any file from the original stock ROM is required.
Don't understand you.
Create backup of whole system from recovery (CWM / TWRP) before deleting gapps.
So you can revert back.
 

WMNovice

Member
Dec 11, 2007
36
0
0
Actually, the instructions should say "Take a backup of your ROM before installing gapps, so that you can go back to it if you face any problems".