yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] sim_tcr:
I am on Kitkat 4.4.2 (Mokee ROM)

The folder I mounted has pictures and I mounted it to /mnt/extSdCard/Photoz. I was expecting those picture to come under Gallery, but it did not.

I have other folders with pictures under /mnt/extSdCard and they appear under Gallery.

Any solutions?
[Android Apps and Games] naiponnoi:
Strange! It used to work perfectly before. I haven't do anything with my phone (Alcatel 995), no flash or update firmware, rom or anything. Today I tried to use it, it popped up error message with "key has expired".

Anyone experienced this kind or error??
[Android Apps and Games] lotherius:
I've got the exact same error. "Mount: Key has expired.".

EDIT:

Solved the Key Expired error by switching away from guest and to a username/password.

However, NOW I have a new problem:

Whenever I connect the share it says successful and the dot turns green. Yet, the second I switch away from CIFSManager, it disconnects the share.
[Android Apps and Games] leopard_fist:
hey guys i know very little about this stuff - but i had a basic question - does this app work with ftp? for instance if i set up an ftp to share my music files, could i use this app to log into the ftp over the phones data connection, and have my music files then available to my music player on android?

basically i am trying to learn to access/play my music library over my phones data connection

thank you
[Android Apps and Games] dfkt_:
No. CIFS and FTP are two different, incompatible protocols.

Check out Subsonic if you want to stream music from home, it's optimized for that usage case.
[Android Apps and Games] leopard_fist:
much obliged, dfkt ;)
[Android Apps and Games] DualJoe:
Anyone having mountspace issues (see here) try this patched version. It uses prefixed mount command (su --mount-master -c) and thus needs SuperSU from [MENTION=631273]Chainfire[/MENTION]. Credits to [MENTION=418988]f3d0r[/MENTION] for CifsManager.

Also, here's a different mount method (based on sh/gscript/SuperSU).
[Android Apps and Games] Silvermatrix:
I have MOTO E, i am not able to find any cifs modules for it. no custom kernel yet released.. so where should i head ?
[Android Apps and Games] SilverSix311:
Hey guys, I've been working over in the Shield forums trying to get CIFSManager working with my Shield Tablet and have been at a loss at what to do next to get it working...

So far I got this:

1. I got a compiled kernel with cifs.ko running

2. I ran insmod and lsmod and cifs.ko is running there

3. I setup my smb in CIFSManager but it gives me

Mounting the share has failed with an error. Mount: Permission denied.

I'm not sure what to do from here but would love some help with getting this setup.
[Android Apps and Games] DualJoe:
Try mounting manually to pin-down the fault:

mount -o remount,rw /
mkdir -p /mnt/cifs/myshare
chmod 755 /mnt/cifs
mount -t cifs -o username=$username,password=$password,ro,iocharset=utf8 //192.168.1.2/myshare /mnt/cifs/myshare
[Android Apps and Games] SilverSix311:
So I went through and ran those commands with my info in em here are the results.

u0_a142@shieldtablet:/ $ su
root@shieldtablet:/ # mount -o remount,rw /
root@shieldtablet:/ # mkdir -p /mnt/cifs/Library
root@shieldtablet:/ # chmod 755 /mnt/cifs
root@shieldtablet:/ # mount -t cifs -o username=myusername,password=mypassword,ro,iocharset=utf8 //192.168.1.203/Library /mnt/cifs/Library
mount: Can not access a needed shared library
255|root@shieldtablet:/ #
[Android Apps and Games] DualJoe:
A dependency seems missing. Some kernels need extra modules like md4.ko and nls_utf8.ko. But i can't help with that.

Nevertheless you can try this 'mount' command (without unicode/utf8):

mount -t cifs -o username=myusername,password=mypassword,ro //192.168.1.203/Library /mnt/cifs/Library

If that still doesn't work try watching the log to gather more possible informations about the error.

mount -t cifs -o username=myusername,password=mypassword,ro,iocharset=utf8 //192.168.1.203/Library /mnt/cifs/Library; dmesg |tail -n 50 > /sdcard/dmesg.txt
adb pull /sdcard/dmesg.txt
[Android Apps and Games] Mr_Element:
Hi everyone.

I am trying to use this application to mount my movies folder (which is shared in my local network) but once I put everything (path/mountpoint/name/password) and I try to mount I get an error message "Invalid argument". I am fairly familiar with those things. Can anyone perhaps help me figure out what I'm doing wrong?

I can supply further info if what I said already is not enough, just ask me! Thanks in advance. :)
[Android Apps and Games] DualJoe:
Mount manually (see posts above).
[Android Apps and Games] DualJoe:
As said before, you can either try without utf8 or you have to find/compile the missing ones.
[Android Apps and Games] SilverSix311:
Oh my bad I thought you wanted me to try and use that one lol.

Well I'm gonna look at compiling a new kernel then with you said utf8.ko and md4.ko?
[Android Apps and Games] DualJoe:
Yep, exactly.
[Android Apps and Games] Mr_Element:
On manual attempt with your patched version what does this error mean actually?
[Android Apps and Games] DualJoe:
That your SuperSU 'su' binary is too old (or you're not using SuperSU at all). It doesn't know the --mount-master option. Update it and try again.
[Android Apps and Games] n8schicht:
Hi,

how can i found out that the kernel i use has cifs support?
[Android Apps and Games] DualJoe:
If you're on stock kernel you probably don't have cifs support. That doesn't mean its not possible though. There are some custom attempts if you're rooted to inject kernel modules (cifs.ko).

Custom roms like Cyanogenmod usually come with cifs support out of the box (or with external cifs ko module).

Best way is to ask in your device/rom forum or just try to mount manually via shell/adb.
[Android Apps and Games] andoruB:
Any hopes of having this available on F-Droid?
[Android Apps and Games] bseos:
I'm running Android Lollipop 5.0.1 on my Nexus 5 which has ElementalX Kernel flashed (CIFS support).

Cifsmanager seems to mount the share successfully but when navigating to the mount folder it shows empty.

Same issue mounting manually through terminal emulator. Folder still empty. Commands:

Anyone know how to get it working?
[Android Apps and Games] glimmling:
Try to set the SELinux mode to permissive. See here:

http://xdaforums.com/showthread.php?p=57348437

Gesendet von meinem SGP612 mit Tapatalk
[Android Apps and Games] bseos:
I appreciate the help however same problem as before, folder is empty.

[YOUTUBE]fq7Q66_kha0[/YOUTUBE]
[Android Apps and Games] glimmling:
Do you use the patched CifsManager with SuperSU from an earlier post?

http://xdaforums.com/showthread.php?p=53760495

Gesendet von meinem SGP612 mit Tapatalk
[Android Apps and Games] bseos:
I've received these replies on why it's not working on lollipop 5.0

http://xdaforums.com/showpost.php?p=58004925&postcount=15317

http://xdaforums.com/showpost.php?p=58006217&postcount=15319

Detailed explanation: http://xdaforums.com/showthread.php?p=36889027#post36889027

Doesn't hurt to try though so I'll give it a go anyway. Thanks.
[Android Apps and Games] glimmling:
Cifs is definitily working on lollipop with my old Nexus 7. I use a patched kernel to make the mounts visible for all apps: http://xdaforums.com/showpost.php?p=36908034&postcount=1

You mentioned these patches in your answer in the ElementalX kernel thread.

If your kernel doesn't have the patches, there is a second workaround with the SuperSU mount-master option: http://su.chainfire.eu/#how-mount

Both approaches needs the SE Linux mode to be "permissive" to see the files in the mounts.

This example should work:

su
setenforce Permissive
su --mount-master -c busybox mount -o username=guest,rw,noperm,iocharset=utf8 -t cifs //192.168.178.23/cifsshare /data/media/0/mounts/cifsshare

Good luck!
[Android Apps and Games] bseos:
You sure kernel is good for Android 5.0 considering ART replaces Dalvik in Lollipop?

Awesome. Working! Thanks a bunch mate!

Would've been great if the patcher to the patched CifsManager app added the option to auto switch between Permissive/Enforcing when mount/unmount occurred.
[Android Apps and Games] bseos:
Hey mate, cheers for the patched version.

Would it be possible for you to modified it further so that on mount it switches to Permissive mode and when user performs unmount it switches back to Enforcing mode for all us Lollipop users?
[Android Apps and Games] DualJoe:
No, sorry. That's not possible.
[Android Apps and Games] glimmling:
You can automate the terminal commands with Tasker or Script Manager. Both apps support homescreen shortcuts.

Gesendet von meinem SGP612 mit Tapatalk
[Android Apps and Games] LusiphurXDA:
Anyone got this working on a Nexus 7 (2012) with Lollipop?

I have rooted my Nexus 7 (2012) and SuperSU works fine.

I have tried with both CIFS Manager (the patched one linked here previously) and Mount Manager to get a CIFS share up (that runs fine on a rooted TF101 with 4.4.2). In CIFS Manager I get the old fun 'No Device Found' implying the CIFS modules I have aren't being loaded.

Googling about and reading this thread show people using the ElementalX kernel to get things working but that doesn't work with a Nexus 7 (2012). Anyone have any other suggestions please?
[Android Apps and Games] glimmling:
There is a patched stock kernel with Cifs and some other modules for the Nexus 7 2012:

http://xdaforums.com/showthread.php?p=36908034

Gesendet von meinem SGP612 mit Tapatalk
[Android Apps and Games] LusiphurXDA:
Ok, I have flashed that on successfully. Now how does one mount a share?
[Android Apps and Games] glimmling:
Have you read the last page of this thread? Kitkat or Lollipop?

Gesendet von meinem SGP612 mit Tapatalk
[Android Apps and Games] LusiphurXDA:
Its Lollipop. I installed the updated CIFS Manager package after I installed the kernel. But when I try to mount a share I get ..

java.io.IOException: Error running exec().Command: [su] Working Directory: null Enviroment: null

Which implies I am not rooted but will the standard root toolkits work on this custom kernel? I couldn't get them working on stock for LRX22G. I tried both WUGFresh and Skipsoft.
[Android Apps and Games] glimmling:
I flashed the latest SuperSu from custom recovery. There is also AutoRoot from Chainfire for the N7. I didn't tested the toolkits for a long time.

Gesendet von meinem SGP612 mit Tapatalk
[Android Apps and Games] LusiphurXDA:
I have it rooted now. The modified CIFS manager gives me 'Device not found' and running a variant of ..

su

setenforce Permissive

su --mount-master -c busybox mount -o username=guest,rw,noperm,iocharset=utf8 -t cifs //192.168.178.23/cifsshare /data/media/0/mounts/cifsshare

Just gives me 'Mount Failed'

The CIFS manager failure suggests I need to tell it where the CIFS modules are but I can't find those on the file system.
[Android Apps and Games] glimmling:
The kernel, that I linked in post #565 has the cifs module builtin and does not require the modified Cifs Manager.
[Android Apps and Games] nitinvaid:
Hi there I have same problem nexus 5

Can you tell me what steps you did to make it work ?
[Android Apps and Games] bseos:
http://xdaforums.com/showpost.php?p=58032907&postcount=2
[Android Apps and Games] LusiphurXDA:
I have installed this kernel. However, I am still clueless as to how you mount a samba share with that kernel. I know I am starting to sound like a broken record but I would really like to get this working.
[Android Apps and Games] glimmling:
I would love to help you, but I don't understand what is going wrong with your N7. You have root, a kernel with cifs support and the SE linux mode set to permissive. That are all the conditions you need. Is the Samba share setup on your server correct?

Gesendet von meinem SGP612 mit Tapatalk
[Android Apps and Games] LusiphurXDA:
I do appreciate the time you are taking here. Let me be explicit.

I have a Samba share set up on an Ubuntu 14.04 server on my network. I know the share is working because it can be accessed from a Windows 7 PC, a Macbook Pro and an ASUS TF101 with rooted 4.0.3 Android.

My N7 is a LRX22G. The steps I took were as follows.

1) Installed that custom kernel.

2) Tried to use Wugfresh toolkit to install root. It failed.

3) Tried to backup and in doing so it asked me to install SuperSU and the root worked.

4) I then installed Busybox and I know that worked.

5) I can su from within Terminal Emulator. I did that and the setenforce command worked.

Now, the next step is to actually mount the share. Here is where I am clueless.

1) I tried the modified CIFS manager. It didn't work and you have told me not to use it.

2) I tried

su

setenforce Permissive

su --mount-master -c busybox mount -o username=guest,rw,noperm,iocharset=utf8 -t cifs <my share> /data/media/0/mnt/ciffshare/MyShare

and I got 'Mount failed'

All I need to know is what method (mount command from CLI, something else etc) I should be using to mount a share with the custom kernel.
[Android Apps and Games] glimmling:
Does the mount directory already exist and is empty before mounting the share?

With the vorcers-kernel you don't need the 'su --mount-master -c' in front of the busybox mount command.

Gesendet von meinem SGP612 mit Tapatalk
[Android Apps and Games] LusiphurXDA:
The mount directory exists and is empty

I just tried

busybox mount -o username=<user>,passwd=<pass>,rw,noperm,iocharset=utf8 -t cifs <my share> /mnt/cifs/Tenth

And got our old friend "No such device" which is back to CIFS not being included. Could the root method have overwritten the vorcers kernel? Should I flash it back on?
[Android Apps and Games] glimmling:
Possible. It's worth a try. Normally you should be able to mount the share the same way, as on your Transformer. Only the SE linux setting to permissive has to be done before mounting.

Gesendet von meinem SGP612 mit Tapatalk
[Android Apps and Games] LusiphurXDA:
On the Transformer I use CIFS Manager ;)

Will flashing that kernel back on remove the root?

---------- Post added at 05:14 PM ---------- Previous post was at 05:08 PM ----------

Yep, I had to re-flash the Vorcers kernel back on and it now mounts fine in CIFS manager. Thanks sent. Much appreciated!
[Android Apps and Games] GreyList:
Thanks for your afford - but it doesn´t work. Cifsmanager gives the same error, trying it to install via shell (instmod ...) gives "invalid module format". I am not a linux expert but guess this means it is the wrong version for my handy.

Thanks

GreyList
[Android Apps and Games] thor2002ro:
cifs module needs to be build specifically for the device kernel .... it wont work with the cifs from another device kernel
[Android Apps and Games] f3d0r:
New Version: CifsManager v1.0 released!

08/20/2010 - Changes in v1.0:

- added option to directly open a Mount Point in file manager (browse directory)

-- works with popular file managers like EStrong or ASTRO

- added German language support

-- if you want to help translating the GUI to different languages please contact me ;)

- removed menu option to refresh share states manually

Remark:

Unfortunately it's not possible to launch the file viewer of Rockplayer 1.0.31 (blame them). Rockplayer even lacks the necessary intent filters to be launched with a video file.
[Android Apps and Games] GreyList:
Hi again,

so as far as I understand no one can use this app with a Samsung Galaxy S? Will the new 2.2 OS-Version support cifs? Thanks again for your patience and answers,

Regards

GreyList
[Android Apps and Games] kabaldan:
NFS

Hi f3d0r, have you considered extending this nice little app to support also the insmoding and mounting of nfs modules and shares? Or to make a sister app NfsManager...

Example:

insmod /system/lib/modules/sunrpc.ko

