I am simply placing these instructions which I made for some people asking how to use my tun.ko module (Based on Phantom King Skyfish) in a popular phone forum. You can generally use these instructions to correctly install openvpn on android devices.
- Download OpenVPN Installer and OpenVPN Settings from the Market. If you don’t have tun.ko yet download the module I compiled for kernel 188.8.131.52 ARMv6 devices from here.
- Run OpenVPN Installer (openvpn should be installed in /system/xbin, and ifconfig path in /system/xbin/bb). /system/xbin/bb is not available yet, we’ll get to it later. For roms like Bakpia Keju which do not have route and ifconfig busybox links properly installed, do the following in the terminal:
ln -s /system/xbin/busybox cp
ln -s /system/xbin/busybox chmod
ln -s /system/xbin/busybox route
- Use a barcode scanner (available in the market) to read the barcode below:
- Paste this code in SL4A application (also available in Skyfish). If you’re not in Skyfish, make a script named openvpn.sh and paste the text from the barcode in there. Save and run the script. This should make the proper route, ifconfig and busybox binaries be symlinked to make the OpenVPN Settings run properly. If you like to use SL4A, you can download the application from here.
Your openvpn is now configured properly and should now work as expected.