I'm trying to make a update zip to flash in ClockWorkmod which replaces two apps. I've been reading forum posts all around the internet to try to do this on my own but I've been trying all night. The flashing completes but nothing is changed afterwards. Here's my updater-script:
Why not just do it inside android, you might ask. I really want to learn this stuff, that's why 
Thanks, Arnar.
EDIT: well, this is awkward... I got it working literally minutes after posting this, I replaced the run_program commands with mount and unmount. I'm really sorry about this useless post
Quote
run_program("/sbin/mount", "/dev/block/stl9", "/system");
ui_print("Removing alarming.apk...");
delete("/system/app/alarming.apk");
ui_print("Installing DeskClock.apk...");
package_extract_dir("system", "/system");
run_program("/sbin/umount", "/system");
ui_print("Update Complete.");
ui_print("Removing alarming.apk...");
delete("/system/app/alarming.apk");
ui_print("Installing DeskClock.apk...");
package_extract_dir("system", "/system");
run_program("/sbin/umount", "/system");
ui_print("Update Complete.");
Thanks, Arnar.
EDIT: well, this is awkward... I got it working literally minutes after posting this, I replaced the run_program commands with mount and unmount. I'm really sorry about this useless post
Edited by Arnar, 04 December 2011 - 10:47 PM.






Sign In
Create Account

Back to top








