Commits

RomanGol committed 0bfb037

Update Zip make tools

include testsign.jar tools and a template directory

  • Participants
  • Parent commits 437216f

Comments (0)

Files changed (10)

update_tools/diao.sh

+java -jar testsign.jar update.zip diaos.zip

update_tools/template/META-INF/com/google/android/update-binary

Binary file added.

update_tools/template/META-INF/com/google/android/updater-script

+run_program("/sbin/busybox", "mount", "/system");
+run_program("/sbin/busybox", "mount", "/data");
+ui_print("DIAOS install script - 2012 RomanGol");
+ui_print("Version 0.01");
+ui_print("Install DIAOS...");
+set_progress(1.000000);
+ui_print("Removing old Dalvik...");
+delete("/system/lib/libdvm.so");
+show_progress(0.400000, 0);
+ui_print("Copy DIAOS...");
+ui_print("Unpacking libdvm...");
+package_extract_dir("system", "/system");
+ui_print("fixing lib permissions...");
+set_perm_recursive(0, 0, 0777, 0777, "/system/lib");
+show_progress(0.400000, 0);
+ui_print("Copy DIAOS config file...");
+ui_print("Unpacking config files...");
+package_extract_dir("data", "/data");
+ui_print("fixing config permissions...");
+set_perm_recursive(0, 0, 0777, 0777, "/data/diaos");
+show_progress(1.000000, 0);
+ui_print("Unmounting system...");
+run_program("/sbin/busybox", "umount", "/system");
+run_program("/sbin/busybox", "umount", "/data");
+ui_print("DIAO BAO LE!");

update_tools/template/data/diaos/class.dlist

+Lcom/swapTest/SwapTestActivity;
+

update_tools/template/data/diaos/funcs.bin

Empty file added.

update_tools/template/data/diaos/method.dlist

Empty file added.

update_tools/template/data/diaos/opcodes.bin

Empty file added.

update_tools/template/data/diaos/proc.dlist

+com.swapTest
+

update_tools/template/system/lib/libdvm.so

Binary file added.

update_tools/testsign.jar

Binary file added.