[Android Software Development] Deltadroid:
Maps (Multi DPI)

Google Maps installer has been updated to support multi DPI. The following DPI's are supported:

9.9.0-909010120 (All DPI) ** Missing **

9.9.0-909010121 (160 DPI)

9.9.0-909010122 (240 DPI)

9.9.0-909010123 (360 DPI)

9.9.0-909010124 (480 DPI)

The default DPI is set to 480 DPI if the DPI is undefined. I will change the default DPI to use the universal All DPI version as soon as a copy becomes available.

Google Maps addon for 4.4.4: gapps-kk-google-maps-20150526-1-signed.zip

Google Maps addon for 5.0.2+: gapps-lp-google-maps-20150526-1-signed.zip

diff -ru '--exclude=CERT.RSA' '--exclude=CERT.SF' '--exclude=MANIFEST.MF' gapps-kk-google-maps-20150525-1-signed/META-INF/com/google/android/updater-script gapps-kk-google-maps-20150526-1-signed/META-INF/com/google/android/updater-script
--- gapps-kk-google-maps-20150525-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-kk-google-maps-20150526-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -1,17 +1,43 @@
ui_print("***********************************************");
-ui_print(" Google Maps for Android 4.4.4 ");
+ui_print(" Google Maps 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/GoogleMaps.apk");
+
+ui_print("Installing files.");
+run_program("/sbin/mkdir", "/tmp/maps");
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");
+package_extract_dir("optional/maps/4", "/tmp/maps");
+run_program("/tmp/install-core-0.sh", "");
+package_extract_dir("optional/maps/1", "/tmp/maps");
+run_program("/tmp/install-core-1.sh", "");
+package_extract_dir("optional/maps/2", "/tmp/maps");
+run_program("/tmp/install-core-2.sh", "");
+package_extract_dir("optional/maps/3", "/tmp/maps");
+run_program("/tmp/install-core-3.sh", "");
+package_extract_dir("optional/maps/4", "/tmp/maps");
+run_program("/tmp/install-core-4.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-maps-20150526-1-signed: optional
Only in gapps-kk-google-maps-20150526-1-signed: scripts
Only in gapps-kk-google-maps-20150525-1-signed/system: app
Binary files gapps-kk-google-maps-20150525-1-signed/system/lib/libgmm-jni.so and gapps-kk-google-maps-20150526-1-signed/system/lib/libgmm-jni.so differ

diff -ru '--exclude=CERT.RSA' '--exclude=CERT.SF' '--exclude=MANIFEST.MF' gapps-lp-google-maps-20150525-1-signed/META-INF/com/google/android/updater-script gapps-lp-google-maps-20150526-1-signed/META-INF/com/google/android/updater-script
--- gapps-lp-google-maps-20150525-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-lp-google-maps-20150526-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -1,16 +1,42 @@
ui_print("***********************************************");
-ui_print(" Google Maps for Android 5.0.x ");
+ui_print(" Google Maps 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/GoogleMaps");
+
+ui_print("Installing files.");
+run_program("/sbin/mkdir", "/tmp/maps");
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");
+package_extract_dir("optional/maps/4", "/tmp/maps");
+run_program("/tmp/install-core-0.sh", "");
+package_extract_dir("optional/maps/1", "/tmp/maps");
+run_program("/tmp/install-core-1.sh", "");
+package_extract_dir("optional/maps/2", "/tmp/maps");
+run_program("/tmp/install-core-2.sh", "");
+package_extract_dir("optional/maps/3", "/tmp/maps");
+run_program("/tmp/install-core-3.sh", "");
+package_extract_dir("optional/maps/4", "/tmp/maps");
+run_program("/tmp/install-core-4.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-maps-20150526-1-signed: optional
Only in gapps-lp-google-maps-20150526-1-signed: scripts
Only in gapps-lp-google-maps-20150525-1-signed/system/app/GoogleMaps: GoogleMaps.apk
Binary files gapps-lp-google-maps-20150525-1-signed/system/app/GoogleMaps/lib/arm/libgmm-jni.so and gapps-lp-google-maps-20150526-1-signed/system/app/GoogleMaps/lib/arm/libgmm-jni.so differ