Jump to content

Problem with updater-script


Guest Arnar

Recommended Posts

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:

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.");

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 :(

Edited by Arnar
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.