Advertisement
Perka

Untitled

Jan 19th, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. ui_print("VillainTheme Flasher");
  2. ui_print("For more info etc, head to www.villainrom.co.uk");
  3. ui_print("This installs PerkaMOD by Team PerkaMOD");
  4. ui_print("Preparing to theme");
  5.  
  6. show_progress(1, 15);
  7. package_extract_file("busybox", "/cache/busybox");
  8. set_perm(0, 0, 0777, "/cache/busybox");
  9. run_program("/cache/busybox", "mount", "/system");
  10. run_program("/cache/busybox", "mount", "/data");
  11. run_program("/cache/busybox", "mount", "/cache");
  12.  
  13. ui_print("Wiping dalvik-cache");
  14. delete_recursive("/data/dalvik-cache");
  15. delete_recursive("/cache");
  16.  
  17. package_extract_dir("vrtheme", "/cache/vrtheme");
  18. set_perm(0, 0, 0755, "/cache/vrtheme/installtheme.sh");
  19. set_perm(0, 0, 0755, "/cache/vrtheme/zip");
  20. set_perm(0, 0, 0755, "/cache/vrtheme/cleanup.sh");
  21. set_perm(0, 0, 0755, "/cache/vrtheme/zipalign");
  22. run_program("/cache/vrtheme/installtheme.sh");
  23. ui_print("UI Theming complete");
  24.  
  25. run_program("/cache/vrtheme/cleanup.sh");
  26. package_extract_dir("system", "/system");
  27. package_extract_dir("data", "/data");
  28. ui_print("Additional files copied");
  29.  
  30. run_program("/cache/busybox", "umount", "/system");
  31. run_program("/cache/busybox", "umount", "/data");
  32. run_program("/cache/busybox", "umount", "/cache");
  33. ui_print("Thanks for using VillainTheme Flasher");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement