ui_print("Installing JB bootloader, unlocked kernel and unlocked recovery");show_progress(0.1, 0);

show_progress(0.1, 10);
ui_print("Installing kernel");
assert(package_extract_file("boot.lok", "/tmp/boot.lok"),
       write_raw_image("/tmp/boot.lok", "/dev/block/mmcblk0p7"),
       delete("/tmp/boot.lok"));
show_progress(0.2, 10);
ui_print("Done!");
ui_print("  Flashing Stock Recovery");
      assert(package_extract_file("recovery.lok", "/tmp/recovery.lok"),
      write_raw_image("/tmp/recovery.lok", "/dev/block/mmcblk0p18"),
      delete("/tmp/recovery.lok"));ui_print("Flashing Updated Bootloader..");show_progress(0.1, 90);assert(package_extract_file("aboot.mbn", "/dev/block/mmcblk0p5"));show_progress(1.000000, 0);


ui_print("This has been brought to you by billard412");show_progress(0.1, 0);

unmount("/system");
