[Android Software Development] Deltadroid:
Google Drive and Search

Google Drive has been updated to version 2.2.141.21.3x

Google Drive addon for 4.4.4: gapps-kk-google-drive-20150428-1-signed.zip

Google Drive addon for 5.0.2+: gapps-lp-google-drive-20150428-1-signed.zip

Note: The installation script for Google Drive has been updated to install the required DPI specific version of Google Drive, depending on the DPI defined in build.prop.

2.2.141.21.30 = All DPI

2.2.141.21.32 = 160 DPI

2.2.141.21.33 = 240 DPI

2.2.141.21.34 = 320 DPI

2.2.141.21.35 = 480 DPI

2.2.141.21.36 = 640 DPI

diff -ru gapps-kk-google-drive-20150421-1-signed/META-INF/com/google/android/updater-script gapps-kk-google-drive-20150428-1-signed/META-INF/com/google/android/updater-script
--- gapps-kk-google-drive-20150421-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-kk-google-drive-20150428-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -2,16 +2,45 @@
ui_print(" Google Drive for Android 4.4.4 ");
ui_print("***********************************************");

-ui_print("Installing files.");
+ui_print("Mounting system.");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/mount", "-o", "remount,rw", "/system", "/system");
show_progress(1, 15);
+
+ui_print("Cleaning system.");
delete("/system/app/GoogleDrive.apk");
+
+ui_print("Installing files.");
+run_program("/sbin/mkdir", "/tmp/drive");
package_extract_dir("system", "/system");
+package_extract_dir("scripts", "/tmp");
+set_perm(0, 0, 0777, "/tmp/install-core-0.sh");
+set_perm(0, 0, 0777, "/tmp/install-core-2.sh");
+set_perm(0, 0, 0777, "/tmp/install-core-3.sh");
+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/drive/0", "/tmp/drive");
+run_program("/tmp/install-core-0.sh", "");
+package_extract_dir("optional/drive/2", "/tmp/drive");
+run_program("/tmp/install-core-2.sh", "");
+package_extract_dir("optional/drive/3", "/tmp/drive");
+run_program("/tmp/install-core-3.sh", "");
+package_extract_dir("optional/drive/4", "/tmp/drive");
+run_program("/tmp/install-core-4.sh", "");
+package_extract_dir("optional/drive/5", "/tmp/drive");
+run_program("/tmp/install-core-5.sh", "");
+package_extract_dir("optional/drive/6", "/tmp/drive");
+run_program("/tmp/install-core-6.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/app", "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");
+
+ui_print("Unmounting system.");
run_program("/sbin/busybox", "umount", "/system");
+
ui_print("Done.");
+
Only in gapps-kk-google-drive-20150428-1-signed: optional
Only in gapps-kk-google-drive-20150428-1-signed: scripts
Only in gapps-kk-google-drive-20150421-1-signed/system: app

diff -ru gapps-lp-google-drive-20150421-1-signed/META-INF/com/google/android/updater-script gapps-lp-google-drive-20150428-1-signed/META-INF/com/google/android/updater-script
--- gapps-lp-google-drive-20150421-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-lp-google-drive-20150428-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -2,15 +2,44 @@
ui_print(" Google Drive for Android 5.0.x ");
ui_print("***********************************************");

-ui_print("Installing files.");
+ui_print("Mounting system.");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/mount", "-o", "remount,rw", "/system", "/system");
show_progress(1, 15);
+
+ui_print("Cleaning system.");
delete_recursive("/system/app/GoogleDrive");
+
+ui_print("Installing files.");
+run_program("/sbin/mkdir", "/tmp/drive");
package_extract_dir("system", "/system");
+package_extract_dir("scripts", "/tmp");
+set_perm(0, 0, 0777, "/tmp/install-core-0.sh");
+set_perm(0, 0, 0777, "/tmp/install-core-2.sh");
+set_perm(0, 0, 0777, "/tmp/install-core-3.sh");
+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/drive/0", "/tmp/drive");
+run_program("/tmp/install-core-0.sh", "");
+package_extract_dir("optional/drive/2", "/tmp/drive");
+run_program("/tmp/install-core-2.sh", "");
+package_extract_dir("optional/drive/3", "/tmp/drive");
+run_program("/tmp/install-core-3.sh", "");
+package_extract_dir("optional/drive/4", "/tmp/drive");
+run_program("/tmp/install-core-4.sh", "");
+package_extract_dir("optional/drive/5", "/tmp/drive");
+run_program("/tmp/install-core-5.sh", "");
+package_extract_dir("optional/drive/6", "/tmp/drive");
+run_program("/tmp/install-core-6.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/app", "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.");
+
Only in gapps-lp-google-drive-20150428-1-signed: optional
Only in gapps-lp-google-drive-20150428-1-signed: scripts
Only in gapps-lp-google-drive-20150421-1-signed/system/app/GoogleDrive: GoogleDrive.apk

