[HTC Sensation] macmark88:
trying to make my own update.zip file but it keeps giving me the status 6 error. i now its a sytax error and i need to figure out what it is . i just want to see if anyone can help me with this or else show me what to use to edit the "updater-script" file.

This is what i have so far:

ui_print("The Scoot Custom Sensation UI");

show_progress(0.500000, 0);

ui_print("Mounting Data Partition Stuff...");

mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/data");

ui_print("Writing Data Stuff...");

package_extract_dir("data", "/data");

ui_print("Mounting System Partition Stuff...");

mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");

ui_print("Writing System Stuff...");

package_extract_dir("system", "/system");

ui_print("Doing Permission Stuff...");

set_perm_recursive(0, 0, 0755, 0644, "/system");

set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

set_perm(0, 3003, 02750, "/system/bin/netcfg");

set_perm_recursive(1000, 1000, 0771, 0644, "/data/data/com.android.providers.contacts/files");

set_perm(0, 2000, 0775, "/system/bin/iptables");

set_perm_recursive(1002, 1002, 0775, 0440, "/system/etc/bluez");

set_perm(0, 0, 0644, "/system/bin/profile");

set_perm(0, 0, 0775, "/system/etc/bluez");

set_perm(1000, 1000, 0755, "/system/bin/bash");

set_perm(1000, 1000, 0755, "/system/bin/nano");

set_perm(1000, 1000, 0755, "/system/bin/sysro");

set_perm(1000, 1000, 0755, "/system/bin/sysrw");

set_perm(1000, 1000, 0755, "/system/xbin/openvpn");

set_perm(0, 3003, 0755, "/system/bin/ip");

set_perm(0, 3003, 0755, "/system/bin/ipd");

set_perm(0, 2000, 06755, "/system/bin/reboot");

set_perm(0, 2000, 06750, "/system/bin/run-as");

set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");

set_perm(0, 0, 0755, "/system/etc/bluetooth");

set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");

set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");

set_perm(0, 3004, 02755, "/system/bin/ping");

set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");

set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");

set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");

set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");

set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");

set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");

set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");

set_perm(1000, 1000, 0755, "/system/xbin/openvpn");

set_perm(0, 0, 06755, "/system/xbin/su");

set_perm(0, 0, 06755, "/system/bin/su");

set_perm(0, 0, 04755, "/system/xbin/busybox");

set_perm(0, 0, 04755, "/system/bin/sh");

set_perm_recursive(1000, 1000, 0771, 0644, "/system/mnt");

set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");

set_perm(0, 2000, 0755, "/system/vendor/firmware");

set_perm(1000, 1000, 0771, "/data");

set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");

set_perm (0, 0, 0777, "/system/etc/init.d/95modules");

set_perm (0, 0, 0777, "/system/etc/init.d/97zipalign");

set_perm (0, 0, 0777, "/system/etc/init.d/99complete");

unmount("/system");

unmount("/data");

ui_print("It is Time!!");

show_progress(0.100000, 0);

any help at all would be appreciated :cool:

PS: this update.zip is for a system UI update for sense 3.5 i dont know if that helps :rolleyes: