[Q] Installing ff-memless.ko and xpad.ko in JB roms? - Galaxy S III Q&A, Help & Troubleshooting

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

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] NFS mount freezes tablet?

Hi,
I am trying to get my GT-7510 (retail with the latest updates, rooted) mount an NFS share.
I have built the necessary modules and loaded them via insmod.
However, when I attempt to mount a share the tablet freezes. Screen is on, can't connect or ping in any way.
I've tried adb logcat - it just stops showing any output. I've tried getting a core dump without any success.
Is there any way I can see what the dmesg output was when the thing froze? Any suggestions on how to troubleshoot this?
And I don't want to use CIFS because it's slow and it generally sucks.
Thanks in advance!
Does anybody use NFS on the GT-7510?
Hi weasel,
I'm also struggeling with NFS. I tried using pershoot's Kernel with his modules. But I'm not even near to get NFS mounted or the Tab frozen ;-)
Maybe you can share which modules you loaded, which kernel, which mount command, how you issued the command.
So far I don't have a solution but maybe we can find one together!
Here is what I did so far:
[Kernel] - 2.6.36.4 - OC-VFPv3-d16_FP 1.4GHZ - Galaxy Tab 10.1 (9/13/11; 9.00PM EDT)
Installed the kernel above, loaded the following modules in the following order:
1. sunrpc.ko
2. auth_rpcgss.ko
3. lockd.ko
4. nfs_acl.ko
5. nfs.ko
When I try to mount my nfs share running on a Ubuntu 10.04 server with this command line:
mount -o nolock -t nfs <IP>:/<Path> /sdcard/<mountpoint>
I'm getting the following error message: Invalid argument
Is this a bug in the kernel/module. Am I doing something wrong?
I did get it to work but I had to use the source from Samsung's site and not the android source.
The modules you have listed are correct but you need to use the mount command that comes with busybox because the built-in mount doesn't support nfs. Also check your dmesg output after you load the last module to make sure there are no error messages.
So try using
/system/xbin/mount
instead of just mount
Oh, and I'm using the stock kernel so that's why I needed Samsung's source, you shouldn't need to re-compile your modules.
weasal said:
Oh, and I'm using the stock kernel so that's why I needed Samsung's source, you shouldn't need to re-compile your modules.
Click to expand...
Click to collapse
Did you compile those modules on your own? Do you know any howto for doing that? Or can you even provide me with the modules?
I'd like to use the stock kernel as well!
Thanks again!!
I already managed to compile them on my own. Thanks again for the hint.
For all of you who are searching for the required modules for the stock Kernel as well - please find attached.
The correct mount option:
/system/xbin/mount -t nfs -o nolock <ipaddress>:/<path> <mountpath>

[Q] CodeROM v2x-2b (tun.ko)

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.

[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

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 Tab 10.1 LTE (sch-i905). 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 2.6.36.4-cyanogenmod+
My question is where can I get these modules for my kernel? Or is there a way to get mine to work?
Thanks for any help.
Which ROM are you using exactly?
Are the modules included in the ROM?
Are you doing it as root?
It is rooted and i do not believe it is running a custom ROM, just a custom kernel which is the cyanogenmod kernel for the lte tablet running 3.2
and no they were not included i found them online.
Which kernel exactly? Download link? A link to the modules too.
Most likely your theory is right, you're trying to use a module for another kernel.
You can find the last custom kernel and modules for HC 3.2 here: http://droidbasement.com/db-blog/?p=2479
Don't forget to run the insmod as root.
Oh, and the dmesg output could be useful if you keep getting the same error.
I got the modules here: http://forum.xda-developers.com/showthread.php?t=1517949
and I do not remember where exactly I got the kernel, and I believe the kernel itself is on a different computer at the moment, but it was a cyanogenmod by pershoot, so I imagine I could simply put the one you gave me onto my tablet and install via CWM?
And what do you mean to run it as root? Do you mean to start with 'su' as the first line?
Yes, you're using modules for a different kernel, an ICS kernel for a different device.
Maybe you're already using the latest kernel from pershoot, if you want to be sure, execute in a terminal:
Code:
uname -a
The date should be around 9/January/2012
In any case, if you want, download the kernel from pershoot's blog and flash it with CWM.
Use the modules in lib-2636.4_ux_hc32.tar.gz (from pershoot's blog). And yes, use the terminal as root executing the su command first.
Alright I put in that code and yes it was Jan 9th but I think Ill flash that one you gave me anyways. Before I do so, do I need to wipe data or just cache and dalvik?
and I seem to be having difficulties finding that .tar file you mentioned.
Btw thanks for all your help with this
There's no need to flash the kernel if you already have it. But no, just flash the kernel without wiping anything.
The modules (the file is a tar.gz): http://droidbasement.com/galaxy/kernels/2636/26/lib-2636.4_ux_hc32.tar.gz
Or just download the attachment (includes ff-memeless.ko and xpad.ko):
Load ff-memeless.ko first, then xpad.ko .
If you want, when someone helps you, hit the "thanks" button in the post.
It all works now thank you so much for your time.
Hello, so I'm trying to get wired 360 controller to work. But I need correct modules for my ZTpad Zenithink C91 ICS 4.0.3.
Anyidea where to find those? ff-memless.ko and xpad.ko?
Hey guys, I'm sorry to double post.
I have spent past few days with this matter, I simply do not know where else to ask anymore. My knowledge is not very good about ROMs and kernels.
I'm running ICS 4.0.3 now, and need those two files to get 360 pad working. ff-memless.ko and xpad.ko. I tried couple diferent ones I found from internet, but it says "exec format error". So it seems that kernel version is wrong.
Tablet is Zenithink C91. Any idea how/where to get right files?
Thank you for your help!
Jesse
Reply
I have an HP Touchpad running the latest official nightly update...
I have the ff-memless.c and xpad.c for my device, I just need help turning them into/compiling them into .ko files...
Can somebody please help me with compiling? I just can't make sense of this guide on the CM wiki: wiki.cyanogenmod.c0m/wiki/Building_Kernel_from_source
(replace 0 with o)
Thanks

Categories

Resources