[Q] tun.ko - Android Q&A, Help & Troubleshooting

Is the tun.ko module only works on a specific kernel it was built for? Will it work on a phone with different model but using the same kernel? Or do the build number and android version need to be the same for it to work?

Related

[Q] Openvpn on FreeKernel mod 3.50

I'm currently using erickwill's EWJet rom, he switched to a different kernel and I want to install openvpn to it. The problem is I have the tun.ko from the stock kernel and when I try to do insmod it said I need a module that uses .o format like tun.o. I tried to do without the tun.ko but there was an error, unable to dynamically allocate TUN/TAP... something like that. I forgot because I switched back to the old rom. If there's an already compiled version of the tun module for the new kernel please show me the link because I've tried to search and couldn't find a new one. Please provide me the new tun module for the FreeKernel mod 3.50. thanks
pm jimbo..he can do the math

[Q] tun Module SOLVED

Hello together,
did somebody already compile a tun.ko for 2.6.35.10-g9c2e87e ?
SOLVED
There we are, already tested and working...
This is for.the view or flyer ? What does it do ?
this is the kernel module to use VPN at kernel base for example OpenVPN or cisco anyconnect.

[Q] nls_utf8.ko for Rage Kernel v3.0 (GB)

Hello,
I've installed Rage Kernel v3.0 just to have cifs support. It works like a harm except of special characters in folder/file names are not displayed and thus I have no access to those resources. I know I need nls_utf8.ko module but don't know where to find it for my kernel. Maybe I can use module form other kernels but I'm not sure of that so I'm asking here. Or maybe it's compiled into my kernel but I don't know how to enable it. I hope someone will give me good directions to solve this problem.

[Q] cross compiling a module for 2.3.5ota Motorola Photon 4g

Hi all,
I was wondering whether it is possible to compile a module file for android for the motorola photon.
I have a motorola photon which is locked on 2.3.5ota and I wanted to experiment with an external USB wifi.
Therefore I need to cross compile te drivers to get a .ko file that I can later insmod
But to compile the module file, I need the kernel source. As far as I know this kernel source is not available.
So my question is: is there any way to compile a driver for my locked motorola so that I can later insmod it?
Has anybody succeeded in doing this?
More info about my phone:
I looked up the kernel info with cat /proc/version on a terminal on the phone:
linux version 2.6.32.9 ([email protected]) (gcc version 4.4.4 (GCC) ) #2 SMP PREEMPT
2.3.5 kernel and module sources are here http://sourceforge.net/projects/photon4g.motorola/files/PHOTON-4G/4.5.1A-1_SUN-254_13/
Hi,
Thanks for replying,
I already tried compiling my driver module using the tegra kernel which i find on that page, and the compiling succeeded but when I try to insmod the .ko file it gives and invalid module format error.
But motorola says that that page is containing the open source files that they used. So is it not possible that they are using a modified version of the tegra kernel and that that is the reason that my module is not accepted when I cross compile it against that kernel?
More info about how I cross-compiled:
i compiled with the cross-compile tool from the android NDK. The gcc version is 4.4.3. I was thinking that that could also be the problem since my kernel info says the gcc version is 4.4.4.
Any thoughts are welcome.
Sent from my MB855 using xda app-developers app

Driver development for a stock kernel possible?

Hello,
I've been trying to compile a driver to the stock kernel of my S3. I've ensured that I have the correct kernel version and have done a modinfo on the compiled driver to check the version magic string is correct. However I can't insmod the driver. I am root on the device when I try to do so.
I've managed to do this on other brands of phone which leads me to wonder if the S3 default kernel config from the open source repository correctly reflects .config that was actually used for the release kernel on the phone.
Is it possible to develop drivers for the stock kernel? (3.0.31-2788594, build number JSS15J.I9300XXUGNJ2 in my case). Does anyone have a correct .config for this kernel build?
regards,
Rob

Categories

Resources