Custom G-Apps Package CM7 and CM9 - Nook Color General

Is it possible to build a lightweight GApps package by editing an existing GApps ZIP? If it is could someone tell me which are the essential things to retain there. I tried one and I left only 3 files- Market.apk, GoogleServicesFramework.apk and MarketUpdater.apk and it crashed my CM 7.2.

I think they are all required. Which gapps did you download? There are seperate for the versions of CM7. Also, did you check the MD5 and make sure it matched?

Yess, finally did it. Took Gapps 20110828 for GB and unzipped it. Took out all useless apks from system flder and zipped it back. Flashed it and it works fine. I dont have that stupid Car Home, Gtalk and many other bloatware.... only market. Thanks Bio.

Related

[Q] Gapps needed with CM6 nightlies?

Is flashing the latest Gapps with roms still necessary or can we just install the apps from market now?
pongalong said:
Is flashing the latest Gapps with roms still necessary or can we just install the apps from market now?
Click to expand...
Click to collapse
At least you need a market app already on your phone.
I think all other ones you can install....
GApps package includes more than just the Google Apps... there are some Google Sync and Backup apps as well... but you could trim down the package to include only those files and remove the actually apps like Gmail...
craigacgomez said:
but you could trim down the package to include only those files and remove the actually apps like Gmail...
Click to expand...
Click to collapse
How can I do it ?
Remove apk's from zip?
Yeah you gotta install gapps or you won't get access to the market
Sent from my HTC Desire using XDA App
You need some parts of the GApps part... but you can get rid of all the application like FB, Twitter, GMail, Youtube which are now available via the market. If you want to trim down the package... remove all "now-in-the-market" apps from the zip file and resign it and flash it (search for resigning instructions). If you use clockwork recovery, you can turn off signature checks and leave the zip unsigned and flash it.
You should always update to the latest gapps when available. If you don't, and google releases an update to a google app, it will be installed in the nexus one's pathetic internal storage area. (Yes you can then move it manually using rootexplorer to system data)
Sent from my Nexus One

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

