Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ui_print("Welcome to t0mm13b's ztebladefmd, built against RC4 config");
- ui_print("Warning: This is EXPERIMENTAL and not official!... RDS + USB Host");
- ui_print("Extracting ztebladefmd binary to /system/share/ztebladefm/");
- mount("yaffs2", "MTD", "system", "/system");
- package_extract_dir("system", "/system");
- set_perm(0, 0, 0755, "/system/share/ztebladefm/ztebladefmd");
- unmount("/system");
- ui_print("Permissions set so anyone can exec it... [no exploiting plzkthxbai :P] lulz");
- ui_print("Notify t0mm13b via forums or #zteblade for any feedback. Please reboot!");
- // another
- ui_print("Warning: This is EXPERIMENTAL and not official!... ");
- mount("yaffs2", "MTD", "system", "/system");
- delete_recursive("/system/lib/modules");
- ui_print("cleaned /system/lib/modules");
- package_extract_dir("system", "/system");
- ui_print("Installing boot.img...");
- assert(package_extract_file("boot.img", "/tmp/boot.img"),
- write_raw_image("/tmp/boot.img", "boot"),
- delete("/tmp/boot.img"));
- ui_print("written boot.img");
- unmount("/system");
- ui_print("Notify t0mm13b via forums or #zteblade for any feedback. Please reboot!");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement