(!less_than_int(1529673520, getprop("ro.build.date.utc"))) || abort("Can't install this package (Fri Jun 22 16:18:40 EEST 2018) over newer build (" + getprop("ro.build.date") + ").");
getprop("ro.product.device") == "CHDROID" || abort("This package is for \"CHDROID\" devices; this is a \"" + getprop("ro.product.device") + "\".");
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/mmcblk1p5", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/mmcblk1p1");
show_progress(0.200000, 10);
