[Sony Ericsson XPERIA X10 Mini] movelbit:
@pfonck

could you try this updater-script?

dont forget to name it with updater-script and place it on /META-INF/com/google/android with the update-binary. on root of the zip you will need the validate file.

Please test it.

ui_print("");
ui_print(" 2.1.1.Clean.0.0 ROM");
ui_print(" by pfonck");
ui_print("");
package_extract_file("validate", "/tmp/validate");
set_perm(0, 0, 0777, "/tmp/validate");
if (run_program("/tmp/validate") == "0");
then
ui_print(">> Starting Installation...");
ui_print(">> Cleaning System");
format("yaffs2", "MTD", "system");
delete_recursive("/data/dalvik-cache");
format("yaffs2", "MTD", "cache");
ui_print(">> Copying System Files");
mount("yaffs2", "MTD", "system", "/system");
package_extract_dir("system", "/system");
ui_print(">> Making Symlinks");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod", "/system/bin/chown", "/system/bin/cmp", "/system/bin/date", "/system/bin/dd", "/system/bin/df", "/system/bin/dmesg", "/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd", "/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/insmod", "/system/bin/ioctl", "/system/bin/kill", "/system/bin/ln", "/system/bin/log", "/system/bin/ls", "/system/bin/lsmod", "/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv", "/system/bin/netstat", "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv", "/system/bin/ps", "/system/bin/reboot", "/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop", "/system/bin/sendevent", "/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd", "/system/bin/start", "/system/bin/stop", "/system/bin/sync", "/system/bin/top", "/system/bin/umount", "/system/bin/vmstat", "/system/bin/watchprops", "/system/bin/wipe");
symlink("busybox", "/system/bin/[" , "/system/bin/[[", "/system/bin/acpid", "/system/bin/adjtimex", "/system/bin/arp", "/system/bin/arping", "/system/bin/ash", "/system/bin/awk", "/system/bin/base64", "/system/bin/basename", "/system/bin/beep", "/system/bin/blkid", "/system/bin/cal", "/system/bin/catv", "/system/bin/chattr", "/system/bin/chgrp", "/system/bin/chroot", "/system/bin/chrt", "/system/bin/cksum", "/system/bin/clear", "/system/bin/comm", "/system/bin/cp", "/system/bin/cut", "/system/bin/depmod", "/system/bin/devmem", "/system/bin/diff", "/system/bin/dirname", "/system/bin/dnsd", "/system/bin/dnsdomainname", "/system/bin/dos2unix", "/system/bin/du", "/system/bin/dumpkmap", "/system/bin/echo", "/system/bin/egrep", "/system/bin/env", "/system/bin/ether-wake", "/system/bin/expand", "/system/bin/expr", "/system/bin/fakeidentd", "/system/bin/fdflush", "/system/bin/fdformat", "/system/bin/fdisk", "/system/bin/fgrep", "/system/bin/find", "/system/bin/findfs", "/system/bin/flock", "/system/bin/fold", "/system/bin/free", "/system/bin/fsck", "/system/bin/fsync", "/system/bin/ftpget", "/system/bin/ftpput", "/system/bin/fuser", "/system/bin/getopt", "/system/bin/grep", "/system/bin/gunzip", "/system/bin/head", "/system/bin/hexdump", "/system/bin/hostid", "/system/bin/hostname", "/system/bin/httpd", "/system/bin/hwclock", "/system/bin/ifenslave", "/system/bin/inetd", "/system/bin/install", "/system/bin/ionice", "/system/bin/iostat", "/system/bin/ip", "/system/bin/ipaddr", "/system/bin/ipcalc", "/system/bin/iplink", "/system/bin/iproute", "/system/bin/iprule", "/system/bin/iptunnel", "/system/bin/killall", "/system/bin/killall5", "/system/bin/length", "/system/bin/less", "/system/bin/logname", "/system/bin/losetup", "/system/bin/lsattr", "/system/bin/lsusb", "/system/bin/md5sum", "/system/bin/mkdosfs", "/system/bin/mke2fs", "/system/bin/mkfifo", "/system/bin/mkfs.ext2", "/system/bin/mkfs.vfat", "/system/bin/mknod", "/system/bin/mkswap", "/system/bin/modinfo", "/system/bin/modprobe", "/system/bin/more", "/system/bin/mountpoint", "/system/bin/mpstat", "/system/bin/nc", "/system/bin/nice", "/system/bin/nmeter", "/system/bin/nohup", "/system/bin/nslookup", "/system/bin/ntpd", "/system/bin/od", "/system/bin/patch", "/system/bin/pgrep", "/system/bin/pidof", "/system/bin/ping6", "/system/bin/pkill", "/system/bin/pmap", "/system/bin/powertop", "/system/bin/printf", "/system/bin/pscan", "/system/bin/pwd", "/system/bin/rdate", "/system/bin/rdev", "/system/bin/readlink", "/system/bin/realpath", "/system/bin/reset", "/system/bin/resize", "/system/bin/rev", "/system/bin/runlevel", "/system/bin/script", "/system/bin/scriptreplay", "/system/bin/sed", "/system/bin/seq", "/system/bin/setkeycodes", "/system/bin/setlogcons", "/system/bin/setsid", "/system/bin/sha1sum", "/system/bin/sha256sum", "/system/bin/sha512sum", "/system/bin/showkey", "/system/bin/smemcap", "/system/bin/sort", "/system/bin/split", "/system/bin/stat", "/system/bin/strings", "/system/bin/stty", "/system/bin/sum", "/system/bin/sysctl", "/system/bin/tac", "/system/bin/tail", "/system/bin/tar", "/system/bin/tcpsvd", "/system/bin/tee", "/system/bin/telnet", "/system/bin/telnetd", "/system/bin/test", "/system/bin/tftp", "/system/bin/tftpd", "/system/bin/time", "/system/bin/timeout", "/system/bin/touch", "/system/bin/tr", "/system/bin/traceroute", "/system/bin/traceroute6", "/system/bin/tty", "/system/bin/ttysize", "/system/bin/tunctl", "/system/bin/udpsvd", "/system/bin/uname", "/system/bin/uncompress", "/system/bin/unexpand", "/system/bin/uniq", "/system/bin/unix2dos", "/system/bin/unzip", "/system/bin/uptime", "/system/bin/usleep", "/system/bin/uudecode", "/system/bin/uuencode", "/system/bin/vconfig", "/system/bin/vi", "/system/bin/watch", "/system/bin/wc", "/system/bin/wget", "/system/bin/who", "/system/bin/whoami", "/system/bin/zcat");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("su", "/system/xbin/su");
ui_print(">> Setting Permissions");
set_perm_recursive(0, 2000, 0755, 0755, "/system");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(0, 0, 0755, 0644, "/system/etc");
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");
ui_print("Done");
else
ui_print(">> Baseband Needed:");
ui_print(">> M76XX-TSNCJOLYM-53404015");
ui_print(">> Wrong Baseband detected");
ui_print(">> Installation aborted");
endif

IF and only IF previous code did not work, try replacing permission lines with this:

ui_print(">> Setting Permissions");
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(0, 3004, 02755, "/system/bin/ping");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluez");
set_perm(0, 0, 0755, "/etc/bluez");
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(0, 0, 06755, "/system/bin/su");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
ui_print("Done");

@bugoink2

is everything ok with v17?