CIFS mount on nougat systemless root SuperSU - Nexus 5X Q&A, Help & Troubleshooting

Anyone successfully mounted a cifs share on 7.1.2 that's visible to all apps?
I tried patched cifs manager and --master-mount command from terminal, but all I get is an empty folder.
My setup:
Nexus 5x on PureNexus 7.1.2
FrancoKernel (cifs support)
SuperSU systemless root
I can create the mount but it's just an empty folder and I have received permission on it.
Also tried mount manage, but I can't load the modules in settings.

have you found a solution?

Nope. Seems it's not possible ATM

Lord_Flaya said:
Anyone successfully mounted a cifs share on 7.1.2 that's visible to all apps?
I tried patched cifs manager and --master-mount command from terminal, but all I get is an empty folder.
My setup:
Nexus 5x on PureNexus 7.1.2
FrancoKernel (cifs support)
SuperSU systemless root
I can create the mount but it's just an empty folder and I have received permission on it.
Also tried mount manage, but I can't load the modules in settings.
Click to expand...
Click to collapse
Works fine with a kernel that supports CIFS.
Fransisco's kernel supports CIFS.

I have tried francos kernel. But it does not work. See.. I'm trying to mount a folder to be used over SMB. I don't now anyone that has successfully used their phone as a SMB server in the scenario I intend to.
To be specific:
I have a PS2 running FMCB (FreMCBoot) for playing backups of my games. I have a HDD shared on my network thru SMB. This runs great.
My main goal is to be able to use a folder inside my Nexus 5x as a portable version of this HDD. To put a few backups and play on my Consoles.

Related

[Q] CIFS using Franco Kernel Milestone 4 or r196 nightly build?

Hi I'm using the latest Franco kernel and wondering if I am able to use CIFS manager to mount an SMB share. Basically I am able to see the smb share via AndSMB and ES File Explorer, but whenever I try to mount using CIFS Manager or MountManager I am not able to complete to process. My google searching has led me to think this may be a problem with the kernel, but I'm not sure.
When I attempt to mount using "10.1.1.1/share" as a share path in CifsManager I get the error "mount: No such device" ... CifsManager has superuser access.

Mounting smb share

Hello,
I want to mount a shared Folder of my Fritzbox.
I'm searching for a while now, I found out i need the cifs.ko module but all i can find is for other devices, isn't there a way for the M8 despite a custom kernel?
As far as is remember i managed it with my One S with something like "busyboy mount -t cifs //Ip.ip.ip.ip/sharename /mnt/name -o user=xxx,password=www" But all i get is "failed: No such device"
ElementalX supports CIFS: http://goo.gl/jFKhfy
You can use ES file Explorer (without cifs module) to enter the drive of your Fritzbox, if it's a smb mount in your network

[Q] Can't mount samba share in Android Lollipop

In android 4.4 I used the ElementalX kernel and cifs manager to mount samba shares so I could watch videos from WiFi.
Then I've upgraded to Lollipop, rooted, installed the ElementalX 3.2 kernel but when I try to mount a dir with Cifs Manager and Mount Manager in my tablet, it says it has mounted the share sucessfully but when I try to open the files I want all I find is an empty folder. I tried looking at the folder through the Terminal Emulator or through my PC but the folder is empty in all of them.
Is there any fix for this? Does anyone know if it's a kernel problem or a Lollipop problem?
Download terminal emulator and run the two commands below
su
restorecon -FR /data/media/0
SwoRNLeaDejZ said:
Download terminal emulator and run the two commands below
su
restorecon -FR /data/media/0
Click to expand...
Click to collapse
Just did that, it said it loaded some file_contexts. But it didn't solve my problem
Wait, is this otg?
SwoRNLeaDejZ said:
Wait, is this otg?
Click to expand...
Click to collapse
No, I'm not trying to mount an usb otg device. I'm trying to mount a samba share using the Wi-fi network. I can mount usb sticks using otg just fine.
What is the exact path of the directory?
SwoRNLeaDejZ said:
What is the exact path of the directory?
Click to expand...
Click to collapse
Share path: 192.168.1.112/Teste
I tried these two mount points:
Mount point: /storage/emulated/legacy/cifs/Teste
Mount point: /mnt/cifs/Teste
Can you get to it from es file explorer/lan? I watch vids from a nas drive and windows samba shared folders all the time. If the folder opens and you click on a file, es fx will give a choose menu to open the file with MX player or others if installed.
matt55555 said:
Can you get to it from es file explorer/lan? I watch vids from a nas drive and windows samba shared folders all the time. If the folder opens and you click on a file, es fx will give a choose menu to open the file with MX player or others if installed.
Click to expand...
Click to collapse
It worked! I didn't know you could watch videos from Es File Explorer... Many thanks to you!
RodrigoDavy said:
In android 4.4 I used the ElementalX kernel and cifs manager to mount samba shares so I could watch videos from WiFi.
Then I've upgraded to Lollipop, rooted, installed the ElementalX 3.2 kernel but when I try to mount a dir with Cifs Manager and Mount Manager in my tablet, it says it has mounted the share sucessfully but when I try to open the files I want all I find is an empty folder. I tried looking at the folder through the Terminal Emulator or through my PC but the folder is empty in all of them.
Is there any fix for this? Does anyone know if it's a kernel problem or a Lollipop problem?
Click to expand...
Click to collapse
For future reference, fix here: http://forum.xda-developers.com/showpost.php?p=58032907&postcount=2