Here is a zip I have made which will remove gapps from any ICS/JB ROM to have better battery life. Don't forget to press the thanks button and rate the thread 5 stars.
WORKS ON JELLY BEAN ANDROID 4.1
Mount /system
Flash zip
Reboot
Enjoy
Well done.
Sent from my LG-P500 using xda premium
acerkumar said:
Well done.
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
+1
Sent from my LG-P500 using Tapatalk 2
up
bump
up up.. no one wants it?
TheAndroidGeek said:
up up.. no one wants it?
Click to expand...
Click to collapse
Well, it means no play store so it's not helpful for me at least, i want to remove anything besides google maps and play store.
Anyways, thank you for your hard work!
Alternatives to Google Play Store are:
Aptoide
APKTOP
APPBRAIN
And we cannot use location service.
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!)
moly82 said:
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!)
Click to expand...
Click to collapse
I have just done this also on the loop kernel on my Xperia S that I installed using the duel booter for Xperia S here:
http://forum.xda-developers.com/showthread.php?t=1880305
Worked for this so well done
brim4brim said:
I have just done this also on the loop kernel on my Xperia S that I installed using the duel booter for Xperia S here:
http://forum.xda-developers.com/showthread.php?t=1880305
Worked for this so well done
Click to expand...
Click to collapse
It should work for any Android Phone I think
Updated with new code
I am getting installation aborted.
I am on 4.1.2. I had mounted system.
username1234321 said:
I am getting installation aborted.
I am on 4.1.2. I had mounted system.
Click to expand...
Click to collapse
It is a bad .zip... You should try redownload zip
there appears to be an error in the zip... installation aborted message.
can you please reupload.
Can this be done manually with adb by deleting each app listed in updater-script ?
DOES NOT WORK. I get error 6. I think the ZIP is messed up.
[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
Bonoboo said:
Script in first post discounted and delete 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.
Disclaimer: _maybe_ some stuff or all ROM will broken after applying this ZIP.
Use at your own risk.
Especially apps with embedded GoogleMaps such as Foursquare, Instagram and many other.
They will be hidden in Play Store and can't be installed manually because of lack of framework for it.
So there's two versions. One with prefix "Safe" keeps framework.
Click to expand...
Click to collapse
Kind of an odd question but can this work on a CM7 build? If not can you give me ideas to create my own?
9v9 said:
can this work on a CM7 build?
Click to expand...
Click to collapse
Very slightly updated archives, added 2 new files. Please, read that post again.
Now will delete old gapps > compatible with CM7.
Hope it helps.

[GAPPS] With working gesture swype, photosphere and wallet

This gapps package was created by BaNkS so all props go to him, I am just reposting it.
This is structured after the old official gapps package that is on goo.im. All the files are from the JOP40C Mako system image.
This has working photosphere and gesture typing like what you had on the stock rom.
Google wallet also works now. I know that when I flashed a custom rom, google wallet would force close when selecting an account. This package fixes it and you are successfully able to run wallet with no issues.
This is an all-in-one package so you don't have to flash a bunch of different things.
Installation
Flash in CWM or TWRP
Reboot
http://www.mediafire.com/download.php?i28g7m5ddr8kb18
The original thread:
http://forum.xda-developers.com/showthread.php?p=34610569
Sent from my A500
Lol i didn't know he was going to make a thread about it today. I just asked him permission to share it on here and he said ok.
EDIT: Actually, mine was posted before his so mine is the original thread
can I use this on a note 2?

Help with cyanogen gapps

I want to try cyanogenmod and install all that is needed, obviously also vending and stuff but I don't want to have goolge+ nor hangout not gmail. Can I install gapps and remove them 100% safely? Is there a way to install only a subset of the apps contained in the zip? Any solution?
Cellulario said:
I want to try cyanogenmod and install all that is needed, obviously also vending and stuff but I don't want to have goolge+ nor hangout not gmail. Can I install gapps and remove them 100% safely? Is there a way to install only a subset of the apps contained in the zip? Any solution?
Click to expand...
Click to collapse
Best thing to do is to just flash the gapps then manually remove the apks of the apps you don't want from the system. You could modify the zip (remove apks) resign it and flash the 'lighter' zip, but make sure it is done properly because the last time I done it I ended up in a bootloop which pretty much wasted my time.
What do you mean exactly? Should I flash, boot up, and with a file browser seek these files and delete them, or delete them after flashing, without letting my device boot up?
Cellulario said:
What do you mean exactly? Should I flash, boot up, and with a file browser seek these files and delete them, or delete them after flashing, without letting my device boot up?
Click to expand...
Click to collapse
Flash the ROM then the gapps, then reboot the device via the recovery. Once it is booted use the built in file manager (or your own choice manager) with root access to remove the apks. Once removed reboot the device and your done. This is what I always do, I don't like messing around with zips.
Also be careful of what you remove, if unsure then google the apk name, better safe than sorry.
Or alternatively you can use a claimed to be lightest gapps package.
http://forum.xda-developers.com/showthread.php?t=2779598
TechnoSparks said:
Or alternatively you can use a claimed to be lightest gapps package.
http://forum.xda-developers.com/showthread.php?t=2779598
Click to expand...
Click to collapse
I'd also recommend using a light/slim/small gapps package, you can find many of them on xda. If some apps are missing (like Gmail or maps), you can install most of them from play store once you have the Google service installed (they are on any gapps package)
Go for the pico modular package from the following link: http://forum.xda-developers.com/showthread.php?t=2397942
try find with google 7-2_GApps_Minimal_4.4.4_signed.zip only 23mb tested with all rom based cm 11 4.4.4

Remove all AOSP apps

I am wondering if someone can make a flashable zip to remove all AOSP apps like phone, contacts, calendar, calculator, mail etc. All this apps are old dinosaurs apps and I am replacing them every time when I flash ROM. Also same thing with Music FX or DSP Manager. Because I am using Viper4Android I have to remove them before I flash Viper.
I have no skill come to that but will be nice if someone can create flashable zip or aroma installer which will remove all of that. Anyone?
"...old dinosaur apps..."
That still work. But I understand where you're coming from. With Google now updating most apps included in AOSP through the Play Store now the versions still in AOSP no longer get updated. What are you replacing these apps with, and is it a flashable zip you're using or a manual install?
simunovic said:
I am wondering if someone can make a flashable zip to remove all AOSP apps like phone, contacts, calendar, calculator, mail etc. All this apps are old dinosaurs apps and I am replacing them every time when I flash ROM. Also same thing with Music FX or DSP Manager. Because I am using Viper4Android I have to remove them before I flash Viper.
I have no skill come to that but will be nice if someone can create flashable zip or aroma installer which will remove all of that. Anyone?
Click to expand...
Click to collapse
If you install "Stock" or "Super" OpenGapps, it automatically replaces them I believe.
MrBrady said:
If you install "Stock" or "Super" OpenGapps, it automatically replaces them I believe.
Click to expand...
Click to collapse
Yes, also with aroma open gapps I can simply replace anything I need. But, there is a catch. All this apps when they get updated in Google Play they stay where they are and new copy is installed like a duplicate. So you can uninstall update and get back to old version. That part I don't like. Why on Earth I need old app?
While apps installed from Google Play when they get updated they will be simply replaced. That is the reason why I would like to create aroma installer to remove all this apps from the system. Then I choose pico apps and everything else grab from Play Store.
I believe that make sense, right?
simunovic said:
Yes, also with aroma open gapps I can simply replace anything I need. But, there is a catch. All this apps when they get updated in Google Play they stay where they are and new copy is installed like a duplicate. So you can uninstall update and get back to old version. That part I don't like. Why on Earth I need old app?
While apps installed from Google Play when they get updated they will be simply replaced. That is the reason why I would like to create aroma installer to remove all this apps from the system. Then I choose pico apps and everything else grab from Play Store.
I believe that make sense, right?
Click to expand...
Click to collapse
There appear to be duplicates because the original GAPPS package installed the AOSP version as a System App. When the app gets updated from the Play Store, the update is installed as a User App. So when you re-install/dirty install with the Stock or AROMA package, it does remove the System version, but not the Updated/User Version.
The only way around this that I know of is to not let apps update or install the desired GAPPS package from the very beginning.
There are also flashable mods that remove GAPPS, like this one: http://forum.xda-developers.com/nexus-6p/themes-apps/script-google-apps-debloater-t3446118. It works on the Nexus 6 as well, although it doesn't remove 100% of what it says it does. It's been hit-and-miss for me, but does work for the major debloat (international keyboards).
MrBrady said:
There appear to be duplicates because the original GAPPS package installed the AOSP version as a System App. When the app gets updated from the Play Store, the update is installed as a User App. So when you re-install/dirty install with the Stock or AROMA package, it does remove the System version, but not the Updated/User Version.
The only way around this that I know of is to not let apps update or install the desired GAPPS package from the very beginning.
There are also flashable mods that remove GAPPS, like this one: http://forum.xda-developers.com/nexus-6p/themes-apps/script-google-apps-debloater-t3446118. It works on the Nexus 6 as well, although it doesn't remove 100% of what it says it does. It's been hit-and-miss for me, but does work for the major debloat (international keyboards).
Click to expand...
Click to collapse
Dirty flashing instead of updating core apps is just to much to play for me. I don't have that time anymore ;(
I like to keep it simple is possible.
That script is very similar to what I am trying to do. I need same thing but with AOSP core apps plus music fx and dsp manager to be included also. That way my way of flashing will look like: flash ROM, remove AOSP core apps, flash pico open apps, flash viper, supersu... done
Now all I need to do download the rest from G play. Updating will not make any duplicates. All is clean, lean and fast
Strephon Alkhalikoi said:
"...old dinosaur apps..."
That still work. But I understand where you're coming from. With Google now updating most apps included in AOSP through the Play Store now the versions still in AOSP no longer get updated. What are you replacing these apps with, and is it a flashable zip you're using or a manual install?
Click to expand...
Click to collapse
I am updating them with original Google versions from G Play.
If you really want to do this, the best way is by doing, because it's unlikely anyone is going to do it for you. Download a flashable zip from the forums, unzip it, extract the updater-script from the META-INF folder and open it. See what the script does, and then try making your changes to that script. Each app you want to delete will be on its own line in the script, and each will use either of the following commands.
Code:
delete("system/app/folder/apk");
delete_recursive("system/app/folder");
In the above, folder is the app's folder, and apk refers to the app itself. The first removes individual files. The second removes entire folders.
Strephon Alkhalikoi said:
If you really want to do this, the best way is by doing, because it's unlikely anyone is going to do it for you. Download a flashable zip from the forums, unzip it, extract the updater-script from the META-INF folder and open it. See what the script does, and then try making your changes to that script. Each app you want to delete will be on its own line in the script, and each will use either of the following commands.
Code:
delete("system/app/folder/apk");
delete_recursive("system/app/folder");
In the above, folder is the app's folder, and apk refers to the app itself. The first removes individual files. The second removes entire folders.
Click to expand...
Click to collapse
Thanks a lot. I will give it a try. Not my thing but seems simple enough
Emilius said:
I am wondering if someone can make a flashable zip to remove all AOSP apps like phone, contacts, calendar, calculator, mail etc. All this apps are old dinosaurs apps and I am replacing them every time when I flash ROM. Also same thing with Music FX or DSP Manager. Because I am using Viper4Android I have to remove them before I flash Viper.
I have no skill come to that but will be nice if someone can create flashable zip or aroma installer which will remove all of that. Anyone?
Click to expand...
Click to collapse
If you can boot into OS before removing them, then you can just root your device then get a file manager that you can give root access before going into the filesystem and just deleting the apps from there.

Categories

Resources