[GAPPS][2015-04-04] Google Apps Minimal Edition for Android 5.0.x & 5.1.x

Search This thread

androcraze

Senior Member
Jan 11, 2013
2,255
1,661
Thanks for this, unfortunately I'm having a problem with the GAPPS. I've done a complete wipe and fresh install of CM12 for my Samsung SMT-310 tablet. It boots fine, I've added my Google account and flashed the Minimal GAPPS for 5.1. But I'm unable to login to the Play store. It just sits there with the Spinning circle of doom. This means I'm unable to restore any of my applications.

Any help or suggestions is appreciated.

CM 12 is based-on Android 5.0, not 5.1. CM 12.1 is 5.1.

Try the GApps for 5.0.
 

schnurrbidurr

Senior Member
Feb 7, 2012
89
9
Play services have stopped

I keep getting the Google Play Services has stopped error message, every time after a reboot. I did a factor reset, I re-flashed GApps, I re-flashed the Rom (BlissPop V4.03 - 5.1.1) and I'm still get the error.

Any advice?
 

androcraze

Senior Member
Jan 11, 2013
2,255
1,661
I keep getting the Google Play Services has stopped error message, every time after a reboot. I did a factor reset, I re-flashed GApps, I re-flashed the Rom (BlissPop V4.03 - 5.1.1) and I'm still get the error.

Any advice?

If you've had it installed for a while and things just started doing this, there's an issue with the Play Services update on your phone. You can:

0. Check your Play Services version first.

1. Wait it out. Although, I'm not sure if Play Services is broken that it can update itself.

2. Download a current Play Services update and install (as user) from here: http://www.apkmirror.com/?s=Google+Play+services+&post_type=apps_post

3. You could also go to /data and manually delete the current Play Services, and see if it updates to a newer version by itself.
 
Last edited:
  • Like
Reactions: schnurrbidurr

nickvp

Senior Member
Sep 19, 2012
62
5
Kalmazoo
For a Minimal GApps install on Marshmallow 6.0.0:

1. Download Deltadroid's Marshmallow Base Gapps package for 6.0.0 (From THIS GApps thread):

https://www.androidfilehost.com/?fid=24269982086995422 (current as of 2015-NOV-22)

(Check the first post in the thread, all the way towards the bottom, rather than relying solely on the above link).

2. Create and install these empty text files (0-byte) on the "root" of your Internal Storage ("/sdcard/"):

/sdcard/.removefaceunlock
(prevents faceunlock from being installed and removes existing installation of faceunlock)

/sdcard/.removesetupwizard
(keeps stock provision setup wizard and does not replace it with Google's setup wizard)

3. Install GApps via TWRP

4. Boot to System

5. Immediately toggle application permissions to "ON" under:

Settings -> Apps -> ... -> System show

For:
- Google Contacts Sync
- Google Play Services
- Google Play Store

6. Reboot the phone

7. Add your Google Account via "Settings -> Accounts -> Add account -> Google"

8. Verify that Contacts are synced and Play Services is functional.

9. Enjoy!

Hey, Im having a little trouble with this step:

Create and install these empty text files (0-byte) on the "root" of your Internal Storage ("/sdcard/"):


Is "root" supposed to be a folder on my internal storage? Not exactly sure what I should be doing.


EDIT: Think I figured it out.

However, now I am wondering where to get the security patch to flash the google dialer?
 
Last edited:

androcraze

Senior Member
Jan 11, 2013
2,255
1,661
Hey, Im having a little trouble with this step:

Create and install these empty text files (0-byte) on the "root" of your Internal Storage ("/sdcard/"):


Is "root" supposed to be a folder on my internal storage? Not exactly sure what I should be doing.

Good question.

Under Windows/DOS, the "root" of a drive would be the "base", or "C:" (or D:\, E:\, etc.), not in any subfolders.

With Android (or Linux), it's a little different. For our purposes "/sdcard/" (or it could be "/storage/emulated/0/") would be this "drive", without any subfolders. "Linux treats everything like a file" is what you're seeing here, and sometimes it's hard to translate.

A directory listing of the /sdcard/ location (with the added zero-byte files) would look something like:

Alarms/
Android/
backups/
chatTemp/
DCIM/
Download/
Movies/
Pictures/
PodCasts/
Ringtones/
storage/
temp/
TWRP/
.removefaceunlock
.removesetupwizard

You can either create the files directly on your device with a text editor (Ted, from the Play Store, is nice), or create them on a PC under Windows or Linux and copy them over.

Does that help?
 
  • Like
Reactions: nickvp

nickvp

Senior Member
Sep 19, 2012
62
5
Kalmazoo
Good question.

Under Windows/DOS, the "root" of a drive would be the "base", or "C:" (or D:\, E:\, etc.), not in any subfolders.

With Android (or Linux), it's a little different. For our purposes "/sdcard/" (or it could be "/storage/emulated/0/") would be this "drive", without any subfolders. "Linux treats everything like a file" is what you're seeing here, and sometimes it's hard to translate.

A directory listing of the /sdcard/ location (with the added zero-byte files) would look something like:

Alarms/
Android/
backups/
chatTemp/
DCIM/
Download/
Movies/
Pictures/
PodCasts/
Ringtones/
storage/
temp/
TWRP/
.removefaceunlock
.removesetupwizard

You can either create the files directly on your device with a text editor (Ted, from the Play Store, is nice), or create them on a PC under Windows or Linux and copy them over.

Does that help?
Yes. Thank you very much.

I think I have everything working except the Google Dialer at this point. I manually allowed some permissions it was requesting and it doesn't force close as soon as I open it anymore, but I still can't search places near me. Any ideas?
 
  • Like
Reactions: androcraze

androcraze

Senior Member
Jan 11, 2013
2,255
1,661
Yes. Thank you very much.

I think I have everything working except the Google Dialer at this point. I manually allowed some permissions it was requesting and it doesn't force close as soon as I open it anymore, but I still can't search places near me. Any ideas?

Did you reboot the phone after changing permissions? Dumb question, reboots seem to help after changing permissions sometimes.

I'd ask in that thread. I only install minimal. Nothing else. I have never used the Google Dialer.
 
Last edited:
  • Like
Reactions: nickvp

nickvp

Senior Member
Sep 19, 2012
62
5
Kalmazoo
Did you reboot the phone after changing permissions? Dumb question, reboots seem to help after changing permissions sometimes.

I'd ask in that thread. I only install minimal. Nothing else. I have never used the Google Dialer.

Yeah I tried reboot. You'd ask in which thread? I only install minimal as well, but google dialer is a nice upgrade. If you look at OP it says you need security patch for google dialer to work on 6.0. Not sure what he means by that exactly.
 

androcraze

Senior Member
Jan 11, 2013
2,255
1,661
Yeah I tried reboot. You'd ask in which thread? I only install minimal as well, but google dialer is a nice upgrade. If you look at OP it says you need security patch for google dialer to work on 6.0. Not sure what he means by that exactly.

The Delta GApps thread.

I'm guessing that the security patch is a ROM thing; your ROM developer needs to integrate the patch during build. Have you searched through your ROM's thread, or your device's XDA forum for "Google Dialer"?

GoogleDialer has been an issue since KitKat. More headache than it's worth.
 
Last edited:
  • Like
Reactions: nickvp

nickvp

Senior Member
Sep 19, 2012
62
5
Kalmazoo
The Delta GApps thread.

I'm guessing that the security patch is a ROM thing; your ROM developer needs to integrate the patch during build. Have you searched through your ROM's thread, or your device's XDA forum for "Google Dialer"?

GoogleDialer has been an issue with KitKat. More headache than it's worth.

Ahhh. Okay. That makes sense. Yeah I have never been able to flash google dialer on a rom/gapps package that doesn't come with it. I got excited when I saw the file in the OP. But yeah probably not worth the trouble haha. Thanks for all the help.
 
  • Like
Reactions: androcraze
Jul 19, 2014
2,586
1,890
Chicopee
Isn't the date in the thread title due for change?

Sent from my HM 1SW using Tapatalk

The date in the thread title is the last time this gapps package was updated; I think it's safe to say this project was abandoned. Although, as malwarebyte pointed out, the bloatware removal script is still useful even on 6.0 based roms, just some of the directory/apk names need to be updated; this is easily done with notepad++
 
  • Like
Reactions: mykimouse

Top Liked Posts

  • There are no posts matching your filters.
  • 764
    Of8mrBk.png


    FAQ

    What is Google Apps Minimal Edition and what makes it different from other GApps packages?
    Google Apps Minimal Edition for Android 5.0.x & 5.1 is a modified, slimmed down version of the Google Apps package. The goal of these packages is to provide the smallest GApps pack possible in addition to de-bloating your custom ROM (de-bloat script offered in Add-On section). The GApps Minimal Edition only includes the absolute essentials to make everything run properly. This includes the Google Play Store, Google Play Services, and Google Contact Sync along with the necessary frameworks and libraries.


    What's included in GApps Minimal Edition?
    GoogleBackupTransport.apk (Handles backup of settings)
    GoogleContactsSyncAdapter.apk (Google Contacts Sync)
    GoogleFeedback.apk (ForceClose reporting)
    GoogleLoginService.apk (Google login system)
    GoogleOneTimeInitializer.apk (?)
    GooglePartnerSetup.apk (In App purchases)
    GoogleServicesFramework.apk (Provides account / login information to Google Apps)
    Phonesky.apk (Google Play Store)
    PrebuiltGmsCore.apk (Google Play Services)
    SetupWizard.apk (Setup Wizard when you first use your phone)

    lipAppDataSearch.so (part of PrebuiltGmsCore.apk)
    libconscrypt_gmscore_jni.so (part of PrebuiltGmsCore.apk)
    libgames_rtmp_jni.so (part of PrebuiltGmsCore.apk)
    libgcastv2_base.so (part of PrebuiltGmsCore.apk)
    libgcastv2_support.so (part of PrebuiltGmsCore.apk)
    libjgcastservice.so (part of PrebuiltGmsCore.apk)
    libgmscore.so (part of PrebuiltGmsCore.apk)
    libgms-ocrclient.so (part of PrebuiltGmsCore.apk)
    libjgcastservice.so (part of PrebuiltGmsCore.apk)
    libNearbyApp.so (part of PrebuiltGmsCore.apk)
    libsslwrapper_jni (part of PrebuiltGmsCore.apk)
    libWhisper.so (part of PrebuiltGmsCore.apk)


    What does the bloatware removal script remove from my system?
    The bloatware removal script will remove the following:

    AudioFx.apk (AudioFX)
    Apollo.apk (CyanogenMod's Apollo Music Player) - use Google Play Music instead
    BasicDreams.apk (Customizable screensaver)
    Browser.apk (AOSP Browser) - use Google Chrome instead
    Calendar.apk (AOSP Calendar) - use Google Calendar instead
    Camera2.apk (AOSP Camera ) use Google Camera or CyanogenMod's Camera Next instead
    CellBroadcastReciever.apk (Cell Broadcast Reciever)
    CMFileManager.apk (CyanogenMod File Manager) - use Cabinet Beta instead
    CMHome.apk (Google Now Search Panel for Trebuchet) - use a better launcher
    CMWallpapers.apk (Wallpaper bloat)
    Dashclock.apk (Dashclock widget for lockscreen)
    DSPManager.apk (Sound Processor & Graphic Equalizer)
    Eleven.apk (CyanogenMod Music Player for Android 5.0 Lollipop) - use Google Play Music instead
    Email.apk (Email Sync for IMAP, POP3, Exchange accounts)
    Exchange2.apk (Part of Email.apk)
    Galaxy4.apk (Wallpaper bloat)
    HoloSpiralWallpaper.apk (Wallpaper bloat)
    LiveWallpapers.apk (Wallpaper bloat)
    MagicSmokeWallpapers.apk (Wallpaper bloat)
    Music.apk (AOSP Music Player) - use Google Play Music instead
    NoiseField.apk (Wallpaper bloat)
    PhaseBeam.apk (Wallpaper bloat)
    PhotoPhase.apk (Screensaver Bloat)
    Phototable.apk (Screensaver bloat)
    PicoTts.apk (AOSP Text-To-Speech) - use Google TTS instead
    VideoEditor.apk (MovieStudio)
    VisualizationWallpapers.apk (Wallpaper bloat)
    VoicePlus.apk (Google Voice and Hangouts integration)
    WhisperPush.apk (Secure Messaging Integration - Read more about it here)


    Installation:
    Step 1. Copy .zip to sdcard or internal storage
    Step 2. Boot into recovery
    Step 3. Flash .zip
    Step 4. Wipe dalvik & cache
    Step 5. Reboot system and enjoy the sweetness!

    Download GApps Minimal Edition:


    Download Add-Ons:


    Changelog:
    2015-04-04
    • Updated to Google Play Store v5.4.10
    • Corrected libs for 5.0.x Google App Add-On Package
    • Modified 73-google.sh for 5.0.x Google App Add On Package

    2015-03-29
    • Updated to Google Play Services v7.0.99 for armeabi-v7a CPU

    2015-03-24
    • Merged separate DPI specific .zips into one package for easy end-user flashing (GApps package will automatically detect and install the correct Google Play Services for your device. Credits to Deltadroid for the "install-optional.sh" script source.)
    • Added 5.1 GApps package (Credits to Deltadroid for the core base - Nexus 10 LMY47D Factory Image)
    • Added flashable Facelock .zip for Android 5.1 (view OP, Add-On section)
    • Added flashable Google App (Search) .zip for Android 5.1 (view OP, Add-On section)
    • Updated to Google Play Services v7.0.97 for armeabi-v7a CPU
    • Updated to Google Play Store v5.3.6 for armeabi-v7a CPU
    • Updated to Google App (Search) v4.3.10.88581490.arm
    • Updated FAQ
    • Modified updater-script for 5.0.x & 5.1 packages
    • Modified Bloatware Removal Script
    • Removed "libjni_latinime.so" from GApps packages (Use Google Keyboard instead)
    • Dropped support for x86-based devices

    2015-03-08
    • Added x86 GApps Package
    • Updated to Google Play Services v7.0.87 for armeabi-v7a CPU & x86 CPU
    • Updated to Google Play Store v5.3.5 for armeabi-v7a CPU & x86 CPU
    • Updated FAQ
    • Modified 70-gapps.sh
    • Added libNearbyApp.so (part of Google Play Services update)

    2015-03-01
    • Updated to Google App (Search) v4.2.16.8707579
    • Fixed "Unknown Issue with Google Play Services" due to corrupt PrebuiltGmsCore.apk's

    2015-02-22
    • Updated to Google Play Services v6.7.76 for arm-v7a CPU
    • Updated to Google Play Services v6.7.76 for 320 DPI arm64-v8a CPU
    • Updated to Google Play Services v6.7.74 for 480 DPI arm64-v8a CPU
    • Updated to Google Play Store v5.2.13 for arm64-v8a CPU
    • Updated to correct libs for arm64 packages
    • Updated Bloatware Removal Script to help eliminate potential conflicts within addon.d directory
    • Fixed lib issue (libjni_latinime.so) where gesture typing was not enabled when using AOSP Keyboard
    • Added Google App (Search) v4.1.29.1706998 for arm64 devices (see Add-On section)
    • Re-uploaded Google Play Services v6.6.03 for Universal DPI arm64-v8a CPU

    2015-02-16
    • Updated to Google Play Store v5.2.13 for armeabi-v7a CPU
    • Updated to Google Play services v6.7.74 for 240 DPI, armeabi-v7a CPU

    2015-02-12
    • Updated to Google Play services v6.7.74 for Universal, 320, & 480 DPI, armeabi-v7a CPU

    2015-02-08
    • Updated to Google Play Store v5.2.12 for armeabi-v7a CPU
    • Updated to Google App (Search) v4.1.29.1706998.arm

    2015-02-03
    • Updated to Google Play Services v6.6.03 for 240, 320 & 480 DPI, armeabi-v7a CPU
    • Added Google Play Services v6.6.03 Universal, 320, & 480 DPI, arm64-v8a CPU
    • Added Google App v4.1.24.1672412.arm as separate flashable .zip (view OP, Add-On section)
    • Added AOSP Calendar Sync as separate flashable .zip (view OP, Add-On section)
    • Added FaceLock as separate flashable .zip (view OP, Add-On section)
    • Added Bloatware Removal Script as separate flashable .zip (view OP, Add-On section)
    • Removed Minimal Plus Edition (in favor of Bloatware Removal Script)
    • Removed Minimal GS & GS Plus Edition (in favor of Google App flashable .zip)
    • Updated FAQ

    2015-01-23
    • Updated core to Android 5.0.2 LRX22G (Razor Factory Image)
    • Updated to Google Play Services 6.6.03 1681564-430
    • Added GS & GS Plus Edition (See OP for details)
    • Updated to Google (Search) 4.1.24.1672412.arm for GS & GS Plus Packages
    • Added libcronet.so (part of Google (Search) update) to GS & GS Plus Packages
    • Removed Minimal X Edition
    • Removed com.google.android.dialer.support.xml (Permission no longer needed)
    • Removed com.google.android.dialer.support.jar (Framework no longer needed)
    • Renamed Minimal X+ Edition to Minimal Plus Edition
    • Fixed issue with Plus Edition packages not removing certain system apps
    • Added CyanogenMod Music Player (Eleven.apk) to removal list for Plus editions
    • Added AudioFX (AudioFx.apk) to removal list for Plus editions
    • Updated updater-script
    • Updated 70-gapps.sh
    • Updated FAQ

    2014-12-18
    • Updated to Google Play Services v6.5.99 for Universal & 320 DPI
    • Added Minimal X+ Edition (Read OP)
    • Removed Google Search from all packages
    • Updated FAQ

    2014-12-14
    • Updated Core to Android 5.0.1 LRX22C (Razor Factory Image)
    • Added Google Play Services -430 (Universal DPI)
    • Added Google Play Services -434 (240 DPI)
    • Updated to Google Play Services v6.5.99 for 480 & 240 DPI
    • Updated to Google Play Services v6.5.87 for 320 & Universal DPI
    • Updated to Google Play Store v5.1.11
    • Added Google Search v4.0.29.1615250.arm to all packages (Fixes "-505" error)
    • Added libsslwrapper_jni.so to all packages (part of GPS v6.5.xx update)
    • Modified updater-script
    • Modified 70-gapps.sh
    • Updated FAQ
    2014-11-17
    • Initial Release


    Credits:
    Google for the apps
    CyanogenMod for the original GApps package
    Deltadroid for the updated sources and modified install-optional.sh script
    TKruzze for the updated GPS sources
    BaNkS for the original minimal GApps packages and updated sources for 5.0.x
    Fred6681 for helping me identify certain libs & apk's
    androcraze for testing and providing feedback on earlier Android 5.0 GApps builds
    36
    UPDATES 2015-03-24
    • Merged separate DPI specific .zips into one package for easy end-user flashing (GApps package will automatically detect and install the correct Google Play Services for your device. Credits to Deltadroid for the "install-optional.sh" script source.)
    • Added 5.1 GApps package (Credits to Deltadroid for the core base - Nexus 10 LMY47D Factory Image)
    • Added flashable Facelock .zip for Android 5.1 (view OP, Add-On section)
    • Added flashable Google App (Search) .zip for Android 5.1 (view OP, Add-On section)
    • Updated to Google Play Services v7.0.97 for armeabi-v7a CPU
    • Updated to Google Play Store v5.3.6 for armeabi-v7a CPU
    • Updated to Google App (Search) v4.3.10.88581490.arm
    • Updated FAQ
    • Modified updater-script for 5.0.x & 5.1 packages
    • Modified Bloatware Removal Script
    • Removed "libjni_latinime.so" from GApps packages (Use Google Keyboard instead)
    • Dropped support for x86-based devices

    NOTE: x64 users, I haven't given up! Still working on a proper fix, hang tight!
    26
    UPDATES 2015-04-04
    • Updated to Google Play Store v5.4.10
    • Corrected libs for 5.0.x Google App Add-On Package
    • Modified 73-google.sh for 5.0.x Google App Add On Package
    21
    Now that the dust has settled, updates will be rolling out throughout this week. GApps packages for x86 and the long awaited arm64 devices will be added as well. Note that this week's update will be the last for 5.0.x.

    In addition, after much user feedback, "libjni_latinimegoogle.so" will be added back to all core GApps packages to enable native gesture swiping for those of you who use the AOSP Keyboard.
    21
    UPDATES 2015-03-29
    • Updated to Google Play Services v7.0.99 for armeabi-v7a CPU

    Special thanks go out to @androcraze, @Primokorn, and @jr67 for helping out and replying to user queries regarding recent GApps updates.

    NOTE TO USERS: If you own an arm64 device and would like to test out a WIP GApps build, please PM me.