[Android Software Development] Deltadroid:
Lollipop Gapps Update

The installation scripts for the Standard and Minimal gapps packages have been updated to install all of the FaceLock libraries into /system/lib and link them into FaceLock's sandbox because that is how the file structure exists on the Nexus ROMs. The Google Talkback application has also been updated in the Standard gapps package (to version 3.6.0).

Also, the following Addons have been updated:

1) Google Chrome updated to version 40.0.2214.89 (for lollipop support)

2) Google Drive updated to version 2.1.495.10.35

3) Google Maps updated to version 9.3.0-903008124

4) Google Plus updated to version 4.9.0.84376185

Lollipop Gapps:

Minimal gapps package for 5.0.x: gapps-lp-20150121-1-minimal-signed.zip

Standard gapps package for 5.0.x: gapps-lp-20150121-1-signed.zip

Google Drive addon package for 5.0.x: gapps-lp-google-drive-20150121-1-signed.zip

Google Plus addon package for 5.0.x: gapps-lp-google-plus-20150121-1-signed.zip

Google Chrome addon package for 5.0.x: gapps-lp-google-chrome-20150121-1-signed.zip

Google Maps addon package for 5.0.x: gapps-lp-google-maps-20150121-1-signed.zip

diff -ru gapps-lp-20150118-1-signed/install-optional.sh gapps-lp-20150121-1-signed/install-optional.sh
--- gapps-lp-20150118-1-signed/install-optional.sh	2015-01-18 00:49:16.000000000 +0100
+++ gapps-lp-20150121-1-signed/install-optional.sh	2015-01-22 02:28:04.000000000 +0100
@@ -19,11 +19,13 @@
if good_ffc_device && [ -e /system/etc/permissions/android.hardware.camera.front.xml ]; then
echo "Installing face detection support"
cp -a /tmp/face/* /system/
- chmod 755 /system/addon.d/71-gapps-faceunlock.sh
+ mkdir -p /system/app/FaceLock/lib/arm
+ ln -s /system/lib/libfacelock_jni.so /system/app/FaceLock/lib/arm/libfacelock_jni.so
elif [ -d /system/vendor/pittpatt/ ]; then
rm -rf /system/vendor/pittpatt/
rm -rf /system/app/FaceLock/
rm -f /system/lib/libfilterpack_facedetect.so
+ rm -f /system/lib/libfacelock_jni.so
rm -f /system/addon.d/71-gapps-faceunlock.sh
fi
rm -rf /tmp/face
diff -ru gapps-lp-20150118-1-signed/META-INF/com/google/android/updater-script gapps-lp-20150121-1-signed/META-INF/com/google/android/updater-script
--- gapps-lp-20150118-1-signed/META-INF/com/google/android/updater-script	2015-01-18 00:48:22.000000000 +0100
+++ gapps-lp-20150121-1-signed/META-INF/com/google/android/updater-script	2015-01-22 02:27:10.000000000 +0100
@@ -2,17 +2,23 @@
ui_print(" Google Apps for Android 5.0.x ");
ui_print("***********************************************");

-ui_print("Installing files...");
+ui_print("Mounting system.");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
+
+ui_print("Cleaning system.");
delete_recursive("/system/app/BrowserProviderProxy","/system/app/PartnerBookmarksProvider","/system/app/Provision","/system/app/QuickSearchBox");
+delete_recursive("/system/app/CloudPrint2","/system/app/FaceLock","/system/app/GenieWidget2","/system/app/GoogleCalendarSyncAdapter","/system/app/GoogleContactsSyncAdapter","/system/app/GoogleTTS","/system/app/Hangouts","/system/app/PrebuiltGmail","/system/priv-app/GoogleBackupTransport","/system/priv-app/GoogleFeedback","/system/priv-app/GoogleLoginService","/system/priv-app/GoogleOneTimeInitializer","/system/priv-app/GooglePartnerSetup","/system/priv-app/GoogleServicesFramework","/system/priv-app/Phonesky","/system/priv-app/PrebuiltGmsCore","/system/priv-app/Talkback","/system/priv-app/Velvet");
+
+ui_print("Installing files.");
package_extract_dir("system", "/system");
package_extract_dir("optional", "/tmp");
package_extract_file("install-optional.sh", "/tmp/install-optional.sh");
set_perm(0, 0, 0777, "/tmp/install-optional.sh");
run_program("/tmp/install-optional.sh", "");
show_progress(1, 15);
-ui_print("Cleaning up and setting metadata...");
+
+ui_print("Setting metadata.");
set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/priv-app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
@@ -21,7 +27,11 @@
set_metadata("/system/etc/g.prop", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/framework", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/lib", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
-set_metadata_recursive("/system/usr/srec/en-US", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
+set_metadata_recursive("/system/usr/srec", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/vendor/pittpatt", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
+
+ui_print("Unmounting system.");
run_program("/sbin/busybox", "umount", "/system");
+
ui_print("Done.");
+
diff -ru gapps-lp-20150118-1-signed/optional/face/addon.d/71-gapps-faceunlock.sh gapps-lp-20150121-1-signed/optional/face/addon.d/71-gapps-faceunlock.sh
--- gapps-lp-20150118-1-signed/optional/face/addon.d/71-gapps-faceunlock.sh	2015-01-18 00:48:58.000000000 +0100
+++ gapps-lp-20150121-1-signed/optional/face/addon.d/71-gapps-faceunlock.sh	2015-01-22 02:27:48.000000000 +0100
@@ -11,7 +11,7 @@
list_files() {
cat <<EOF
app/FaceLock/FaceLock.apk
-app/FaceLock/lib/arm/libfacelock_jni.so
+lib/libfacelock_jni.so
lib/libfilterpack_facedetect.so
vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.8/landmark_group_meta_data.bin
vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.8/left_eye-y0-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
@@ -49,12 +49,14 @@
# Stub
;;
post-restore)
+ mkdir -p /system/app/FaceLock/lib/arm
chmod 755 /system/app/FaceLock
chmod 755 /system/app/FaceLock/lib
chmod 755 /system/app/FaceLock/lib/arm
chmod -R 755 /system/vendor/pittpatt
- chmod 644 /system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.8/*.bin
- chmod 644 /system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.7.1/*.bin
- chmod 644 /system/vendor/pittpatt/models/recognition/*.bin
+ chmod 644 /system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.8/*
+ chmod 644 /system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.7.1/*
+ chmod 644 /system/vendor/pittpatt/models/recognition/*
+ ln -s /system/lib/libfacelock_jni.so /system/app/FaceLock/lib/arm/libfacelock_jni.so
;;
esac
Only in gapps-lp-20150118-1-signed/optional/face/app/FaceLock: lib
Only in gapps-lp-20150121-1-signed/optional/face/lib: libfacelock_jni.so
Binary files gapps-lp-20150118-1-signed/system/priv-app/Talkback/Talkback.apk and gapps-lp-20150121-1-signed/system/priv-app/Talkback/Talkback.apk differ