mount("ext4", "EMMC", "/dev/block/mmcblk0p6", "/system");
ui_print("+++++++++++++++++++++++++++++++++++++");
ui_print(" BOOT UPDATE ");
ui_print(" By OROCHI ");
ui_print(" TURKDEVS ");
ui_print(" forum.turkdevs.com ");
ui_print("+++++++++++++++++++++++++++++++++++++");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "bootimg"),
delete("/tmp/boot.img"));
ui_print(" Finished ");
ui_print("+++++++++++++++++++++++++++++++++++++");
unmount("/system");