[Q] build tun.ko for Defy / Froyo - Defy General

Hello everybody,
how can I get a working tun.ko for Defy with leaked Froyo?
Kernel is 2.6.32.9-g3c35cd0
Build 3.4.2-117
Any idea?
Regards,
Linki

I also would need it. Or can somebody explain how to build one?

problem solved
Hi,
i found out that the Droid Froyo Image also has the 2.6.32.9 kernel. So the tun.ko found here http : / / w w w.saturnwiki.net/droid_tun_driver/2.6.32.9/tun_alt.ko ( or attached to this message ) work just fine!

valles said:
Hi,
i found out that the Droid Froyo Image also has the 2.6.32.9 kernel. So the tun.ko found here http : / / w w w.saturnwiki.net/droid_tun_driver/2.6.32.9/tun_alt.ko ( or attached to this message ) work just fine!
Click to expand...
Click to collapse
thanks, it worked!

valles said:
Hi,
i found out that the Droid Froyo Image also has the 2.6.32.9 kernel. So the tun.ko found here http : / / w w w.saturnwiki.net/droid_tun_driver/2.6.32.9/tun_alt.ko ( or attached to this message ) work just fine!
Click to expand...
Click to collapse
it worked!

perfect, thank you!
Anyway, is there a possibility to build tun.ko on my own?

Can you please compile tun.ko for kernel 2.6.32.9 on ARM71 which is the platform for latest Galaxy S I9003

can anyone please help me with the steps required to install the tun.ko module?

tsod said:
can anyone please help me with the steps required to install the tun.ko module?
Click to expand...
Click to collapse
Copy the file(tun.ko) to system/lib/modules directory either by pushing via adb or by using file manager/root explorer.

yeah thanks, got it working now with
Code:
adb remount
adb push <file> <dest>
then i had to
Code:
insmod /system/lib/modules/tun.ko
and to disable the comp-lzo in my server.conf
is there a way to load the module automatically on reboot?

If you have bootmenu add a script in init.d
Sent from my MB525 using Tapatalk

With cm7 too
This tun.ko works very well with quarx's cyanogenMod7 v5.1.

terrydaia said:
this tun.ko works very well with quarx's cyanogenmod7 v5.1.
Click to expand...
Click to collapse
ack .

Was hoping against hope this tun.ko would work on my Intercept with Froyo, but alas, I get the same error (insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error), then in dmesg "tun: version_magic '2.6.32.9 preempt mod_unload ARMv7 ' should be '2.6.32.9 mod_unload ARMv6'... Same as I got from another tun package that was *supposed* to work with this kernel....

Related

Modules for Gingerbread (cifs/ext4)

Because of the newer kernel for Gingerbread (2.6.35.7) we need newer modules for cifs and ext4. Compiled them:
download here: http://xda.richardtrip.org/?dir=tab/Gingerbread/modules
Before you ask.... a tun.ko is not needed (compiled in the kernel).
Correct me if im wrong but will these modules give us EXT4 support on ginger ?
crisvillani said:
Correct me if im wrong but will these modules give us EXT4 support on ginger ?
Click to expand...
Click to collapse
insmod /system/lib/modules/jbd2.ko
insmod /system/lib/modules/ext4.ko
and it should work.
how to?
i have kernel 2.6.32.9
hmm .. i doubt about it ... the rom is very fast and as far its good , why do i need to go for ext4 if the ext4 suck the battery life ?
k0sh said:
hmm .. i doubt about it ... the rom is very fast and as far its good , why do i need to go for ext4 if the ext4 suck the battery life ?
Click to expand...
Click to collapse
I have never heard of a file system sucking the battery life. If anything, FAT32 would be the worst used in practice today.
richardtrip said:
insmod /system/lib/modules/jbd2.ko
insmod /system/lib/modules/ext4.ko
and it should work.
Click to expand...
Click to collapse
So really dumb, newb ( but learning so much so quickly ) question. Can I get my CIFS support back to stream videos on Overcome 2.0.0 if I use
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/slow-work ???
( think slow-work is needed from research )
( Settings ->About Device->Kernel Version 2.6.35.7 [email protected] #2 )
fidjit said:
So really dumb, newb ( but learning so much so quickly ) question. Can I get my CIFS support back to stream videos on Overcome 2.0.0 if I use
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/slow-work ???
( think slow-work is needed from research )
( Settings ->About Device->Kernel Version 2.6.35.7 [email protected] #2 )
Click to expand...
Click to collapse
you need to load slow-work.ko first.
please,
howto install these modules on the new GB roms?
Wow. This is great now i have working cisco vpn.
Thank you very much
Sent from my GT-P1000 using XDA App
bartito said:
please,
howto install these modules on the new GB roms?
Click to expand...
Click to collapse
Download the modules to /system/lib/modules/ (or anywhere really, just not the SD card) then load them using insmod. If you need them of every boot you can use an init.d script to load them automatically
For those of you who are inept, please find a link below to the same modules inside a CWM flashable zip.
CLICK ME!
TheGrammarFreak said:
Download the modules to /system/lib/modules/ (or anywhere really, just not the SD card) then load them using insmod. If you need them of every boot you can use an init.d script to load them automatically
Click to expand...
Click to collapse
Unfortunatly, init.d doesn't work in current version...
Tried to manually load as per instructions.
Didn't seem to do anything to assist my cifs manager. Figured I'd go back to my nandroid backup I'd made just before. Stuck on Samsung screen. on reboot after restore
Had to do a restock and rebuild. As say in previous post learning a lot ..........like always take an Nandroid
Think I'll be leaving this to the experts and wait for a new already compiled kernel
fidjit said:
Tried to manually load as per instructions.
Didn't seem to do anything to assist my cifs manager. Figured I'd go back to my nandroid backup I'd made just before. Stuck on Samsung screen. on reboot after restore
Had to do a restock and rebuild. As say in previous post learning a lot ..........like always take an Nandroid
Think I'll be leaving this to the experts and wait for a new already compiled kernel
Click to expand...
Click to collapse
Cifs mananager doesn't help you. But it is simple to do that manually:
$su
#busybox insmod /system/lib/modules/easy-work.ko &&
#busybox insmod /system/lib/modules/cifs.ko
#mount -r -t cifs -o <YourShareName,login,password> <MountingPoint>
I use GscriptLite for that.
acolwill said:
For those of you who are inept, please find a link below to the same modules inside a CWM flashable zip.
CLICK ME!
Click to expand...
Click to collapse
so if i flash this via cwm it will give me ext4?
acolwill said:
For those of you who are inept, please find a link below to the same modules inside a CWM flashable zip.
CLICK ME!
Click to expand...
Click to collapse
Sorry for being inept, but that doesn't make CIFS Module to work
--
Enviado desde mi móvil
maxtcee said:
so if i flash this via cwm it will give me ext4?
Click to expand...
Click to collapse
it just copy the *.ko to your /lib/module,you still have to add script inside init.d to make it load automatically when boot
init.d dobt supported in gb, seems to me
howto make these modulez autoloaded without init.d?
bartito said:
init.d dobt supported in gb, seems to me
howto make these modulez autoloaded without init.d?
Click to expand...
Click to collapse
CF-Root will run scripts from init.d. Overcome includes CF-Root.
Sent from my Galaxy Tab. Now that's dedication

[Q] tun.ko

Hi,
has anybody the tun.ko for .58?
i need it for my vpn connection.
please when anybody have it upload it for my i dont find it.
greats
mericon
I too am looking module tun.ko for the kernel:
DooMKernel v17-FIX2 (FW 4.0.2.A.0.42/.58/.62).
All that was found does not work. : (
@all
guys you can download in market you need rooted busyboxinstalled
migsguerra said:
@all
guys you can download in market you need rooted busyboxinstalled
Click to expand...
Click to collapse
i have message:
"Cannot find a compatible tun module for yuor device! Please try again later..."

CIFS.ko for stock 4.0.4 [updated for IMM76I]

#compiled new cifs.ko, md4.ko, nls_utf8.ko for the new
IMM76I build
kernel number
3.0.8-gda6252b
attachment "cifs_gda6252b.zip"
------------------------------------------------------------------
hi there, i have compiled modules for CIFS to work on the stock 4.0.4 kernel.
kernel number must match "3.0.8-g034fec9"
in the attached zip,
here are the list of files.
cifs.ko
md4.ko
#above 2 are required to have it work
#here are native language support.
nls_utf8.ko
nls_cp932.ko
nls_cp936.ko
nls_cp950.ko
#above cp9xx are support for chinese characters.
nls_euc-jp.ko
#above is support for japanese letters.
thank you.
additional notes.
apparently you do not need any other native language support apart from utf8
the trick is, during the mounting process, you will need to specify the "iocharset=utf8" under options.
eg
"mount //192.168.15.123/a /home/b/c -t cifs -o username=d,password=e,uid=f,gid=g,iocharset=utf8"
for cifs manager, just put "iocharset=utf8" under the Options, and you should be able to see all different charsets.
do remember you will need to load the nls_utf8.ko
once you have the module install,
you can use cifs manager to manage your mounts.
(you can also set cifs manager to load this module for you).
Thanks, I'll give it a try later today.
soloxp said:
Thanks, I'll give it a try later today.
Click to expand...
Click to collapse
make sure that you have the correct stock kernel.
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
do note, i have not tried compiling for other version, it might and might not work.
qwerp_ said:
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
Click to expand...
Click to collapse
I've got the ICS 4.0.4 OTA update (IMM76D) to my Nexus S and it says "kernel 3.0.8-g6656123".
Any chance of getting a build for this one?
http :// dl.dropbox.com/u/11754796/imm74d.png
chrkad said:
I've got the ICS 4.0.4 OTA update (IMM76D) to my Nexus S and it says "kernel 3.0.8-g6656123".
Any chance of getting a build for this one?
http :// dl.dropbox.com/u/11754796/imm74d.png
Click to expand...
Click to collapse
here you go.
give it a try.
for stock Nexus S kernel "3.0.8-g6656123"
files included are
cifs.ko
md4.ko
nls_utf8.ko
Samba (CIFS) kernel modules for ICS 4.0.4 (IMM76D) kernel 3.0.8-g6656123.
qwerp_ said:
give it a try.
for stock Nexus S kernel "3.0.8-g6656123"
Click to expand...
Click to collapse
Thanks!
I confirm these work great on ICS 4.0.4 with "kernel 3.0.8-g6656123"
Awesome!
On my galaxy Nexus stock doestn work cifs manager said cannot access a needed shared library
Noob question, what is CIFS?
Enviado do meu Galaxy Nexus usando o Tapatalk
Guto ViP said:
Noob question, what is CIFS?
Click to expand...
Click to collapse
Common Internet File System, is another name for SMB (Server Message Block) also known as Samba. It's most commonly used in Microsoft Windows networks for providing shared network access to files, printers and other services.
These modules allows you to mount a shared directory from your windows computer, on your phone.
I use it to watch movies and play Mp3 on my phone, which is stored on my (windows) media server.
aplatas said:
On my galaxy Nexus stock doestn work cifs manager said cannot access a needed shared library
Click to expand...
Click to collapse
this is the shared library cifs manager is complaining about.
hence you need to download and insmod it.
note. you will need to be rooted to do this.
qwerp_ said:
this is the shared library cifs manager is complaining about.
hence you need to download and insmod it.
note. you will need to be rooted to do this.
Click to expand...
Click to collapse
I am root, now the module is loaded but When i mount cifs manager said the error No such file or directory this is extrange because On my old Nexus S works
aplatas said:
I am root, now the module is loaded but When i mount cifs manager said the error No such file or directory this is extrange because On my old Nexus S works
Click to expand...
Click to collapse
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
qwerp_ said:
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
Click to expand...
Click to collapse
Thanks, the problem it was that the md4.ko it wasn't loaded
qwerp_ said:
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
Click to expand...
Click to collapse
thanks, works well.
Any idea how to get CIFS running on Galaxy Nexus 4.1.1?
funkdified said:
Any idea how to get CIFS running on Galaxy Nexus 4.1.1?
Click to expand...
Click to collapse
In case you didn't see [OP] created a new thread for 4.1.1 here
qwerp_ said:
make sure that you have the correct stock kernel.
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
do note, i have not tried compiling for other version, it might and might not work.
Click to expand...
Click to collapse
Hello,
could you compile it for the kernel version 2.6.34.
( I have a Zenithink ZT 280 C91 with ICS 4.0.3)
regards
-janez
cifs help
Hi,
hoping you can help me out. i have an android tv box that id love to get cifs running on so i can use mount manager and download direct to my nas disk. could you possibly compile these modules for the following kernel???
$ cat /proc/versionLinux version 3.0.8 ([email protected]) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50)
) #8 PREEMPT Wed Sep 12 11:07:28 CST 2012
[email protected]:/ $
Thanks in advance for your help!!!

cifs module for JB4.1.1 -g6fb96c9

(require root to work).
i have created cifs module for the new 4.1.1 kernel
3.0.31-g6fb96c9
use this in conjunction with cifs manager
the md5sum of file is
b9efd28e550bef8c89fe9bada3640561
both
md4.ko and cifs.ko must be loaded to work.
as for the native language support (nls_utf8.ko), its down to yourself.
to use it,
under cifsmanager (when creating a new share)
set options "iocharset=utf8"
Working great here, thanks!
any chance of compiling a version for kernel 3.0.31-ge8de0e2. thanks in advance.
Gonzalo1987 said:
Someone knows how compile it for 3.0.31-gd5a18e0 ??
Click to expand...
Click to collapse
I found them here http://zxvf.homeip.net/
Problem of empty folder =(...
Waiting for a solution xD!!
Thanks you in advance!
qwerp_ said:
(require root to work).
i have created cifs module for the new 4.1.1 kernel
3.0.31-g6fb96c9
use this in conjunction with
the md5sum of file is
b9efd28e550bef8c89fe9bada3640561
both
md4.ko and cifs.ko must be loaded to work.
as for the native language support (nls_utf8.ko), its down to yourself.
to use it,
under cifsmanager (when creating a new share)
set options "iocharset=utf8"
Click to expand...
Click to collapse
Any idea how to get CIFS running on Galaxy Nexus 4.2.2 with utf8?
Thanks.
My kernel and probably many others have cifs built in.
Sent from my Galaxy Nexus using Tapatalk 2

xperia s bcm4330 monitor mod with aircrack-ng

hi they made bcm4330 with monitor mode and aircrack for arm ...... the problem i don't know how to compile .ko driver ...........
http://bcmon.blogspot.com/2012/09/working-monitor-mode-on-nexus-one.html
can anyone compile it for us .. plz and make tuto how it works ...... thanx
links : http://www.youtube.com/watch?v=h7FUrW4eCN0
http://forum.xda-developers.com/showthread.php?t=1892535&highlight=xperia
http://bcmon.googlecode.com/svn/trunk/
R: xperia s bcm4330 monitor mod with aircrack-ng
Cd in the bcm4330 folder, go in dhd/linux/
open terminal here and put thus command:
make CROSS_COMPILE= <your toolchain path> LINUXDIR=<the kernel Path> LINUXVER=<the linux version>
Note that the drivers above, depends on kernel.... if you use a module for stock kernel, with a non stock(optimized kernel) kernel they won't work
Sent from my LT26i using xda app-developers app
i got unused variable warning how to avoid it or to skip it .... i can compile bcm4330.ko from the original but ithink there is proble from the modified source ..so help me plz i'm new ....
nanoteam said:
i got unused variable warning how to avoid it or to skip it .... i can compile bcm4330.ko from the original but ithink there is proble from the modified source ..so help me plz i'm new ....
Click to expand...
Click to collapse
what cross compiler are you using ? ..... if upper than 4.6.0 you can use #Pragma diagnostic error "-Wunused"
it's a dirty way , but it's very fast to do
i compiled a dhd.ko module but it does not load i tried with local_version but it's the same ... error exe format .......
hello guys
does this work on xperia s or not?
if yes what rom

Categories

Resources