[Q] CodeROM v2x-2b (tun.ko) - Galaxy Ace S5830 General

Hi,
Anyone been able to use tun.ko on CodeROM v2x-2b?
VPNC Widget says that can't access tun device, and using terminal to load the module with insmod ./tun.ko i get this error:
failed (Exec format error)

that because ur using tun.ko not suitable with the kernel. each kernel module is unique, can only be use with the kernel it were compile agains.
btw try to flash cfroot b82. it already include a working tun.ko module
http://www.multiupload.com/S1RZLFLKLM

Thankx, it worked.

Related

[Q] cifs module load

Anyone able to load cifs module on 10.1?
I had no luck with the following log from mount manager app, i got the cifs.ko from lib-2636.4.tar.gz
su: insmod (......dir.....)/cifs.ko
execute-result: exitcode:255 stdout: stderr:insmod: init_module '(......dir.....)/cifs.ko' failed (exec format error)
wondering whether the issue here is from mount manager or from cifs.ko?
BTW: tried cifs manager also, not working too.
rainby said:
Anyone able to load cifs module on 10.1?
Click to expand...
Click to collapse
There is no cifs modules for the stock kernel.
You will need one of the custom kernel done by pershoot or supercurio.
just updated my original post .... see if that helps describing issues more clear
danielsjam said:
There is no cifs modules for the stock kernel.
You will need one of the custom kernel done by pershoot or supercurio.
Click to expand...
Click to collapse
rainby said:
just updated my original post .... see if that helps describing issues more clear
Click to expand...
Click to collapse
I have uses cifs with both of the custom kernels and it loads without problems for me.
I also used lib-2636.4.tar.gz - created /system/lib/modules and placed the module there, but should be able to install it anywhere. I am using cifs manager.
UPDATE: I am using the supercurio kernel and just tried
su
insmod /lib/modules/cifs.ko
the module is loaded - checked with lsmod
Good to know it supposed to work ....and i finally fully understand the line...
"There is no cifs modules for the stock kernel. You will need one of the custom kernel done by pershoot or supercurio."
I need a nls_utf8.ko module
I am using [Kernel] - 2.6.36.4 - OC-VFPv3-d16_FP 1.4GHZ - Galaxy Tab 10.1 (10/24/11;9.00PM EDT).which provide cifs.ko module,I can connect to my computer share,but there is no nls_utf8.ko.I need this module to access my chinese share resource,thanks.

[Q] OpenVPN problem with Pershoot's Kernel and "In Paris" v4 by Task650&Phantom

[Q] OpenVPN problem with Pershoot's Kernel and "In Paris" v4 by Task650&Phantom
So I've been having trouble getting openvpn up and running on my tab (p7510 version)
I've installed both the openvpn binary installer and the settings apps fine.
I know my certificates/key/conf are correct as I've tested them elsewhere.
When I try to connect I get the following error:
"FATAL:Cannot allocate TUN/TAP dev dynamically"
I was advised to reflash the latest kernel from Oct 18th and adb push tun.ko from pershoot's lib-2636.4.tar.gz file to /system/lib. That didn't work.
I managed to temporarily avoid it by using adb shell "insmod tun.ko". However every time I reboot the device it comes back because the module isn't loaded again.
Now, I get this error:
"FATAL:Linux ifconfig failed: external program for failed"
Which I cannot figure out how to solve.
Has anyone had these problems before while trying to set this up?
I am using "In Paris" v4 from Task650 & Phantom, and Pershoot's kernel from Oct 18th.
Any help would be appreciated
I'm using VPNC Widget rather than OpenVPN, but the tun.ko needs to be put in "/data/local/modules" then "insmod /data/local/modules/tun.ko" and it survives a reboot.
morkli said:
I'm using VPNC Widget rather than OpenVPN, but the tun.ko needs to be put in "/data/local/modules" then "insmod /data/local/modules/tun.ko" and it survives a reboot.
Click to expand...
Click to collapse
Thanks for the reply, but it didn't seem to work for me. I pushed the same tun.ko to that folder and issued insmod but it didn't stay after reboot.

[HELP] tun.ko - Module

Hi,
i have a Galaxy Ace with Gingerbread 2.3.3 and i would like to use Cisco VPN at my Phone.
When i start this App it appears a message
"This device does not meet the minimum requirements to run this Software. A TUN/TAP driver could not be located. Please ensure a TUN/TAP module is compiled with your kernel or located in /data/local/kernel_modules"
I copied this (http://forum.xda-developers.com/showthread.php?t=1207952) tun.ko into /data/local/kernel_modules and i tried insmod tun.ko but it appears the message:
"insmod: init_module 'tun.ko' failed (Exec format error)"
When i trie modprobe tun it appears the folowing Message:
"modprobe: chdir(2.6.35.7-perf-CL4846464): No such file or directory"
Can some help me to install/insert this module so that i can use Cisco VPN ?
flash this
http://www.multiupload.com/S1RZLFLKLM
thx, but first I want to have the orginal-firmware on my SD-Card if it don´t work so that i can recover it to factory state.
Can you give me a download-link to the orginal-firmware ? (Gingerbread 2.3.3)
I looked at the official Homepage but i didn´t found anything.
Go to Sammobile.com to get firmware.
U need to flash CFroot to get tun.ko function.
THX its working !

[Q] Installing ff-memless.ko and xpad.ko in JB roms?

Hello, I was just trying to install the modules ff-memless.ko and xpad.ko so that I can use my xbox controller on my Galaxy S3. when I try the command in terminal emulator:
insmod /data/local/modules/ff-memless.ko
It fails and says: (exec format error)
Also, I ran dmesg and I believe the error was that these particular modules are made for a different kernel, whereas my kernel is the stock (or siyah i use either of these two and any function)
My question is where can I get these modules for my kernel(siyah or stock)? Or is there a way to get mine to work?
Thanks for any help.
up we need a tutorial about these files because it doesn't seems to be working for everybody

[Q] InsertCoin 3.2.1, Elitekernel 3.1.10....hot to install cifsmanager

Hi,
i want to mount a network folder, to play some videos from NAS, there for, i think in need the cifsmanager.
I installed it and rode a lot about cifs.ko....i pushed it via adb, i copied it via rootbrowser all in /system/lib/modules and in /modules
but it doesnt work. I don't which is the right version, i don't know where or how to put it on the hox+...
i tried the one from this thread http://forum.xda-developers.com/showthread.php?t=1781411
Does anybody has an idea how to solve my Problem?
Thanks.
No one knows??? Any ideas?
For me, it doesnt matter which kernel. I only want a running cifsmanager on my hox+
dafreeze01 said:
Hi,
i want to mount a network folder, to play some videos from NAS, there for, i think in need the cifsmanager.
I installed it and rode a lot about cifs.ko....i pushed it via adb, i copied it via rootbrowser all in /system/lib/modules and in /modules
but it doesnt work. I don't which is the right version, i don't know where or how to put it on the hox+...
i tried the one from this thread http://forum.xda-developers.com/showthread.php?t=1781411
Does anybody has an idea how to solve my Problem?
Thanks.
Click to expand...
Click to collapse
Pleeaase Help Me!
Is is it possible to build the cifs.ko myself? What do i need therefore
dafreeze01 said:
No one knows??? Any ideas?
For me, it doesnt matter which kernel. I only want a running cifsmanager on my hox+
Click to expand...
Click to collapse
dafreeze01 said:
Is is it possible to build the cifs.ko myself? What do i need therefore
Click to expand...
Click to collapse
well you must understand that you cannot simply get a kernel
module from somewhere and use it with a different kernel
kernel modules are part of the kernel and must be compiled
"together" with the kernel. There is key matching used
when loading kernel modules which will refuse loading
if the kernel modules has not been compiled for the
kernel you are running
so simple answer to your question - you must compile
flash and boot the complete kernel you are running
Or you find someone that can can compile EXACTLY the
kernel "version" that you are running and will give you the
kernel module
But before we all need to know which version you are running
(found in About Phone -> kernel version)
Oh BTW even if you have the correct kernel module
it must be loaded with insmod. Just copying it to the device
is not enough
Kernelversion
Hi,
okay...this is the kernelversion
3.1.10-elitekernel-130106-g1187f42-dirty
[email protected] #84
SMP PREEMPT
baseband-version:
3.1204.168.32
Build-Nummer
1.17.401.1 CL135278 release-keys
The Device is rooted so, there should be no problem for insmod.
Thanks for the reply
maxwen said:
well you must understand that you cannot simply get a kernel
module from somewhere and use it with a different kernel
kernel modules are part of the kernel and must be compiled
"together" with the kernel. There is key matching used
when loading kernel modules which will refuse loading
if the kernel modules has not been compiled for the
kernel you are running
so simple answer to your question - you must compile
flash and boot the complete kernel you are running
Or you find someone that can can compile EXACTLY the
kernel "version" that you are running and will give you the
kernel module
But before we all need to know which version you are running
(found in About Phone -> kernel version)
Oh BTW even if you have the correct kernel module
it must be loaded with insmod. Just copying it to the device
is not enough
Click to expand...
Click to collapse
dafreeze01 said:
Hi,
okay...this is the kernelversion
3.1.10-elitekernel-130106-g1187f42-dirty
[email protected] #84
SMP PREEMPT
baseband-version:
3.1204.168.32
Build-Nummer
1.17.401.1 CL135278 release-keys
The Device is rooted so, there should be no problem for insmod.
Thanks for the reply
Click to expand...
Click to collapse
Well - you should very very very kindly ask nik3r
if he can include cifs either hin his kernel or provide you
the kernel module
BTW: ESFileExplorer can browse windows shares without any kernel module
Okay...i'll PM him.
ESFileExplorer is not enaugh. I don't want to browse the share, i wanna play a video and watch on TV from NAS.
Thanks for reply.
maxwen said:
Well - you should very very very kindly ask nik3r
if he can include cifs either hin his kernel or provide you
the kernel module
BTW: ESFileExplorer can browse windows shares without any kernel module
Click to expand...
Click to collapse
Weird, I am pretty sure that CIFS is enabled and built-in, you don't need the module (and can't use it), because it's built as internal kernel component. But I can be wrong, I'll check later when I can.
OK it wasn't, I will compile it as module for the next version.
Big thanks...so i'm wating for the next version
nik3r said:
OK it wasn't, I will compile it as module for the next version.
Click to expand...
Click to collapse
i installed the lates version of your kernel. Problem now...cifs manager and adb-> mount -t cifs says invalid argument, when i type this:
|[email protected]/system/lib/modules# mount -t cifs -o guest //192.168.0.105/Volume1 /sdcard/nas //192.168.0.105/Volume1 /sdcard/nas
mount: mounting //192.168.0.105/Volume1 on /sdcard/nas failed: Invalid argument
dafreeze01 said:
Big thanks...so i'm wating for the next version
Click to expand...
Click to collapse
Did you
Code:
insmod /system/lib/modules/cifs.ko
first?
It's compiled with all features except debugging, including POSIX support.
255|[email protected]/# insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/cifs.ko
insmod: init_module '/system/lib/modules/cifs.ko' failed (File exists)
255|[email protected]/# mount -t cifs -o guest //192.168.0.105/Volume1 /sdcard/nas
mount -t cifs -o guest //192.168.0.105/Volume1 /sdcard/nas
mount: mounting //192.168.0.105/Volume1 on /sdcard/nas failed: Invalid argument
Tried it again with same result. So i think i did it
maybe the mount in your ROM doesn't support the module? try to use mount in busybox
or maybe try something like https://play.google.com/store/apps/details?id=ws.plattner.cifsmanager&hl=cs
I'm on viper 1.0.4 with elite kernel 130119 and cifs manager can't mount shared folders from my windows 8... Is this feature still unavailable?

Categories

Resources