question: how to create tun.ko module - Android Software/Hacking General [Developers Only]

HI all,
we all know that tun.ko module is needed to make openvpn application work.
some devices does not have this module like the samsung galaxy i5510
samsung galaxy 5, samsung galaxy ace and other devices,
im wondering because the samsung i9000 stock rom does not have tun.ko
but on custom kernel they have tun.ko module,
so can any help me on how to create tun.ko modules for specific adroid units?
since tun.ko module is specific on the unit per-se, like for example tun.ko of galaxy spica will not work on tun.ko of samsung s i9000
so please if anyone can help me on how to create tun.ko module

Get the kernel source from Samsung or your phone's vendor, download the toolchain (if not included in the source bundle), install it all on an appropriate box (typically Linux, but some might cross-compile from other platforms), then compile it.
If the vendor isn't supplying you the kernel source and toolchain, then they are in violation of GPL and an email to their legal department should get you started in the right direction.

hmmm. seems very hard to do, resources are needed specifically
is there anyone having tun.ko for galaxy ace and galaxy 5

Yes I also need tun.ko for Galaxy Ace, anyone here pretty please . . .

Up for this . . .

Does anyone created the tun.ko for the LG Optimus 2X with the stock kernel ?

Does anyone has tun.ko for Dell Venue?

Related

[Q] Sg3 loopdevice

Is there any kernel that suports loopdevice on G3?
Will it be created if there isnt?
Send from my:
-Samsung Galaxy 3
-Kyrillo's rom v9.3
-Fugumod ultra 1366Mhz (no lag)
no der is not any loop device kernel available i guess but To enable it, you'll have to build the appropriate kernel module and modprobe it into your system. The easiest way I know to do this is go to your Linux source tree, make xconfig (or menuconfig), select to configure loop device support as a module, make modules, and make modules_install. You may want to compile it into your kernel (not as a module) ....
Stop bumping old threads....
Cheers
Sent from my i9003 powered by Cyanogenmod 7

[Q] Howto kernel module build - for acer ICONIA TAB A210

Hello,
I have an acer ICONIA TAB A210:
Model Number A210, Android version 4.1.1, Kernel version 3.1.10+, Image version Acer_AV051_A210_RV03RC02_EMEA_DE, Build number Acer_AV051_A210_1.020.00_EMEA_DE, Image-P/N FM.S1NA0.02L
I installed the following tools:
Sourcery Tools Support Portal, Sourcery CodeBench Lite 2012.09-64 for ARM​
I want create a cifs.ko kernel module to mount directory directly into the directory tree.
Where can I find the appropriate header files?
Where can I find the source files for the kernel module cifs.ko?
Where is ein HowTo to create a kernel module for Android?
Many thanks in advance for any help.
enero99
Hello,
I've compiled this module in order to mount Samba shared folder from my NAS on my A210 directory tree. In fact we also need md4.ko to use cifs client function on A210 tablet.
You will find this module here : As I'm a noob on xda I can't post url (Please search "cifs_iconia_AV051_A210_RV05RC02" on www . fichier-zip . com )
I also explained how I compiled and use it here : (google "a210 cifs" and choose phonandroid forum) but sorry this forum is in french
By the way, thanks to android-hilfe.de and xda-dev for informations which helped me to compile cifs module.

[Q] p3110 - stock ROM - need a compiled module

Hi all,
i am new in this forum, and I need help.
We have a rooted galaxy tab p3110 with latest stock rom and need to connect an ethernet adapter to it, in order to access a wired-only device.
We have a lindy USB dongle using MCS7830 kernel module
Nor Samsung stock rom, nor cyanogenmod 10.1 for p3110 seem to have this module compiled, but kernel source tree has its source.
We also tried to compile the module from source, but module version is not the same as stock kernel and the kernel is compiled with modversions enabled, so the externally compiled module cannot be loaded.
Can anyone tell me how to have this module working?
Feel free to ask any question to clarify the problem.
Regards
Qippur

Samsung kernel compiling requirement

Hi. I'm about to compile some kernel mod for SM-A920F. Currently, the latest kernel released on Samsung Opensource is on binary S4 for Europe. while my device is on binary S5 for SE Asia. My question is that: are these differences important or I can just ignore them and start building right away

Nethunter wifi drivers:(

Kindly if anyone can help me to make a nethunter kernel "only wifi stuff" for a non supported device. I tried a lot to add wifi drivers for specific chipsets but in vain.
I have a
Galaxy tab A 2016 "3.18 kernel" stock.
Or
Redmi 9t "AOSP kernel 4.x" ...
I want only one device to work ...I searched a lot and no tutorial seems to help me, or if anyone can take it from short and build it himself

Categories

Resources