Guest User

Untitled

a guest
May 26th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. ui_print("-------------------------------------------");
  2. ui_print("+ [Galaxy R] ardatdat OC UV kernel v1.3 +");
  3. ui_print("-------------------------------------------");
  4.  
  5. show_progress(0.100000, 0);
  6.  
  7. ui_print("Preparing kernel...");
  8. package_extract_file("boot.img", "/tmp/boot.img");
  9. run_program("/sbin/busybox", "dd", "if=/dev/zero", "of=/dev/block/mmcblk0p9");
  10.  
  11. ui_print("Flashing new kernel...");
  12. run_program("/sbin/busybox", "dd", "if=/tmp/boot.img", "of=/dev/block/mmcblk0p9");
  13. delete("/tmp/boot.img");
  14. run_program("/sbin/busybox", "sync");
  15.  
  16. show_progress(0.100000, 0);
  17.  
  18. ui_print("Done!");
Add Comment
Please, Sign In to add comment