[Q] How to add NFS modules - Samsung Galaxy Fit GT 5670

I have Jana 7 ROM with 2.6.35.14-Jana-cfroot kernel on my FIT.
I want to use NFS to connect to my Linux PC using CIFS/Manager.
But I don`t have nfs modules loaded in kernel.
Code:
#busybox lsmod
ar6000
sec_parm
rfs_fat
rfs_glue
fsr_stl
fsr
r_stl
I need advice. What to do so I can have working NFS on my phone ?
Where to find NFS modules for FIT or what modules can I use ?

Related

[FOR CHEFS] xpad/cifs/hfs/squashfs/btrfs modules for stock kernel ICS v9.2.1.11

I took a vanilla 2.6.39.4 linux source tree, copied in the .config from /proc from my running ICS v9 build. And compiled it.
After that, turned on CIFS and XPAD support in the config and compiled them as modules.
These modules load fine if I insmod them, and I can confirm that after loading ff_memless and xpad I now have my xbox360 pad working on the home screen (I can move through screens and icons).
edit: Just played a round of Riptide GP, works fine .
edit: I updated the cifs module and included the md4 crypto module, and they now work! I manually 'insmodded' md4.ko and then cifs.ko, and from the command line and / or from cifsmanger I can now mount a share.
As I said, these modules load fine, but in dmesg there is a notion that the version magic isn't perfect yet. So I might make updated ones with proper versionmagic set. But for now it seems to be working.
Might be handy for ROM chefs who are working with the stock ICS kernel for which we have no sources yet.
TUN module is _builtin_ by default on ICS stock kernel, so no need for it anymore.
EDIT v2 zips: I recompiled them with the correct version info, so they give no more warnings when loaded through insmod. I added them to my stock rom to auto-load during boot (created a simple /system/etc/install-recovery.sh) and all seems fine so far.
For voodoo sound to work, is it a simple module which I can get anywhere? I only see 2.6.36 kernel trees on Project Voodoo website
----------------------------------------------------------
hfs @ http://forum.xda-developers.com/showpost.php?p=23018909&postcount=19
squashfs + btrfs @ http://forum.xda-developers.com/showpost.php?p=23019453&postcount=20
good for those complaining about cifs
dipje said:
I took a vanilla 2.6.39.4 linux source tree, copied in the .config from /proc from my running ICS v9 build. And compiled it.
After that, turned on CIFS and XPAD support in the config and compiled them as modules.
These modules load fine if I insmod them, and I can confirm that after loading ff_memless and xpad I now have my xbox360 pad working on the home screen (I can move through screens and icons).
edit: Just played a round of Riptide GP, works fine .
edit: I updated the cifs module and included the md4 crypto module, and they now work! I manually 'insmodded' md4.ko and then cifs.ko, and from the command line and / or from cifsmanger I can now mount a share.
As I said, these modules load fine, but in dmesg there is a notion that the version magic isn't perfect yet. So I might make updated ones with proper versionmagic set. But for now it seems to be working.
Might be handy for ROM chefs who are working with the stock ICS kernel for which we have no sources yet.
TUN module is _builtin_ by default on ICS stock kernel, so no need for it anymore.
For voodoo sound to work, is it a simple module which I can get anywhere? I only see 2.6.36 kernel trees on Project Voodoo website
Click to expand...
Click to collapse
in case you want to try that too because its faster than cifs
nfs support is in the kernel, no additional modules required
to get it working with cifsmanager mountings nfs shares i did the following
(it also works with commandline)
### as su and /system readwrite mounted
### remove symlink to toolbox
rm /system/bin/mount
### and use busybox instead
ln -s /system/xbin/busybox /system/bin/mount
mount options: rw,intr,soft,nolock
the modules are already working.
NFS support is nice for people with linux boxes but most windows users don't have a use for it , that's why they want cifs .
I don't care much for overclocking, so with cifs support + xbox360 support I'm more than happy with rooted stock now . And rom chefs can include the modules in their optimized ROMs until we have proper kernel source
Care to share how to get this loaded into the current ics roms. I have copied to /system/lib/modules and tried to load using mount manager and cifs manager with no luck.
comfort69 said:
Care to share how to get this loaded into the current ics roms. I have copied to /system/lib/modules and tried to load using mount manager and cifs manager with no luck.
Click to expand...
Click to collapse
you can e.g. create a script (like I believe OP did) in /etc/system/install-recovery.sh with
#!/system/bin/sh
insmod cifs.ko
insmod md4.ko
or you can mount it by hand in terminal (with insmod)
or you can simply create init.d script and call it 91modules:
#!/system/bin/sh
sleep 1
insmod /system/lib/modules/cifs.ko
echo "CIFS support activated";
and place it in system/etc/init.d if custom ROM supports init.d support.
comfort69 said:
Care to share how to get this loaded into the current ics roms. I have copied to /system/lib/modules and tried to load using mount manager and cifs manager with no luck.
Click to expand...
Click to collapse
jerry was close. Module auto-loading won't work, so you have to do it by hand.
Through an 'adb shell' or with a terminal emulator app from the market, type the following:
su -
insmod /system/lib/modules/md4.ko
insmod /system/lib/modules/cifs.ko
cifsmanager should work, until you reboot, you'll have to do the lines again.
Creating a file /system/etc/install-recovery.sh will do it auto on boot:
Code:
#!/system/bin/sh
insmod /system/lib/modules/md4.ko
insmod /system/lib/modules/cifs.ko
Make sure to create the file executable (permissions 777 will do ).
I hope rom chefs will use them and make them auto-load at boot until we have the sources from Asus.
edit: What mike said works, IF you have init.d support. Most custom ROMs have this, stock rom has not I believe.
dipje said:
jerry was close. Module auto-loading won't work, so you have to do it by hand.
Through an 'adb shell' or with a terminal emulator app from the market, type the following:
su -
insmod /system/lib/modules/md4.ko
insmod /system/lib/modules/cifs.ko
cifsmanager should work, until you reboot, you'll have to do the lines again.
Creating a file /system/etc/install-recovery.sh will do it auto on boot:
Code:
#!/system/bin/sh
insmod /system/lib/modules/md4.ko
insmod /system/lib/modules/cifs.ko
Make sure to create the file executable (permissions 777 will do ).
I hope rom chefs will use them and make them auto-load at boot until we have the sources from Asus.
Click to expand...
Click to collapse
Keep in mind that install-recovery.sh is executed from ramdisk (init.ventana.rc or init.rc, don't remember now) and some chefs (including me) removed that execution line. So much easier to add init.d script I think. Just a suggestion
EDIT:
yeah, for those on stock ROMs install-recovery.sh method is good, for those using custom ROMs it's better to use init.d
I tried to get it to run manually using terminal emulator and get
failed file exists
Sent from my Transformer TF101 using Tapatalk
comfort69 said:
I tried to get it to run manually using terminal emulator and get
failed file exists
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
my guess is you're trying to load them double or something.
If you give the command 'lsmod' you get a listed of loaded modules. Check if they're there or not.
Anyone got Junos working with the builtin tun.ko ?
comfort69 said:
Care to share how to get this loaded into the current ics roms. I have copied to /system/lib/modules and tried to load using mount manager and cifs manager with no luck.
Click to expand...
Click to collapse
cifsmanager - preferences:
check "load with insmod"
if its not already, adjust path to cifs.ko and other modules
btw: as rmmod tries to remove /lib/modules/cifs.ko instead of /system/lib/modules/cifs.ko there's no way to unload the module other than rebooting.
just sharing how I did manage cifs to work
I've installed Revolution HD 3.00 (ICS 4.0.3), installed CifsManager, didn't work, tried to copy cifs.ko and md4.ko in /system/lib/modules with File Expert or Root Explorer, couldn't because of a read-only system files, plugged my tablet on a PC, launched an adb session and typed:
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
pushed through adb cifs.ko and md4.ko in /system/lib/modules
changed the permission to 777 using File Expert
launched cifs and md4 using terminal emulator:
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/md4.ko
in cifsmanager settings, didn't check load modules on boot and load through insmod
tried to connect my shares: succeed
Hope it will help somebody
jeanvdr said:
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
hmm strange
my /system is mounted elsewhere
/dev/block/mmcblk0p1 on /system type ext4
anyway
another method without terminal (and.revol hd 3.0.0 only)
adb shell sysrw
adb push cifs.ko /system/lib/modules
adb push md4.ko /system/lib/modules
adb shell chmod 644 /system/lib/modules/*.ko
adb shell insmod /system/lib/modules/cifs.ko
adb shell insmod /system/lib/modules/md4.ko
If the modules don't cause problems, they will likely be in the next ARHD version.
Remounting goes like this: busybox mount -o remount,rw /system
Yaffs2 filesystem isn't used anymore, and 'remount ' ignores these parameters anyway .
Please keep it readable for people on stock ics, custom roms will get these modules somehow anyway.
Adb sysrw will not work without modified bootdisk AFAIK.
Wat is Janos? ? Maybe it needs more than the tun module, like crypto modules?
Btw, my tablet still working fine. Never had a Sleep of Death. Actually, never EVER had a SOD with my tablet, and I can't seem how any cifs module can cause it like some people are saying.
woti23 said:
cifsmanager - preferences:
check "load with insmod"
if its not already, adjust path to cifs.ko and other modules
Click to expand...
Click to collapse
The problem is this cifs.ko module required md4.ko, and AFAIK cifsmanager doesn't try to load it.
dipje said:
The problem is this cifs.ko module required md4.ko, and AFAIK cifsmanager doesn't try to load it.
Click to expand...
Click to collapse
actually it does, if you
check "load cifs module at start"
check "load per insmod"
fill out "path to cifs.ko":
/system/lib/modules/cifs.ko:/system/lib/modules/md4.ko:/system/lib/modules/nls_iso8859_1.ko
[email protected]:/~# >lsmod
nls_iso8859_1 3107 0 - Live 0xbf066000
cifs 218286 0 - Live 0xbf12a000
md4 3007 0 - Live 0xbf003000
it is a little work to type the pathes, and you surely are right that for most people its easier if it is loaded in the rom (init.d or somewhere else) automagically
btw: if you once compile modules again would you mind compiling the hfsplus module en passant? it should compile without any troubles and dependencies and allows manually (command line) mounting a mac os x external harddisk?
woti23 said:
btw: if you once compile modules again would you mind compiling the hfsplus module en passant? it should compile without any troubles and dependencies and allows manually (command line) mounting a mac os x external harddisk?
Click to expand...
Click to collapse
I haven't tested them (as in, didn't even try if they would load OK).
I just noticed I screwed up the vermagic again, so you'll get a warning in dmesg while loading. Should load ok though.
edit: Ok I've redone them. Proper cpu + vermagic now
And if people wanna experiment, mess with stuff:
squashfs
btrfs

GT-P3113 Romswell 1.1 cifs.ko nls_utf8.ko and md4.ko

Here is the kernel modules compiled with samsung stock 4.0.3 kernel, but versiontag corresponding to work with Romswell 1.1 or stock P3113UEBLH2.
You can load manually and try with mount command or use cifs manager apk.
If you wanna load via cifs manager you have to do a litle trick instead of set the /path/cifs.ko, you have to set "/path/md4.ko; insmod /path/nls_utf8.ko; insmod /path/cifs.ko"
The modules are on /zip/QyF_mqDG/cifs.html after 4shared dot com
sorry can't post url because of 10 posts restriction...

[Q] Cifs cause crash and reboot

Hi all,
I begin with compilation and development with kernel for mobiles devices and specially with touchpad.
I tried to use my touchpad like a "micro" server (like i could do with raspberry pi), then i installed ubuntu 12.10 with this topic:
http://forum.xda-developers.com/showthread.php?t=1304475
I installed ubuntu 12.10 and use CalcProgrammer1 kernel (uImage.Ubuntu), it works great for what i want to do...
But now i would add cifs support because the kernel doesn't support it..
I tried to recompile Bodden sources but, the touchscreen support and freedreno drivers isn't supported...
Then, i tried a last thing: compile Bodden sources, make modules, cifs.ko
Now, i have cifs.ko but, when i try to load it with CalcProgrammer1 kernel with insmod, il load successfully (i see it with lsmod) but when i try to mount anything with "mount.cifs" or "mount -t cifs" i will crash and reboot directly after i enter the password...
My knowledge isn't very good with that, and i don't know if i can compile cifs.ko with bodden source, use CalcProgrammer1 kernel and load cifs.ko with insmod..
Thank you very much :highfive:

Looking for cifs.ko/md4.ko/nls_utf8.ko for Shield Tablet to access wifi drive

I'm trying to find the cifs modules so to get my Shield Tablet accessing my 1TB portable wifi drive. I got this working on my JXD S7800B, but I need the modules for the latest stock kernel. Anyone able to help?
I intend to try the method that I utilised on the JXD S7800B which was:
With Root Explorer I added the modules cifs.ko, md4.ko and nls_utf8.ko (versions compiled for the JXD S7800B) to /system/lib/modules and matched their permissions to the other modules in the folder.
I then set CifsManager to load with insmod using the following line:
/system/lib/modules/md4.ko: /system/lib/modules/nls_utf8.ko: /system/lib/modules/cifs.ko
After this cifs worked on the JXD S7800B, I'm hoping for similar results on the Shield Tablet.

[Q] uinput kernel module for the omega rom

Hello,
This is my first post in the forums. I have a Galaxy S4 I9500 and have rooted it with CWM. I am planning to flash the Omega Rom v24 for S4 I9500. I just wanted to know if the Omega Rom kernel has the uinput module.The reason I am asking this is because I want to play games with my gamepad and I downloaded Tincore keymapper 3.6.4 to map the keys of my controller to the touch screen buttons. But Tincore keymapper does not work as required. It states that Tincore works good with the uinput module. I asked the developer of the app how to resolve the issue and he told me to flash a custom kernel. I found the Omega Rom interesting and so I wanted to make sure if the kernel has uinput so that I can play games without any problems with my gamepad. Please let me know if I am looking in the right direction.
Thanks
Solved
Hello,
I finally got this working on my Galaxy S4 I9500. I flashed the Omega Rom v24 with CWM. Installed Tincore Keymapper v3.6.4. Installed Respawnables game. I tried to connect it with my 2.4GHz wireless ps2, ps3, pc gamepad but I got a message saying "Uinput doesn't seem to be available in the kernel. Please install a kernel with uinput module". So I did a search with the Android Terminal Emulator app and here are the commands I executed to check if the uinput module exists.
1. su
2. cd /
3. cd dev
4. ls
Now check if you have the uinput present in the list. If it does, it indicates that you are not able to access the module. So go forward and try one more command like this
chmod 666 dev/uinput
This command will give access to other apps wanting uinput. Remember that you will have to run this command again if you reboot you phone. Hope this helps.
androfr said:
Hello,
I finally got this working on my Galaxy S4 I9500. I flashed the Omega Rom v24 with CWM. Installed Tincore Keymapper v3.6.4. Installed Respawnables game. I tried to connect it with my 2.4GHz wireless ps2, ps3, pc gamepad but I got a message saying "Uinput doesn't seem to be available in the kernel. Please install a kernel with uinput module". So I did a search with the Android Terminal Emulator app and here are the commands I executed to check if the uinput module exists.
1. su
2. cd /
3. cd dev
4. ls
Now check if you have the uinput present in the list. If it does, it indicates that you are not able to access the module. So go forward and try one more command like this
chmod 666 dev/uinput
This command will give access to other apps wanting uinput. Remember that you will have to run this command again if you reboot you phone. Hope this helps.
Click to expand...
Click to collapse
when the list appers it has uinput in it
but when i tried the next commond it showed not file/directoy found

Categories

Resources