[Sony Ericsson XPERIA X10 Mini] pfonck:
@bitmovel

Maybe it's possible to make update script drop apk's in /data/app instead of /system/app?

I'm working on following installation procedure:

1.) use Flashtool bitmovel version to install whatever you need

2.) install clean rom using CwM

3.) install update sing CwM

Somehow I can not manage to build a CwM-installable rom from dsixda's kitchen. Device keeps hanging at first SE logo

This is the script it puts out:

show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("busybox", "/system/bin/arping");
symlink("busybox", "/system/bin/ash");
symlink("busybox", "/system/bin/awk");
symlink("busybox", "/system/bin/basename");
symlink("busybox", "/system/bin/bbconfig");
symlink("busybox", "/system/bin/bunzip2");
symlink("busybox", "/system/bin/bzcat");
symlink("busybox", "/system/bin/bzip2");
symlink("toolbox", "/system/bin/cat");
symlink("busybox", "/system/bin/catv");
symlink("busybox", "/system/bin/chattr");
symlink("busybox", "/system/bin/chgrp");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("busybox", "/system/bin/chroot");
symlink("busybox", "/system/bin/chrt");
symlink("busybox", "/system/bin/chvt");
symlink("busybox", "/system/bin/cksum");
symlink("busybox", "/system/bin/clear");
symlink("toolbox", "/system/bin/cmp");
symlink("busybox", "/system/bin/cp");
symlink("busybox", "/system/bin/crond");
symlink("busybox", "/system/bin/crontab");
symlink("busybox", "/system/bin/cut");
symlink("toolbox", "/system/bin/date");
symlink("busybox", "/system/bin/dc");
symlink("toolbox", "/system/bin/dd");
symlink("busybox", "/system/bin/deallocvt");
symlink("busybox", "/system/bin/depmod");
symlink("busybox", "/system/bin/devmem");
symlink("toolbox", "/system/bin/df");
symlink("busybox", "/system/bin/dhcprelay");
symlink("busybox", "/system/bin/diff");
symlink("busybox", "/system/bin/dirname");
symlink("toolbox", "/system/bin/dmesg");
symlink("busybox", "/system/bin/dnsd");
symlink("busybox", "/system/bin/dnsdomainname");
symlink("busybox", "/system/bin/dos2unix");
symlink("busybox", "/system/bin/du");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("busybox", "/system/bin/dumpkmap");
symlink("busybox", "/system/bin/dumpleases");
symlink("busybox", "/system/bin/echo");
symlink("busybox", "/system/bin/egrep");
symlink("busybox", "/system/bin/env");
symlink("busybox", "/system/bin/ether-wake");
symlink("busybox", "/system/bin/expr");
symlink("busybox", "/system/bin/false");
symlink("busybox", "/system/bin/fbset");
symlink("busybox", "/system/bin/fbsplash");
symlink("busybox", "/system/bin/fdisk");
symlink("busybox", "/system/bin/fgrep");
symlink("busybox", "/system/bin/find");
symlink("busybox", "/system/bin/fold");
symlink("busybox", "/system/bin/free");
symlink("busybox", "/system/bin/freeramdisk");
symlink("busybox", "/system/bin/fsck");
symlink("busybox", "/system/bin/fuser");
symlink("toolbox", "/system/bin/getevent");
symlink("busybox", "/system/bin/getopt");
symlink("toolbox", "/system/bin/getprop");
symlink("busybox", "/system/bin/grep");
symlink("busybox", "/system/bin/gunzip");
symlink("toolbox", "/system/bin/hd");
symlink("busybox", "/system/bin/head");
symlink("busybox", "/system/bin/hexdump");
symlink("busybox", "/system/bin/hostname");
symlink("busybox", "/system/bin/hwclock");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("busybox", "/system/bin/ifdown");
symlink("toolbox", "/system/bin/iftop");
symlink("busybox", "/system/bin/ifup");
symlink("toolbox", "/system/bin/insmod");
symlink("busybox", "/system/bin/install");
symlink("toolbox", "/system/bin/ioctl");
symlink("busybox", "/system/bin/ip");
symlink("busybox", "/system/bin/ipaddr");
symlink("busybox", "/system/bin/ipcalc");
symlink("busybox", "/system/bin/iplink");
symlink("busybox", "/system/bin/iproute");
symlink("busybox", "/system/bin/iprule");
symlink("busybox", "/system/bin/iptunnel");
symlink("busybox", "/system/bin/kbd_mode");
symlink("toolbox", "/system/bin/kill");
symlink("busybox", "/system/bin/killall");
symlink("busybox", "/system/bin/killall5");
symlink("busybox", "/system/bin/last");
symlink("busybox", "/system/bin/length");
symlink("busybox", "/system/bin/less");
symlink("toolbox", "/system/bin/ln");
symlink("busybox", "/system/bin/loadfont");
symlink("busybox", "/system/bin/loadkmap");
symlink("toolbox", "/system/bin/log");
symlink("busybox", "/system/bin/losetup");
symlink("toolbox", "/system/bin/ls");
symlink("busybox", "/system/bin/lsattr");
symlink("toolbox", "/system/bin/lsmod");
symlink("busybox", "/system/bin/makedevs");
symlink("busybox", "/system/bin/md5sum");
symlink("busybox", "/system/bin/mdev");
symlink("toolbox", "/system/bin/mkdir");
symlink("busybox", "/system/bin/mkdosfs");
symlink("busybox", "/system/bin/mkfifo");
symlink("busybox", "/system/bin/mkfs.vfat");
symlink("busybox", "/system/bin/mknod");
symlink("busybox", "/system/bin/mkswap");
symlink("busybox", "/system/bin/mktemp");
symlink("busybox", "/system/bin/modprobe");
symlink("busybox", "/system/bin/more");
symlink("toolbox", "/system/bin/mount");
symlink("busybox", "/system/bin/mountpoint");
symlink("toolbox", "/system/bin/mv");
symlink("busybox", "/system/bin/nameif");
symlink("busybox", "/system/bin/nc");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("busybox", "/system/bin/nice");
symlink("busybox", "/system/bin/nmeter");
symlink("busybox", "/system/bin/nohup");
symlink("toolbox", "/system/bin/notify");
symlink("busybox", "/system/bin/nslookup");
symlink("busybox", "/system/bin/od");
symlink("busybox", "/system/bin/openvt");
symlink("busybox", "/system/bin/patch");
symlink("busybox", "/system/bin/pidof");
symlink("busybox", "/system/bin/pipe_progress");
symlink("busybox", "/system/bin/pivot_root");
symlink("toolbox", "/system/bin/printenv");
symlink("busybox", "/system/bin/printf");
symlink("toolbox", "/system/bin/ps");
symlink("busybox", "/system/bin/pscan");
symlink("busybox", "/system/bin/pwd");
symlink("busybox", "/system/bin/rdate");
symlink("busybox", "/system/bin/rdev");
symlink("busybox", "/system/bin/readlink");
symlink("busybox", "/system/bin/readprofile");
symlink("busybox", "/system/bin/realpath");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("busybox", "/system/bin/reset");
symlink("busybox", "/system/bin/resize");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("busybox", "/system/bin/run-parts");
symlink("toolbox", "/system/bin/schedtop");
symlink("busybox", "/system/bin/sed");
symlink("toolbox", "/system/bin/sendevent");
symlink("busybox", "/system/bin/seq");
symlink("toolbox", "/system/bin/setconsole");
symlink("busybox", "/system/bin/setkeycodes");
symlink("busybox", "/system/bin/setlogcons");
symlink("toolbox", "/system/bin/setprop");
symlink("busybox", "/system/bin/setsid");
symlink("busybox", "/system/bin/sha1sum");
symlink("busybox", "/system/bin/showkey");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("busybox", "/system/bin/sort");
symlink("busybox", "/system/bin/split");
symlink("toolbox", "/system/bin/start");
symlink("busybox", "/system/bin/stat");
symlink("toolbox", "/system/bin/stop");
symlink("busybox", "/system/bin/strings");
symlink("busybox", "/system/bin/stty");
symlink("busybox", "/system/bin/sum");
symlink("busybox", "/system/bin/swapoff");
symlink("busybox", "/system/bin/swapon");
symlink("busybox", "/system/bin/switch_root");
symlink("toolbox", "/system/bin/sync");
symlink("busybox", "/system/bin/sysctl");
symlink("busybox", "/system/bin/tac");
symlink("busybox", "/system/bin/tail");
symlink("busybox", "/system/bin/tar");
symlink("busybox", "/system/bin/tcpsvd");
symlink("busybox", "/system/bin/tee");
symlink("busybox", "/system/bin/telnet");
symlink("busybox", "/system/bin/telnetd");
symlink("busybox", "/system/bin/test");
symlink("busybox", "/system/bin/tftp");
symlink("busybox", "/system/bin/time");
symlink("toolbox", "/system/bin/top");
symlink("busybox", "/system/bin/touch");
symlink("busybox", "/system/bin/tr");
symlink("busybox", "/system/bin/traceroute");
symlink("busybox", "/system/bin/true");
symlink("busybox", "/system/bin/tty");
symlink("busybox", "/system/bin/tunctl");
symlink("busybox", "/system/bin/udhcpd");
symlink("busybox", "/system/bin/udpsvd");
symlink("toolbox", "/system/bin/umount");
symlink("busybox", "/system/bin/uname");
symlink("busybox", "/system/bin/uncompress");
symlink("busybox", "/system/bin/uniq");
symlink("busybox", "/system/bin/unix2dos");
symlink("busybox", "/system/bin/unzip");
symlink("busybox", "/system/bin/uptime");
symlink("busybox", "/system/bin/usleep");
symlink("busybox", "/system/bin/uudecode");
symlink("busybox", "/system/bin/uuencode");
symlink("busybox", "/system/bin/vconfig");
symlink("busybox", "/system/bin/vi");
symlink("toolbox", "/system/bin/vmstat");
symlink("busybox", "/system/bin/watch");
symlink("toolbox", "/system/bin/watchprops");
symlink("busybox", "/system/bin/wc");
symlink("busybox", "/system/bin/wget");
symlink("busybox", "/system/bin/which");
symlink("busybox", "/system/bin/who");
symlink("busybox", "/system/bin/whoami");
symlink("toolbox", "/system/bin/wipe");
symlink("busybox", "/system/bin/xargs");
symlink("busybox", "/system/bin/yes");
symlink("busybox", "/system/bin/zcat");
symlink("busybox", "/system/bin/[");
symlink("busybox", "/system/bin/[[");
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, "/system/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");
symlink("/system/bin/su", "/system/xbin/su");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
unmount("/system");