|
@@ -1,11 +1,12 @@
|
|
ui_print("Installing GApps...");
|
|
ui_print("Installing GApps...");
|
|
|
|
+run_program("/sbin/busybox", "umount", "/system");
|
|
run_program("/sbin/busybox", "mount", "/system");
|
|
run_program("/sbin/busybox", "mount", "/system");
|
|
show_progress(1, 15);
|
|
show_progress(1, 15);
|
|
-package_extract_dir("system", "/system");
|
|
|
|
-set_perm(0, 0, 0755, "/system/addon.d/30-gapps.sh");
|
|
|
|
-package_extract_file("system/faceunlock.sh", "/tmp/faceunlock.sh");
|
|
|
|
-set_perm(0, 0, 0777, "/tmp/faceunlock.sh");
|
|
|
|
-run_program("/tmp/faceunlock.sh", "");
|
|
|
|
|
|
+package_extract_dir("arch", "/system");
|
|
|
|
+package_extract_dir("common", "/system");
|
|
|
|
+set_perm(0, 0, 0777, "/system/gapps_scripts.sh");
|
|
|
|
+run_program("/systen/gapps_scripts.sh", "");
|
|
|
|
+delete("/system/gapps_scripts");
|
|
show_progress(1, 15);
|
|
show_progress(1, 15);
|
|
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/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/app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
|