[MODULE] tun.ko for 4.0.2.A.0.62 | 4.1.B.0.431 - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

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.

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!

How to setup this..
none

I need this too..can Sb help us?

Hello,
I've finally managed to build tun.ko module for Arc / Arc S - and fellow member Jruuu tested it for Xperia Ray st18a / stock ICS and suggested I add a link here too:
http://forum.xda-developers.com/showthread.php?t=1669806
No need to change kernels and so on ..

can you also make an overclock module?

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.

Dorowan said:
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.
Click to expand...
Click to collapse
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.

illus4 said:
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.
Click to expand...
Click to collapse
Thank you for this!!

illus4 said:
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.
Click to expand...
Click to collapse
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

vikasdevraj said:
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
Click to expand...
Click to collapse
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.

illus4 said:
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.
Click to expand...
Click to collapse
I am using it with Cisco "anycinnecect" is there is any way to get is automatically done in cisco anyconeect...

vikasdevraj said:
I am using it with Cisco "anycinnecect" is there is any way to get is automatically done in cisco anyconeect...
Click to expand...
Click to collapse
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

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.

Invalid module format in my arconium 4.0
Sent from my LT15i using xda premium

cattz86 said:
Invalid module format in my arconium 4.0
Click to expand...
Click to collapse
illus4 said:
Here is the tun.ko compiled for stock 4.1.B.0.431 rom (ICS 4.0.4)
Click to expand...
Click to collapse
...although it also works on .587 stock rom.

I used tun.ko for .431..but still invalid
Sent from my LT15i using xda premium

will this work on gingerbread?
will this work on gingerbread?
EDIT:
YES, it does. both openVPN & droidVPN working fine with performance-king GB:
http://forum.xda-developers.com/showthread.php?t=2090968
no need to insmod either, both apps i guess know how to load it from /system/lib/modules/
cheers to dev.

Related

[Q] tun.ko / kernel sources for LG P500

I'm sorry if this is yet another thread for kernel recompilation and tun.ko.
I would like to be able to use openvpn with the P500... but I can't find the source for the kernel used in the LG P500.
Can I use generic sources for 2.6.32.9 or is a lg-patched kernel required?
xdadevc
Did it myself...
Well... I helped out myself
Here's a tun.ko module for the LG P500! Openvpn works now.
Since source is not available from LG (yet) the module is compiled from the original 2.6.32.9 sources used in the P500 and it works in my P500 (tested with tun openvpn).
xdadevc
Hello,
thanks I've searched it for many hours. I must look if it works, but i can load it per insmod that is a right way.
Also now I must configurate my own openVPN network.
Thanks a lot.
Greeting schreibnix
Great news! Thanks =)
Thanks a lot...looking forward to test it
Once kernel source drops if you guys notify me I'll Oc it like I did the optimus S and lg ally.
Yes, OC kernel
We need some power for our OO
Hi i want to test my OpenVPN server but i need tap kernel driver, have you compile it?
Many thanks
xdadevc said:
Here's a tun.ko module for the LG P500! Openvpn works now.
Click to expand...
Click to collapse
Thank you very much my friend! I downloaded it and works like a charm! I have some minor dns problems, but I'm sure I'll find the solution.
dimiz said:
Hi i want to test my OpenVPN server but i need tap kernel driver, have you compile it?
Many thanks
Click to expand...
Click to collapse
AFAIk there is no tap kernel driver for openvpn,
we can only use tun
the tun.ko on cm7's rom is not compatible with the kernel.
so i searched for a compatible tun.ko for the kernel
anyone who have some problems on configuration (config file of openvpn )
you can contact me,
FYI we use openvpn here in our country to have free internet, ( using backdoor connection )breaking onto the network's firewall
cmangalos said:
AFAIk there is no tap kernel driver for openvpn,
we can only use tun
the tun.ko on cm7's rom is not compatible with the kernel.
so i searched for a compatible tun.ko for the kernel
anyone who have some problems on configuration (config file of openvpn )
you can contact me,
FYI we use openvpn here in our country to have free internet, ( using backdoor connection )breaking onto the network's firewall
Click to expand...
Click to collapse
Hi bro,
I cannot make it to work with my phone. I'm running Mik_os CM7 on my LG P500. Please help. Thanks!
tun.ko
Hi, I need to tun.ko for P500 Android 2.3.3 core 2.6.35.10-perf. Can you help me?
multibestia said:
Hi, I need to tun.ko for P500 Android 2.3.3 core 2.6.35.10-perf. Can you help me?
Click to expand...
Click to collapse
You mean the stock **** kernel? No, cannot help. Download the sources and compile it.
Or just flash a saner kernel from Paolo or franco.
tun.ko for LGP 500 with Android 2.3.3
After searching all the forums and all the possible forums , I couldn't find anywhere the Tun.ko module of LGP 500 with Gingerbread.
I decided to re-compile the kernel module to build tun.ko and got it working successfully
I am able to connect to VPN
Attaching if anyone want to use it
Tested on Bell LG E720B optimus Chic
xdadevc said:
Well... I helped out myself
Here's a tun.ko module for the LG P500! Openvpn works now.
Since source is not available from LG (yet) the module is compiled from the original 2.6.32.9 sources used in the P500 and it works in my P500 (tested with tun openvpn).
xdadevc
Click to expand...
Click to collapse
This particular one works on my Bell LG E720B Optimus Chic if anyone is interested.
xdadevc said:
Well... I helped out myself
Here's a tun.ko module for the LG P500! Openvpn works now.
Since source is not available from LG (yet) the module is compiled from the original 2.6.32.9 sources used in the P500 and it works in my P500 (tested with tun openvpn).
xdadevc
Click to expand...
Click to collapse
Hi,
could you shows the steps how you compile it..
Was trying to get tun.ko for 2.6.35.10-perf+ (V20G)
kdpandian said:
After searching all the forums and all the possible forums , I couldn't find anywhere the Tun.ko module of LGP 500 with Gingerbread.
I decided to re-compile the kernel module to build tun.ko and got it working successfully
I am able to connect to VPN
Attaching if anyone want to use it
Click to expand...
Click to collapse
it worked for me bro... thanx a million...
sagardrokr said:
it worked for me bro... thanx a million...
Click to expand...
Click to collapse
Hi...
This sounds very promising. I can't see the attachment for tun.ko for LGP 500 with Gingerbread. Can you please attach it.
Many Thanks,
--
Indrajeet

