I am attempting to make the Format All in Edify rather than Amend. Here is the updater-script:
ui_print("***********************************************");
ui_print("Performing Wipe All");
ui_print("Mounting mount points...");
run_program("/sbin/mount", "/dev/block/stl9", "/system");
run_program("/sbin/mount", "/dev/block/stl10", "/data");
run_program("/sbin/mount", "/dev/block/stl11", "/cache");
show_progress(0.1, 0);
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("Update Complete.");
I pulled a binary from a kernel but I am still getting "installation aborted". Any help in getting this running would be greatly appreciated. I made the updater-script in notepad++ but I think it is saved as the wrong file type.
Here is the zip:
http://db.tt/ioMPkUH
Thanks in advance.
ui_print("***********************************************");
ui_print("Performing Wipe All");
ui_print("Mounting mount points...");
run_program("/sbin/mount", "/dev/block/stl9", "/system");
run_program("/sbin/mount", "/dev/block/stl10", "/data");
run_program("/sbin/mount", "/dev/block/stl11", "/cache");
show_progress(0.1, 0);
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("Update Complete.");
I pulled a binary from a kernel but I am still getting "installation aborted". Any help in getting this running would be greatly appreciated. I made the updater-script in notepad++ but I think it is saved as the wrong file type.
Here is the zip:
http://db.tt/ioMPkUH
Thanks in advance.