insmod /system/lib/modules/lockd.ko

insmod /system/lib/modules/nfs.ko

busybox mount -t nfs -o nolock 192.168.1.17:/mnt/Spajz /sdcard/nfs
[Android Apps and Games] JakeWharton:
NFS support would rock my world. The CIFS will suffice for now though. Thanks for all the hard work.
[Android Apps and Games] wired69:
Thanks f3d0r, great update!

Could you please explain a bit more about the following:

Cheers
[Android Apps and Games] sweRascal:
I am on OD as well but can't get it to work. Did you do anything in perticular?

Never mind, wrong module path. Working great now. Oh and I had to enter a username even though it wasn't needed by the server.

Super app.... thx
[Android Apps and Games] Znuff:
Any chance you could make a paid version where, eventually, you'll be able to ship the cifs modules for different stock roms (2.2/2.1 would suffice for most people, for popular phones like desire, nexus etc.).

Many people prefer the stock roms for stability but also have rooted phones (like me), but those roms lack the cifs module built in.

I'm no stranger to linux kernels, but I have no idea how the building process for android rom goes.

I'd be happy to pay for this application if it would save me the troubles of switching to another rom or compiling the module myself for my stock kernel.
[Android Apps and Games] Jgruar:
Uh, whats the big deal about this cifs if your computer files can't be accessed when youre away from your home and actually would want to access them through the phone?

Or am I misunderstanding? What do people use this for?

I thought this would be a way to for example stream video files from my computer (for music there's gmote).
[Android Apps and Games] darkbyt3:
cifs.ko for samsung galaxy s
[Android Apps and Games] GreyList:
Thx a lot again, but still wrong version (I think it depends on firmware installed to, I have I9000XXJF3 with Kernel 2.6.29 umts_scm@S1-BUILD #2). But since I am planning to update the firmware to the newest 2.1 version and then shortly after that to 2.2 I believe that it is the wrong way to wait here at this forum always for the correctcifs.ko version. Either I start to compile it on my own (but probably I cant afford the time) or the new firmware will have built in cifs-support so I can stream media in my WLAN.

Thanks and thumbs up for this app,

GreyList
[Android Apps and Games] darkbyt3:
Have you tried insmod on the cifs.ko? I have JM5 but the module was compiled from the sources provided by samsung.(opensource.samsung.com)
[Android Apps and Games] ethanfel:
hello, when i'm trying an insmod i have a error "cifs.ko : invalid module format" whith the cifs.ko for the sgs.

i use a jm5 samset 1.9f roms.
[Android Apps and Games] Nekromantik:
when using the QR code to download on my Desire, I get a ROM not suported error.

Could someone please upload the apk onto here.
[Android Apps and Games] twicejr:
http://nl.androlib.com/android.application.net-collaud-gaetan-multiremote-client-iEEn.aspx
[Android Apps and Games] Nekromantik:
thats multiremote.
[Android Apps and Games] Znuff:
Depending on your basic networking understanding, you can do whatever you want, including accesing the files remotely.
[Android Apps and Games] Nekromantik:
i only use this to stream while in the house as you would need to leave your PC on all the time if you want remote access and my electricity bill is high enough as it is lol
[Android Apps and Games] kcshmo:
I also have a Galaxy S, and not able to get the shares mounted. I get "no such device" error.
[Android Apps and Games] glimmling:
Fine ;)
[Android Apps and Games] LusiphurXDA:
Spoke too soon. The share shows files fine in ES File Explorer but is empty in apps.
[Android Apps and Games] glimmling:
Which apps? Is SE Linux mode permissive. Here is an app to toggle that easier:

https://play.google.com/store/apps/details?id=com.mrbimc.selinux

Gesendet von meinem SGP612 mit Tapatalk
[Android Apps and Games] LusiphurXDA:
Fixed it by setting some options on the mount (iocharset I think did the trick). I should probably write all this up.
[Android Apps and Games] DualJoe:
Anyone having trouble with SELinux should check mounted file/folder contexts first with 'ls -Z' and react correspondingly (instead of disabling SELinux). If your mounted folder/files are labeled with somewhat like "unlabeled" its very likely causing trouble. Instead mount your shares with something like this:

busybox mount -t cifs -o username=User1,password=12345678,rw,dir_mode=0777,file_mode=0777,iocharset=utf8,noperm,noatime,context=u:object_r:rootfs:s0 "//192.168.1.2/cifsshare" /mnt/cifs/cifsshare

The relevant part is "context=u:object_r:rootfs:s0" that should label all files/folders to rootfs. In combination with 777 it should be wide open. These options can be easily added to cifsmanager mount options.
[Android Apps and Games] les02jen17:
Help! I'm using Nexus 5 with Purity ROM + Code Blue kernel. I don't know if the kernel I'm using has CIFS support, I'm still waiting for someone to confirm that on the said kernel's thread. In any case, I wouldn't want to change the kernel just to get CIFS support. Isn't there a better alternative to changing the kernel? Thanks!
[Android Apps and Games] goodtoot:
CIFS manager

Hi, I'd like to make Power Amp work with my network shares using CIFS. Although I tend to use Neutron music app with my network shares, I think Power Amp would be easier for my family to use, but it has no network support built-in.

My kernel supports CIFS (semaphore on darky rom ICS on Galaxy S i9000, dedicated for use with hifi, voodoo sound etc.) and it's been activated, but I can't for the life of me find a suitable app which will affect things globally once I set it up.

Can anyone upload cifs manager please? Or recommend a suitable successor? Thanks.

Edit: just needed to look a bit harder, I found the patched version a few pages back, thanks everybody, and apologies for my poor searching, I just needed a bigger screen and some peace and quiet. :)
[Android Apps and Games] SupremeBeaver:
Absolutely excellent app. With a lot of trial and error, I have successfully managed to mount my SSH server. This means I can access my windows shares remotely, from the other side of the globe, and mount them!

