How do I remove gapps from CyanogenMod
I installed CyanogenMod 11 on my HTC One with CyanogenMod Installer. So I got also the google Apps (gapps) on my device. But I need a CM11 without gapps. I did then the following without success:
- copy cm-11-20140308-SNAPSHOT-M4-m7.zip to /sdcard/
- boot to recovery mode -> recovery -> ClockworkMod Recovery v22.214.171.124:
- "wipe data/factory reset"
- "install zip" choosing the zip-file
"reboot system now"
So I got a new CM11 but with gapps still installed.
What should I do in addition to "wipe data/factory reset" to get rid of this apps?
Formatting the system partition before re-installing would probably do it. I think CM is automatically backing up and restoring Gapps, the idea being that it makes updates easier for people who use Gapps. Since they get installed to the system partition, the factory reset won't delete them.
The solution for my my problem was:
- Wipe data/factory reset AND
- Clear cache and Dalvik cache AND
- Format system partition
This can be done using ClockworkMod using various menus.
Set as solution. Maybe you want to add the software you used for these steps.
There is no additional software involved, other than booting into Recovery.
Seems like you can remove it without a reinstall
mount -o rw,remount /system
rm -R /system/addon.d
Source here : How to fix wrong Google apps
This only remove the gapp autoload scripts. Then reboot and you can uninstall them.
Doesn't it say that after you did this you had to reboot and flash ROM again? Not sure if that doesn't count as a reinstall...
I know this is an old thread but it shows up pretty high on Google and is the only relevant one to my own quest when I was trying to remove Gapps/Google Apps from my phone, so I figured I'd add my two cents.
The above answers did not work for me. What I did was the following:
(WARNING: this may brick some devices!)
- Forcibly flash a bogus image using a low level flash tool (e.g Androxyde FlashTool) into the phone's system ROM, e.g 10mb worth zeroes should do the trick to overwrite the file allocation table.
- Install recovery if it has been removed by the above operation. You can do this by holding the phone specific button combo to put it in flash mode (e.g power and volume-down), and then flashing the boot.img file that's included in most rom files using the flash tool you used in the previous step.
- Boot into recovery, and install your rom of choice.
This will create a completely clean system ROM with only the applications included in the ROM itself. If you decide that you want Google apps later after all, just search for 'GApps android' or go to http://opengapps.org .