Advertisement
Perka

csc_template_updater

Jan 14th, 2013
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. show_progress(0.500000, 0);
  2. ui_print(" ");
  3. ui_print("Perka Stash Release");
  4. ui_print(" ");
  5. ui_print("http://perka.zapto.org/");
  6. ui_print(" ");
  7. run_program("/sbin/mount", "/cache");
  8. unmount("/system");
  9. mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
  10. mount("ext4", "EMMC", "/dev/block/mmcblk0p8", "/cache");
  11. mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/data");
  12. delete_recursive("/system/csc");
  13. delete_recursive("/system/T9DB");
  14. delete("/system/SW_Configuration.xml");
  15. delete("/system/CSCVersion.txt");
  16. delete_recursive("/cache");
  17. delete_recursive("/data/dalvik-cache");
  18. show_progress(0.500000, 80);
  19. ui_print("Flashing CSC");
  20. package_extract_dir("system", "/system");
  21. unmount("/system");
  22. unmount("/data");
  23. ui_print("All done now reboot!");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement