Prepare Your Nokia X2 for Battle with Nokia X2 Tools

Unveiled in June this year, the Nokia X2 is the Finnish companys second crack at an … more

Increase the Speaker Volume of Your Samsung Gear 2 with Tool and Tutorial

I think its pretty safe to say that any sound coming out of a … more

Unlock Hidden Camera Settings on Your Moto G

At one point in time or another, weve all gotten very fiddly with the camera settings on our … more

XDA Partners with LG for Developer Challenge

Many Android enthusiasts know the name LG. LG is the maker of some Google Nexus devices and some … more
Post Reply

CIFS support

30th December 2010, 02:38 PM   |  #11  
Recognized Developer
Flag Gilbert, AZ
Thanks Meter: 2,009
 
2,298 posts
Join Date:Joined: Oct 2009
Donate to Me
More
Quote:
Originally Posted by roffee

in which folder and which file?

Doesn't matter, just point point the insmod cmd to where it is located in /data
30th December 2010, 04:27 PM   |  #12  
Sym_Link's Avatar
Senior Member
Flag San Diego
Thanks Meter: 488
 
549 posts
Join Date:Joined: Jun 2010
More
Quote:
Originally Posted by roffee

in which folder and which file?

I just created a folder name CIFs in /data and put the two .ko files in it. Then in init.d I created a file that looked like :

#!/system/bin/sh

insmod /data/CIFs/slow-work.ko
insmod /data/CIFs/cifs.ko


But, just as dasunsrule32 stated, it doesn't matter what folder you use as long as your file points to the one you are using.
30th December 2010, 06:32 PM   |  #13  
Whitehawkx's Avatar
Recognized Developer
Flag Emerald City
Thanks Meter: 9,348
 
2,379 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Awesomeness. Worked out great. Just as grendel905 stated I threw the .ko modules into a folder in /data and threw a script into init.d. They now load at boot. Just an fyi for ppl this method will not work if you are using a stock 2.2 kernel. You either need to be using voodoo or one of TW's kernels with the modified init.rc.
6th January 2011, 06:03 PM   |  #14  
camalot's Avatar
OP Retired Recognized Developer
Flag Hickory Hills IL
Thanks Meter: 126
 
636 posts
Join Date:Joined: Jul 2007
Donate to Me
More
I've released Mount Manager on the android market that will allow you to load these modules on your device automatically (without having to edit any files). It can load them when the device boots, or when the app starts.

It also can manage your cifs/nfs shares too. Allowing you to mount/unmount them. You can also set them to auto mount when the device boots, when the application starts or when connected to wifi.

For more info you can see the thread for the app where I will maintain the changelog.



6th January 2011, 06:20 PM   |  #15  
Senior Member
Thanks Meter: 8
 
208 posts
Join Date:Joined: Mar 2010
You have just become a friend to vibrant users everywhere!
16th January 2011, 05:52 AM   |  #16  
Senior Member
Thanks Meter: 171
 
274 posts
Join Date:Joined: Dec 2010
More
So here's the problem im having. Both modules load fine and I've confirmed they are loaded, but when I try and mount anything, mount says cifs is an invalid argument for type.

Sent from my SGH-T959 using XDA App
17th January 2011, 01:16 AM   |  #17  
camalot's Avatar
OP Retired Recognized Developer
Flag Hickory Hills IL
Thanks Meter: 126
 
636 posts
Join Date:Joined: Jul 2007
Donate to Me
More
What are you using to mount? An app or from the shell?

Sent via my Samsung Galaxy S
18th January 2011, 01:50 AM   |  #18  
Senior Member
Thanks Meter: 171
 
274 posts
Join Date:Joined: Dec 2010
More
First I tried mount manager and when that failed I did it myself from a term.

Double checked that slow-work and cifs modules are loaded...

Here is terminal...

mount -t cifs //192.168.1.12/d /mnt/sdcard/sd
mount: Invalid argument
#

Doesn't matter where I try to mount to...

Chris

Nm, wasn't paying attention to case for my share name.. works. Thanks



Sent from my SGH-T959 using XDA App
18th January 2011, 04:49 PM   |  #19  
camalot's Avatar
OP Retired Recognized Developer
Flag Hickory Hills IL
Thanks Meter: 126
 
636 posts
Join Date:Joined: Jul 2007
Donate to Me
More
Quote:
Originally Posted by hololight

First I tried mount manager and when that failed I did it myself from a term.

Double checked that slow-work and cifs modules are loaded...

Here is terminal...

mount -t cifs //192.168.1.12/d /mnt/sdcard/sd
mount: Invalid argument
#

Doesn't matter where I try to mount to...

Chris

Nm, wasn't paying attention to case for my share name.. works. Thanks



Sent from my SGH-T959 using XDA App

you should be able to do this and not have to worry about the case of your shares:

Code:
mount -t cifs //192.168.1.12/d /mnt/sdcard/sd -o nocase
19th January 2011, 01:29 AM   |  #20  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: Jun 2007
nfs.ko
has anyone been able to create a nfs.ko module?

Thanks to the directions here I was able to create a loading cifs.ko for the Firebird SGS / GT-I9010 Kernel, but my nfs.ko built with the same process wouldn't load.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Vibrant Android Development by ThreadRank