[MODULE] tun.ko for 4.0.2.A.0.62 | 4.1.B.0.431

illus4

Member
Aug 26, 2009
34
67
0
Hello,

For those who want to use OpenVPN, I compiled a tun.ko module from SE's kernel source.

Tested on Xperia Ray stock 4.0.2.A.0.62 firmware with OpenVPN Installer and OpenVPN Settings from Android market.

UPDATED 13 JUN 2012:

Sony just released the kernel source for 4.1.B.0.431. Here is the tun.ko compiled for stock 4.1.B.0.431 rom (ICS 4.0.4). This module has only been tested on my Ray, and may or may not work with other 2011 Xperia phones. Hope you enjoy this.
 

Attachments

Last edited:

td101

Senior Member
Feb 27, 2011
80
12
0
hi, i am using your tun.ko for several weeks now and it works perfectly.

any way that you could another tun.ko for ICS?

or do you know where i can find a tutorial "how to..." make a tun.ko? thanks!
 

Dorowan

New member
Jul 1, 2012
1
0
0
Successfully tried the 4.1.B.0.431 tun.ko module on my Xperia Pro with rooted SE firmware.

No more reboots like I had with the "tun.ko installer" modules.
 

viulian

Inactive Recognized Developer
Apr 6, 2011
419
410
63
hex.ro
Successfully tried the 4.1.B.0.431 tun.ko module on my Xperia Pro with rooted SE firmware.

No more reboots like I had with the "tun.ko installer" modules.
Hello,

Yes, there are two trouble with the "tun.ko installer":
a) they keep the database and the developer doesn't receive any recognition.
b) they did not expect the kernel version to be the same between different releases. They use the kernel version (I assume) to offer, and you actually got the version for Gingerbread which rebooted the phone. This one is specifically made for ICS.
 

chsble

New member
Jul 19, 2012
3
0
0
Hello,

For those who want to use OpenVPN, I compiled a tun.ko module from SE's kernel source.

Tested on Xperia Ray stock 4.0.2.A.0.62 firmware with OpenVPN Installer and OpenVPN Settings from Android market.

UPDATED 13 JUN 2012:

Sony just released the kernel source for 4.1.B.0.431. Here is the tun.ko compiled for stock 4.1.B.0.431 rom (ICS 4.0.4). This module has only been tested on my Ray, and may or may not work with other 2011 Xperia phones. Hope you enjoy this.
Thank you for this!!
 

vikasdevraj

Member
Jun 30, 2012
13
0
0
Cochin
Hello,

For those who want to use OpenVPN, I compiled a tun.ko module from SE's kernel source.

Tested on Xperia Ray stock 4.0.2.A.0.62 firmware with OpenVPN Installer and OpenVPN Settings from Android market.

UPDATED 13 JUN 2012:

Sony just released the kernel source for 4.1.B.0.431. Here is the tun.ko compiled for stock 4.1.B.0.431 rom (ICS 4.0.4). This module has only been tested on my Ray, and may or may not work with other 2011 Xperia phones. Hope you enjoy this.

Working perfectly in my rooted Xperia ARC LT15i But the problem is after every reeboot i need to load the tun.ko manually , pls help me to load this permenent, i am on ICS stock 4.1.B.0.431 rom

I tried to load this wid busybox ismod but it gives me an error applet not found..

i need this urgent...plzzzzzz
 

illus4

Member
Aug 26, 2009
34
67
0
Working perfectly in my rooted Xperia ARC LT15i But the problem is after every reeboot i need to load the tun.ko manually , pls help me to load this permenent, i am on ICS stock 4.1.B.0.431 rom

I tried to load this wid busybox ismod but it gives me an error applet not found..

i need this urgent...plzzzzzz
Yes you do have to insmod the module each time after reboot for openvpn connections.

The OpenVPN Settings from play store can help you to load the module automatically before connection so I am not sure why you need to do it manually.
 
  • Like
Reactions: vikasdevraj

vikasdevraj

Member
Jun 30, 2012
13
0
0
Cochin
Yes you do have to insmod the module each time after reboot for openvpn connections.

The OpenVPN Settings from play store can help you to load the module automatically before connection so I am not sure why you need to do it manually.

I am using it with Cisco "anycinnecect" is there is any way to get is automatically done in cisco anyconeect...
 

illus4

Member
Aug 26, 2009
34
67
0
I am using it with Cisco "anycinnecect" is there is any way to get is automatically done in cisco anyconeect...
I guess you may have to find some way to add init.d support for your stock rom. Here are a few threads you may refer to but I am not sure if they work with the stock ICS firmware.

http://forum.xda-developers.com/showthread.php?t=1547238
http://forum.xda-developers.com/showthread.php?t=1422061
http://forum.xda-developers.com/showthread.php?t=1710980
 

Kaskade

Senior Member
Aug 14, 2011
101
41
0
Copied the module to /system/lib/modules and added "insmod /system/lib/modules/tun.ko" (without the quotes) to /system/etc/hw_config.sh
Needed this for Onavo Extend and it works like a charm.
 
Last edited:
  • Like
Reactions: 1stichiban