Jump to content


Problem with updater-script

- - - - -

  • Please log in to reply
No replies to this topic

#1
Arnar

Arnar

    Newbie

  • Members
  • Pip
  • 44 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:

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.");
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, 04 December 2011 - 10:47 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users