[Samsung Galaxy Gio GT-S5660] Peteragent5:
Hey Darkshado,

Do you know the difference between Phiexz's ext4formatter versus yours?

Phiexz's ext4formatter updater-script:

assert(getprop("ro.product.device") == "gio" || getprop("ro.build.product") == "gio" || getprop("ro.product.board") == "gio" ||
getprop("ro.product.device") == "GT-S5660" || getprop("ro.build.product") == "GT-S5660" || getprop("ro.product.board") == "GT-S5660");
ui_print("EXT4 FORMATER");
ui_print("--------------");
ui_print("");
unmount("/system");
unmount("/cache");
unmount("/data");
ui_print("Format system to ext4");
format("ext4", "EMMC", "/dev/block/stl12");
ui_print("Format cache to ext4");
format("ext4", "EMMC", "/dev/block/stl14");
ui_print("Format data to ext4");
format("ext4", "EMMC", "/dev/block/stl13");
ui_print("Done, -px-");

Darkshado's EXT4Formatter updater-script:

ui_print("EXT4 Formatter by Dameon87");
ui_print("Modified for Galaxy Gio by Darkshado");
ui_print("==========================");
ui_print("Starting Operation...");
ui_print("Copying files required to format...");
package_extract_file("tools/fsck.ext4", "/tmp/fsck.ext4");
package_extract_file("tools/tune2fs", "/tmp/tune2fs");
package_extract_file("tools/mkfs.ext4", "/tmp/mkfs.ext4");
package_extract_file("tools/mke2fs.conf", "/etc/mke2fs.conf");
package_extract_file("tools/formatsystem", "/tmp/formatsystem");
package_extract_file("tools/formatdata", "/tmp/formatdata");
package_extract_file("tools/formatcache", "/tmp/formatcache");
set_perm(0, 0, 0755, "/tmp/mkfs.ext4");
set_perm(0, 0, 0755, "/tmp/fsck.ext4");
set_perm(0, 0, 0755, "/tmp/tune2fs");
set_perm(0, 0, 0755, "/etc/mke2fs.conf");
set_perm(0, 0, 0755, "/tmp/formatsystem");
set_perm(0, 0, 0755, "/tmp/formatdata");
set_perm(0, 0, 0755, "/tmp/formatcache");
ui_print("Formatting stl12 - system...");
ui_print("This may take a while...");
unmount("/system");
run_program("/tmp/mkfs.ext4", "-L", "/system", "-b", "4096", "-m", "0", "-F", "/dev/block/stl12");
ui_print("Tuning filesystem...");
run_program("/tmp/tune2fs", "-c", "100", "-i", "30d", "-m", "0", "/dev/block/stl12");
ui_print("Mounting /system as ext4...");
run_program("/sbin/mount", "-t", "ext4", "/dev/block/stl12 /system");
ui_print("Formatting system complete!");
ui_print("Formatting stl13 - data...");
ui_print("This may take a while...");
unmount("/data");
run_program("/tmp/mkfs.ext4", "-L", "/data", "-b", "4096", "-m", "0", "-F", "/dev/block/stl13");
ui_print("Tuning filesystem...");
run_program("/tmp/tune2fs", "-c", "100", "-i", "30d", "-m", "0", "/dev/block/stl13");
ui_print("Mounting /data as ext4...");
run_program("/sbin/mount", "-t", "ext4", "/dev/block/stl13 /data");
ui_print("Formatting data complete!");
ui_print("Formatting stl14 - cache...");
ui_print("This may take a while...");
unmount("/cache");
run_program("/tmp/mkfs.ext4", "-L", "/cache", "-b", "4096", "-m", "0", "-F", "/dev/block/stl14");
ui_print("Tuning filesystem...");
run_program("/tmp/tune2fs", "-c", "100", "-i", "30d", "-m", "0", "/dev/block/stl14");
ui_print("Mounting /cache as ext4...");
run_program("/sbin/mount", "-t", "ext4", "/dev/block/stl14 /cache");
ui_print("Formatting cache complete!");
ui_print("Formatting operation complete!");
ui_print("If your kernel doesn't support ext4");
ui_print("you need to flash one now or the device");
ui_print("will not boot!!!");
ui_print("DO NOT REBOOT UNTIL YOU HAVE DONE THIS!");