Hi Folks.. need some input.. I'm still a noob at this but getting better n better everyday.
After doing lots o diggin, i cannot find any conclusive fix for adding CIFS towards a TNT Lite Rom (or if there's even a fix ) .
The closest thing to a potential fix is
http://forum.xda-developers.com/showthread.php?t=889088
But i'm a little reluctant to pull the trigger on it.
So far TNT lite 4.4.0 for me is perfect... less the CIFS / streaming video I want to do from my xp share.
Any input or comments on this topic would be welcome.
Thanx for your support! You guys rock!
M
I got CifsManager from the Market for my samba shares. Seems to work fine.
Is that what you are looking for? I am on TNT Lite 4.4
TnT Lite 4.4 uses Clemsyn's kernel which has CIFS support. All you need is an app or script to mount your share. I used to use CIFS Manager. Should be available in the market.
Thanx for the quick feedback .. trying CIFS Manager
Step 1) appears that you have 1 shot at setup once you download CIFS Manager..now that it's installed and I muffed my settings .. i try to go back to the CIFS Manager app and i get "Application is not installed on your phone"..but settings show that it IS infact installed. Re-downloading it from app store (after you have uninstalled it) gives you your change again.
Step 2) configuring it correctly to my XP shares of pix movies and music.
Question: when installing CIFS Manager (with the intention of accessing Windows share on XP)... do i need to go into Settings of CIFS Manager.. and load cifs module on startup?
2ndly .. I don't have CIFS.KO on my system ... and in Path to CIFS.KO (setting).. it's looking for it in System/lib/modules/cifs.ko
Do i need this module to make this work?
Where do i get it if i do?
Am i making this more complicated than it should be?
Off to bed.. enuf tweaking for tonite.. but any input is welcome.
Thanx again folks.
M
I haven't touched Menu -> Settings, so I have everything unchecked/default there.
I added my shares using Menu-> Add New Share and I just open Cifsmanager and mount/unmount the shares when needed.
With this setup, the mounts don't survive a reboot.... which is fine with me.
--
Some Kernels include cifs.ko as a separate module that you load/unload as needed. My assumption is this method saves memory, etc by not running modules that aren't actively needed.
I use pershoot's kernel (with Vegan Ginger) and it's set up this way. So I have to point CIFS Manager at my cifs.ko and it will load the module as necessary.
My understanding is that Clemsyn's kernel includes all of the "extra" modules precompiled in. No loading of extra modules. Therefore, you shouldn't have to worry about the path to cifs.ko or anything like that.
Don't get used to this, btw - I plan to go back to stock after the next firmware update. I used clem's this one time to minimize the sleep issue.
I prefer to leave TNT Lite as stock, and let the user decide if they want to add a customized kernel or not. I personally use one, but I felt that keeping it closer to stock is the better idea.
Maverick_120 said:
Thanx for the quick feedback .. trying CIFS Manager
Step 1) appears that you have 1 shot at setup once you download CIFS Manager..now that it's installed and I muffed my settings .. i try to go back to the CIFS Manager app and i get "Application is not installed on your phone"..but settings show that it IS infact installed. Re-downloading it from app store (after you have uninstalled it) gives you your change again.
Step 2) configuring it correctly to my XP shares of pix movies and music.
Click to expand...
Click to collapse
That's a stock Launcher bug - I've seen the same thing. You'd need an alternate launcher to correct (again, a user option - I personally add Launcher Pro as soon as I re-flash my own device. I dislike the stock Launcher).
Thanx Roebeet...
K so this is the plan when i can get my mittens on my tab afterwork.
1) fix the application issue by adding launcher pro (doofus i am, i just figured out its on the market for me to download to apply this potenial fix to my woes.
2) Try CIFS Manager install again .. "as is" sans modules .. and see if i can hit my shares and stream a video or 2... which would be ..friggin awww someee !!
My circle of life will then be complete.
Thanx for your feedback and support guys n gals !
K Update...
1) done... added launcher pro and it did fix the error from CIFS Manager.
2) problem.. installed CIFS manager but not sure how to get to share.
My share on XP is called "movies" in mount point i'm putting /mnt/cifs/movies
put user and pw that has admin rights... no go.
"mounting the share has failed with an error. mount: Invalid Argument"
Any ideas what i may be doing wrong?
M
GOT IT !
In CIFS Manager ..
ipaddress/sharename = 192.168.1.100/movies
Sharepoint
/mnt/cifs/movies <-- believe this mimics a local drive but is really the share
AWEESOME ...
Thanx again folks.
M
I'll add some comments later with the bumps i get on my journey.
I have tnt lite 4.4 but if I do a command in
terminal:
mount -t cifs //192.168.0.5/video /mtn/cifs/video
I get the error
mount: Invalid argument
But the kernel with tnt lite 4.4 has cifs built in,
doesn't it?
EDIT: the problem was simply that I need to add "guest" as username for
a freely browsable share ...
Related
I want to mount some cifs or even better nfs mounts. I Found the cool cifs app, but I'm having no luck loading the cifs driver.
I have a rooted x10a
firmware 1.6
Kernel 2.6.29-rel semc-android semc 2
Build r1fa014
so what do I have to do? I have looked high and low for a x10 cifs.ko, and tried a ton of others with the app and insmod. Do I need to upgrde the kernel? build?
Current links to what I have to do would be apreciated.
Thanks
check the kernel compiling topic, I posted cifs kernel module for X10 there.
Thanks for the info
I have found your main post: # 716360, Compiling X10 kernel sources.
And I have downloaded your cifs.zip, put it on my x10. I can insmod or use the cifsmanager gui to load the module, and it appears to be running with no errors, lsmod even shows it.
But when I go to mount I still get the "No Such Device" error. Do i need to upgrade my phone first from the above specs?
I don't want to hijack the other post, so ill reply here.
Thanks
bango123 said:
Thanks for the info
I have found your main post: # 716360, Compiling X10 kernel sources.
And I have downloaded your cifs.zip, put it on my x10. I can insmod or use the cifsmanager gui to load the module, and it appears to be running with no errors, lsmod even shows it.
But when I go to mount I still get the "No Such Device" error. Do i need to upgrade my phone first from the above specs?
I don't want to hijack the other post, so ill reply here.
Thanks
Click to expand...
Click to collapse
use the same command line i used on the kernel topic,
also the destination directory must exists.
last but not least, busybox mount instead of the native android mount
if you succeed, please provide compiled module
After some work, I got it to work, and in the end it was not to complicated at all.
1. Get the CIFS module (driver) for the X10, I have attached a copy I am now using for version 1.6. It was compiled by alx5962 and put on these forums in another thread "Compiling X10 kernel sources". There is more info there. I just added "X10" to the name of his file to avoid confusion and posted it here in case of a search engine brought others here for help.
Unpack and save the file somewhere on your SD card, write down where it is at.
2. Install the CIFS Manager from apps, it will need root access to load the cifs module ("Superuser Permissions" app manages this very well), there is lots of info and this is a easy fix. Should be easy to find.
In settings:
Check "Load cifs module"
Check "Load via insmod"
the under path point it to where you saves the cifs modile (something like /sdcard/cifsx10/cifs.ko)
Then setup your share, for example:
Share Path:
192.168.0.1/Share
Mount Point:
/mnt/cifs/Share
Username"
me
Password:
mepassword
Don't worry about any of the options
And that should do it. I did try the command line mounting in the shell, that worked well too, I even made some scripts with a script app. But the CIFS Manager once i figured out my problem(read my note below), worked very well and very easy.
*NOTE* My big problem was an error when mounting "invalid argument". What I found is even if I have the share open to anyone with no password, it will spit out an error if you leave the username and password blank. I just put in "me" and "pw" (or anything really) and i was up and running in one foul swoop!
can i ask what is the point to all this?
mootmaina said:
can i ask what is the point to all this?
Click to expand...
Click to collapse
CIFS also called SMB is the network file sharing used by windows mostly, this would then let you share a folder on you sdcard over you wifi to your home pc leting you copy files to and from your phone without connectinig USB
I haven't tried to share any folders on the sdcard, but I use it to mount shares that are on the network on my pc. ES File Explorer is a nice app to browse the network, but some files wont open well using this.
My main use is to play media, mainly DIVX movies that are stored on my pc. By mounting a share on cifs ( smb - samba, or windows file sharing, both more or less same thing) I can open my DIVX movies with rockplayer and they play like a charm. I have heard of some other apps that have the same issue.
But now I can have access to all of my media stuff when i want.
you can also use webdrive - windows program for mounting ssh filesystems, and launch ssh daemon on android.
Anyone tried this on 2.1? Do we need a new cifs.ko?
Bump.
Anyone got any info on cifs and 2.1? Id like to upgrade but don't want to lose this use.
[sorry] Bump [/sorry]
I tries some of the cifs.ko files i found trying to use the same kernel version (2.6.29), but insmod gave me errors.
Please, if anyone found a working version of cifs.ko for X10 2.1 kernel, post it - or give us a hint ...
(yes i know, compiling it myself would be a way, ... - i promise i will try, but why reinvent the wheel?)
THANKS,
Bax
Bumpito
Still no news about the new cifs.ko ?
Thanks !
Sony Ericsson haven't released the sources for 2.1 yet, so no "cifs.ko" until then. (It seems SE are breaking the GPL license by not releasing their Linux kernel source code)
And is there a way without using cifs.to to play files (such as mp3 or avi) directly from a samba share on 2.1 or we have to wait ?
Bump
Anyone have any luck with 2.1 yet?
hhave we gotten this yet?
cifs.ko experia x10 2.1 rooted
dutchschultz said:
hhave we gotten this yet?
Click to expand...
Click to collapse
In this thread,
http://forum.xda-developers.com/showthread.php?t=716360&highlight=cifs&page=12
Many thanks to alx5962
goto page 1 for instruction, or just use cifsmanager for market
Hi all,
Has anyone been able to succesfully use Cifs Manager or Mount Manager to mount a network smb drive?
I tried both but without a success. I am running Steve's 1.5.1 at the moment.
If anyone managed to get it working, would you mind posting a detailed how-to? In addition I wouldn't mind learning about what "Cifs" are or the cifs modules.
Thank you in advance.
Bledula
Everything is working perfect, I'm using CifsManager (runnig Stock 318 with Performance Fix).
I connect my SMB shares to watch my movie collecten. As settings, i simply used my fileservers ip adress and the folder i want mounted on my streak.
Both my desktop and laptop are running Win7 and I encounter no problems browsing their files using Es file manager for example (astro doesnt work for some reason). Someone in Cifs manager thread suggested I check my file permissions but failed to specify which ones.
Cifs manager did not give any error when I tried to mount anything, while mount manager simply states that it failed to mount.
My Streak runnning Steve's 1.5.1 only has a black taskbar theme applied to it so if anyone has had any success mounting shares on it please let me know.
Sent from my Dell Streak using XDA App
LippiVan said:
Everything is working perfect, I'm using CifsManager (runnig Stock 318 with Performance Fix).
I connect my SMB shares to watch my movie collecten. As settings, i simply used my fileservers ip adress and the folder i want mounted on my streak.
Click to expand...
Click to collapse
Great, that you have cifs working. I've got a O2 streak with 319 stock rom. Can you give more detail about the cifs is it built into the 318 stock rom or did you have to load the files separately (can you share the files please)?
Thanks
Does anybody know how to get CIFS working on ICS on the Rezound?
This GB kernel appears to be the only one that supports CIFS.
http://forum.xda-developers.com/showthread.php?t=1506892&highlight=cifs
I detailed my method below:
1. Go to Terminal Emulator and type "su", then "cifs enable"
2. Install Busybox 1.18.2
3. Copy cifs.ko and slow-work.ko modules into a folder called "cifs" on the SD card (these can be put anywhere, I just prefer the SD card because its fast and easy)
4. Install CIFS Manager
5. In CIFS Manager settings, check "Loads cifs module" and "Load via Insmod" checkboxes
6. In CIFS Manager settings, type "/sdcard/cifs/slow-work.ko:/sdcard/cifs/cifs.ko" into the the "Path to cifs.ko[:<modpath>]*" field.
7. In CIFS Manager, create a new share and enter the fields- example with computer IP address of 192.168.1.100 with network share called "share" and computer username and password "user" and "password" respectively.:
Share Path:
192.168.1.100/share
Mount Point:
/mnt/sdcard/convert
Username:
user
Password:
password
8. Save Share and restart phone
9. In CIFS Manager, click on a share to mount it
10. Profit!
In any case, you'll note that the modules I used above were for Froyo. I was able to get them to work on the Droid Charge with a Gingerbread ROM.
I tried those Froyo modules to no avail (expected failure.)
I then download md4.ko and cifs.ko ICS modules for some other device to no avail.
I was curious if anybody might have any clues.
CIFS is the sickness!
*EDIT*
I presume that my attempts are in vein until we get kernel that supports CIFS. I suppose we may have to wait until the OTA. That is just my guess.
xdadevnube said:
Does anybody know how to get CIFS working on ICS on the Rezound?
This GB kernel appears to be the only one that supports CIFS.
http://forum.xda-developers.com/showthread.php?t=1506892&highlight=cifs
I detailed my method below:
1. Go to Terminal Emulator and type "su", then "cifs enable"
2. Install Busybox 1.18.2
3. Copy cifs.ko and slow-work.ko modules into a folder called "cifs" on the SD card (these can be put anywhere, I just prefer the SD card because its fast and easy)
4. Install CIFS Manager
5. In CIFS Manager settings, check "Loads cifs module" and "Load via Insmod" checkboxes
6. In CIFS Manager settings, type "/sdcard/cifs/slow-work.ko:/sdcard/cifs/cifs.ko" into the the "Path to cifs.ko[:<modpath>]*" field.
7. In CIFS Manager, create a new share and enter the fields- example with computer IP address of 192.168.1.100 with network share called "share" and computer username and password "user" and "password" respectively.:
Share Path:
192.168.1.100/share
Mount Point:
/mnt/sdcard/convert
Username:
user
Password:
password
8. Save Share and restart phone
9. In CIFS Manager, click on a share to mount it
10. Profit!
In any case, you'll note that the modules I used above were for Froyo. I was able to get them to work on the Droid Charge with a Gingerbread ROM.
I tried those Froyo modules to no avail (expected failure.)
I then download md4.ko and cifs.ko ICS modules for some other device to no avail.
I was curious if anybody might have any clues.
CIFS is the sickness!
*EDIT*
I presume that my attempts are in vein until we get kernel that supports CIFS. I suppose we may have to wait until the OTA. That is just my guess.
Click to expand...
Click to collapse
My question is why you would want a persistent CIFS share mounted on your phone. Most of the file managers have the ability to access CIFS/Samba shares. Really the first time you're out of range of that share(ie away from your wireless) you'd have to remount when you came back in range anyway. Sounds like way too much work for little gain.
CIFS can be useful for a number of reasons. For instance, some media apps cannot browse the network, but they will be able to find media if it is mounted as a folder in the filesystem.
Unfortunately, the CIFS module must be compatible with the kernel. My guess is the kernel source for ICS would be required before a module for the Rezound can be compiled. That said, you may have some luck if you can find another phone with the same hardware that does have a compiled ICS CIFS module. It may work, but it also may not.
What does this offer over noop?
fix-this! said:
What does this offer over noop?
Click to expand...
Click to collapse
has nothing to do with NOOP, which is an io scheduler. CIFS refers to network fileshares, and the module referred to in the OP lets Android mount a shared folder on the network to the local filesystem on your phone, so apps without cifs/smb support can see it.
In other words, a random share on your network could be mounted to a path on your phone such as /sdcard/networkmusic
Yeah, I'm spoiled by using CIFS on my Charge. I can stream any movies, music, docs etc when I'm on Wifi. It is nice for watching DVDs or HD content, as well as streaming lossless CD rips. It sure beats DLNA. It is nice to have everything on tap, very fast, organized, and easy.
Generally, I've had luck on kernels that explicitly state that they have CIFS support. Even with the extra modules I downloaded, I think the kernel has to support it.
We had working CIFS on some of the custom Charge kernels that were based on leaks. I think that few devs do kernel development. I don't want to annoy them, but perhaps I'll politely suggest looking at CIFS support in the future.
Information and Modules description
I was in the need to add some missing kernel modules to my Xperia Mini Pro sk17i with v4.0.2.A.0.58, but I could only find modules compiled form ICS sources, so I decided to build them myself.
All modules have been compiled from official sony Xperia v4.0.2.A.0.58 kernel sources, using Android NDK r5, and they should be fine with any GB based Xperia 2011 device (with that kernel version at least).
This is the list of modules, with some interesting programs using them:
fuse.ko: Cryptonite (used to create encrypted EncFS or Truecrypt volumes, adds support to mount drives so that are visibile to the whole Android system. Note: Cryptonite is not currently able to load the module automatically, you need to load it from Terminal Emulator..se more below)
usb-storage.ko, nls_utf8.ko, ntfs.ko (compiled with write support, currently untested): USB OTG Helper (used to mount external USB drives with USB On The Go cables).
cifs.ko, slow-work.ko, md4.ko: CifsManager (used to mount network shares)
ext4.ko, jbd2.ko: if you wish to use the EXT4 filesystem
tun.ko: needed by VPN clients, like OpenVPN or DroidVPN
Installation Instructions
Attached to this post you will find a ZIP that can be used along with CWM Recovery to install the modules in system.
Download the module, put it inside you SD card, reboot your phone in CWM (which you can install with the Xperia CWM Auto-Installer) and select install zip from sdcard, and browsed to the ZIP. Reboot your phone when install finishes.
Loading Modules
No module is automatically loaded at system startup: this saves your memory and battery (some of those modules are known to drain your battery if always loaded).
To manually load a module you have to open the Android Terminal Emulator and tap:
Code:
su
insmod /system/lib/modules/MODULENAME.ko
where MODULENAME is the name of the module you want to load.
Other useful commands:
Code:
lsmod
to see currently running commands
Code:
rmmod MODULENAME.ko
to unload a module.
If you wish to manually load a module at phone startup you should use init.rd or any other method (?) to run custom scripts at startup.
Load Order
Some modules need to be loaded in a specific order:
slow-work.ko must be loaded before cisf.ko
jbd2.ko must be loaded before ext4.ko
Other Firmware Versions
I've released the same package for other firmware versions, click on the firmware version to go to the specific thread:
ICS v4.1.B.0.587 Kernel Modules package by zxp
Changes
v2 - 2012.07.19
===========
- customized, built and added slow-work.ko, which is needed to load cifs.ko
- added jbd2.ko, which is needed to load ext4.ko
v1 - 2012.07.12
===========
- First release
Thanks for this..
Fuse, and the rest as required, are automatically loaded as required by USB OTG Helper if found in /system/lib/modules.
shardul_seth said:
Thanks for this..
Fuse, and the rest as required, are automatically loaded as required by USB OTG Helper if found in /system/lib/modules.
Click to expand...
Click to collapse
Yes, the same applies to CifsManager, even if it requires some fiddling in options, while your USB OTG Helper does it automagically...by the way, it would be really nice of you if you could add the same auto-load code to Cryptonite, which is open source somewhat related to your work! :good:
zxp said:
Yes, the same applies to CifsManager, even if it requires some fiddling in options, while your USB OTG Helper does it automagically...by the way, it would be really nice of you if you could add the same auto-load code to Cryptonite, which is open source somewhat related to your work! :good:
Click to expand...
Click to collapse
I have my own encryption script, and I am happy with it.. So no fiddling with cryptonite for me
Updated both install and uninstall packages to fix cifs.ko and ext4.ko that couldn't be loaded because of missing dependencies (slow-work.ko and jbd2.ko).
You can find the updated zips in the first post.
where i can find the ext4.ko module for Xperia 2011 ICS?, i can't find it nowhere, can you help me with it?
sorry for my bad english
lightdesiny said:
where i can find the ext4.ko module for Xperia 2011 ICS?, i can't find it nowhere, can you help me with it?
sorry for my bad english
Click to expand...
Click to collapse
I don't know where to find it, I don't have upgraded to ICS yet, sorry.
If you are sure that no one have released it I may build a package similar to this one once I upgrade to ICS, in the coming weeks. Keep an eye on this forum :cyclops:
hi when I type the cod say me that not found that I istall it with recovery please help me
my phone xperia ray
my rome is 2.3.4 - 4.0.2.A.0.58 GB
hadics1 said:
hi when I type the cod say me that not found that I istall it with recovery please help me
my phone xperia ray
my rome is 2.3.4 - 4.0.2.A.0.58 GB
Click to expand...
Click to collapse
Don't complain if none will answer you.
hadics1 said:
hi when I type the cod say me that not found that I istall it with recovery please help me
my phone xperia ray
my rome is 2.3.4 - 4.0.2.A.0.58 GB
Click to expand...
Click to collapse
Can you please explain your problem better?
I can't understand your post.
zxp said:
lightdesiny said:
where i can find the ext4.ko module for Xperia 2011 ICS?, i can't find it nowhere, can you help me with it?
sorry for my bad english
Click to expand...
Click to collapse
I don't know where to find it, I don't have upgraded to ICS yet, sorry.
If you are sure that no one have released it I may build a package similar to this one once I upgrade to ICS, in the coming weeks. Keep an eye on this forum :cyclops:
Click to expand...
Click to collapse
I've just released the same package as this for Xperia ICS v4.1.B.0.587, you can now use ext4 on the latest ICS firmware
This is great
Sent from my WT19i
mount nfs share works with busybox - but won't with cifsmanager
Hello folks,
as this is my first post here, i'd like to thank all of the contributors for the excellent Guides and Howtos on this platform. Based on the instructions in this forums i was able to root my Xperia Mini Pro sk17i and greatly expand my devices applicability. Thanks to all of you!
Sorry, that the post got that long - hope that someone is still so kind to read and answer to it. I just wanted to be as precise as possible in the desription of my problem.
And here it comes. As the title of my post already implies, my ultimate goal is to mount nfs shares of my NAS and Router in my private network as user-friendly and simple as possible.
So far, I tried the following to achieve this goal:
Install busybox to generally expand linux capabilities of the device
install the Android Terminal emulator also from Google play
as previuosly mentioned, the device is rooted and Super user capabilities are set
created a mount-point for the nfs share
installed cifsmanager for mounting/unmounting with one click later
I tried to manually mount the share in the terminal. Without busybox i had no luck, but actually that was not sursprising at all. With busybox however, it worked instantly - what indeed surprised me, because this thread here implied somehow the kernel, as is, wasn't even capable to do it without additional modules. I could easily browse the share with ES file manager etc. and make use of my shares. So far, so great. :good:
But opening a terminal, get super user rights and mount manually by typing the whole sequence of
Code:
busybox mount -o nolock,vers=3 -t nfs 192.xxx.xxx.x.x:/my/nfs/share /mnt/MyLocalFolder
is not what you'd call simple or user-friendly at all.
So i aimed to improve the mount procedure with cifsmanager, but I always fail. And do no not understand what i am doing wrong. Initially i tried it without further kernel modules, encouraged by the success i had with busybox. But i always got a "Invalid argument" reply.
During the troubleshooting I stumbled upon this post, and thx to zxp's files, i managed to add the kernel modules to my /system/lib/modules folder (and yes, I have the exact same original/stock GB kernel version they are intended for).
But still no luck - even after i added slow-work.ko to the list of modules loaded by cifsmanager in the properties (placed before cifs.ko as it was suggested by another thread found somewhere in the forum). The info tab states the modules are loaded, but i still receive the same crooked "Invalid argument" message. What the heck am I doing wrong?
Seems to me there is some sort of general syntax issue - here is what info I give the app:
Share: 192.xxx.xxx.x.x:/my/nfs/share
Mount Point: /mnt/MyLocalFolder (tested with and without the mount point prefix in properties)
User: guest (default - without it, it wont work,app description states it will be ignored for nfs shares anyway)
Pwd: left empty
Options:nolock, vers=3 (tested with and without these - but where generally considered essential in some threads + my shares are nfs_v3)
Does somebody have an idea what is going wrong and might point me in some useful direction?
Thanks and Cheers to you all,
Nix
Use script manager and create a script!
Nixblicker said:
Hello folks,
as this is my first post here, i'd like to thank all of the contributors for the excellent Guides and Howtos on this platform. Based on the instructions in this forums i was able to root my Xperia Mini Pro sk17i and greatly expand my devices applicability. Thanks to all of you!
Sorry, that the post got that long - hope that someone is still so kind to read and answer to it. I just wanted to be as precise as possible in the desription of my problem.
And here it comes. As the title of my post already implies, my ultimate goal is to mount nfs shares of my NAS and Router in my private network as user-friendly and simple as possible.
So far, I tried the following to achieve this goal:
Install busybox to generally expand linux capabilities of the device
install the Android Terminal emulator also from Google play
as previuosly mentioned, the device is rooted and Super user capabilities are set
created a mount-point for the nfs share
installed cifsmanager for mounting/unmounting with one click later
I tried to manually mount the share in the terminal. Without busybox i had no luck, but actually that was not sursprising at all. With busybox however, it worked instantly - what indeed surprised me, because this thread here implied somehow the kernel, as is, wasn't even capable to do it without additional modules. I could easily browse the share with ES file manager etc. and make use of my shares. So far, so great. :good:
But opening a terminal, get super user rights and mount manually by typing the whole sequence of
Code:
busybox mount -o nolock,vers=3 -t nfs 192.xxx.xxx.x.x:/my/nfs/share /mnt/MyLocalFolder
is not what you'd call simple or user-friendly at all.
So i aimed to improve the mount procedure with cifsmanager, but I always fail. And do no not understand what i am doing wrong. Initially i tried it without further kernel modules, encouraged by the success i had with busybox. But i always got a "Invalid argument" reply.
During the troubleshooting I stumbled upon this post, and thx to zxp's files, i managed to add the kernel modules to my /system/lib/modules folder (and yes, I have the exact same original/stock GB kernel version they are intended for).
But still no luck - even after i added slow-work.ko to the list of modules loaded by cifsmanager in the properties (placed before cifs.ko as it was suggested by another thread found somewhere in the forum). The info tab states the modules are loaded, but i still receive the same crooked "Invalid argument" message. What the heck am I doing wrong?
Seems to me there is some sort of general syntax issue - here is what info I give the app:
Share: 192.xxx.xxx.x.x:/my/nfs/share
Mount Point: /mnt/MyLocalFolder (tested with and without the mount point prefix in properties)
User: guest (default - without it, it wont work,app description states it will be ignored for nfs shares anyway)
Pwd: left empty
Options:nolock, vers=3 (tested with and without these - but where generally considered essential in some threads + my shares are nfs_v3)
Does somebody have an idea what is going wrong and might point me in some useful direction?
Thanks and Cheers to you all,
Nix
Click to expand...
Click to collapse
that works, but...
Well, yeah - that was an option. I already did, and it works with the busybx mount as stated.
But i would have to write another to mount another share, unmount them, and one to prevent ES file manager to somehow occupy the mount to make it busy before unmounting etc.
I hoped that cifsmanager would smooth and ease the mounting/unmounting.
Thank you for your suggestion, anyway!
Cheers, Nix
shardul_seth said:
Use script manager and create a script!
Click to expand...
Click to collapse
So I have thor with ggow's cm11 rom is there any way I could get cifs manager to work to mount a smb share? I've tried cifs manager and mount manager, both fail to mount. I would like to be able to do this because my tablet only has 14 gbs (well it did now I only have around 3.6) and I'd like to be able to listen to music I have on my network and play roms from it without having them on my device. I know vlc can play from network and I use it, but I'd rather use something like jetaudio. I've tried doing insmod on a cifs.ko I put in /system/lib/modules/ but got only an error. Btw I do have root via supersu and I have busybox installed
CocoBun said:
So I have thor with ggow's cm11 rom is there any way I could get cifs manager to work to mount a smb share? I've tried cifs manager and mount manager, both fail to mount. I would like to be able to do this because my tablet only has 14 gbs (well it did now I only have around 3.6) and I'd like to be able to listen to music I have on my network and play roms from it without having them on my device. I know vlc can play from network and I use it, but I'd rather use something like jetaudio. I've tried doing insmod on a cifs.ko I put in /system/lib/modules/ but got only an error. Btw I do have root via supersu and I have busybox installed
Click to expand...
Click to collapse
The last HDX ROM to support CIFS was the JellyBean based Nexus 2.0.5 which leveraged the FireOS v3 kernel plus tweaks by @ggow. Subsequent HDX ROMs are based off the v4.5.x kernel which does not natively support CIFS. It's possible native CIFS support will someday make its way into CM 14.x which is the only HDX ROM under active development. This would obviously require custom kernel tweaks which are not to be taken lightly given the maintenance commitment.
As you probably know Solid Explorer (my preference), ES File Explorer & other advanced file managers support SMB shares but I suspect you want true CIFS for the durable mounts.
Yeah mounting as a directory was what I wanted, I use es file explorer but there's no point when you can't open it in a different application, I mainly wanted to use retroarch and load roms from my network to save space. Oh well thanks for the info tho