yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] benwhite:
NOPERM

First of all, thanks or this handy app...

I think it would be very nice if some of the standard options could simply be included in the UI, rather than requiring a person to type them manually.

An example would be the noperm flag.

I recently tried to use a cifs mount for my titanium backup folder and found that I could not write to my cifs mount unless I added noperm to the options.

A little options panel would be great for telling the user what options are available, making them selectable, and providing a little blurb about what they do.

Just a thought... thanks again!
[Android Apps and Games] prysme:
Hi,

Is there a possibility to trigger the mount as soon as the wifi connection is up and running ?
[Android Apps and Games] glimmling:
Hi,

with the release of jelly bean 4.2 something is different. On the Nexus 7 CifsManager mounts successfully, but the directories are empty. Maybe it is related to the new multiuser feature in 4.2.

Please see here:

http://xdaforums.com/showpost.php?p=34232302&postcount=140

or here:

http://xdaforums.com/showpost.php?p=34248756&postcount=1157

Thanks!
[Android Apps and Games] head0:
I always get message "Key has expired". What shuld that mean?
[Android Apps and Games] creeve4:
I keep getting the following error when attempting to mount:

"Mounting the share has failed with an error.

Mount: operation now in progress"

My settings:

Share Path: myIP/Music

Mount Path: /mnt/sdcard/Music

Username: my Windows 7 username

Password: my password

I am running Windows 7 and have turned on sharing for my music folder.Sharing is enabled for everyone.
[Android Apps and Games] Gonzalo1987:
Problem of empty folder =(...

Waiting for a solution xD!!

Thanks you in advance!
[Android Apps and Games] diegocampy:
I also with Galaxy Nexus Android 4.2.1 and the problem of empty folder :crying:

I did not understand at the time if there are solutions
[Android Apps and Games] ozgreg:
For everyone on Android 4.2.x the new release has a new security model (per process permissions) which is much much more granular than the older security model.

Before Android 4.2 tools like CIFS and StickMount would mount (CIFS Drives) as a single root process and any process could access this mount. Under 4.2 this is no longer possible. Chainfire the author of SU and Stickmount is trying to find a reliable way to restore this functionality under 4.2 and has made some good progress and hopefully it might be possible to duplicate this work for CIFS mounts if the author has the time to rewrite the CIFS mount tool.

For now avoid Android 4.2 if you can..
[Android Apps and Games] Nixblicker:
it works - well, to a certain degree at least

Wanted to report some progress in this matter - cifsmanager is now able to mount my test share.

I simply had to override the default symbolic link of the mount command to the regular toolbox with the version of busybox by deleting /system/bin/mount. The mount command is now picked up in the /system/xbin path. Additionally i switched off the automatic loading feature of cifs.ko and other modules.

But still there is a show stopper for cifsmanager. It seems to loose track of the successful mount almost instantly.

When the first mount is accomplished, the indicator dot turns green. But if the app looses focus, for example if i try to list the files of the mount in the terminal or in ES file explorer. When I return to the app, the indicator dot turned grey, and If I press the share in the list it tries to mount again as if it was for the first time. And fails of course as it is still mounted. Any attempt to unmount shares is thus futile.

Any ideas of how the app handles/monitors the info of successful mounts? Or other suggestions to push this further?

Thx

Nix
[Android Apps and Games] hugo5:
Unfortunately I can't avoid 4.2 but I have high hopes, that the empty folder issue will be resolved eventually.

Hugo
[Android Apps and Games] bflmpsvz:
HI I am having trouble with mounting shared folders getting the mount: No such device..Please help me find suitable ROM with which cifsmgr will work. Using rooted firmware on XperiaP version 6.1.1.B,1.54 if that does matter. Thanks for help!

Additional question: will I be able to backup all my phone with TitaniumBackup directly to my pc then?

Sent from my LT22i by Tapatalk 2
[Android Apps and Games] Y.G.:
Is it possible to share a folder that's stored on an external USB drive? I have no problems mounting the shared folder on my computer's local hard drive but I can't access the shared folder on my computer's external USB drive. Maybe the address is wrong?

Local drive (works):

192.168.1.1/SharedDocs

External USB drive (doesn't work):

192.168.1.1/Videos
[Android Apps and Games] pcbilski:
Can somebody please advise how I go about checking if my ROM is compatible, and if not, how do I make it?

I have a Galaxy Note 10.1 (N8000) running N8000-XXCMA1-XACMA1-DBT-deodexed.

Thanks in advance.
[Android Apps and Games] torgull:
thanks for the program. using it a lot.

i have a feature request. to export the settings. i try a lot of different roms and everytime i have to get all the shares back in the program. would save a lot of time when i can import the settings. and only have to fill in the passwords.

:D
[Android Apps and Games] dfkt_:
Titanium Backup would do the trick (or probably any other backup solution) - I couldn't imagine the hassle of switching between ROMs without Titanium Backup at all.
[Android Apps and Games] sharma_u:
Help Needed

I Need some help with mounting my NAS using this tool

When I try to mount it on /mnt/CIFS it works fine. However, when I try to mount it on some location in the sdcard(/sdcard/mnt/CIFS) it doesnt mount properly and I just see an empty directory.

The problem is that most of my favorite apps use the sdcard as the root directory while scanning for files. e.g. Poweramp.

Is there some configuration that I am missing? I have already tried changing the permission of my sdcard to 777 using root explorer.

Also, I am not able to create a softlink on my sdcard(prbly because of the file system). Is there any way I can change the FS of my sd card without losing the data.
[Android Apps and Games] sheraro:
/sdcard/mnt/CIFS ??? try /mnt/sdcard/CIFS (assuming you created CIFS folder in sdcard)
[Android Apps and Games] sharma_u:
I am sorry..Its /mnt/sdcard/CIFS.I created the CIFS folder manually and have given full permissions to /mnt/sdcard and /mnt/sdcard/CIFS.
[Android Apps and Games] sheraro:
did cifsmanager show a green dot in front of your share ? also try with another folder in sdcard and set option to "noperm"
[Android Apps and Games] sharma_u:
It did show a green dot I think. I will try with the "noperm" option and after getting back from work. I really appreciate the help.
[Android Apps and Games] whoisthebaron:
Hi all

I'm running the CM Liquid Pure ROM on my rooted P7510 SGT 10.1

I can't for the life of me get CIFS Manager to work!

My settings are:

Share path: //192.x.x.x/volume1/film - accessing a Synology NAS

Mount point: /mnt/cifs/film - verified that this exists per Astro File Manager

Username/password: as required to log into the NAS

Options: blank

I have the "Load cifs module" and "Load via insmod" options checked.

I get the "invalid argument" message when I try to access this. If I change the path to remove the "//" from the start I get the "no such file or directory" error.

I've searched everywhere to try and get a solution but no idea how to resolve!

I've got Busybox installed as well but as I'm a noob I'm not sure what purpose this serves at this stage.....

Any help much appreciated!
[Android Apps and Games] wr3ck:
This app used to work flawlessly, now, can't get it to work whatever!

I have the mount point created in sdcard with the permission drwx-rwx-r_x. Can't get to change this permission to drwx_rwx_rwx whatever I do. With default settings it creates the mount point under /mnt/cifs/ but still fails with the above error.

PA 3.15

Android Version 4.2.2

Kernel Version 3.0.64-CM-gcba0718-dirty

CifsManager 1.5a

Any suggestions?
[Android Apps and Games] Aerowinder:
I've seen that error before. To fix, simply manually create the mountpoint folder at /mnt/cifs/.

Kernel 3.4 seems to break CifsManager. Mounting fails with error invalid argument.
[Android Apps and Games] chileboy:
I got CifsManager loaded on my Droid Razr (4.1.2) last night and it works perfectly (once I figured out the correct syntax) and I'm loving it. I'm using it to stream flac files from my NAS to BubbleUPnP, which only sees local content, and it works flawlessly.

But, I discovered that if a folder name contains an extended character - in this case, specifically, Ö - it won't process that folder or anything beneath it. So, when I browse my "Rock" folders, I see:

....

Asia

Black Sabbath

and nothing further, because the next folder is titled "Blue Öyster Cult" (yeah, I know, I'm ridiculous with my name accuracy, but that's how it is on the albums).

I am simply going to rename the folder with a regular "O", but I have a lot of folders in a number of different genres, and I'm not sure if it's hanging up anywhere else. I don't know if its Android or CifsManager tripping it up (it shows up fine in Windows and another media server I have, not running Android).

Not a big deal at all, was just wondering if anyone has any ideas. Thanks for a very useful app!

- Mark
[Android Apps and Games] prysme:
This is due to UTF8 support that you don't have loaded as a module (nls_utf8.ko) , or not being compiled in your kernel.
[Android Apps and Games] chileboy:
OK, dumb question, how do I do that? My phone (Droid Razr) is rooted but I'm just using the Verizon official 4.1.2.

Thanks,

- Mark
[Android Apps and Games] Dr Goodvibes:
I seem to be having a write access restriction problem to my NAS.

I have an XPERIA X10i v2.3 running CifsManager and everything has the required read/write access and you can see this as you traverse the NAS and drill down further into the folder and files.

The permission is -rwxrwSrwx with GID set and the owner is 0-root and Group is 10107-app_107

As seem in Root Explorer

All works fine on GB v2.3

However,

I have an XPERIA S(LT26i) v4.0.4 running CifsManager and there is no write permission.

The permission is -rwxr-xr-x with NO GID set and the owner is 0-root and Group is 0-root

As seen in Root Explorer

By not having write access to my NAS files this restricts access to encrypted containers which require read/write so content can be placed into them.

I did try a few vain attempts and various /mnt/cifs and /mnt/cifs/nas mount points and even created a 'folder' with full permissions, but as soon as CifsManager mounted the connection to the NAS, it set the permissions on group and other back to no write.

Write permission problem on ICS v4.0.4

Is this the same on JB 4.1 too??? Anybody been able to get write permission to a remote file service using CifsManger and ICS v4.0.4?

Am I just missing something in the initial mounting point permissions and owner setup???

Thanks in advance for any 'pointers'
[Android Apps and Games] snedcor:
doesn't work

I can't put it to work

"No such File or directory all the time". The mount point folders on my phone have 0777 permissions. :(

I have like this:

10.X.X.X/[SHAREFOLDERNAME]

Mount Point: /mnt/cifs/[SHAREFOLDERNAME]

Username

Password
[Android Apps and Games] Nikronius:
I am also having troubles as the user above...

I9305, custom ROM, 4.2.2

I have everything set up, and the module seems to be loaded.

permissions are set... (I manually set permissions for the mount point while testing)

but still get this all the time:

and after getting the error above I see the following message:

which is ingesting because I thought the program would get root permission BEFORE attempting anything... not after.

anyways, I hope to see it working again...
[Android Apps and Games] hypocritelecteur:
How do I force cifs.ko to load?

On a mako with linaro PAC nightlies and Franco's nightlies. I have cifs.ko in a folder on emulated sdcard, but it won't load.
[Android Apps and Games] DrAzzy:
I've installed M-kernel (version mr1, http://xdaforums.com/showthread.php?t=2168787 ) on my rooted Nexus 7.

I try to mount the share, and CIFSmanager says the share was mounted successfully.

But if I click the share in CIFSmanager, it opens ESFile Explorer to an error "file:///path/to/mount/point is not found" (where /path/to/mount/point is whatever mount point i've told it to use) and if I manually navigate to the mount point, I see an empty directory, with nothing in it.

I've tried as mount points:

/testmount

/mnt/cifs/testmount

/sdcard/testmount

All of these get the same behavior.

I can access the share via ESFS (like you can on an un-rooted device), and I can access it on other devices... but I need to actually mount the share, not just copy a few files off it.

What am I missing?

Thanks

Edit: Tried the vorcers kernel which was suppopsed to fix this: http://xdaforums.com/showthread.php?t=2107224

No luck with that either.

Edit again: Gave up and flashed CM10.1, and now it works.
[Android Apps and Games] Steffen_2009:
Does not work with my HTC Desire X / which ROM ??

Any ideas/instructions how to make this work with HTC Desire X?

Is there any compatible cifs.ko?

I always get the "no such device" error ... :(:(

What Kernel/ROM should I use to get cifsmanager to work ?
[Android Apps and Games] Daelyn:
It's all about the kernel and modules associated with it.

Ask in your kernel/rom thread.

You can specify module location for CifsManager to load it for you if not loaded per default. Check some common module locations and you might find it.

You could also do a simple search on your rom for the module.

In terminal, typing

su
find * / | grep cifs.ko

Should give you the location of module if it exists.
[Android Apps and Games] Steffen_2009:
Thanks for your answer, Daelyn.

Yes, sure, my (stock) htc Desire X kernel/rom has not the needed functionality yet.

So at the moment I can not use the app at all :( :rolleyes:

I try to find a better kernel/rom (if there is any for my Android-phone, I don't know... well,just have the standard things today)

Can someone help me with more details or a link to a working kernel/rom ?

I manually checked serveral folders .... didn' find any CIFS.ko, in the folderpath

/system/lib/modules/

there are some *.ko modules, but not the one for the CIFSManager App.

I also processed a search for the module in terminal.

The result was

Something also missing for that ... well, I think cifs.ko is not there.

At the moment (with HTC DX) SU is just possible with S-ON.

Is this also a problem ?
[Android Apps and Games] pathologo:
A decent software author not abandoning his/her software.

CifsManager is so faulty that I can only recommend to not use it.

Better use a file manager with integrated SMB support. Yes, it's no system-wide mountpoint anymore but for most cases it's enough.
[Android Apps and Games] Steffen_2009:
Sometimes a permanent , system-wide mount-point is needed, to share some NAS folders with any app for example.

Well, looking at alternative apps for permanant mount-points...

I guess all of them will fail if the OS does not support the sharing ...

Are there any apps providing system-wide mount-points which do not have the issues with the missing CIFS.KO module etc. ?

Can I take the CIFS.KO file from a different phone/ROM (for example a NEXUS 7 ROM) , add it to my ROM-zip,

flash it and use it sucessfully with the CIFSManager app ???
[Android Apps and Games] pruwait:
kernel 3.0.8+

I can't find modules for my 3Q Surf Tablet PC RC0721B kernel 3.0.8+. Any ideas?
[Android Apps and Games] HTC_FUZE:
please add WOL and auto mount function on startup

Thanks for great app. I used on my media player(Android 4.0). I wish there will be new functions:

1. Able to send WOL command during startup to wake up my NAS PC upon network connected(I use wired connection for the media player).

2. Able to auto-mount the shares after WOL command has been sent(with configurable time delay).

That would be perfect.
[Android Apps and Games] andreasy:
Empty folders

After a very long time I finally managed to get CIFS to work again on S4 (4.2.2) so I got my shares to successfully mount. However, when I browse to my folder with root explrer to (mnt/cifs/sharename) the folder content is empty. I tried with the built-in SMB client of root explorer and it was still empty. That's how I used to browse my laptop content in the past.

Anyone knows why?

Edit:

Maybe my answer is this and I can't do anything about it?
[Android Apps and Games] andreschandia:
not rooted

I'm having same problem you're answering to, but what do you mean by "Not rooted", that something in the route to the source is wrong?

look, I have this at the export file at server:

"/home/cht/Documents 192.168.1.0/255.255.255.0(rw,sync,no_subtree_check)"

at a computer in the same network i have this:

"sudo mount 192.168.1.11:/home/cht/Documents /home/user/Documents"

and it works

but at the cifsmanager in my phone I put:

path: 192.168.1.11/home/cht/Documents

mount point: Documents

Username: myactualusername (same one I use at the computer mentioned above)

Password: Myactualpassword (same one I use at the computer mentioned above)

at the cifsm settings I have:

Mounpoint prefix: /mnt/sdcard/

Load cifs module: yes

load via insmod: yes

path to cifs.ko: /system/lib/modules/cifs.ko

and at my /mnt/sdcard/ directory I have created a Documents subdirectory......

what I'm doing wrong? I will appreciate your help very much.... thanks
[Android Apps and Games] prinz3nroll3:
Hello,

i want to mount my cifs share at /storage/sdcard0/DCIM/share.

but sometimes i got the error: "the ressource is busy" and mount isnt successfull.

the reason for the mount is i want to show all my pictures in the internal android gallery.

mount at /storage/sdcard0/share works all the time.

have somebody an solution for me?

thanks a lot
[Android Apps and Games] LordPhong:
I know this is ridiculously late but I totally agree with you. In order for me to get my Titanium Backup to work with CIFS Manager, I had to add the following to the Options:

<code>dir_mode=0777</code>

There should definitely be a drop down list of all the options or at least a help file that has the options.
[Android Apps and Games] andreasy:
Could someone please confirm if CIFS is finally dead on Android? I haven't seen a single user manage to make it work. I even asked kernel developers to patch their kernel with this only solution provided here and even though they were happy in the beginning they never wanted to talk about it later which makes me think it was a hell or them.

I'd really like to know if I should just uninstall all CIFS related staff and just forget about it.
[Android Apps and Games] dfkt_:
I'm using CIFS just fine. On 4.0.4 setup is simple. On 4.1 (IIRC), and 4.2 it's a major hassle to set it up, because of the annoying multi-user stuff that breaks CIFS-mount on /sdcard... but once it is set up, it works just fine. I haven't tried 4.3, but I hope Google didn't break it any more than they already did in 4.1/4.2.

There are several threads on XDA with tutorials to make it work. Here is mine: http://xdaforums.com/showthread.php?t=2358987
[Android Apps and Games] andreasy:
Thanks but I need it for 4.3 and yes there are so many guides which all end with messages like "I've tried all combinations and I always end up with error/failure......"
[Android Apps and Games] dheerajthe1:
Invalid argument fuxed

Problem:

Invalid argument for following config

imgur.com/uY4i1HZ

Solution:

Remove the ending / in the share path.

What a doozie!
[Android Apps and Games] LordPhong:
I did this for my Nexus 7 and it's working like a charm.

http://xdaforums.com/showthread.php?t=2469040
[Android Apps and Games] ferika2705:
Slash, backslash - problems with Cifs Manager

Hi!

I got here my solutions with Cifs Manager:

http://xdaforums.com/showthread.php?t=2361556

Important: NO SLASH characters at the begin and the end of the parameters!!!

My Android 4.1.2 don't like it!

Feri
[Android Apps and Games] H3g3m0n:
I had cifs working up until 4.2.

4.0 - No problems just install modules and use cifsmount.

4.1 - Multi user issues. Mounting a share only shows up for that user but can be worked around. Need modules and have to make a shell script to mount via 'adb shell' on the device rather than cifs manager.

4.2 - adb now requires a security key but otherwise same as 4.1

4.3 - I never tried. From what I could see 4.3 disabled module loading so you need a custom kernel rather than just the modules.

4.4 - Trying it now with a custom kernel (ThunderKat on N10). From what I can see the adb fix no longer works ☹ cifsmanager claims to have worked but nothing shows up in the output of 'mount' or in the folder, the device is listed as busy if I try and mount again :/. I guess I'm going back to CyanogenMod...

Following issues I have be found:

* Check /proc/filesystems has cifs listed. If its not install the modules or insmod them. Or a custom kernel with cifs inbuilt.

* If you get an 'invalid argument', run 'dmesg' in the shell and see if there is an error. You can

to get more info in dmesg.

* If dmesg says something about DNR Root you need to add a the unc=\\\\ipaddress\\share to the options (bug in kernel 3.4.x).

* Use 'busybox mount' rather than the stock builtin mount.

* Older versions of busybox had an issue with mount (this should be fine in 1.21.x+).
[Android Apps and Games] glimmling:
If you are in trouble to get write access for your mounted shares with Android 4.4+, see this post by [MENTION=4651935]vorcers[/MENTION]:

http://xdaforums.com/showpost.php?p=48261748&postcount=113

The reason is, that Google activated SELinux completely.
[Android Apps and Games] victorhooi:
Hi,

I recently tried to install Cifsmanager on a Nexus 7 (2013 LTE) running Android 4.4.2.

I setup my SMB share, and when I attempted to mount it, I got the incredibly unhelpful error:

Mounting the share has failed with an error:
mount: Invalid argument

Anyhow, apparently this guy did some digging - turns out in recent kernel versions the mount arguments for cifs have changed - I think other people have found similar things, but his writeup is fairly detailed:

http://www.netzgewitter.com/2013/10/troubleshoot-cifs-on-android/

I checked my dmesg logs, and I had a similar message to him:

<5>[ 458.405639] type=1400 audit(1387581180.022:219): avc: denied { read } for pid=5705 comm="app_process" path="pipe:[31285]" dev="pipefs" ino=31285 scontext=u:r:zygote:s0 tcontext=u:r:init:s0 tclass=fifo_file
<3>[ 458.719665] CIFS VFS: Connecting to DFS root not implemented yet
<3>[ 459.193237] init: untracked pid 5702 exited
<3>[ 459.469360] init: untracked pid 5723 exited
<6>[ 461.478851] updating pm_qos value to default msm_pcm_playback_close
<6>[ 461.479034] done updating pm_qos value to default msm_pcm_playback_close

Anyhow, I was able to manually mount the cifs share from my adb shell using:

root@deb:/ # mount -o unc=\\\\192.168.1.109\\datastore,username=victorhooi,password=my_password -t cifs none /sdcard/cifs/datastore

However, the /sdcard/cifs directly doesn't seem to be visible under my user - is this some kind of multi-user sdcard issue?

And other the other user, it was visible - but it didn't have files - maybe something to do with me mounting it under root? Possibly what glimmling said in the post above me? I'd rather not muck around with my SELinux settings though - worried it might break something?

Anyhow, so it looks like Cifsmanager won't work in recent versions of Android - curious if anybody has a fix for Cifsmanager, or if there are alternative friendly ways to mount a SMB share under recent versions of Android?

Cheers,

Victor
[Android Apps and Games] glimmling:
Yes, the issue with the empty folders has something to do with the multiuser support since 4.2.+. You can read more here:

http://xdaforums.com/showpost.php?p=36889027&postcount=1

I use vorcers kernel, which includes the patch, cifs and some other modules. But it is only for the Nexus 7 2012.

I toggle the SELinux mode to permissive for my shares only temporary, when I need write access. If you only want to read files, it is not needed.