Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ui_print("VillainTheme Flasher");
- ui_print("For more info etc, head to www.villainrom.co.uk");
- ui_print("This installs PerkaMOD by Team PerkaMOD");
- ui_print("Preparing to theme");
- show_progress(1, 15);
- package_extract_file("busybox", "/cache/busybox");
- set_perm(0, 0, 0777, "/cache/busybox");
- run_program("/cache/busybox", "mount", "/system");
- run_program("/cache/busybox", "mount", "/data");
- run_program("/cache/busybox", "mount", "/cache");
- ui_print("Wiping dalvik-cache");
- delete_recursive("/data/dalvik-cache");
- delete_recursive("/cache");
- package_extract_dir("vrtheme", "/cache/vrtheme");
- set_perm(0, 0, 0755, "/cache/vrtheme/installtheme.sh");
- set_perm(0, 0, 0755, "/cache/vrtheme/zip");
- set_perm(0, 0, 0755, "/cache/vrtheme/cleanup.sh");
- set_perm(0, 0, 0755, "/cache/vrtheme/zipalign");
- run_program("/cache/vrtheme/installtheme.sh");
- ui_print("UI Theming complete");
- run_program("/cache/vrtheme/cleanup.sh");
- package_extract_dir("system", "/system");
- package_extract_dir("data", "/data");
- ui_print("Additional files copied");
- run_program("/cache/busybox", "umount", "/system");
- run_program("/cache/busybox", "umount", "/data");
- run_program("/cache/busybox", "umount", "/cache");
- ui_print("Thanks for using VillainTheme Flasher");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement