yashsingh1/xdaforums huggingface dataset:
[Android Software Development] eng4r:
not working !!!!!:crying::crying::crying:

do i have to wipe data after reflashing ?
[Android Software Development] Deltadroid:
If the .forcefaceunlock switch did not work, that means the installer thinks your device does not have a front camera. The following file must also exist on your system to tell the installer your device has a front camera:

/system/etc/permissions/android.hardware.camera.front.xml
[Android Software Development] eng4r:
nothing with that name

---------- Post added at 04:41 PM ---------- Previous post was at 04:31 PM ----------

that is why i asked for a single flashable zip
[Android Software Development] Deltadroid:
What ROM are you using? It is standard that those permission files exist to define the hardware on the device. You could use "touch" and create the file to see if that fixes the problem. You will need to use a root file explorer to remount the system as writable before using "touch" to create the permission file for the front camera. If that permission file for front camera exists, then flashing the base gapps should install facelock.
[Android Software Development] eng4r:
didnt work too :crying: i am using cm11 m4 07/02/2016 build and it doesnt contain these files :crying:

if i pull it from stock 4.0.4 < would it work ???
[Android Software Development] Deltadroid:
[MENTION=5687943]ahked.ragab[/MENTION]

I agree that there is a flaw in the logic with that installation switch. I will fix the installer to install facelock, no matter what, if the .forcefaceunlock switch is used.
[Android Software Development] eng4r:
and please build a single addon for it :D:D:D
[Android Software Development] Deltadroid:
Facelock is handled by the base gapps package so any additional packages would conflict. Although, I will fix the base gapps so that /sdcard/.forcefaceunlock works without having to detect the front camera. The default will still require the presence of the front camera xml in /system/etc/permissions/.
[Android Software Development] Deltadroid:
Base Gapps, Drive, Talkback

The installation scripts for all of the base gapps packages (kitkat, lollipop, and marshmallow) have been updated to fix the ability to force the installation of FaceLock when the front camera is not detected. I have also changed the FaceLock installation switches from "faceunlock" to just "facelock" because it matches the rest of the naming convention of the other switches. The installation switches for the base gapps packages always use a command plus the actual name of the apk in lower case. The following FaceLock installation switches can now be used when flashing the base gapps packages:

/sdcard/.forcefacelock = Always install FaceLock to the system, even if the front camera is undetected.

/sdcard/.removefacelock = Do not install FaceLock and if FaceLock is already installed to the system, then remove it.

Kitkat Base Gapps package for 4.4.4: gapps-444-base-20160224-1-signed.zip

Lollipop Base Gapps package for 5.0.2: gapps-502-base-20160224-1-signed.zip

Lollipop Base Gapps package for 5.1.1: gapps-511-base-20160224-1-signed.zip

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

Change to facelock install switches:

--- gapps-601-base-20160220-1-signed/scripts/install-optional.sh	2008-02-29 03:33:46.000000000 +0100
+++ gapps-601-base-20160224-1-signed/scripts/install-optional.sh	2008-02-29 03:33:46.000000000 +0100
@@ -1,14 +1,16 @@
#!/sbin/sh

good_ffc_device() {
- if [ -f /sdcard/.forcefaceunlock ]; then
+ if [ -f /sdcard/.forcefacelock ]; then
return 0
- elif [ -f /sdcard/.removefaceunlock ]; then
+ elif [ -f /sdcard/.removefacelock ]; then
return 1
elif cat /proc/cpuinfo | grep -qE 'Victory|herring|sun4i'; then
return 1
- else
+ elif [ -e /system/etc/permissions/android.hardware.camera.front.xml ]; then
return 0
+ else
+ return 1
fi
}

@@ -30,8 +32,8 @@
fi
rm -rf /tmp/dialer

-if good_ffc_device && [ -e /system/etc/permissions/android.hardware.camera.front.xml ]; then
- echo "Installing face detection support."
+if good_ffc_device; then
+ echo "Installing FaceLock."
cp -a /tmp/face/* /system/
mkdir -p /system/app/FaceLock/lib/arm
ln -s /system/lib/libfacelock_jni.so /system/app/FaceLock/lib/arm/libfacelock_jni.so

Google Drive has been updated to version 2.3.583.20.30-6053203x (Multi DPI) for kitkat, lollipop, and marshmallow. The Google Drive addon now supports Marshmallow's new ability to load libraries from with the apk and it will install an optimal size apk for each version of Android.

2.3.583.20.30-60532030 (nodpi)

2.3.583.20.32-60532032 (160 dpi)

2.3.583.20.33-60532033 (240 dpi)

2.3.583.20.34-60532034 (320 dpi)

2.3.583.20.35-60532035 (480 dpi)

2.3.583.20.36-60532036 (640 dpi)

Google Drive addon for 4.4.4+: gapps-kklpmm-google-drive-20160224-1-signed.zip

Google Talkback addon now supports installing on kitkat, lollipop, and marshmallow with one universal installation package.

Google Talkback addon for 4.4.4+: gapps-kklpmm-google-talkback-20160213-2-signed.zip

All of the Standard Lollipop and Marshmallow addons support Kitkat now.
[Android Software Development] Deltadroid:
The "forcefacelock" switch should be working properly now. Please try flashing the latest version of base gapps with the /sdcard/.forcefacelock switch and let me know if it is working.

Do not wipe anything. Create the file (/sdcard/.forcefacelock) by typing the command below in a terminal (or create the file with a file explorer at the root of your internal sdcard) and reboot into the recovery and flash the base gapps package and reboot to system.

touch /sdcard/.forcefacelock

Note: Notice that the filename has changed from .forcefaceunlock to .forcefacelock.
[Android Software Development] eng4r:
Still not working ?

A single zip please ?
[Android Software Development] Deltadroid:
If the force facelock switch is used, the gapps base packages will install facelock. There is no need for an addition facelock package. Check your permissions for facelock, because I have a feeling that facelock is installed and you just need to enable permissions for it in app ops.

I still find it very strange that the front camera is not detected. Make sure you even have a working front camera with the rom you are using. The default is to still only install facelock if the camera is detected in /system/etc/permissions/, so that is why I fixed the forcefacelock switch, just in case there is a problem with detecting the front camera.
[Android Software Development] Digitalspirit:
Apologies I posted in the wrong thread!! :o
[Android Software Development] daniu:
Hi

I guess that one went in the wrong thread ...

This here is a gapps thread - but some ROM thread

Regards

Sent from my x-phone using brain 2.0
[Android Software Development] Deltadroid:
Calendar, Clock, Hangouts, Maps,

The Google Calendar and Google Clock addons now support installing on kitkat, lollipop, and marshmallow with one universal installation package.

Google Calendar addon for 4.4.4+: gapps-kklpmm-google-calendar-20160219-2-signed.zip (replaces stock calendar)

Google Clock addon for 4.4.4+: gapps-kklpmm-google-deskclock-20160210-2-signed.zip (replace stock deskclock)

A bug in the installation script for the Google Hangouts addon has been fixed that caused the apk to not have the optimal file size when installing onto lollipop.

Google Hangouts addon for 5.0.2+: gapps-lpmm-google-hangouts-20160211-3-signed.zip

Google Maps has been updated to version 9.21.0-92101312x (Multi DPI) for kitkat, lollipop, and marshmallow.

9.21.0-921013121 (120 dpi, 160 dpi)

9.21.0-921013122 (213 dpi, 240 dpi)

9.21.0-921013123 (320 dpi)

9.21.0-921013124 (400 dpi, 480 dpi, 560 dpi, 640 dpi)

Google Maps addon for 4.4.4+: gapps-kklpmm-google-maps-20160225-1-signed.zip
[Android Software Development] Deltadroid:
Inbox

Google Inbox has been updated to version 1.18_(115353935)-5716497 for lollipop and marshmallow. Additionally, the Google Inbox addon now supports Marshmallow's new method of loading libraries from within the apk file. Also, this addon will now dynamically install an optimal size apk on both lollipop and marshmallow.

Google Inbox addon for 5.0.2+: gapps-lpmm-google-inbox-20160226-1-signed.zip (replaces stock email client)
[Android Software Development] Deltadroid:
Chrome Beta, Webview Beta

Google Chrome Beta has been updated to version 49.0.2623.63-262306301 for lollipop and marshmallow. Additionally, this addon now supports Marshmallow's new method of loading libraries from within the apk files. Also, this addon will now install an optimized apk file size on all of it's supported versions of Android.

Google Chrome Beta addon for 5.0.2+: gapps-lpmm-google-chromebeta-20160225-1-signed.zip (replaces stock web browser)

Google Webview Beta has been updated to version 49.0.2623.63-262306300 for lollipop and marshmallow.

Google Webview Beta addon for 5.0.2+: gapps-lpmm-google-webviewbeta-20160225-1-signed.zip (replaces stock webview)
[Android Software Development] Sandivisi:
messenger? [MENTION=5227588]Deltadroid[/MENTION]
[Android Software Development] Deltadroid:
We still need the 160 DPI version of Google Messenger 1.7.050 to complete the package.
[Android Software Development] vjtigas:
https://github.com/opengapps/arm/bl...d.apps.messaging/16/160/17050132.apk?raw=true
[Android Software Development] flippy.nl:
did a full clean install with gapps package and gmail/contacts simply refuse to sync.

settings>accounts>google>sync is turned off and when pressing it i only get my email adress with google under it and nothing happens if i select it. it is impossible to turn on.

multiple factory resets and all other **** i tried is useless. google refuses to sync properly.
[Android Software Development] Deltadroid:
If you are using marshmallow, then you need to give contacts sync permission before it will work. Goto settings -> apps and select system apps. Then select contacts sync permissions and enable everything.
[Android Software Development] flippy.nl:
I am using cm 12.1 (5.1.1 i believe) on a k10000.

I have seen plenty of people with this issue but clearing accounts or cleaning data is not working. Tried about 7 different gapps packages as well from different sources.
[Android Software Development] Deltadroid:
Docs, Gmail, Messenger, Youtube

Google Docs has been updated to version 1.6.072.08.3x-6072083x (Multi DPI) for lollipop and marshmallow. Additionally, the Google Docs addon now supports Marshmallow's new method of loading libraries from within the apk file. Also, this updated addon will now install an optimized size apk file for lollipop and marshmallow.

1.6.072.08.30-60720830 (nodpi)

1.6.072.08.32-60720832 (160 dpi)

1.6.072.08.33-60720833 (240 dpi)

1.6.072.08.34-60720834 (320 dpi)

1.6.072.08.35-60720835 (480 dpi)

1.6.072.08.36-60720836 (640 dpi)

Google Docs addon for 5.0.2+: gapps-lpmm-google-docs-20160226-1-signed.zip

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

Google Gmail addon for 4.4.4+: gapps-kklpmm-google-gmail-20160226-1-signed.zip

Google Messenger has been updated to version 1.7.050_(2625181-3x.phone)-1705013x (Multi DPI) for kitkat, lollipop and marshmallow. Additionally, the Google Messenger addon now supports Marshmallow's new method of loading libraries from within the apk file. Also, this updated addon will now install an optimized size apk file for kitkat, lollipop, and marshmallow, using one universal installation package.

1.7.050_(2625181-30.phone)-17050130

1.7.050_(2625181-32.phone)-17050132

1.7.050_(2625181-34.phone)-17050134

1.7.050_(2625181-36.phone)-17050136

1.7.050_(2625181-38.phone)-17050138

1.7.050_(2625181-39.phone)-17050139

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

Google Youtube addon has has been updated to support Marshmallow's new method of loading libraries from within the apk file. Also, this updated addon will now install an optimized size apk file for lollipop, and marshmallow.

Google Youtube addon for 5.0.2+: gapps-lpmm-google-youtube-20160217-2-signed.zip
[Android Software Development] dingermtb:
I have another quick question. I am creating a full gapps package for myself for marshmallow. When adding the app folders with marshmallow do I no longer need to worry about the lib folders or do I need to extract them from the apk and place them in the folder with the apk?

Sent from outside the 9 using my Exodus SGS3
[Android Software Development] Deltadroid:
You no longer need the libraries in the ./lib/arm/ folders with marshmallow, if the apk files have been fixed to support it. You need to use the apks files from the latest packages that I have fixed to handle marshmallow's new method of loading the libraries from within the apk file. There are still a few more add-ons that need to be fixed to support the new method of loading marshmallow libraries.

Edit: When an apk is downloaded from the play store, the libraries within it are compressed. I can post the script I use to decompress the libraries in the apk files to support marshmallow, if that would help.

APKFILE="$1"

unzip -o "$APKFILE" -d ./ "lib/*"
zip -d "$APKFILE" "lib/*"
zip -r -D -Z store -b ./ "$APKFILE" "lib/"
rm -rf ./lib
zipalign -f -p 4 "$APKFILE" "$APKFILE"-aligned
mv "$APKFILE"-aligned "$APKFILE"
[Android Software Development] dingermtb:
Thanks a ton mate. You've helped me out a lot. I'm just trying to put it together because Exodus announced at 6. OH. One is going to start rolling out so I wanted to get a head start. And again thank you for all your hard and endless work... You rock

Sent from outside the 9 using my Exodus SGS3

---------- Post added at 12:27 PM ---------- Previous post was at 12:26 PM ----------

Also... Google Voice typing hates me lol. That was supposed to be Exodus 6.0.1

Sent from outside the 9 using my Exodus SGS3
[Android Software Development] Sandivisi:
[MENTION=5227588]Deltadroid[/MENTION] what this gapps will work on dexpreopted cyanogenmod 12.1?

http://xdaforums.com/moto-g/development/unofficial-cyanogenmod-12-1-28-01-2016-t3303903
[Android Software Development] Deltadroid:
Yes, it should work.
[Android Software Development] daniu:
Hi,

my phone still does not like the latest (24/2) gapps. Now playstore tends to crash (and I did delete data already). Any idea what else I can do? (running CM13 on i9100).

Most apps could be updated but one app which is rather big (plecodict) cannot ... playstore crashes before the download is finished.

Would appreciate help a lot!

regards
[Android Software Development] Deltadroid:
The only difference between the previous version of gapps and the latest version of gapps is that the "forcefacelock" installation switch was changed. Nothing else was changed in the latest gapps release, so, I think the issue is not with gapps.

If you have problems and are not sure what is wrong, I would suggest rebooting to the recovery and selecting only "factory reset" and nothing else. Do not reflash your ROM or Gapps, only do a "factory reset" and reboot back into the system. You will lose your settings and installed applications, but it might fix the problem.
[Android Software Development] Deltadroid:
Camera, Chromecast, Keep, Play Books, Street View, Translate

The Google Play Books and Google Chromecast addons now support installing on kitkat, lollipop, and marshmallow with one universal installation package.

Google Play Books addon for 4.4.4+: gapps-kklpmm-google-books-20160217-2-signed.zip

Google Chromecast addon for 4.4.4+: gapps-kklpmm-google-chromecast-20160105-2-signed.zip

Google Keep and Google Translate addons now support Marshmallow's new method of loading libraries from within the apk file. Additionally, these addons now support installing on kitkat, lollipop, and marshmallow with one universal installation package. Also, an optimized apk file size will now be installed for kitkat, lollipop, and marshmallow.

Google Keep addon for 4.4.4+: gapps-kklpmm-google-keep-20160217-2-signed.zip

Google Translate addon for 4.4.4+: gapps-kklpmm-google-translate-20151015-3-signed.zip

Google Street View and Google Camera addons now support Marshmallow's new method of loading libraries from within the apk file. Also, an optimized apk file size will now be installed for lollipop and marshmallow.

Google Camera addon for 5.0.2+: gapps-lpmm-google-camera-20151007-4-signed.zip (replaces stock camera)

Google Street View addon for 5.0.2+: gapps-lpmm-google-street-20160219-2-signed.zip
[Android Software Development] Sandivisi:
[MENTION=5227588]Deltadroid[/MENTION] why your gapps does not exist config-updater.apk and ChromeBookmarksSyncAdapter.apk?
[Android Software Development] Deltadroid:
ChromeBookmarksSyncAdapter is only available in the kitkat base gapps package because it was discontinued in lollipop. The bookmarks sync adapter is now integrated into Google Chrome. Although, I could make a separate add-on for ChromeBookmarksSyncAdapter for lollipop and marshmallow.

I've done some tests with configupdater and it seems like it is not compatible all custom ROMs. Actually, I've been unable to determine exactly what it does. Therefore, ConfigUpdater is included in the marshmallow base gapps package, but it is not installed by default. To install configupdater in marshmallow, create the file (/sdcard/.addconfigupdater) and flash marshmallow base gapps package.
[Android Software Development] Sandivisi:
thanks for the explanation, now iam understand :D
[Android Software Development] senpaidev:
[MENTION=5227588]Deltadroid[/MENTION] Google play games was updated on 18 th February. The addon needs an update. Also there is no YouTube addon for kitkat , will the lollipop one work if scripts are changed with kitkat scripts.
[Android Software Development] flurfunk:
Hi, I downloaded "Marshmallow Base Gapps Package: Marshmallow Base Gapps package for 6.0.1 " and installed it over twrp 3.0 on my Galaxy s5 with CM 13 and latest nightly. Installation was successfull but after reboot I get the same error message again and again: Setup Assistant was closed.

When I press ok it appears again. What have I done wrong?
[Android Software Development] Deltadroid:
We could make the YouTube add-on install on kitkat by changing the scripts, but then it would conflict with other kitkat add-ons. Kitkat is limited to the amount of applications that can be installed to the system partition because all of the libraries need to be copied to /system/lib/. This means that if one add-on uses one version of a library and another add-on uses a different version of the same library, then one library is going to be overwritten and cause problems for the other add-on. I've made the kitkat add-ons so that they can all be installed at the same time and not overwrite each other's libraries.
[Android Software Development] senpaidev:
Wasn't aware of that. Looks like I'll stick with installing the apk from market for now. Thanks a lot for all those modular packages. It used to be quite a hassle earlier to download those 200-300mb gapps packages when an update came out.
[Android Software Development] Deltadroid:
There could be permission problems when replacing the stock setup wizard with Google's setup wizard. You could try enabling permissions for Google's setup wizard after the system boots, but it is ugly to see error messages. I think the best option in this situation is to keep the stock setup wizard and not use Google's version.

Create the file (/sdcard/.removesetupwizard) and then flash the base gapps package again. This will change the gapps backup scripts so that the stock setup wizard is not removed the next time you dirty flash the ROM. You will then need to dirty flash the ROM again so that the stock setup wizard is put back.

The only difference between using Google's setup wizard and the stock setup wizard is that Google's setup wizard asks to create a Google account during initial setup. But, the Google account can just be created afterwards without the Google setup wizard.
[Android Software Development] flurfunk:
Create the file (/sdcard/.removesetupwizard) and then flash the base gapps package again. This will change the gapps backup scripts so that the stock setup wizard is not removed the next time you dirty flash the ROM. You will then need to dirty flash the ROM again so that the stock setup wizard is put back.

I didnt have a sdcard inside my phone while installing the package. How do I create the file?
[Android Software Development] Deltadroid:
That is your internal sdcard. Not external.

In a terminal, type:

touch /sdcard/.removesetupwizard
[Android Software Development] flurfunk:
Sorry but I dont understand what I exactly have to do...

What do you mean with "type into a terminal" ? what is a terminal?

I use windows and connected my Galaxy s5 over USB to my computer...
[Android Software Development] androcraze:
Use a text editor:

https://play.google.com/store/apps/details?id=fr.xgouchet.texteditor

https://play.google.com/store/apps/details?id=com.maskyn.fileeditor

and save an empty file named ".removesetupwizard" (just a named file with no data in it).
[Android Software Development] Deltadroid:
You can also use CM's file explorer and create the empty file ".removesetupwizard" at the root of your internal sdcard.
[Android Software Development] flurfunk:
Ok thanks, done that and now I get the following message every few seconds: Google.play services closed.

I wonder if there is a working cm 13 with working playstore on it. I just need to download a few apps like facebook or spotify and without a working playstore I cant do that...
[Android Software Development] Deltadroid:
Since this is a marshmallow permission issue, try going to Settings -> Apps (show system apps) and check if Google Play Services and Google calendar sync has all it's permissions enabled.

Edit:

[MENTION=7310359]flurfunk[/MENTION] I should also mention that when you initially flash your ROM, do not reboot between initially flashing the gapps base package and the ROM because permissions in marshmallow are given upon the first boot. It is ok to flash most of the add-ons later on, except for a few that are mentioned on the op (ie; clock and launcher). It is also ok to flash updates to any of the packages later on once they are already installed.
[Android Software Development] neobuddy89:
Please update "Google Hindi Input addon for 5.0.2+" It's outdated.

Thanks!
[Android Software Development] Deltadroid:
I just noticed that the latest version of Google Search Beta 5.10.23.19.arm-300612196 now contains the same library (libframesequence.so) as the latest version of Google Messenger. This is going to cause a conflict between the two addons on Kitkat because both of these addons will install two different versions of libframesequence.so to /system/lib/. When the latest version of Google Search Beta becomes stable, it means that we need to drop Kitkat support for one of these addons and I think we want to keep Google Search because of the voice input.

Google Search Beta has been updated to version 5.10.23.19.arm-300612196 for lollipop and marshmallow. Additionally, this addon now supports Marshmallow's new method of loading libraries from within the apk file. Also, an optimized apk file size will be installed on lollipop and marshmallow.

Google Search Beta addon for 5.0.2+: gapps-lpmm-google-searchbeta-20160228-1-signed.zip (replaces stock quicksearchbox)
[Android Software Development] cityfun:
Hi Detadroid, can you make a Google Pinyin IME package as well? Thanks so much for the ongoing updates.
[Android Software Development] vurtomatic:
[MENTION=5227588]Deltadroid[/MENTION] Are all the addons updated with the new mm loading method?
[Android Software Development] Deltadroid:
yes