[Sony Ericsson XPERIA X10 Mini] nobodyAtall:
Here are some kernel modules for common operations that can't be done using the vanilla SE 2.1 kernel. Those modules should work on X10mini/X10minipro/X8

Requirements: working busybox, adb

Firstly, you need to remount RW your /system partition to be able to put the modules in place:

mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system

tun.ko, used for vpnc networks

Installation (kernel part):

adb push tun.ko /sdcard/
adb shell
su
busybox mv /sdcard/tun.ko /system/lib/modules/
busybox chmod 644 /system/lib/modules/tun.ko

Installation (gui part):

Get the latest apk of get-a-robot from here

adb install VPN_Connections_v099.apk

launch the app and add the network according to the config parameters that you have. This app also handles insmoding the tun.ko kernel module when needed.

cifs.ko, used for mounting windows/samba shares

Installation (kernel part):

adb push cifs.ko /sdcard/
adb shell
su
busybox mv /sdcard/cifs.ko /system/lib/modules/
busybox chmod 644 /system/lib/modules/cifs.ko

Usage:

insmod /system/lib/modules/cifs.ko
busybox mount -t cifs //<serverip>/<sharename> <local mount point> -o username=<name>,password=<password>
e.g. for guest authentication to share named 'samba' at server with ip 192.168.0.3:
busybox mkdir /sdcard/samba
busybox mount -t cifs //192.168.0.3/samba /sdcard/samba -o username=guest

nfs.ko, used for mounting NFS shares

Installation (kernel part):

adb push sunrpc.ko /sdcard/
adb push lockd.ko /sdcard/
adb push nfs.ko /sdcard/
adb shell
su
busybox mv /sdcard/sunrpc.ko /system/lib/modules/
busybox mv /sdcard/lockd.ko /system/lib/modules/
busybox mv /sdcard/nfs.ko /system/lib/modules/
busybox chmod 644 /system/lib/modules/sunrpc.ko
busybox chmod 644 /system/lib/modules/lockd.ko
busybox chmod 644 /system/lib/modules/nfs.ko

Usage:

insmod /system/lib/modules/sunrpc.ko
insmod /system/lib/modules/lockd.ko
insmod /system/lib/modules/nfs.ko
busybox mount -t nfs <serverip>:/<share> <local mount point> -o nolock
e.g.
busybox mkdir /sdcard/nfs
busybox mount -t nfs 192.168.0.3:/home/data /sdcard/nfs -o nolock

Utf8 support

This can be used with cifs or nfs when mounted partitions contain characters in utf8 and thus appear as junk

Installation (kernel part):

adb push nls_utf8.ko /sdcard/
adb shell
su
busybox mv /sdcard/nls_utf8.ko /system/lib/modules/
busybox chmod 644 /system/lib/modules/nls_utf8.ko

Usage:

insmod /system/lib/modules/nls_utf8.ko

Filesystems

I have not used these modules since I have not partitioned my sdcard for these types of filesystems. I guess they can be useful in a multi-partition scheme or with app2sd and something else other than ext2

ext3.ko (needs jbd.ko to be insmoded first)

ext4.ko (needs jbd2.ko to be insmoded first)

jfs.ko

reiserfs.ko

xfs.ko (needs exportfs.ko to be insmoded first)

ntfs.ko (read-only support)

App2sd for froyo

These modules are only useful if you have an custom froyo ROM in order to get the app2sd functionality working

dm-mod.ko (needs jbd.ko to be insmoded first)

dm-crypt.ko (needs jbd2.ko to be insmoded first)

twofish_common.ko

twofish.ko

Installation (kernel part):

adb push dm-mod.ko /sdcard/
adb push dm-crypt.ko /sdcard/
adb push twofish_common.ko /sdcard/
adb push twofish.ko /sdcard/
adb shell
su
busybox mv /sdcard/dm-mod.ko /system/lib/modules/
busybox mv /sdcard/dm-crypt.ko /system/lib/modules/
busybox mv /sdcard/twofish_common.ko /system/lib/modules/
busybox mv /sdcard/twofish.ko /system/lib/modules/
busybox chmod 644 /system/lib/modules/*

Disclaimer:

I can't be held responsible if any of those modules brick your device. Use them at your own risk!

​

Changelog:

- 22/3/11 2.1.A.0.435 kernel image for x10mini

- 20/3/11 Updated tun.ko and kernel .config using 2.1.1.A.0.6

- 11/2/11 Added modules for froyo's app2sd

- 20/1/11 Added .config file

- 17/12/10 Initial posting

- 22/12/10 Added missing filesystems deps to filesystems.zip