Remove All Ads from XDA

Shedding the weight of Gapps

1,122 posts
Thanks Meter: 994
By jeffsf, Senior Member on 19th January 2014, 07:23 AM
Post Reply Email Thread
I've spent some time on ICS in whittling down what Gapps I really needed, and was able to save a lot of space. Since I use my own Darwin (Mac) CalendarServer I don't have any need for Google's contacts and calendar syncing. I also don't use "voice" features. Basically, I use Play and Maps, or have apps that require some level of Google services to run.

Getting ready to move to KitKat on a couple phones, I wanted to do the same for 4.4.2. Good news is that @BaNkS is well ahead of me in slicing and dicing Gapps.

(also check to see if @Ryuinferno has updated his Gapps thread)

BaNkS' selection of "Core" is around 26 MB extracted, which seems a lot better than the full-on collection occupies. Of course, you don't get all the Google secret sauce (or is it Kool-Aid?), but it might fit your needs a little better. (Contents behind the button)

signed by SignApk
  Length     Date   Time    Name
 --------    ----   ----    ----
     2284  02-28-08 20:33   META-INF/MANIFEST.MF
     2337  02-28-08 20:33   META-INF/CERT.SF
     1714  02-28-08 20:33   META-INF/CERT.RSA
   190444  02-28-08 20:33   META-INF/com/google/android/update-binary
      870  02-28-08 20:33   META-INF/com/google/android/updater-script
     1668  02-28-08 20:33   system/addon.d/
   198899  02-28-08 20:33   system/app/GoogleContactsSyncAdapter.apk
      816  02-28-08 20:33   system/etc/permissions/
      835  02-28-08 20:33   system/etc/permissions/
      261  02-28-08 20:33   system/etc/permissions/
      967  02-28-08 20:33   system/etc/permissions/features.xml
     9629  02-28-08 20:33   system/etc/preferred-apps/google.xml
   160503  02-28-08 20:33   system/framework/
    34818  02-28-08 20:33   system/framework/
      740  02-28-08 20:33   system/framework/
   435696  02-28-08 20:33   system/lib/
  1430596  02-28-08 20:33   system/lib/
   497108  02-28-08 20:33   system/lib/
  8536983  02-28-08 20:33   system/priv-app/GmsCore.apk
   127533  02-28-08 20:33   system/priv-app/GoogleBackupTransport.apk
   303624  02-28-08 20:33   system/priv-app/GoogleFeedback.apk
  5715280  02-28-08 20:33   system/priv-app/GoogleLoginService.apk
     8498  02-28-08 20:33   system/priv-app/GoogleOneTimeInitializer.apk
   129480  02-28-08 20:33   system/priv-app/GooglePartnerSetup.apk
  2359257  02-28-08 20:33   system/priv-app/GoogleServicesFramework.apk
  6126834  02-28-08 20:33   system/priv-app/Phonesky.apk
  1531300  02-28-08 20:33   system/priv-app/SetupWizard.apk
 --------                   -------
 27808974                   27 files

He's also got fuller packages as well as various incremental ones as well.

You can probably thin this further. Based on what I use and some guesses, I know I'll be trying to get rid of at least:
  • system/app/GoogleContactsSyncAdapter.apk
  • system/priv-app/GoogleBackupTransport.apk
  • system/priv-app/GoogleFeedback.apk
  • system/priv-app/GoogleOneTimeInitializer.apk
  • system/priv-app/GooglePartnerSetup.apk
  • system/priv-app/SetupWizard.apk
  • system/lib/
  • system/lib/
as well as generating my own "preferred apps" for system/etc/preferred-apps/google.xml (method described in that file)
The Following 4 Users Say Thank You to jeffsf For This Useful Post: [ View ] Gift jeffsf Ad-Free
19th January 2014, 10:22 AM |#2  
silentvisitor's Avatar
Senior Member
Thanks Meter: 2,621
You can safely remove
Google backup transport
Google feedback
Google partner setup

Well, that's what I do and never had any issues. Basically I remove everything except Play Store
I anyways don't want to run so many apps with full system rights/permissions.
22nd January 2014, 02:10 AM |#3  
FBis251's Avatar
Recognized Contributor
Thanks Meter: 3,753
Donate to Me
It's a constant struggle trying to find a good source of gapps that provides a lightweight installer. I also only really need maps and the play store. I'm not sure if the SLIM team has released their 4.4 bundle, but the last time I checked a few weeks ago, there was still only a beta version of the 4.3 slim gapps.

