[Android Software Development] Deltadroid:
Earth

Google Earth has been updated to a Multi-DPI installation package. The following DPI versions are included:

8.0.2.2334-151260701 (160 DPI)

8.0.2.2334-151260703 (320 DPI)

8.0.2.2334-151260704 (480 DPI) ** Default **

Google Earth addon for 4.4.4: gapps-kk-google-earth-20150701-1-signed.zip

Google Earth addon for 5.0.2+: gapps-lp-google-earth-20150701-1-signed.zip

diff -ru '--exclude=CERT.RSA' '--exclude=CERT.SF' '--exclude=MANIFEST.MF' gapps-kk-google-earth-20150610-1-signed/META-INF/com/google/android/updater-script gapps-kk-google-earth-20150701-1/META-INF/com/google/android/updater-script
--- gapps-kk-google-earth-20150610-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-kk-google-earth-20150701-1/META-INF/com/google/android/updater-script	2015-07-02 00:06:14.900087734 +0200
@@ -2,16 +2,45 @@
ui_print(" Google Earth 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/GoogleEarth.apk");
+
+ui_print("Installing files.");
+run_program("/sbin/mkdir", "/tmp/earth");
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-1.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");
+package_extract_dir("optional/earth/4", "/tmp/earth");
+run_program("/tmp/install-core-0.sh", "");
+package_extract_dir("optional/earth/1", "/tmp/earth");
+run_program("/tmp/install-core-1.sh", "");
+# package_extract_dir("optional/earth/2", "/tmp/earth");
+# run_program("/tmp/install-core-2.sh", "");
+package_extract_dir("optional/earth/3", "/tmp/earth");
+run_program("/tmp/install-core-3.sh", "");
+package_extract_dir("optional/earth/4", "/tmp/earth");
+run_program("/tmp/install-core-4.sh", "");
+# package_extract_dir("optional/earth/5", "/tmp/earth");
+# run_program("/tmp/install-core-5.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-earth-20150701-1: optional
Only in gapps-kk-google-earth-20150701-1: scripts
Only in gapps-kk-google-earth-20150610-1-signed/system: app

diff -ru '--exclude=CERT.RSA' '--exclude=CERT.SF' '--exclude=MANIFEST.MF' gapps-lp-google-earth-20150610-1-signed/META-INF/com/google/android/updater-script gapps-lp-google-earth-20150701-1-signed/META-INF/com/google/android/updater-script
--- gapps-lp-google-earth-20150610-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-lp-google-earth-20150701-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -2,15 +2,44 @@
ui_print(" Google Earth 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/GoogleEarth");
+
+ui_print("Installing files.");
+run_program("/sbin/mkdir", "/tmp/earth");
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-1.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");
+package_extract_dir("optional/earth/4", "/tmp/earth");
+run_program("/tmp/install-core-0.sh", "");
+package_extract_dir("optional/earth/1", "/tmp/earth");
+run_program("/tmp/install-core-1.sh", "");
+# package_extract_dir("optional/earth/2", "/tmp/earth");
+# run_program("/tmp/install-core-2.sh", "");
+package_extract_dir("optional/earth/3", "/tmp/earth");
+run_program("/tmp/install-core-3.sh", "");
+package_extract_dir("optional/earth/4", "/tmp/earth");
+run_program("/tmp/install-core-4.sh", "");
+# package_extract_dir("optional/earth/5", "/tmp/earth");
+# run_program("/tmp/install-core-5.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-earth-20150701-1-signed: optional
Only in gapps-lp-google-earth-20150701-1-signed: scripts
Only in gapps-lp-google-earth-20150610-1-signed/system/app/GoogleEarth: GoogleEarth.apk