Google Search addon has been updated to version 4.5.12.19.arm-300405825

Google Search addon for 4.4.4: gapps-kk-google-search-20150428-1-signed.zip (replaces stock quicksearchbox)

Google Search addon for 5.0.2+: gapps-lp-google-search-20150428-1-signed.zip (replaces stock quicksearchbox)

Binary files gapps-kk-google-search-20150417-1-signed/system/lib/libcronet.so and gapps-kk-google-search-20150428-1-signed/system/lib/libcronet.so differ
Binary files gapps-kk-google-search-20150417-1-signed/system/lib/libgoogle_speech_jni.so and gapps-kk-google-search-20150428-1-signed/system/lib/libgoogle_speech_jni.so differ
Binary files gapps-kk-google-search-20150417-1-signed/system/lib/libgoogle_speech_micro_jni.so and gapps-kk-google-search-20150428-1-signed/system/lib/libgoogle_speech_micro_jni.so differ
Binary files gapps-kk-google-search-20150417-1-signed/system/priv-app/Velvet.apk and gapps-kk-google-search-20150428-1-signed/system/priv-app/Velvet.apk differ

Binary files gapps-lp-google-search-20150417-1-signed/system/priv-app/Velvet/lib/arm/libcronet.so and gapps-lp-google-search-20150428-1-signed/system/priv-app/Velvet/lib/arm/libcronet.so differ
Binary files gapps-lp-google-search-20150417-1-signed/system/priv-app/Velvet/lib/arm/libgoogle_speech_jni.so and gapps-lp-google-search-20150428-1-signed/system/priv-app/Velvet/lib/arm/libgoogle_speech_jni.so differ
Binary files gapps-lp-google-search-20150417-1-signed/system/priv-app/Velvet/lib/arm/libgoogle_speech_micro_jni.so and gapps-lp-google-search-20150428-1-signed/system/priv-app/Velvet/lib/arm/libgoogle_speech_micro_jni.so differ
Binary files gapps-lp-google-search-20150417-1-signed/system/priv-app/Velvet/Velvet.apk and gapps-lp-google-search-20150428-1-signed/system/priv-app/Velvet/Velvet.apk differ

Google Chrome has been updated to version 42.0.2311.111-2311111

Google Chrome addon for 4.4.4: gapps-kk-google-chrome-20150428-1-signed.zip (replaces stock web browser)

Google Chrome addon for 5.0.2+: gapps-lp-google-chrome-20150428-1-signed.zip (replaces stock web browser)

Binary files gapps-kk-google-chrome-20150421-1-signed/system/app/GoogleChrome.apk and gapps-kk-google-chrome-20150428-1-signed/system/app/GoogleChrome.apk differ
Binary files gapps-kk-google-chrome-20150421-1-signed/system/lib/libchrome.so and gapps-kk-google-chrome-20150428-1-signed/system/lib/libchrome.so differ
Binary files gapps-kk-google-chrome-20150421-1-signed/system/lib/libchromium_android_linker.so and gapps-kk-google-chrome-20150428-1-signed/system/lib/libchromium_android_linker.so differ

Binary files gapps-lp-google-chrome-20150421-1-signed/system/app/GoogleChrome/GoogleChrome.apk and gapps-lp-google-chrome-20150428-1-signed/system/app/GoogleChrome/GoogleChrome.apk differ
Binary files gapps-lp-google-chrome-20150421-1-signed/system/app/GoogleChrome/lib/arm/libchrome.so and gapps-lp-google-chrome-20150428-1-signed/system/app/GoogleChrome/lib/arm/libchrome.so differ
Binary files gapps-lp-google-chrome-20150421-1-signed/system/app/GoogleChrome/lib/arm/libchromium_android_linker.so and gapps-lp-google-chrome-20150428-1-signed/system/app/GoogleChrome/lib/arm/libchromium_android_linker.so differ