Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,562 Members 37,617 Now Online
XDA Developers Android and Mobile Development Forum

CIFS support

Tip us?
 
dasunsrule32
Old
#11  
Recognized Developer
Thanks Meter 2007
Posts: 2,293
Join Date: Oct 2009
Location: Gilbert, AZ

 
DONATE TO ME
Quote:
Originally Posted by roffee View Post
in which folder and which file?
Doesn't matter, just point point the insmod cmd to where it is located in /data
 
Sym_Link
Old
#12  
Sym_Link's Avatar
Senior Member
Thanks Meter 484
Posts: 535
Join Date: Jun 2010
Location: San Diego
Quote:
Originally Posted by roffee View Post
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.
 
Whitehawkx
Old
#13  
Whitehawkx's Avatar
Recognized Developer
Thanks Meter 9346
Posts: 2,379
Join Date: Oct 2010
Location: Emerald City

 
DONATE TO ME
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.
@Whitehawkx - Github - #TeamKang @ Freenode

donate
 
camalot
Old
#14  
camalot's Avatar
Retired Recognized Developer - OP
Thanks Meter 126
Posts: 636
Join Date: Jul 2007
Location: Hickory Hills IL

 
DONATE TO ME
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.



Droid Explorer - The #1 Open Source Android Manager
MTM Gingerbread Keyboard - w/ Working Haptic Feedback
Mount Manager - CIFS/NFS Manager for Root Users
follow me | circle me
 
Darksurf
Old
#15  
Senior Member
Thanks Meter 8
Posts: 208
Join Date: Mar 2010
You have just become a friend to vibrant users everywhere!
 
hololight
Old
#16  
Senior Member
Thanks Meter 171
Posts: 274
Join Date: Dec 2010
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
 
camalot
Old
#17  
camalot's Avatar
Retired Recognized Developer - OP
Thanks Meter 126
Posts: 636
Join Date: Jul 2007
Location: Hickory Hills IL

 
DONATE TO ME
What are you using to mount? An app or from the shell?

Sent via my Samsung Galaxy S
Droid Explorer - The #1 Open Source Android Manager
MTM Gingerbread Keyboard - w/ Working Haptic Feedback
Mount Manager - CIFS/NFS Manager for Root Users
follow me | circle me
 
hololight
Old
#18  
Senior Member
Thanks Meter 171
Posts: 274
Join Date: Dec 2010
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
 
camalot
Old
#19  
camalot's Avatar
Retired Recognized Developer - OP
Thanks Meter 126
Posts: 636
Join Date: Jul 2007
Location: Hickory Hills IL

 
DONATE TO ME
Quote:
Originally Posted by hololight View Post
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
Droid Explorer - The #1 Open Source Android Manager
MTM Gingerbread Keyboard - w/ Working Haptic Feedback
Mount Manager - CIFS/NFS Manager for Root Users
follow me | circle me
 
unkle_george
Old
#20  
Junior Member
Thanks Meter 1
Posts: 4
Join Date: Jun 2007
Default 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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Navigate to Your Favorite Places with LocationDetector

If you’re enjoying an active way of life, you probablytravel a lot, go fishing, … more

LifeStats Automatic Journal Keeps Tabs of Your Day

Most of us live very active lives. This is after all why we’re fans of mobile … more

Android App Review: Hide Your Files with Androignito – XDA Developer TV

Stop right now, look at your phone, and see how many pictures, … more

BrightNotes Makes Cloud Notes Simple and Easy

There are literally thousands of note taking apps available on Android, with practically every … more