ui_print("Formatting in EXT4...");

# begin
ui_print(" ");
ui_print("System partition...");
unmount("/system");
format("ext4", "EMMC", "/dev/block/stl9");
mount("ext4", "EMMC", "/dev/block/stl9", "/system");

ui_print(" ");
ui_print("Cache partition...");
unmount("/cache");
format("ext4", "EMMC", "/dev/block/stl10");
mount("ext4", "EMMC", "/dev/block/stl10", "/cache");

ui_print(" ");
ui_print("Data partition...");
unmount("/data");
format("ext4", "EMMC", "/dev/block/stl11");
mount("ext4", "EMMC", "/dev/block/stl11", "/data");
set_progress(0.200000);

ui_print(" ");
ui_print(" ");
ui_print("All done now you can flash kernel, then reboot recovery!");
ui_print("By Lopicl.00");