assert(getprop("ro.product.device") == "u8815" || getprop("ro.build.product") == "u8815" || 
       getprop("ro.product.device") == "hwu8815" || getprop("ro.build.product") == "hwu8815");

ui_print(" ");
ui_print("*****************************************");
ui_print(" ");
ui_print("     Android 4.0.3 for Huawei U8815      ");
ui_print("        simple boot image updater        ");
ui_print(" ");
ui_print("          created by Omegamoon           ");
ui_print("   visit www.omegamoon.com for updates   ");
ui_print(" ");
ui_print("*****************************************");
ui_print(" ");

show_progress(0.1, 0);
ui_print("Mounting System Partition...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");

show_progress(0.8, 40);

show_progress(0.2, 10);
ui_print("Installing Boot Image...");
package_extract_file("boot.img", "/dev/block/mmcblk0p15");

show_progress(0.1, 0);
unmount("/system");

ui_print("Installation Complete");
ui_print("Please Reboot, and have fun!");
