How to compile tun.ko module for specific kernel? - Android Q&A, Help & Troubleshooting

Hi,
I have EPSON MOVERIO glasses which have an Android device inside with kernel "3.0.21-00003-omap-android+". I want to install tun.ko module as they does not have it and therefore I cannot establish a VPN connection.
I tried with tun.ko installer but it won't find any tun.ko compiled for that specific kernel. Could you assist me in compiling it for that version? Or is it any other solution out of there? I really need it.
Thank you.

Antonio9213 said:
Hi,
I have EPSON MOVERIO glasses which have an Android device inside with kernel "3.0.21-00003-omap-android+". I want to install tun.ko module as they does not have it and therefore I cannot establish a VPN connection.
I tried with tun.ko installer but it won't find any tun.ko compiled for that specific kernel. Could you assist me in compiling it for that version? Or is it any other solution out of there? I really need it.
Thank you.
Click to expand...
Click to collapse
Any help?

Any hints or clues?

Related

[Request] tun.ko for Samsung GT i5510

Hi if I could solicit some help, I am in search of a tun.ko file for openvpn for Samsung GTi5510 Kernel 2.6.32.9-perf. If anyone knows where I can get one or can teach me how to make one that would really help. Thanks
When first rom will be ready then I can build for you this module.
What do you need to make a rom?
I need the exact same thing. Been looking all over the internet, but I can't seem to find one.
Anyone who can help?
Thanks!
Tun.ko module will be include in beta release of Cyanogenmod 7 for 551.

tun.ko for 2.6.35.10-ge52b0af

Hi,
I'm desperately searching for a tun.ko version for Kernel version 2.6.35.10-ge52b0af. Does anybody know where to find it? I tried all other builds but without success :-(
Thanks in advance!

[Q] [CM9] 2.6.32.59-MB860-CM9-gd23c5fb tun.ko (openvpn)

Hello,
i don´t have the rights to post at the Dev CM9 Thread so i have to ask here.
Is it possible to compile a kernel with the tun.ko module that i can run openvpn ob CM9 2.6.32.59-MB860-CM9-gd23c5fb #joker-cm9-beta?
thanks
regards
Alex
Alex-2.5 said:
Hello,
i don´t have the rights to post at the Dev CM9 Thread so i have to ask here.
Is it possible to compile a kernel with the tun.ko module that i can run openvpn ob CM9 2.6.32.59-MB860-CM9-gd23c5fb #joker-cm9-beta?
thanks
regards
Alex
Click to expand...
Click to collapse
Well considering this isn't development related, you got the section close.
Better suited would be for the Q/A section.
But anyway, I'll look into it. Shouldn't be too hard. I'll try to post back in a couple hours if I come up with anything.
I think it was my fault.
tun.ko is not compiled as module, it is integrated in the kernel.
So it´s not possible to find it at modules folder
So it is possible to start openvpn.
Just needed to mkdir /dev/net and mknod /dev/net/tun c 10 200
thats all.
Sorry for that Thread.
Regards

[Q] SGS2 ICS 4.0.3 (Orig.FW + root) - How to get CifsManager to work?

Hello everybody,
My phone is already rooted by "CWM.zip->SU-Busybox-Installer.zip"-Method. Superuser App is working.
I want to stay with the original kernel and flash.
Pls find my phones's info attached.
SGS2 ICS 4.0.3 original firmware has no cifs-support.
I tried to get CifsManager to run with several md4.ko / cifs.ko / slow_work.ko / nls_utf8.ko files.
There is always the error msg: "mount: No such device" - which stands for CifsManager can't load the modules, or the modules are not preloaded in general.
I already read that I would need files specific for my phone, but I'm not able to compile it.
Does anyone has the same problem and/or fixed it?
If anyone could provide a working file/method I would send him/her 15 EUR via PayPal.
Thank you!
Best regards
pctangoo
pctangoo said:
Hello everybody,
My phone is already rooted by "CWM.zip->SU-Busybox-Installer.zip"-Method. Superuser App is working.
I want to stay with the original kernel and flash.
Pls find my phones's info attached.
SGS2 ICS 4.0.3 original firmware has no cifs-support.
I tried to get CifsManager to run with several md4.ko / cifs.ko / slow_work.ko / nls_utf8.ko files.
There is always the error msg: "mount: No such device" - which stands for CifsManager can't load the modules, or the modules are not preloaded in general.
I already read that I would need files specific for my phone, but I'm not able to compile it.
Does anyone has the same problem and/or fixed it?
If anyone could provide a working file/method I would send him/her 15 EUR via PayPal.
Thank you!
Best regards
pctangoo
Click to expand...
Click to collapse
Did you search your phone for the cifs.ko module? I'm asking this because I had the same issue which turned out to be a wrong default configuration of CifsManger for my phone. I just changed the path to the cifs.ko module to /lib/modules/cifs.ko. Since then CifsManager works like charm
fxrb said:
Did you search your phone for the cifs.ko module? I'm asking this because I had the same issue which turned out to be a wrong default configuration of CifsManger for my phone. I just changed the path to the cifs.ko module to /lib/modules/cifs.ko. Since then CifsManager works like charm
Click to expand...
Click to collapse
Thanks for the fast answer fxrb.
Are you sure that you have stock kernel and/or firmware?
I can't find any "cifs.ko" file in "/lib/modules/".
I even searched the whole file system for "cifs" didn't find any files other than the one I put there manually (which won't work).
Spend hours to search for a cifs.ko for my kernel
Model number: GT-I9100
Android version: 4.0.3
Baseband version: I9100XXLPS
Kernel version: 3.0.15-I9100XWLP7-CL340913 [email protected] #3
Build number: IML74K.XWLp7
Didn't find anything.
I guess it needs to be compiled?.
Anyone else knows how to fix it?
Greets
pctangoo
pctangoo said:
Anyone else knows how to fix it?
Greets
pctangoo
Click to expand...
Click to collapse
I apologize . I thought I was testing with the stock kernel, but that was not the case. I tested with another kernel that comes with the cifs module. I know this does not help you at all as you would like to keep the stock kernel, I am really sorry.
I do not know what your exact intension is but if you just want to up- and download files to a smb share you could use AndSMB (also found on Google Play and it does not require the cifs module). However as far as I know AndSMB does allow to mount the share as local directory on your device.
pctangoo said:
Anyone else knows how to fix it?
Greets
pctangoo
Click to expand...
Click to collapse
If your problem still persist please try the attached cifs.ko module. I compiled it from the Samsung kernel sources (kernel version 3.0.15, your kernel).
Please note that I ticked about everything I could while configuring the module in the kernel, hence the result is a 4MB module, quite huge .
If this module should work for you (it did for me but I could not test on stock firmware) please let me know.
fxrb said:
If your problem still persist please try the attached cifs.ko module. I compiled it from the Samsung kernel sources (kernel version 3.0.15, your kernel).
Please note that I ticked about everything I could while configuring the module in the kernel, hence the result is a 4MB module, quite huge .
If this module should work for you (it did for me but I could not test on stock firmware) please let me know.
Click to expand...
Click to collapse
Hi fxrb, thank you very much for your support! I just tried your module and it's not working for me. There is the same error msg as every time. I guess i will just have to use es explorer for this. Even if it's a little more uncomfortable. However thank you so much for everything!
pctangoo said:
Hi fxrb, thank you very much for your support! I just tried your module and it's not working for me. There is the same error msg as every time. I guess i will just have to use es explorer for this. Even if it's a little more uncomfortable. However thank you so much for everything!
Click to expand...
Click to collapse
I am sorry for that but I know that it is almost impossible to compile just one module and fit it into another kernel due to version magics, missing references, etc. But it was worth a try

Inquire about tun.ko module

Hello !!
i found my module mobile in http://droidvpn.com/tun-repository.php
4.2.2 i1 3.4.5 (i1-Android4.2.2-InnJoo-20140523-V1)
i need link this tun.ko file
because i can't install from app tun.ko installer.. said to me download module is incompatible.
Same here 1+
No one seems to be able to help on this device I guess
BTW - were you able to find a custom recovery for this device
thanks in advance

Categories

Resources