tun.ko for GT-I5500 and GT-S5570 - Samsung Galaxy 5 I5500

I have looked for a tunnel kernel module for the samsung i5500 with the FROYO version 2.6.32.9-perf
I couldnt find it anywhere, so I have compiled my own. Here it is, sorry if it's been done before..
I have tested this on my european stock 2.2 JP3 kernel updated with kies and on a stock GT-S5570. It may work on other phones with the same kernel version..
as per usual place in /system/lib/modules
then the vpn services should work..

Can you explain what does it?
I don't know what are vpn services...
Inviato dal mio Galaxy5 usando Tapatalk

the tun.ko is necessary for the vpnc application and for the openVPN application.
there are few tutorials out there about openVPN integration with android, the main things that you need are this module, a rooted phone and the android sdk installed so that you can send files with the phone using 'adb'.
If you are not interested in these apps then you dont need the kernel module.

Yeah, i've understand, thanks.
Inviato dal mio Galaxy5 usando Tapatalk

can i use this tun.ko in my galaxy 5 for openvpn ?

Just in case anyone needs to know, my CyanogenMod port's kernel already has TUN built-in, so this module won't work (and isn't needed, either).

Absolutely, this is for the Stock 2.2 froyo ROM.

thanks!!! i just got one question.. i tried to build it with no success at all using android-ndk-r5b and android-sdk-linux_x86 with the right kernel version sources. how did you build it? thanks again, this module worked for me nicely

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

[Q] tun.ko 2.6.32.9

Hello all,
I'm trying to get openvpn working but Iḿ stuck at tun.ko.
I've been trying various modules but all return -1 Unknown symbol in module
uname -r
2.6.32.9
System information: Version.4.2.13.MB860.Retail.en.FR
Android version: 2.2.2
Baseband version:N_01.92.00R
Kernel version: 2.6.32.9 [email protected] #1 SMP PREEMPT Sat May 14 14:00:36:20 CST 2011
Build number: OLYEM_U4.1.3
I just posted as much info as possible, further than the kernel version I don't see why there would be a difference, but apparently there is... although all modules info (modinfo) showed me 2.6.36.9 none worked...
If somebody could direct me to the kernel source, and explain lightly which versions are important I could compile it by myself and I'll post it here.
Or ofcourse better a link to the module is better
Thanks!!
Try one of the custom kernels, they have tun.ko module built in!
Also, I have the same problem when I decompress the module directly in the phone with File Expert, I use Astro to decompress and works!
Enviado desde mi MB860 usando Tapatalk
lhurtado said:
Try one of the custom kernels, they have tun.ko module built in!
Also, I have the same problem when I decompress the module directly in the phone with File Expert, I use Astro to decompress and works!
Enviado desde mi MB860 usando Tapatalk
Click to expand...
Click to collapse
I'm glad I saw this. I've been holding off on trying some of the custom roms until they get a little more stable. Meanwhile in the back of my mind I was concerned about losing my ipsec capability.

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

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.

Gps problems

Hi guys, I'm writing here because the gps on my gf's mini is really problematic. It worked on. 62 stock rom and kernel, then, with every rom + kernel combination, it doesn't work more, exept with CM 7.2. Now, with official ics, I've just changed the kernel (krsh kernel) and the gps doesn't work another time...what should I do?
Ps the real problem is the geolocation with beautifull widget and other similiar apps...
Inviato dal mio LG-P500 usando Tapatalk

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?

Categories

Resources