tun.ko module for ICS (6.1.A.0.452) Stock Kernel

I cannot post into Sub-Thread Xperia S Android Development (10-Posts limit), but I compiled a tun.ko kernel module for (DooM's Advaned-) Stock Kernel (3.0.8, ROM 6.1.A.0.452). Maybe, there are some more users, who want to use it.
(I don't know, if this is the right place, but I don't know, where I can post it elsewhere)
Attached zip contains:
- tun.ko kernel module
- init.d script to load tun.ko at startup (when using Advaned Stock Kernel)
I LOVE YOU SO MUCH!!!!!!
im just search for this, and i plan to downgrade back to GB :banghead:becouse ICS don't have tun.ko...
Now you made my day thanks pal!
( sorry for my broken English)
Sent from my LT26i using xda premium
p3001ee said:
I cannot post into Sub-Thread Xperia S Android Development (10-Posts limit), but I compiled a tun.ko kernel module for (DooM's Advaned-) Stock Kernel (3.0.8, ROM 6.1.A.0.452). Maybe, there are some more users, who want to use it.
(I don't know, if this is the right place, but I don't know, where I can post it elsewhere)
Attached zip contains:
- tun.ko kernel module
- init.d script to load tun.ko at startup (when using Advaned Stock Kernel)
Click to expand...
Click to collapse
thanx man ... but is it work with 6.1.A.2.45 ?
and if it is, could you please tell how to apply it step by step
What's it for?
Sent from my LT26i using Tapatalk 2
can i use this on xperia S?
is it needed to be flashed on cwm?

help me about droid vpn i have ics 4 please help me experts

I have xperia neo v running ICS, every time i run droidvpn my phone reboots. unlike before when i'm on GB running smooth. any suggestion for my problem?
i didnt find its solution please help me experts
frendzarena said:
I have xperia neo v running ICS, every time i run droidvpn my phone reboots. unlike before when i'm on GB running smooth. any suggestion for my problem?
i didnt find its solution please help me experts
Click to expand...
Click to collapse
i'm not expert....just trying to help
are u restore droidvpn from titanum backup?...pls do fresh install droidvpn
frendzarena said:
I have xperia neo v running ICS, every time i run droidvpn my phone reboots. unlike before when i'm on GB running smooth. any suggestion for my problem?
i didnt find its solution please help me experts
Click to expand...
Click to collapse
Hey, the reboots are probably caused by an incompatible tun.ko file. I think every kernel has a different one, try deleting the old one and download a new one.
Sent from my MT11i -- Miui4
frendzarena said:
I have xperia neo v running ICS, every time i run droidvpn my phone reboots. unlike before when i'm on GB running smooth. any suggestion for my problem?
i didnt find its solution please help me experts
Click to expand...
Click to collapse
Unfortunately, theres is no fix for that.. I tried everything, i search also but i can't
Find the solution...lets just wait for that..
if u want droidvpn work well on ics..use nightelf kernel v1.4 full
see a green icon
Originally Posted by frendzarena<br />
I have xperia neo v running ICS, every time i run droidvpn my phone reboots. unlike before when i'm on GB running smooth. any suggestion for my problem? <br />
i didnt find its solution please help me experts
Click to expand...
Click to collapse
<br />
Unfortunately, theres is no fix for that.. I tried everything, i search also but i can't<br />
Find the solution...lets just wait for that..
Click to expand...
Click to collapse
Have you tried using a tun.ko file compatible with your kernel? Droidvpn makes your phone restart when you use an incompatible tun.ko. You might be using an incompatible one.
Sent from my MT11i -- Miui4
Where can one find tun.ko modules?
RichyRicho said:
Where can one find tun.ko modules?
Click to expand...
Click to collapse
if u dont want to change kernel..download tun installer from play store n let it search & download tun module for u......ur phone must be root
if tun module not available,i suggest u change kernel to alliance kernel v1.4 for ics ...tun module already added
flash custom rom

[Q] How install module Tun.ko?

well i need help for install this module, i tried witn tun.ko installer but my celphone restart when i open this app, somebody have idea how install this module??
My celphone: Xperia Neo with zelly cream bl unlocked and suave kernel
aahalfredo said:
well i need help for install this module, i tried witn tun.ko installer but my celphone restart when i open this app, somebody have idea how install this module??
My celphone: Xperia Neo with zelly cream bl unlocked and suave kernel
Click to expand...
Click to collapse
module might be clashing with your rom or most probably kernel...ask your kernel dev about this module....
mamujaan said:
module might be clashing with your rom or most probably kernel...ask your kernel dev about this module....
Click to expand...
Click to collapse
When I install suave kernel this module dont appear, im going to ask kernel dev
Sent from my MT15i using xda premium
copy the .ko file to system/lib/modules folder

Wifi Problem MiniCM10

Hello, I just installed MiniCM10 4.0.2 with nAa JB 2.6.32-5 kernel. I can't use my WiFi, Bluetooth and other stuff works but that wont... Plz help me!
Any help? Thank you so much!
Sent from my E10i using xda app-developers app
k3vinwOw said:
Hello, I just installed MiniCM10 4.0.2 with nAa JB 2.6.32-5 kernel. I can't use my WiFi, Bluetooth and other stuff works but that wont... Plz help me!
Click to expand...
Click to collapse
open terminal emulator :
Code:
lsmod
if it doesn't answer anything, maybe /system is out of space and kernel fails to copy wifi modules at boot (note that undervolt module wont work either)
try the following :
open any file explorer that is root capable,
go to /system/media/audio/ringtones
delete some ringtones (at least to recover about 3 or 4 MB free, the more is safer) [1.5 MB seems to be enough though ]
reboot
try lsmod and see, if the kernel succeeded to copy modules at boot it's ok and and lsmod outputs what you are waiting for, if not reflash kernel and/or try to install a reduced miniCM10 zip (by deleting ringtones as for the previous way, but in a zip editor)
Or refer,...
http://forum.xda-developers.com/showthread.php?t=1836074
It is because you are using nAa 2.6.32.60 05 Kernel, and MiniCM 4.0.2 supports nAa 2.6.29.6 kernel. It is because they have different wifi drivers. Install MiniCM10 4.1.0 instead and it will work fine.

Categories

Resources