[Q] mount shared folder in android

Hi guys,
I have some problems with the mount options in android.
I often use ES File Manager but it's very annoying to always download the media i need.
I want to mount the shared folder in my tablet, but first of all my specs:
-SM-T311 (3G+Wi-Fi) with stock rom and rooted
-Apparently no cifs.ko / smb.ko /nfs.ko module inside /system/lib/
My shared folder is available through SMB (SAMBA) and NFS (Network File System) but none of these two are working via mount command in terminal, already tried with thousand of combination.
Even SSH/SFTP is available if this is the only option for me.
With Ubuntu i'm easily able to mount the folder in the system, but with android it always lack of functionality.
Can anyone help me?
Do i need to add the module in my system? If yes, how? Can i extract the module from the CM rom and copy/paste to my directory?
Thank you guys, I'm really looking forward for some help.

MOUNT command fails in FTV2

I used to able to mount (using either NFS or CIFS) a shared folder on my NAS (Western Digital MyCloud) on FTV 1.
IP of the NAS: 192.168.5.6
Mountpoint on FTV: /mnt/obb/WD
I could use either of the following commands on FTV 1:
busybox mount -v -o udp,async,nolock,noatime,nodiratime,soft,intr,vers=3,rsize=65536,wsize=65536 -t nfs "192.168.5.6:/nfs/Devices" "/mnt/obb/WD" (NFS)
busybox mount -v -o noperm,unc="\\192.168.5.6\Devices",username=public,password=public -t cifs none "/mnt/obb/WD" (CIFS)
On the new FTV2, rooted, with Busybox and running RBox's latest ROM, both the above commands (running under SU) gives me an error "Device Not Found"... I searched and found that folks talk about these 3 things that might affect the mounting..
1. Related to SELINUX.. (I have tried "setenforce permissive", but that does not fix it)
2. Related to new permission paradigm on Android 5.1 where writes to external devices is prohibited by default. Not sure how it would affect mounting, but.....
3. ROM has no CIFS/NFS modules loaded.
Another data point, I can navigate to my shared folder on NAS using ES File Explorer, though. I also tried mounting to a different location "/mnt/sdcard/WD" instead of in "/mnt/obb", but that doesn't work either.
I have another FTV in a different room (first generation rooted FTV running the last pre-rooted ROM from RBox for FTV 1) and the above commands run fine. So my guess it has to do something with Lollipop... But I am not sure about the reason and I don't know how to go about fixing it. Any ideas would be very welcome. Thanks.
It will probably be the write permissions on lollypop mate, if say for instance I wanted to download something to my sd card (internal,external or usb device) via kids it won't write! But if I download it within inside the kodi files by making a new folder & set the download there it will download, & then I can transfer it to my internal, external or usb device. This is probably why you can't use your Nas in that directory? I don't know how or what Nas is properly (I'm thinking its a storage sharing unit which can be pushed or received?) Try what I said & maybe you might have some luck doing it this way?
Hope this helps, If so press that thanks button.
@dbdoshi
AFTV2 don't support any Network File Systems on kernel level (if I'm right understand from kernel source)
Ok, I guess the support for NFS or CIFS is not there in FTV2. I ran "cat /proc/filesystems" and I don't see NFS or NFS4 or CIFS... On the older FTV1, I do see them in the filesystems file. Wow. Any workarounds?
I even tried mounting using CIFS to a test shared folder my Windows 10 laptop and thats a no go too..
This is for Kodi. I move all its files to the NAS to run it and save the space on FTV. I have now started to use SDCard1 location to accomplish it as NAS does not seem to be an option in FTV2. But the strange thing is, if I add a source in Kodi using "Network File System (NFS)" option, I can navigate to my NAS fine.. Any way to know the command Kodi uses when you add a source like that?
ES File Explorer (for example) can see network shares too
Sorry to revive this old thread but I'm running into the same problem. I want to mount my network share to the fire tv 2 but neither cifs nor nfs worked... It used to work fine with my old firetv.
Any work arounds?
This is a very old thread, but I am bummed I can't run a network file server on my ftv2 stick and have to resort to using DLNA which just isn't quite the same.

Categories

Resources