OpenVPN on Android 2.2 Japanese Jellyfish RLS7
February 6th, 2011I performed the following steps to install OpenVPN on a ZTE Blade (Orange San Francisco) with Android 2.2 Japanese Jellyfish RLS7 installed.
- Install the android SDK so you can use the (adb shell command)
- Navigate into the platform-tools directory in a terminal and run “./adb shell” (without the quotes)
- Remount the /system directory so you can write to it:
su mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system exit
- Create the /system/xbin/bb directory and the following symlinks for the route and ifconfig commands:
mkdir /system/xbin/bb ln -s /system/xbin/busybox /system/xbin/bb/ifconfig ln -s /system/xbin/busybox /system/xbin/bb/route
- Use “OpenVPN Installer” from the Market to install OpenVPN. Select /system/xbin for the location of the openVPN binary, select /system/xbin/bb for the location of the ifconfig and route commands (the other options did not work for me).
- Create an openvpn directory on your sdcard and place your openvpn configuration, certificate/keys in there.
- Install “OpenVPN Settings” form the Market and set the following in the advanced menu:
- Load tun kernel module: yes
- Load module using: insmod
- Path to tun module: /system/lib/modules/2.6.32.9-perf/tun.ko
- Path to configs: /sdcard/openvpn
- Path to openvpn binary: /system/xbin/openvpn
- Fix HTC Routes: no - You can now start / stop your OpenVPN connection using the OpenVPN Settings app.
Note that for some reason I have to force close the OpenVPN Setting application and open it again after tapping connect in order for the app to recognise the connection has been made. I will take a look at the source code to try and find why this is. The OpenVPN connection appears to get re-established automatically after restarting the phone.
Thanks to the user pbando for his post on the modaco forum that helped me do this.
If you have problems with getting your connection established you can run openvpn from the adb shell so you can see the log output:
openvpn --config <yourconfigfilename>.ovpn



Overall the Powabyke X-24 is great, but unfortunately it is far from perfect and let down by some rather big design flaws. In addition from my experience their after-sales service has not been especially good.