Thanks for the links @jeffsf
22nd January 2014, 04:57 PM |#4  
jeffsf's Avatar
OP Senior Member
Flag San Francisco
Thanks Meter: 994
Donate to Me
So far, "working for me" for Play, Maps, and map-API apps, after I install Banks'

I won't say that "it all works fine" with these removals, as I'm still just doinking around with KitKat and not running it day-to-day.

rm /system/app/GoogleContactsSyncAdapter.apk
rm /system/priv-app/GoogleBackupTransport.apk
rm /system/priv-app/GoogleFeedback.apk
rm /system/priv-app/GoogleOneTimeInitializer.apk
rm /system/priv-app/GooglePartnerSetup.apk
rm /system/priv-app/SetupWizard.apk
rm /system/etc/preferred-apps/google.xml
rm /system/etc/permissions/features.xml
That makes the installed-files list look something like:
  • addon.d/
  • app/GoogleContactsSyncAdapter.apk
  • etc/permissions/
  • etc/permissions/
  • etc/permissions/
  • etc/permissions/features.xml
  • etc/preferred-apps/google.xml
  • framework/
  • framework/
  • framework/
  • lib/
  • lib/
  • lib/
  • priv-app/GmsCore.apk
  • priv-app/GoogleBackupTransport.apk
  • priv-app/GoogleFeedback.apk
  • priv-app/GoogleLoginService.apk
  • priv-app/GoogleOneTimeInitializer.apk
  • priv-app/GooglePartnerSetup.apk
  • priv-app/GoogleServicesFramework.apk
  • priv-app/Phonesky.apk
  • priv-app/SetupWizard.apk

There are a couple jar files and libraries, as well as potentially GmsCore.apk that I may try removing as well.
The Following 3 Users Say Thank You to jeffsf For This Useful Post: [ View ] Gift jeffsf Ad-Free
24th January 2014, 03:47 AM |#5  
hutson23's Avatar
Senior Member
Thanks Meter: 90
How did it go after removing these?

Sent from my SGH-T959V using XDA Premium 4 mobile app
24th January 2014, 04:52 AM |#6  
jeffsf's Avatar
OP Senior Member
Flag San Francisco
Thanks Meter: 994
Donate to Me
Originally Posted by hutson23

How did it go after removing these?

I've additionally tried removing priv-app/GmsCore.apk with no apparent ill effects. I didn't push the phone hard after that, but at least Play was still working Edit -- Play won't let you update anything without GmsCore, nor can you do a first-time login to your existing Play account. I'm working on some build issues and I'm not running KitKat enough to be a fair judge of things. I'd consider dumping lib/ based on the name, and even lib/

It should be easy enough to move them somewhere "safe" like /cache (*not* to /sdcard/ as it doesn't preserve ownership, permissions and all) and see what happens. Given that you can run completely fine without Gapps, I wouldn't think there would be any meaningful chance of making your phone unusable to the point that you'd need to completely reflash it.

That said, make lots of backups...

Edit -- Running the Gapps installer will remove -- you may wish to restore if you're not replacing it with a Gapps equivalent.
The Following User Says Thank You to jeffsf For This Useful Post: [ View ] Gift jeffsf Ad-Free
17th February 2014, 02:29 AM |#7  
deanob's Avatar
Junior Member
Flag Toronto
Thanks Meter: 5
Ive used modular mini apps by PA with CM 11 4.4 on a AT&T S4... no problems
3rd May 2014, 07:49 PM |#8  
Account currently disabled
Flag Croyon, PA
Thanks Meter: 121
Donate to Me
Jeffsf. Do a search for on google. Scroll down to the bottom where check out some of the jit zips in there. When i searched that lib that was in stock gb it came up with results saying jitrevert. I'll have to jump on irc to explain what im getting at

Sent from my SGH-T959V using Tapatalk 2

---------- Post added at 02:49 PM ---------- Previous post was at 02:48 PM ----------

Oh i have a gapps with playstore and maps if u want me to up it fb

Sent from my SGH-T959V using Tapatalk 2
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes