yashsingh1/xdaforums huggingface dataset:
[Android Software Development] galen2:
I just installed last build of cm12.1 for my device and i cant setup ok google, say disable for my language, but my language (spanish-spain) have ok google activated time ago. Deltadroid could u test changing voice to spanish-spain to see if u can configure ok google on your system?

Is google search the app that have to manage this? can i test with older search app if work?

EDITED: if i set language to english its works but its disabled on all others languages i have set that i know support ok google.

EDITED2: just tested last Opengapps version an same, english work but no other language can activate ok google.

EDITED3: I come back to old cm12.1 build and still no work, downgrade search to version 4.8.12.19 (first old i tested) and works, updated via play store to last 5.1.17.19 and still works.

Tested to come back from 5.1.17.19 updated from play store to 4.8.12.19 do nothing, old version is not flashed and 5.1.17.19 remains but it work before when last search was flashed directly.

EDITED4: Full wipe, i flashed last cm12.1 build + gapps, this time 4.8.12.19 from begining, and u know? i didnt work, flashed last search and didnt work too, im getting crazy:confused: will test more.

EDITED5: Full wipe again, i flashed last 12.1 build + gapps (with last search) and didnt work, flashed 4.8.12.19 and didnt work, updated to last search via play store and works.

EDITED6: just another test. I do again full wipe + last cm build + gapps (with old search) and didnt work, updated via play store and works, but if i update flahsing last search by .zip didnt work.

EDITED6: SOLVED. a few hours testing, 5 full wipes... and solution is to clear cache/data of google search after first boot. Im stupid LOL
[Android Software Development] LeftyGR:
When all else fails, Google it!

https://sayokgoogle.wordpress.com
[Android Software Development] galen2:
I googled and see that procedure but why i have to modify anything? spanish-spain its supported and its works with some types of installations and no work with others.
[Android Software Development] Deltadroid:
If you install all the add-ons you want before booting to the system on a clean install, it should always work.

The problem was that you booted into the system before installing Google search for the first time. Once Google search is installed and working before first boot, it can be updated any time without having to clean the cache/data.
[Android Software Development] galen2:
No, i booted first time with gapps installed and always clean install. I always flash rom+gapps and then boot. Must be some problem with localization and cm 12.1. Only cleaning cache after first boot "ok google" is activated. Seems first time data is created something go bad. On english works but if u want ok google on other some lenguage u have to clear data.
[Android Software Development] Deltadroid:
Yes. Once you booted without having Google search replace the stock quicksearchbox, the stock quicksearchbox created data and cache that conflicts with Google search.

If you replaced quicksearchbox with Google search before booting the first time, there would never be a conflict with data/cache from the stock app and updating will always work from then on.
[Android Software Development] galen2:
Deltadroid, read me, i always did a clean install, that means full wipe, and always flash gapps after rom without boot system, i always booted first time with google search, and i only get it working fine on other language than english if clear data after first boot. U can test it, do a full wipe, set voice language to spanish and u will see that option is greyed, then clear data and u will see how now works. For some reason, first time that google search create data something go bad, i dont know if its a cm12.1 problem or localization problem or what.
[Android Software Development] Deltadroid:
Ok, I understand. I have the same problem with other languages other than English. It seems that I have to do a search in English first before the other languages are activated.
[Android Software Development] galen2:
Well, with this experience and having solved it, we can help other no english user with same problem on future ;)

Thanks for your answers.
[Android Software Development] Deltadroid:
Thanks for mentioning this.

I have done a factory reset and noticed that all the options to set other languages as primary and secondary in Google Search are missing until I perform one voice search in English. Afterwards, all the options become available to set other languages as primary and secondary voice search languages.

This is a bug in Google search, although, at least we can work around it.
[Android Software Development] MauroRTR:
Messenger 1.4.050 (2168773-34)-14050134 (240 DPI)
[Android Software Development] Deltadroid:
Messenger

Google Messenger has been updated to version 1.4.050_(2168773-3x)-1405013x (Multi DPI). The following DPI versions are included:

1.4.050_(2168773-30)-14050130 (All DPI) **Default**

1.4.050_(2168773-34)-14050134 (240 DPI) Thanks [MENTION=4951426]MauroRTR[/MENTION]

1.4.050_(2168773-36)-14050136 (320 DPI)

1.4.050_(2168773-38)-14050138 (480 DPI)

1.4.050_(2168773-39)-14050139 (640 DPI)

Google Messenger addon for 4.4.4: gapps-kk-google-messenger-20150817-1-signed.zip (replaces stock sms/mms application)

Google Messenger addon for 5.0.2+: gapps-lp-google-messenger-20150817-1-signed.zip (replaces stock sms/mms application)

Binary files gapps-kk-google-messenger-20150807-1-signed/optional/messenger/0/GoogleMessenger.apk and gapps-kk-google-messenger-20150817-1-signed/optional/messenger/0/GoogleMessenger.apk differ
Binary files gapps-kk-google-messenger-20150807-1-signed/optional/messenger/4/GoogleMessenger.apk and gapps-kk-google-messenger-20150817-1-signed/optional/messenger/4/GoogleMessenger.apk differ
Binary files gapps-kk-google-messenger-20150807-1-signed/optional/messenger/6/GoogleMessenger.apk and gapps-kk-google-messenger-20150817-1-signed/optional/messenger/6/GoogleMessenger.apk differ
Binary files gapps-kk-google-messenger-20150807-1-signed/optional/messenger/8/GoogleMessenger.apk and gapps-kk-google-messenger-20150817-1-signed/optional/messenger/8/GoogleMessenger.apk differ
Binary files gapps-kk-google-messenger-20150807-1-signed/optional/messenger/9/GoogleMessenger.apk and gapps-kk-google-messenger-20150817-1-signed/optional/messenger/9/GoogleMessenger.apk differ

Binary files gapps-lp-google-messenger-20150807-1-signed/optional/messenger/0/GoogleMessenger.apk and gapps-lp-google-messenger-20150817-1-signed/optional/messenger/0/GoogleMessenger.apk differ
Binary files gapps-lp-google-messenger-20150807-1-signed/optional/messenger/4/GoogleMessenger.apk and gapps-lp-google-messenger-20150817-1-signed/optional/messenger/4/GoogleMessenger.apk differ
Binary files gapps-lp-google-messenger-20150807-1-signed/optional/messenger/6/GoogleMessenger.apk and gapps-lp-google-messenger-20150817-1-signed/optional/messenger/6/GoogleMessenger.apk differ
Binary files gapps-lp-google-messenger-20150807-1-signed/optional/messenger/8/GoogleMessenger.apk and gapps-lp-google-messenger-20150817-1-signed/optional/messenger/8/GoogleMessenger.apk differ
Binary files gapps-lp-google-messenger-20150807-1-signed/optional/messenger/9/GoogleMessenger.apk and gapps-lp-google-messenger-20150817-1-signed/optional/messenger/9/GoogleMessenger.apk differ
[Android Software Development] MauroRTR:
Google Photos 1.3.0.100949119-65562 (240 DPI)
[Android Software Development] MauroRTR:
Google Photos 1.3.0.101074912-66246 (240 DPI)
[Android Software Development] aamadorj:
Updated Chrome Beta

Updated Chrome Beta is here. Thanks in advance, [MENTION=5227588]Deltadroid[/MENTION].
[Android Software Development] MauroRTR:
Maps 9.13.0-913011122 (240 DPI)
[Android Software Development] Deltadroid:
Play Books, Play Games

Google Play Books has been updated to version 3.6.9-30609

Google Play Books addon for 4.4.4: gapps-kk-google-books-20150824-1-signed.zip

Google Play Books addon for 5.0.2+: gapps-lp-google-books-20150824-1-signed.zip

Binary files gapps-kk-google-books-20150818-1-signed/system/app/GoogleBooks.apk and gapps-kk-google-books-20150824-1-signed/system/app/GoogleBooks.apk differ

Binary files gapps-lp-google-books-20150818-1-signed/system/app/GoogleBooks/GoogleBooks.apk and gapps-lp-google-books-20150824-1-signed/system/app/GoogleBooks/GoogleBooks.apk differ

Google Play Games has been updated to version 3.2.21_(2197783-03x)-3221003x (Multi DPI). The following DPI versions are included:

3.2.21_(2197783-030)-32210030 (All DPI) **Default**

3.2.21_(2197783-032)-32210032 (160 DPI)

3.2.21_(2197783-034)-32210034 (240 DPI)

3.2.21_(2197783-036)-32210036 (320 DPI)

3.2.21_(2197783-038)-32210038 (480 DPI)

Google Play Games addon for 4.4.4: gapps-kk-google-games-20150824-1-signed.zip

Google Play Games addon for 5.0.2+: gapps-lp-google-games-20150824-1-signed.zip

Binary files gapps-kk-google-games-20150820-1-signed/optional/games/0/PlayGames.apk and gapps-kk-google-games-20150824-1-signed/optional/games/0/PlayGames.apk differ
Binary files gapps-kk-google-games-20150820-1-signed/optional/games/2/PlayGames.apk and gapps-kk-google-games-20150824-1-signed/optional/games/2/PlayGames.apk differ
Binary files gapps-kk-google-games-20150820-1-signed/optional/games/4/PlayGames.apk and gapps-kk-google-games-20150824-1-signed/optional/games/4/PlayGames.apk differ
Binary files gapps-kk-google-games-20150820-1-signed/optional/games/6/PlayGames.apk and gapps-kk-google-games-20150824-1-signed/optional/games/6/PlayGames.apk differ
Binary files gapps-kk-google-games-20150820-1-signed/optional/games/8/PlayGames.apk and gapps-kk-google-games-20150824-1-signed/optional/games/8/PlayGames.apk differ

Binary files gapps-lp-google-games-20150820-1-signed/optional/games/0/PlayGames.apk and gapps-lp-google-games-20150824-1-signed/optional/games/0/PlayGames.apk differ
Binary files gapps-lp-google-games-20150820-1-signed/optional/games/2/PlayGames.apk and gapps-lp-google-games-20150824-1-signed/optional/games/2/PlayGames.apk differ
Binary files gapps-lp-google-games-20150820-1-signed/optional/games/4/PlayGames.apk and gapps-lp-google-games-20150824-1-signed/optional/games/4/PlayGames.apk differ
Binary files gapps-lp-google-games-20150820-1-signed/optional/games/6/PlayGames.apk and gapps-lp-google-games-20150824-1-signed/optional/games/6/PlayGames.apk differ
Binary files gapps-lp-google-games-20150820-1-signed/optional/games/8/PlayGames.apk and gapps-lp-google-games-20150824-1-signed/optional/games/8/PlayGames.apk differ
[Android Software Development] Deltadroid:
Docs

Google Docs has been updated to version 1.4.332.16.3x-5332163x (Multi DPI). The following DPI versions are included:

1.4.332.16.30-53321630 (All DPI) **Default**

1.4.332.16.32-53321632 (160 DPI)

1.4.332.16.34-53321634 (320 DPI)

1.4.332.16.35-53321635 (480 DPI)

Google Docs addon for 5.0.2+: gapps-lp-google-docs-20150825-1-signed.zip

diff -ru '--exclude=CERT.RSA' '--exclude=CERT.SF' '--exclude=MANIFEST.MF' gapps-lp-google-docs-20150820-1-signed/META-INF/com/google/android/updater-script gapps-lp-google-docs-20150825-1-signed/META-INF/com/google/android/updater-script
--- gapps-lp-google-docs-20150820-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-lp-google-docs-20150825-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -20,7 +20,7 @@
set_perm(0, 0, 0777, "/tmp/install-core-4.sh");
set_perm(0, 0, 0777, "/tmp/install-core-5.sh");
set_perm(0, 0, 0777, "/tmp/install-core-6.sh");
-package_extract_dir("optional/docs/5", "/tmp/docs");
+package_extract_dir("optional/docs/0", "/tmp/docs");
run_program("/tmp/install-core-0.sh", "");
package_extract_dir("optional/docs/2", "/tmp/docs");
run_program("/tmp/install-core-2.sh", "");
Only in gapps-lp-google-docs-20150825-1-signed/optional/docs: 0
Binary files gapps-lp-google-docs-20150820-1-signed/optional/docs/2/GoogleDocs.apk and gapps-lp-google-docs-20150825-1-signed/optional/docs/2/GoogleDocs.apk differ
Binary files gapps-lp-google-docs-20150820-1-signed/optional/docs/4/GoogleDocs.apk and gapps-lp-google-docs-20150825-1-signed/optional/docs/4/GoogleDocs.apk differ
Binary files gapps-lp-google-docs-20150820-1-signed/optional/docs/5/GoogleDocs.apk and gapps-lp-google-docs-20150825-1-signed/optional/docs/5/GoogleDocs.apk differ
[Android Software Development] daniu:
Hi,

using this gapps now and am quite happy with it. However I don't really get the scripts in /system/addon.d:

Several questions.

-which files are from this gapps? I got 4 files in there: 50-cm.sh, 70-gapps.sh, 71-gapps-faceunlock.sh and blacklist

-with next upgrade I want to get rid of faceunlock - I placed the .removefaceunlock file on my (internal) SD-Card - is that correct? I guess I gotta do something in this folder to get rid of faceunlock - delete 71-gapps-faceunlock.sh?

-before this gapps I used the kind of abandoned minimal gapps. There is a bloatware removal script for that gapps. It removed some things from stock CM (browser, file explorere, live wallpapers, and so on) Can I just use that here also or will I run in any trouble? Do I need to edit the shell-script in addon.d also or will I have to use this bloatware-removal script everytime again anyways?

regards
[Android Software Development] Deltadroid:
All of the files in addon.d that have "gapps" in the name are from these packages.

If you place a file named ".removefaceunlock" in the root of your internal storage and then boot into recovery and install the base gapps package again, facelock and it's libraries will be removed, along with its associated backup script in addon.d.
[Android Software Development] TrojanPL:
After installing those Gapps I have force close of Google Play Services when I try to write an email in gmail app. I also get a FC when I reboot the phone. Full wipe won't help. I use newest CM11 nightly for Samsung Galaxy SII.
[Android Software Development] Deltadroid:
It sounds like the rom you are using is compiled with an experimental toolchain and it needs to be patched to work with the latest version of Google play services.

Are you using official cm11?
[Android Software Development] :
Also kept force closing on NX ROM 9.8.1, couldn't even get through the first setup after clean flash. I'm now back on official CM 12.1, everything works perfectly, as usual.
[Android Software Development] TrojanPL:
Yes, that's official CM from 14.06.2015
[Android Software Development] Deltadroid:
Are there more current builds available for your device? I believe cm11 is officially built once a week on Sunday.
[Android Software Development] TrojanPL:
Unfortunately not, they stopped building CM11 and switched do CM12.1
[Android Software Development] Deltadroid:
I think your device is being forced to cm12.1 in order to work with the latest version of Google services.
[Android Software Development] TrojanPL:
Additionally I have almost constant active phone with more than 2000 wakelocks in 4h from com.google.android.gms.drive.sync
[Android Software Development] Deltadroid:
Yeah, I think cyanogen is not supporting your device in cm11 anymore. Those are all problems related to Google Play Services and have been fixed in more recent builds.
[Android Software Development] daniu:
Hi,

you can search XDA for some newer build - I think Lanchon did one. Or you change to L. Before I changed to L I could still use my S2 - there are builds that do not have that problem (maybe you should not update google play services by flashing cause gps itsself will most likely only update when it is compatible ...). Check official CM11 thread here on XDA

regards
[Android Software Development] aamadorj:
Google Docs updated again

Google Docs was updated again: http://www.apkmirror.com/apk/google-inc/docs/

Thanks in advance, [MENTION=5227588]Deltadroid[/MENTION].
[Android Software Development] d.casper.b:
I want to remove Chrome and Google Keyboard. But how? I'm talking about the KK gapps here..

I wiped system, cache, dalvik-cache, Android secure. I left internal & external memory, as well as /data.

Then I flashed my rom together with the gapps, but now excluding Google Keyboard and Chrome. Wiped cache, rebooted and they are still here.

How do I remove them now?

Sent from my Motorola RAZR Maxx (XT910)
[Android Software Development] LeftyGR:
If you "clean flashed" the rom and did not install the modular gapp for each of those, they should not be there. So make sure they weren't baked into the rom. Also before you remove them, both of those gapp packages also remove their AOSP counterparts upon flashing (ie: Chrome will remove stock browser, etc.). So verify you still have AOSP browser and keyboard before proceeding, if you need them.

To remove manually, go to system/app and delete the .apk's for each using a root file explorer. Or you can uninstall with apps like Titanium Backup.
[Android Software Development] d.casper.b:
It's very odd that they are still there. They aren't part of the ROM. Yes, the browser did return and there is an aosp Keyboard (although when I swipe it doesn't type anything it seems). I'll try manually removing them, but I thought it would have removed them after I wiped.

Only thing I can think is that any updates that were previously done on the store might have caused them to stay. I know for sure that Chrome was updated via the store.

I was able to just uninstall the keyboard - must be in /data partition and not /system. I'll uninstall the chrome updates now and try again - maybe I'll also remove scripts in addon.d.

Sent from my Motorola RAZR Maxx (XT910)
[Android Software Development] LeftyGR:
Clean flash would have removed the add on scripts as well... Weird.
[Android Software Development] d.casper.b:
I just removed them - but think they're the scripts from the gapps that I did just flash (when I excluded chrome and keyboard).

Sent from my Motorola RAZR Maxx (XT910)
[Android Software Development] Deltadroid:
If you want to remove an add-on that replaced a stock system application, remove the associated backup script in addon.d and dirty flash your rom.

When you remove the backup script for an add-on and dirty flash the rom again, the add-on will be removed and the stock application that was replaced will be restored.
[Android Software Development] d.casper.b:
Ok, well, they're gone now.

The reason I wanted to remove them was because I don't use chrome, and Google keyboard keeps giving me a stopped responding message every time I install or update an app.

As it turns out my AOSP keyboard is not working with gesture typing even though it's enabled - it doesn't type anything . Now I'm forced to install Google Keyboard..

Sent from my Motorola RAZR Maxx (XT910)
[Android Software Development] bflmpsvz:
I'm curious where in latest GApps has gone PrebuiltGmsCore. I have latest 7.8.99

Is it deprecated? Which app takes over it's framework?
[Android Software Development] Deltadroid:
7.8.99 is the latest stable version of Google Play Services. There is a pre-release version from marshmallow, but it is not released for all devices yet.

Google play services comes in a multi dpi installer. The versions are located in the optional directory in the base gapps package. The installer determines the correct version to install based on the devices dpi in build.prop.
[Android Software Development] aamadorj:
New Chrome Beta is up

Chrome Beta was updated: http://www.apkmirror.com/apk/google-inc/chrome-beta/

As always, thanks a lot for your work [MENTION=5227588]Deltadroid[/MENTION].
[Android Software Development] ouzowtf:
G+ 240 dpi

https://docs.google.com/uc?id=0ByPf7y0hVKmBbkNPWXhZa25mTlU&export=download
[Android Software Development] Deltadroid:
Plus

The 240 DPI version of Google Plus version 6.2.0.101510320-41419156x has been added to the addon installation package. The Following DPI versions are included:

6.2.0.101510320-414191561 (All DPI) **Default**

6.2.0.101510320-414191562 (160 DPI)

6.2.0.101510320-414191563 (240 DPI) thanks [MENTION=2932933]ouzowtf[/MENTION]

6.2.0.101510320-414191564 (320 DPI)

6.2.0.101510320-414191565 (480 DPI)

Google Plus addon for 5.0.2+: gapps-lp-google-plus-20150827-2-signed.zip

diff -ru '--exclude=CERT.RSA' '--exclude=CERT.SF' '--exclude=MANIFEST.MF' gapps-lp-google-plus-20150827-1-signed/META-INF/com/google/android/updater-script gapps-lp-google-plus-20150827-2-signed/META-INF/com/google/android/updater-script
--- gapps-lp-google-plus-20150827-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-lp-google-plus-20150827-2-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -23,8 +23,8 @@
run_program("/tmp/install-core-2.sh", "");
package_extract_dir("optional/plus/4", "/tmp/plus");
run_program("/tmp/install-core-4.sh", "");
-# package_extract_dir("optional/plus/5", "/tmp/plus");
-# run_program("/tmp/install-core-5.sh", "");
+package_extract_dir("optional/plus/5", "/tmp/plus");
+run_program("/tmp/install-core-5.sh", "");
package_extract_dir("optional/plus/6", "/tmp/plus");
run_program("/tmp/install-core-6.sh", "");
package_extract_dir("optional/plus/7", "/tmp/plus");
Only in gapps-lp-google-plus-20150827-2-signed/optional/plus: 5
diff -ru '--exclude=CERT.RSA' '--exclude=CERT.SF' '--exclude=MANIFEST.MF' gapps-lp-google-plus-20150827-1-signed/scripts/install-core-2.sh gapps-lp-google-plus-20150827-2-signed/scripts/install-core-2.sh
--- gapps-lp-google-plus-20150827-1-signed/scripts/install-core-2.sh	2008-02-29 02:33:46.000000000 +0100
+++ gapps-lp-google-plus-20150827-2-signed/scripts/install-core-2.sh	2008-02-29 02:33:46.000000000 +0100
@@ -3,7 +3,7 @@
LCD=$(grep ro.sf.lcd_density /system/build.prop | cut -d "=" -f 2);

#if [ ! "$LCD" == 160 ] && [ ! "$LCD" == 240 ] && [ ! "$LCD" == 320 ] && [ ! "$LCD" == 480 ] && [ ! "$LCD" == 640 ]; then
-if [ ! "$LCD" == 160 ] && [ ! "$LCD" == 320 ] && [ ! "$LCD" == 480 ]; then
+if [ ! "$LCD" == 160 ] && [ ! "$LCD" == 240 ] && [ ! "$LCD" == 320 ] && [ ! "$LCD" == 480 ]; then
echo "Installing default."
cp -f /tmp/plus/GooglePlus.apk /system/app/GooglePlus/
fi
[Android Software Development] Chlorophyll:
Waiting for latest gapps as so many gapps were updated sday.
[Android Software Development] MauroRTR:
Maps 9.14.0-914018122 (240 DPI)
[Android Software Development] Deltadroid:
Play Newsstand

Google Play Newsstand had been updated to version 3.4.4-2015081213

Google Play Newsstand addon for 4.4.4: gapps-kk-google-magazine-20150903-1-signed.zip

Google Play Newsstand addon for 5.0.2+: gapps-lp-google-magazine-20150903-1-signed.zip

Binary files gapps-kk-google-magazine-20150813-1-signed/system/app/GoogleMagazine.apk and gapps-kk-google-magazine-20150903-1-signed/system/app/GoogleMagazine.apk differ

Binary files gapps-lp-google-magazine-20150813-1-signed/system/app/GoogleMagazine/GoogleMagazine.apk and gapps-lp-google-magazine-20150903-1-signed/system/app/GoogleMagazine/GoogleMagazine.apk differ
[Android Software Development] YamazakiRobert:
hi [MENTION=5227588]Deltadroid[/MENTION] what is the method you use to sign the zip files?

i like to know to make some tests on my side to make compatible with MIUI and HydrogenOS

thanks for your time
[Android Software Development] Deltadroid:
Most custom recoveries have an option to disable the signature verification of a zip file during installation, so it is not really necessary to resign the zip after making modifications to it.

Nevertheless, here is how I sign:

#!/bin/bash
FILE="$1"
NOEXT=${FILE%\.*}
echo "Signing ZIP..."
java -jar /usr/local/bin/apksign/signapk.jar -w /usr/local/bin/apksign/testkey.x509.pem /usr/local/bin/apksign/testkey.pk8 "$FILE" "$NOEXT"-signed.zip

The file "signapk.jar" can be downloaded from AOSP project along with the testkeys that are also needed.