Thank you for this awesome tool!
[Android Apps and Games] genham17:
Looks like the app is no longer on the market. Anyone know of a good place I can get the apk?

I'm too scared to download the apk from some random app place off of google. :S
[Android Apps and Games] Rubenos:
You can download the updated version here:

http://xdaforums.com/showthread.php?t=756158&page=59

I'm facing the problem where I'm mounting manually, but I can't seem to get writing permission. I only get it to work like this:

su -c setenforce 0 && su –mount-master
mount -o unc=\\\\192.168.1.2\\RubenEXT-III,username=Rubenos,password=******,rw,noperm,file_mode=0777,dir_mode=0777 -t cifs none /storage/remote/disk
exit

Does anybody has any idea?
[Android Apps and Games] Mysticales:
Updated version? Was on the post... What happened to it? I am looking for it too if possible.

Also wondering if this thing still really works? I keep getting No Such Device. However I am sure Unikernel has the support.
[Android Apps and Games] kalnin.alexey:
how to play music from cifs-mount?

Hi. My tablet is Digma Optima 7.77 3G, is rooted. Kernel support cifs. Cift-Manager 1.5a installed and mount my share to mnt\cifs"share name" successfully. Rooted filemanagers, like ES-Explorer, have full access to my files in share. But in programms without root (musicplayers including) i see my share with empty folders - as there are no files.

In ESExplorer have tried to choose musicfile in share and after that a player to play it. But player does't play.

What is wrong? How to play music from my share?
[Android Apps and Games] moeburn:
Yeah I'd love to know what the deal is with the "no such device" error. Does that mean I typed the address wrong? The password? Something else? What does it mean?
[Android Apps and Games] xXfreshXx:
Is there a serious download source for CifsManager?

I can't find it since it was deleted out of market.
[Android Apps and Games] s4tch:
https://xdaforums.com/showpost.php?p=53760495&postcount=537

this one works for me. (meizu pro 6)