Hi, I am trying to edit a updater-script in a flashable CWM zip file to mount the vendor partition and then remove some files from it. This is what I have so far and it's not working, I can flash the zip but the app is not removed:
I am well aware I can use Titanium Backup to remove the app in question but I want to do it this way for a project of mine.
Code:
show_progress(0.1, 0);
ui_print(" ");
ui_print(" ");
ui_print("VENDOR CLEANER, GO!");
ui_print(" ");
ui_print(" ");
mount("MTD", "system", "/system");
run_program("/system/xbin/busybox", "mount", "-wt", "yaffs2", "/dev/mtdblock1", "/system/vendor");
run_program("/system/xbin/busybox", "rm", "-f", "/system/vendor/app/trackid.apk");
unmount("/system");
unmount("/system/vendor");
show_progress(1, 0);
ui_print(" ");
ui_print(" ");
ui_print("FLASH SUCCESSFUL");