[Android] itje:
allrighty :-)

I hope I did it right then

Do I also edit the lines where it say MTD elsewhere in the script?

#
# Generated by dsixda's HTC Android Kitchen
# xda-developers.com
#
show_progress(0.1, 0);
format("ext3", "EMMC", "/dev/block/mmcblk0p25");
format("ext3", "EMMC", "/dev/block/mmcblk0p26");
[SIZE=3]mount("ext3", "EMMC", "/dev/block/mmcblk0p25", "/system");[/SIZE]
[SIZE=3]mount("ext3", "EMMC", "/dev/block/mmcblk0p26", "/data");[/SIZE]
[SIZE=3]delete("/data/local");[/SIZE]
[SIZE=3]run_program("check_data_app");[/SIZE]
[SIZE=3]mount("MTD", "userdata", "/data");[/SIZE]
[SIZE=3]package_extract_dir("data", "/data");[/SIZE]
[SIZE=3]set_perm(2000, 2000, 0771, "/data/local");[/SIZE]
[SIZE=3]set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");[/SIZE]
[SIZE=3]package_extract_dir("system", "/system");[/SIZE]
[SIZE=3]symlink("dumpstate", "/system/bin/dumpcrash");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/cat");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/chmod");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/chown");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/cmp");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/date");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/dd");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/df");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/dmesg");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/getevent");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/getprop");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/hd");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/id");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/ifconfig");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/iftop");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/insmod");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/ioctl");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/ionice");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/kill");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/ln");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/log");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/ls");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/lsmod");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/mkdir");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/mount");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/mv");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/nandread");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/netstat");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/newfs_msdos");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/notify");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/printenv");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/ps");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/renice");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/rm");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/rmdir");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/rmmod");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/route");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/schedtop");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/sendevent");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/setconsole");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/setprop");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/sleep");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/smd");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/start");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/stop");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/sync");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/top");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/umount");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/vmstat");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/watchprops");[/SIZE]
[SIZE=3]symlink("toolbox", "/system/bin/wipe");[/SIZE]
[SIZE=3]set_perm_recursive(0, 0, 0755, 0644, "/system");[/SIZE]
[SIZE=3]set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");[/SIZE]
[SIZE=3]set_perm(0, 3003, 06755, "/system/bin/ip");[/SIZE]
[SIZE=3]set_perm(0, 3003, 02750, "/system/bin/netcfg");[/SIZE]
[SIZE=3]set_perm(0, 3004, 02755, "/system/bin/ping");[/SIZE]
[SIZE=3]set_perm(0, 2000, 06750, "/system/bin/run-as");[/SIZE]
[SIZE=3]set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");[/SIZE]
[SIZE=3]set_perm(0, 0, 0755, "/system/etc/bluetooth");[/SIZE]
[SIZE=3]set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");[/SIZE]
[SIZE=3]set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");[/SIZE]
[SIZE=3]set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");[/SIZE]
[SIZE=3]set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");[/SIZE]
[SIZE=3]set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");[/SIZE]
[SIZE=3]set_perm(0, 0, 06755, "/system/bin/su");[/SIZE]
[SIZE=3]symlink("/system/bin/su", "/system/xbin/su");[/SIZE]
[SIZE=3]set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");[/SIZE]
[SIZE=3]show_progress(0.1, 10);[/SIZE]
[SIZE=3]show_progress(0.2, 0);[/SIZE]
[SIZE=3]run_program("installbusybox");[/SIZE]
[SIZE=3]set_perm(0, 1000, 0755, "/system/xbin/busybox");[/SIZE]
[SIZE=3]run_program("/xbin/busybox/mkdir", "/boot");[/SIZE]
[SIZE=3]mount("MTD", "boot", "/boot");[/SIZE]
[SIZE=3]package_extract_file("boot.img","/tmp/boot.img");[/SIZE]
[SIZE=3]write_raw_image("/tmp/boot.img", "boot");[/SIZE]
[SIZE=3]delete("/tmp/boot.img");[/SIZE]
[SIZE=3]show_progress(0.2, 10);[/SIZE]
[SIZE=3]unmount("/data");[/SIZE]
[SIZE=3]unmount("/system");[/SIZE]
[SIZE=3]unmount("/boot");[/SIZE]