[Android Software Development] Deltadroid:
April Fools Updates

New Addons:

Google Chromecast version 1.10.2-10100020

Google Chromecast addon for 4.4.4: gapps-kk-google-chromecast-20150331-1-signed.zip

Google Chromecast addon for 5.0.2+: gapps-lp-google-chromecast-20150331-1-signed.zip

Google Sheets version 1.4.112.10.36-51121036

Google Sheets addon for 5.0.2+: gapps-lp-google-sheets-20150331-1-signed.zip

Google Slides version 1.2.112.08.36-51120836

Google Slides addon for 5.0.2+: gapps-lp-google-slides-20150331-1-signed.zip

Google Play Movies version 3.6.16-36161

Google Play Movies addon for 4.4.4: gapps-kk-google-movies-20150331-1-signed.zip

Google Play Movies version 3.6.16-tv-36164

Google Play Movies addon for 5.0.2+: gapps-lp-google-movies-20150331-1-signed.zip

Google Translate version 3.2.0.RC03.85752705-31001662

Google Translate addon for 4.4.4: gapps-kk-google-translate-20150331-1-signed.zip

Google Translate addon for 5.0.2+: gapps-lp-google-translate-20150331-1-signed.zip

Updated Addons:

Google Play Games addon has been updated to version 2.3.10-1800907-00x for kitkat (4.4.4) and lollipop (5.0.2 and 5.1). Multi-DPI.

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

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

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

Binary files gapps-lp-google-games-20150327-1-signed/optional/games/0/PlayGames.apk and gapps-lp-google-games-20150331-1-signed/optional/games/0/PlayGames.apk differ
Binary files gapps-lp-google-games-20150327-1-signed/optional/games/2/PlayGames.apk and gapps-lp-google-games-20150331-1-signed/optional/games/2/PlayGames.apk differ
Binary files gapps-lp-google-games-20150327-1-signed/optional/games/4/PlayGames.apk and gapps-lp-google-games-20150331-1-signed/optional/games/4/PlayGames.apk differ
Binary files gapps-lp-google-games-20150327-1-signed/optional/games/6/PlayGames.apk and gapps-lp-google-games-20150331-1-signed/optional/games/6/PlayGames.apk differ
Binary files gapps-lp-google-games-20150327-1-signed/optional/games/8/PlayGames.apk and gapps-lp-google-games-20150331-1-signed/optional/games/8/PlayGames.apk differ

Google Gmail addon has been updated to version 5.1.89985675-51001620 for kitkat (4.4.4) and lollipop (5.0.2 and 5.1).

Google Gmail addon for 4.4.4: gapps-kk-google-gmail-20150331-1-signed.zip

Google Gmail addon for 5.0.2+: gapps-lp-google-gmail-20150331-1-signed.zip

Binary files gapps-kk-google-gmail-20150330-1-signed/system/app/Gmail2.apk and gapps-kk-google-gmail-20150331-1-signed/system/app/Gmail2.apk differ

Binary files gapps-lp-google-gmail-20150330-1-signed/system/app/PrebuiltGmail/PrebuiltGmail.apk and gapps-lp-google-gmail-20150331-1-signed/system/app/PrebuiltGmail/PrebuiltGmail.apk differ

Google Hangouts addon had been updated to version 3.0.87531466-22260166 for lollipop (5.0.2 and 5.1). Thanks [MENTION=2280111]aaamador[/MENTION]

Google Hangouts addon for 5.0.2+: gapps-lp-google-hangouts-20150331-1-signed.zip

Binary files gapps-lp-google-hangouts-20150304-1-signed/system/app/Hangouts/Hangouts.apk and gapps-lp-google-hangouts-20150331-1-signed/system/app/Hangouts/Hangouts.apk differ

Additionally, the installation script for the Google TTS addon has been updated to remove PicoTts upon installation and restoring backups (kitkat and lollipop).

Google TTS addon for 4.4.4: gapps-kk-google-tts-20150318-2-signed.zip

Google TTS addon for 5.0.2+: gapps-lp-google-tts-20150318-2-signed.zip

diff -ru gapps-kk-google-tts-20150318-1-signed/META-INF/com/google/android/updater-script gapps-kk-google-tts-20150318-2-signed/META-INF/com/google/android/updater-script
--- gapps-kk-google-tts-20150318-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-kk-google-tts-20150318-2-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -5,7 +5,7 @@
ui_print("Installing files.");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
-delete("/system/app/GoogleTTS.apk");
+delete("/system/app/GoogleTTS.apk","/system/app/PicoTts.apk");
package_extract_dir("system", "/system");
show_progress(1, 15);
ui_print("Setting metadata.");
diff -ru gapps-kk-google-tts-20150318-1-signed/system/addon.d/80-gapps-tts.sh gapps-kk-google-tts-20150318-2-signed/system/addon.d/80-gapps-tts.sh
--- gapps-kk-google-tts-20150318-1-signed/system/addon.d/80-gapps-tts.sh	2008-02-29 02:33:46.000000000 +0100
+++ gapps-kk-google-tts-20150318-2-signed/system/addon.d/80-gapps-tts.sh	2008-02-29 02:33:46.000000000 +0100
@@ -35,6 +35,6 @@
# Stub
;;
post-restore)
- # Stub
+ rm -f /system/app/PicoTts.apk
;;
esac

diff -ru gapps-lp-google-tts-20150318-1-signed/META-INF/com/google/android/updater-script gapps-lp-google-tts-20150318-2-signed/META-INF/com/google/android/updater-script
--- gapps-lp-google-tts-20150318-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-lp-google-tts-20150318-2-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -5,7 +5,7 @@
ui_print("Installing files.");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
-delete_recursive("/system/app/GoogleTTS");
+delete_recursive("/system/app/GoogleTTS","/system/app/PicoTts");
package_extract_dir("system", "/system");
show_progress(1, 15);
ui_print("Setting metadata.");
diff -ru gapps-lp-google-tts-20150318-1-signed/system/addon.d/86-gapps-tts.sh gapps-lp-google-tts-20150318-2-signed/system/addon.d/86-gapps-tts.sh
--- gapps-lp-google-tts-20150318-1-signed/system/addon.d/86-gapps-tts.sh	2008-02-29 02:33:46.000000000 +0100
+++ gapps-lp-google-tts-20150318-2-signed/system/addon.d/86-gapps-tts.sh	2008-02-29 02:33:46.000000000 +0100
@@ -35,6 +35,7 @@
# Stub
;;
post-restore)
+ rm -rf /system/app/PicoTts
chmod 755 /system/app/GoogleTTS
chmod 755 /system/app/GoogleTTS/lib
chmod 755 /system/app/GoogleTTS/lib/arm

Furthermore, the lollipop installation script for Talkback has been updated to install Talkback to /system/app for Lollipop 5.1 and install Talkback to /system/priv-app for Lollipop 5.0.2. The factory image for 5.1 now installs Talkback to /system/app and the addon installer can now determine the correct installation path automatically for all versions of lollipop.

Google Talkback addon for 5.0.2+: gapps-lp-google-talkback-20150305-2-signed.zip

Only in gapps-lp-google-talkback-20150305-2-signed: install-optional.sh
diff -ru gapps-lp-google-talkback-20150305-1-signed/META-INF/com/google/android/updater-script gapps-lp-google-talkback-20150305-2-signed/META-INF/com/google/android/updater-script
--- gapps-lp-google-talkback-20150305-1-signed/META-INF/com/google/android/updater-script	2015-03-05 01:28:18.000000000 +0100
+++ gapps-lp-google-talkback-20150305-2-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -1,15 +1,19 @@
ui_print("***********************************************");
-ui_print(" Google Talkback for Android 5.0.x ");
+ui_print(" Google Talkback for Android 5.x.x ");
ui_print("***********************************************");

ui_print("Installing files.");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
-delete_recursive("/system/priv-app/Talkback");
-package_extract_dir("system", "/system");
+delete_recursive("/system/priv-app/Talkback","/system/app/Talkback");
+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("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/priv-app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "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");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Done.");
Only in gapps-lp-google-talkback-20150305-2-signed: optional
Only in gapps-lp-google-talkback-20150305-1-signed: system
diff -ruN gapps-lp-google-talkback-20150305-1-signed/install-optional.sh gapps-lp-google-talkback-20150305-2-signed/install-optional.sh
--- gapps-lp-google-talkback-20150305-1-signed/install-optional.sh	1970-01-01 01:00:00.000000000 +0100
+++ gapps-lp-google-talkback-20150305-2-signed/install-optional.sh	2008-02-29 02:33:46.000000000 +0100
@@ -0,0 +1,19 @@
+#!/sbin/sh
+
+TYPE=$(grep ro.build.version.release /system/build.prop | grep 5.0.);
+
+if [ ! "$TYPE" == "" ]; then
+ echo "Lollipop 5.0.x detected."
+ mkdir /system/priv-app/Talkback
+ cp -f /tmp/talkback/Talkback.apk /system/priv-app/Talkback/
+ cp -f /tmp/talkback/priv-app/89-gapps-talkback.sh /system/addon.d/
+else
+ echo "Lollipop 5.1 detected."
+ mkdir /system/app/Talkback
+ cp -f /tmp/talkback/Talkback.apk /system/app/Talkback/
+ cp -f /tmp/talkback/app/89-gapps-talkback.sh /system/addon.d/
+fi
+rm -rf /tmp/talkback
+
+
+