yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Deltadroid:
Play Services, Gmail

Because of this change to the Marshmallow framework, the extracted libraries in the working directory of Google Play Services from the Marshmallow Base Gapps package have been removed because they are no longer used. These libraries are now dynamically loaded from within the Google Play Services apk file. This also saves approximately 7 MB of disk space on the system partition.

Marshmallow Base Gapps package for 6.0.1: gapps-601-base-20160219-1-signed.zip

Google Gmail has been updated to version 5.11.115007468.release-58120011 for kitkat, lollipop, and marshmallow.

Google Gmail addon for 4.4.4: gapps-kk-google-gmail-20160219-1-signed.zip (replaces stock email client)

Google Gmail addon for 5.0.2+: gapps-lpmm-google-gmail-20160219-1-signed.zip (replaces stock email client)
[Android Software Development] Deltadroid:
Webview

I have updated the Google Webview addon so that the libraries are only extracted when the addon installed on Lollipop. This saves ~31MB on the system partition when installing the Google Webview addon on Marshmallow.

Google Webview addon for 5.0.2+: gapps-lpmm-google-webview-20160210-2-signed.zip (replaces stock webview)

This is an example of how the addons will determine if the libraries should be installed

#!/sbin/sh

if grep ro.build.version.release /system/build.prop | grep -qE '5.0.|5.1.'; then
echo lp
mkdir -p /system/app/GoogleWebview/lib/arm
cp -a /tmp/apklib/* /system/app/GoogleWebview/lib/arm/
else
echo mm
sed -i '/GoogleWebview\/lib/ d' /system/addon.d/94-gapps-webview.sh
fi
rm -rf /tmp/apklib

Note: I have been testing the lpmm addons to see which ones still require extracted libraries. It appears that Google Chrome still requires a working directory with extracted Google Chrome libraries on Marshmallow. There appears to still be some applications that require extracted libraries with Marshmallow. We need to test all of the lpmm addons on Marshmallow individually and determine which gapps work and which gapps don't work when the extracted libraries are removed from the installation package

Edit: This version of webview is causing problems with Google play. I need to fix the libraries because they are still compressed.

Edit2: Pre extracted libraries are not needed for any of the marshmallow addons as long as the libraries are decompressed within the apk files.
[Android Software Development] Deltadroid:
The latest version of marshmallow base gapps may have problems because the libs are compressed. I will look into that.
[Android Software Development] !GreddyZC76:
thanks your for your updates.

i"d just updatrd to cm13 by andi-android and flashed your recommend mm-601- gapp by him .

upon reboot,. it give several FC error , wizard setup stopp...

anyways advise to fix?
[Android Software Development] Deltadroid:
Please use the previous version here and I will fix the marshmallow base package this evening.

https://www.androidfilehost.com/?fid=24411628330025103
[Android Software Development] Deltadroid:
I have restored the previously working links for the last versions of Marshmallow base gapps and webview until I can fix them this evening. The problem is that the libraries need to be decompressed with the apk files for them to work properly. Sorry about that.
[Android Software Development] Deltadroid:
Marshmallow Base Gapps, Webview

I have fixed the issues with the recent changes to Marshmallow Base Gapps and Webview. The problem was that I had to decompress the libraries within the apk files.

Marshmallow Base Gapps package for 6.0.1: gapps-601-base-20160220-1-signed.zip

Google Webview addon for 5.0.2+: gapps-lpmm-google-webview-20160210-3-signed.zip (replaces stock webview)
[Android Software Development] Deltadroid:
I have fixed the problem with yesterday's update to the Marshmallow Base Gapps package. If you would like to test the latest version, please let us know if it has fixed the FC. Thanks.
[Android Software Development] vjtigas:
Please update WebView beta too, thank you!
[Android Software Development] gotandroid73:
No issues. Worked like a charm. Thanks for all the hard work.
[Android Software Development] Deltadroid:
Chrome, Webview Beta

Google Chrome and Webview Beta addons have been updated to support new marshmallow method of loading libraries within apk files. This saves some disk space on the system partition when installing this addon on Marshmallow.

Google Chrome addon for 5.0.2+: gapps-lpmm-google-chrome-20160128-2-signed.zip (replaces stock web browser)

Google Webview Beta addon for 5.0.2+: gapps-lpmm-google-webviewbeta-20160211-2-signed.zip (replaces stock webview)
[Android Software Development] Deltadroid:
Webview Beta

Google Webview Beta has been updated to version 49.0.2623.55-262305500 for lollipop and marshmallow.

Google Webview Beta addon for 5.0.2+: gapps-lpmm-google-webviewbeta-20160221-1-signed.zip (replaces stock webview)
[Android Software Development] Deltadroid:
Text to Speech

Google Text to Speech has been updated to support marshmallow method of loading libraries inside apk files. This saves about 12MB on the system partition when installing this addon on Marshmallow.

Google Text to Speech addon for 5.0.2+: gapps-lpmm-google-tts-20160217-2-signed.zip (replaces stock text to speech)
[Android Software Development] Deltadroid:
I plan on fixing all of the lpmm addons to detect the version of android (lollipop/marshmallow+) and only install extracted libraries on Lollipop in order to save disk space and utilize the new Marshmallow method of dynamically loading libraries from within the apk files. It might take me a few days to fix all of the addons.
[Android Software Development] vurtomatic:
Thank you, and I might as well wait for that before another attempt at upgrading to AICP MM.
[Android Software Development] eng4r:
can you please pack face lock for cm11 in a single flashable zip ??

face lock works with my device , but it wont get flashed

:(
[Android Software Development] Deltadroid:
Create the file "/sdcard/.forcefaceunlock" and then flash the latest gapps base package. This switch will force facelock to be installed when flashing the base gapps package. The following command will create the file from a terminal:

touch /sdcard/.forcefaceunlock
[Android Software Development] Deltadroid:
Webview, Webview Beta

I have updated the installation packages for Webview and Webview Beta to help reduce the installation size on lollipop. The apk files are packaged into the installer with decompressed libraries within the apk file to support Marshmallow. If the target device is detected to be Lollipop, the libraries will now be dynamically extracted from within the apk file and the libraries inside the apk file will be removed then zipaligned. This will make the package sizes and installation sizes optimal for both Marshmallow and Lollipop. Now that I have fixed all the installation issues with the libraries on lollipop and marshmallow, I will make all the other lpmm addons the same way. These changes should now save about 30MB of space on the system partition when installing to Lollipop.

Google Webview addon for 5.0.2+: gapps-lpmm-google-webview-20160210-4-signed.zip (replaces stock webview)

Google Webview Beta addon for 5.0.2+: gapps-lpmm-google-webviewbeta-20160221-2-signed.zip (replaces stock webview)

Here is an example of the changes:

--- gapps-lpmm-google-webview-20160210-3-signed/scripts/install-optional.sh	2008-02-29 03:33:46.000000000 +0100
+++ gapps-lpmm-google-webview-20160210-4-signed/scripts/install-optional.sh	2008-02-29 03:33:46.000000000 +0100
@@ -1,12 +1,24 @@
#!/sbin/sh

+APKFILE="GoogleWebview.apk"
+
if grep ro.build.version.release /system/build.prop | grep -qE '5.0.|5.1.'; then
echo lp
- mkdir -p /system/app/GoogleWebview/lib/arm
- cp -a /tmp/apklib/* /system/app/GoogleWebview/lib/arm/
+ cd /tmp/apkbin/app/GoogleWebview
+ mv "$APKFILE" temp.zip
+ unzip -o temp.zip lib/* -d ./
+ mv temp.zip "$APKFILE"
+ mkdir -p ./lib/arm
+ mv ./lib/armeabi-v7a/* ./lib/arm/
+ rmdir ./lib/armeabi-v7a
+ /tmp/zip "$APKFILE" -d ./lib/armeabi-v7a/*
+ /tmp/zipalign -f 4 "$APKFILE" aligned.apk
+ mv aligned.apk "$APKFILE"
+ cp -a /tmp/apkbin/* /system/
else
echo mm
+ cp -a /tmp/apkbin/* /system/
sed -i '/GoogleWebview\/lib/ d' /system/addon.d/94-gapps-webview.sh
fi
-rm -rf /tmp/apklib
+rm -rf /tmp/apkbin

P.S. I could use some feedback for installing these packages on Lollipop, if everything works ok. Thanks.
[Android Software Development] Deltadroid:
Chrome, Text to Speech

Google Chrome and Text to Speech have also been updated to support optimal installation sizes for both Lollipop and Marshmallow.

Note: I could use feedback on installing these packages on Lollipop. Thanks. Theses changes should save about 13MB on the system partition when installing the Google TTS addon on Lollipop.

Google Chrome addon for 5.0.2+: gapps-lpmm-google-chrome-20160128-3-signed.zip (replaces stock web browser)

Google Text to Speech addon for 5.0.2+: gapps-lpmm-google-tts-20160217-3-signed.zip (replaces stock text to speech)
[Android Software Development] Deltadroid:
Search

Google Search addon has been updated to support Marshmallow's new method of loading libraries from within the apk file. Also, this updated Google Search addon will now use optimal apk installation sizes for Lollipop and Marshmallow. Approximately 10MB of disk space on the system partition will now be saved on both Lollipop and Marshmallow when installing this new version.

Google Search addon for 5.0.2+: gapps-lpmm-google-search-20160219-2-signed.zip (replaces stock quicksearchbox)
[Android Software Development] vjtigas:
Search Beta? Though I saw there are different APKs for DPIs... Thank you!
[Android Software Development] LeftyGR:
Before I install, what feedback u lookin for? Usability after install, or you need more specific info?
[Android Software Development] Deltadroid:
Just if it is working with lollipop without any fc. I've only had a chance to test on marshmallow. You should also notice the apk will be smaller when installed on lp.
[Android Software Development] Deltadroid:
I am testing right now to combine all of the standard and additional add-ons with kitkat too. This should make maintenance easier with only one package to upload. The naming convention will be *-kklpmm-*.zip.
[Android Software Development] LeftyGR:
Both Chrome and tts pkgs work on LP 5.1.1 for me.

But there is no difference in storage use by either app.

Before:

After:
[Android Software Development] Deltadroid:
The size of the apk is less because the libraries have been removed from within it. The libraries get extracted to lib/arm instead.

With marshmallow, the size of the apk is much larger because it contains decompressed libs.

Thanks for testing. I'm glad it's working because now I'm going to add support for kitkat also. This will mean that we won't need all these different separate version add-ons and it take up less disk space also storing the files.
[Android Software Development] Deltadroid:
Search, Gmail

The Google Search addon has been updated to support Kitkat, Lollipop, and Marshmallow. There will now be only one Google Search addon to support all versions of Android 4.4.4+.

Google Search addon for 4.4.4+: gapps-kklpmm-google-search-20160219-3-signed.zip (replaces stock quicksearchbox)

Google Gmail has been updated to version 5.11.115209765.release-58120013 for kitkat, lollipop, and marshmallow. There will now be only one Google Gmail addon to support all versions of Android 4.4.4+

Google Gmail addon for 4.4.4+: gapps-kklpmm-google-gmail-20160221-1-signed.zip (replaces stock email client)

Example of added kitkat support:

#!/sbin/sh

APKFILE="Velvet.apk"
+APKPATH="/tmp/apkbin/priv-app/Velvet"

LCD=$(grep ro.sf.lcd_density /system/build.prop | cut -d "=" -f 2);

if [ ! "$LCD" == 160 ] && [ ! "$LCD" == 240 ] && [ ! "$LCD" == 320 ]; then
echo "Installing default."
- if grep ro.build.version.release /system/build.prop | grep -qE '5.0.|5.1.'; then
+ if grep ro.build.version.release /system/build.prop | grep 4.4.; then
+ echo kk
+ cd "$APKPATH"
+ unzip -o "$APKFILE" lib/* -d ./
+ mkdir /tmp/apkbin/lib
+ mv ./lib/armeabi-v7a/* /tmp/apkbin/lib/
+ rmdir ./lib/armeabi-v7a
+ rmdir ./lib
+ /tmp/zip "$APKFILE" -d ./lib/armeabi-v7a/*
+ /tmp/zipalign -f 4 "$APKFILE" aligned.apk
+ mv aligned.apk "$APKFILE"
+ cp -a /tmp/addon/kk/* /system/
+ cp -a "$APKPATH"/* /system/priv-app/
+ cp -a /tmp/apkbin/lib/* /system/lib/
+ elif grep ro.build.version.release /system/build.prop | grep -qE '5.0.|5.1.'; then
echo lp
- cd /tmp/search
- mv "$APKFILE" temp.zip
- unzip -o temp.zip lib/* -d ./
- mv temp.zip "$APKFILE"
+ cd "$APKPATH"
+ unzip -o "$APKFILE" lib/* -d ./
mkdir -p ./lib/arm
mv ./lib/armeabi-v7a/* ./lib/arm/
rmdir ./lib/armeabi-v7a
/tmp/zip "$APKFILE" -d ./lib/armeabi-v7a/*
/tmp/zipalign -f 4 "$APKFILE" aligned.apk
mv aligned.apk "$APKFILE"
- mkdir -p /system/priv-app/Velvet
- cp -a /tmp/search/* /system/priv-app/Velvet/
- rm -rf /tmp/search/lib
+ cp -a /tmp/addon/lp/* /system/
+ cp -a /tmp/apkbin/* /system/
else
echo mm
- mkdir -p /system/priv-app/Velvet
- cp -a /tmp/search/* /system/priv-app/Velvet/
+ cp -a /tmp/addon/lp/* /system/
+ cp -a /tmp/apkbin/* /system/
sed -i '/Velvet\/lib/ d' /system/addon.d/90-gapps-search.sh
fi
fi
-rm -f /tmp/search/Velvet.apk
+rm -f "$APKPATH"/"$APKFILE"
[Android Software Development] Deltadroid:
Hangouts

Google Hangouts has been updated to support Marshmallow's new method of loading libraries from within the apk files. Additionally, the installation now supports optimal apk file sizes on Lollipop and Marshmallow so that no extra disk space is wasted on the system partition.

Google Hangouts addon for 5.0.2+: gapps-lpmm-google-hangouts-20160211-2-signed.zip
[Android Software Development] BadGuy:
Good Work Man Nice ;)
[Android Software Development] vjtigas:
Why didn't you create the zip flashable for KK though? Just wondering.
[Android Software Development] daniu:
Hi

Strange thing: I can't use the gapps for mm any more. Tried the 10/2 and 20/2 versions. Both give me never ending notifications ...

My ROM is cm13 for i9100 - galaxy s2

Forgot to mention: I tried deleting cache/data of playstore and gps but it did not change anything. For the later build I also tried deleting the cache in recovery ...

Regards

Sent from my x-phone using brain 2.0
[Android Software Development] Ultramanoid:
Working perfectly and saving space on the roms / devices I use with 5.1.1, great job, thank you.
[Android Software Development] Deltadroid:
I don't want to make it so that the add-ons can conflict with each other, even though they support multiple versions of Android. We can't install the hangouts add-on to the system partition in kitkat because some of the hangout libraries would overwrite the libraries of some other add-ons. Although, I will check and make sure this is still an issue.

Edit:

There are conflicts still between Google Hangouts libraries and Google Search libraries (ie; libcronet.so). So, I choose Google Search for kitkat to support voice input. This problem does not exist on lollipop and higher.
[Android Software Development] dingermtb:
I have a couple questions. First of all I would like to thank you for your dedication and very hard work as this is my favorite gapps packages. Now, what I do to make it easier for me when switching roms etc is I download the base package and I download the add ons and place in the base package to make myself one flashable zip. So my question is, with the new optimized apps am I still able to do this or are the library files somehow installed a different way or can I still just extract the addon and place into the base package. And my other question is for add-ons such as Google search and Google Maps that have the multiple dpi folders for the app which one would I use for 3:20 dpi. Normally what I do for add ons like that is I'll just flash the add-on reboot then copy from my system over into my base package but I think it would be easier just to place it in like I do the other addons I just not sure which one would be 3:20 dpi. And again I only do this for my own personal use to make it easier for me and again I would like to thank you so much for your dedication and very very hard work.

Sent from outside the 9 using my Exodus SGS3
[Android Software Development] Deltadroid:
The apk files in the add-ons will now be packaged with the libraries decompressed inside the apk to default to marshmallow support. If kitkat or lollipop is detected, the libraries are dynamically extracted and removed from the apk files to optimize the apk file size.

Edit: [MENTION=2921997]dingermtb[/MENTION] In the "optional" directory, 0=nodpi, 1=160dpi, 2=240dpi, 3=320dpi, 4=480dpi
[Android Software Development] daniu:
Hi,

don't want to be impatient, just want to avoid being understood as some i*** who did not repartition: I had been using this gapps on MM on the same device before but now I keep getting the error message "unfortunately setup wizard has stopped" cannot even get to the home screen.

Since I just use gapps to update my apps once in a while it would be enough if I were able to get rid of these notifications for a minute or so, so that I can start titanium backup. playstore updated almost all apps already so just the backup is missing now.

regards
[Android Software Development] Deltadroid:
This is a problem with a strict permission policy of some mm ROMs. The problem can be avoided by not using Google's setupwizard with the /sdcard/.removesetupwizard switch when installing the base gapps package.
[Android Software Development] boroboy69r:
i have a question. is it possible to use your modular zips take out the 32bit apks and put the 64bit apks in place of them, or am i missing something. i do have these flashed on my m9 with cm13 and all seems ok.

i have tried opengapps but thats not my cup of tea, i like the way you have it set up here, the very basics as base then add what you want with the stock (baked in) equivalent apps removed.
[Android Software Development] Deltadroid:
Yes. In order to make a 64bit package, only the apk and libraries need to be switched out for their 64bit version.
[Android Software Development] boroboy69r:
thanks for your help.

If i set this up right with your permission and if i can get the time im looking to set up a thread just like this but aimed at mm 64bit devices because i have googled my self to death and cant find anything like this any where.
[Android Software Development] Deltadroid:
Cloud Print, Keyboard, Maps, News & Weather, Search, Text to Speech

The Google Cloud Print, News & Weather, and Text to Speech addons each now support installing on Kitkat, Lollipop, and Marshmallow with one universal installation package.

Google Cloud Print addon for 4.4.4+: gapps-kklpmm-google-cloudprint-20151210-2-signed.zip

Google News & Weather addon for 4.4.4+: gapps-kklpmm-google-news-20151013-2-signed.zip

Google Text to Speech addon for 4.4.4+: gapps-kklpmm-google-tts-20160217-4-signed.zip (replaces stock text to speech)

Google Keyboard has been updated to version 4.1.23163.2622203-23163 for kitkat, lollipop, and marshmallow.

Google Keyboard addon now supports the new Marshmallow method of loading libraries within the apk files. Additionally, Google Keyboard now supports installing on Kitkat, Lollipop, and Marshmallow.

Google Keyboard addon for 4.4.4+: gapps-kklpmm-google-keyboard-20160224-1-signed.zip (replaces stock keyboard)

Google Maps addon now supports the new Marshmallow method of loading libraries within the apk files. Additionally, Google Maps now supports installing on Kitkat, Lollipop, and Marshmallow.

Google Maps addon for 4.4.4+: gapps-kklpmm-google-maps-20160213-2-signed.zip

Google Search has been updated to version 5.9.33.19.arm-300601416 for kitkat, lollipop, and marshmallow.

Google Search addon for 4.4.4+: gapps-kklpmm-google-search-20160224-1-signed.zip (replaces stock quicksearchbox)
[Android Software Development] dingermtb:
Thank you very much. And again thank you for all your hard work this is by far the best gaps set up here.

Sent from outside the 9 using my Exodus SGS3
[Android Software Development] daniu:
Hi

Thanks you so much - that helped!

Still getting gps fc notifications though (and I had tried deleting data/account of gps/playstore). For me that is not a big problem since I am going to install a new ROM without gapps soon and I could update my apps now but generally ...

Regards

Sent from my x-phone using brain 2.0
[Android Software Development] androcraze:
http://xdaforums.com/showpost.php?p=63226314&postcount=1108
[Android Software Development] barabasb:
gapps 32 bit/64 bit question

Hi guys,

Briefly, my question is the following: can I install 32 bit gapps package on a 64 bit phone? If it is highly not recommended, where can I find 64 bit gapps for Android 4.4?

The details: I bought a Xiaomi Redmi 2 Pro phone. As far as I read in the specs it has a Snapdragon 410 chip working on 64 bit. It also has a Miui OS (based on Kitkat Android), which I do not like at all. I want to replace it with Cyanogenmod 11 but the description of this thread says "All of these packages are for 32bit devices only". So, what could go wrong if I use the package on my 64 bit device? Can I find somewhere 64 bit gapps for Kitkat? I would install Cyanogenmod only if I do not risk too much.

thank you all.

BB
[Android Software Development] boroboy69r:
you can but may find a few problems like i have finally found out, i.e google dialer would soft reboot my phone when trying to make a call.

im in the middle of setting up some 64 bit gapps but they are for cm13/mm, your best bet at the moment is use opengapps arm64 pico which is basicly bear min to get google play store then download the apps you want, but you will have in some cases two apps that do the same thing.

[MENTION=5227588]Deltadroid[/MENTION] what do you use to sign the zips.
[Android Software Development] barabasb:
Then I will probably wait for your package, I am in no hurry. As for opengapps, it does have arm64 but not for android 4.4. Should I install CM 12? I would prefer a stable system rather than the latest one.
[Android Software Development] boroboy69r:
i would give cm12 a try (should be stable enough for a daily), the package(s) im setting up at the moment is for cm13/mm aosp (6.x.x) roms and may not work on cm12.1 and below.
[Android Software Development] barabasb:
Yeah I see now, sorry. And thanks.

---------- Post added at 11:20 AM ---------- Previous post was at 11:06 AM ----------

One more thing: it makes no difference if the CM package is developed for 32 or 64 bit devices? Should I install opengapps ARM64 either way?
[Android Software Development] boroboy69r:
this is what package you will neede for cm12 http://opengapps.org/ then in the selection boxes platform ARM64, Android 4.4, Variant pico, if your device operates on a 64 bit os ,then the cm team will have cooked the cm12 rom for your device in a 64 bit os :D.
[Android Software Development] barabasb:
Hmm, I did not see specified in the CM 12 cooking if it is for 32/64 bit...
[Android Software Development] Deltadroid:
[MENTION=4207265]boroboy69r[/MENTION]

java -jar signapk.jar -w testkey.x509.pem testkey.pk8 GApps.zip GApps-signed.zip
[Android Software Development] boroboy69r:
i would say it was a 64 bit os, but i have just been in the [ROM][Redmi 2][26/09] CyanogenMod 12.1 and they are directing you to here so i would use deltas gapps for that rom.

[MENTION=5227588]Deltadroid[/MENTION], in drive, messenger, potos and games there is more than one apk in seperate folders. i take it these are seperated by their DPI, should i just replace them all or just one, but if just the one which on do i change.
[Android Software Development] Deltadroid:
They are separated by dpi. The 0 folder is always nodpi. If you look at updater-script, you can see that each directory is extracted separately and then the script is called after that. Inside that script, it says the dpi.

Although, if you want to support mm for 64bit, you will need to repackage all the apk files that contain libraries by extracting and reinserting the libraries back into the apk decompressed (using STOR compression). Also, there is no need to include libraries in the installer that are pre extracted if only mm is supported.