Advertisement
baadnewz

Untitled

Aug 17th, 2011
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. ui_print("Extracting Boot Anim&Splash...");
  2. mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
  3. package_extract_dir("system", "/system");
  4. package_extract_dir("bootsplash", "/tmp");
  5. package_extract_dir("bootanim", "/system/customize/resource");
  6. set_perm(0, 0, 0777, "/tmp/dd");
  7. set_perm(0, 0, 0777, "/tmp/splash.img");
  8. set_perm(0, 0, 0644, "/system/customize/resource/bootanimation.zip");
  9.  
  10. ui_print("Flashing Splash...");
  11. run_program("/tmp/dd", "if=/tmp/splash.img", "of=/dev/block/mmcblk0p14");
  12.  
  13. ui_print(" ");
  14. ui_print("Done! :D");
  15. ui_print("show-p1984...");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement