nobreak1970
Well-Known Member
Can this script be made into a flashable zip for CWM?
I want try it to unbrick my phone.
ui_print("Performing Wipe...");
ui_print("Mounting mount points...");
run_program("/sbin/mount", "/dev/block/platform/s3c-sdhci.0/by-name/system", "/system");
run_program("/sbin/mount", "/dev/block/platform/s3c-sdhci.0/by-name/userdata", "/data");
run_program("/sbin/mount", "/dev/block/mtdblock4", "/cache");
run_program("/sbin/mount", "/dev/block/mtdblock2", "/boot");
show_progress(0.1, 0);
ui_print("Wiping BOOT, CACHE, DATA, SYSTEM");
delete_recursive("/boot");
delete_recursive("/cache");
delete_recursive("/data");
delete_recursive("/system");
show_progress(0.1, 10);
ui_print("Unmounting mount points...");
run_program("/sbin/umount", "/system");
run_program("/sbin/umount", "/data");
run_program("/sbin/umount", "/cache");
ui_print("Wipe Complete.");
I want try it to unbrick my phone.
ui_print("Performing Wipe...");
ui_print("Mounting mount points...");
run_program("/sbin/mount", "/dev/block/platform/s3c-sdhci.0/by-name/system", "/system");
run_program("/sbin/mount", "/dev/block/platform/s3c-sdhci.0/by-name/userdata", "/data");
run_program("/sbin/mount", "/dev/block/mtdblock4", "/cache");
run_program("/sbin/mount", "/dev/block/mtdblock2", "/boot");
show_progress(0.1, 0);
ui_print("Wiping BOOT, CACHE, DATA, SYSTEM");
delete_recursive("/boot");
delete_recursive("/cache");
delete_recursive("/data");
delete_recursive("/system");
show_progress(0.1, 10);
ui_print("Unmounting mount points...");
run_program("/sbin/umount", "/system");
run_program("/sbin/umount", "/data");
run_program("/sbin/umount", "/cache");
ui_print("Wipe Complete.");
Last edited: