Mounting Network Storage (CIFS) - Galaxy Note 3 Q&A, Help & Troubleshooting

Hello,
i want to mount my network hdd´s (Synology NAS) with CIFSMountManager on my Note 3, so that i can listen music with PowerAMP (browse,...... like a sdcard).
What i know:
I need root -> done
I need kernel which support cifs -> (blaze and skyhigh e.g) -> but not installed, because i dont want trip knox an loose waranty, before im not 100% sure, that it will work.
I need CIFS Modules - searching
-> where i can found it? Google and Forum Search cant help, so i hope that somebody can help me
Are there some XDA-Users that have allready mounted a hdd with CIFS on Note3?
Are there other solutions/ways to mount a network hdd?
regards,
aleks

AleksZ86 said:
Hello,
i want to mount my network hdd´s (Synology NAS) with CIFSMountManager on my Note 3, so that i can listen music with PowerAMP (browse,...... like a sdcard).
What i know:
I need root -> done
I need kernel which support cifs -> (blaze and skyhigh e.g) -> but not installed, because i dont want trip knox an loose waranty, before im not 100% sure, that it will work.
I need CIFS Modules - searching
-> where i can found it? Google and Forum Search cant help, so i hope that somebody can help me
Are there some XDA-Users that have allready mounted a hdd with CIFS on Note3?
Are there other solutions/ways to mount a network hdd?
regards,
aleks
Click to expand...
Click to collapse
Been too searching for this for months now, hope someone will help (exactly the same purpose too)...

ldarrambide said:
Been too searching for this for months now, hope someone will help (exactly the same purpose too)...
Click to expand...
Click to collapse
You cannot load kernel modules in android, so you will need to flash a custom kernel with CIFS support built in.
That's just the way android works, unfortunately.

I am a user of Android Boxes/Sticks, and this service is a must.
I personally just use ES FIle Explorer, detects SMB, NFS and CIFS without a hassle.
Also, these apps are known to users, not sure if they need the module but they do need root.
https://play.google.com/store/apps/details?id=ws.plattner.cifsmanager
https://play.google.com/store/apps/details?id=com.twimager.cifsmanager

jisoo said:
You cannot load kernel modules in android, so you will need to flash a custom kernel with CIFS support built in.
That's just the way android works, unfortunately.
Click to expand...
Click to collapse
If you can show links/examples/tutorial, would be grateful.
I'm using Note 3 with 17.1 Crashrom
TY

Related

CIFS Support With Rooted Stock?

Hello all,
I have hardly posted on this forum because I usually don't need to. My answers are usually answered in some thread or another. I have been lurking for a couple of years now. Thanks to all the XDA users who help out.
I am perfectly satisfied with the Nexus 7 completely stock, with one exception: I want to access windows and linux/samba shares from the tablet over Wifi. I do not want to install a custom ROM to do this. I saw a thread or two that mentioned this briefly, saying there was a kernel that does this, but mostly it is all vague. I found one kernel in the development forum that provides CIFS, but I do not know if that will work with the stock rom if I were to flash it.
Would someone please help me understand this? All I want is to use files on my other computers.
Thanks in advance!
-David
You can access files on a network with ES file explorer.
Sent from my Nexus 7 using XDA Premium HD app
If you want to mount the CIFs shares as local directories then you need to be rooted and the stock ROM will need some additional kernel modules. You don't need a custom ROM in that respect, but you do need to root the device. Cifs Manager, which only works as root anyway, will allow you to load the modules and then manage the mounting/unmounting of the shares.
There's the N7 specific modules in qwerp_'s thread here: http://forum.xda-developers.com/showthread.php?t=1781411. The 10th post of that thread tells you how to add those modules.
There's a Cifs Manager thread here: http://forum.xda-developers.com/showthread.php?t=756158 which details some common problems and set up tips.
thankyousam said:
If you want to mount the CIFs shares as local directories then you need to be rooted and the stock ROM will need some additional kernel modules. You don't need a custom ROM in that respect, but you do need to root the device. Cifs Manager, which only works as root anyway, will allow you to load the modules and then manage the mounting/unmounting of the shares.
There's the N7 specific modules in qwerp_'s thread here: http://forum.xda-developers.com/showthread.php?t=1781411. The 10th post of that thread tells you how to add those modules.
There's a Cifs Manager thread here: http://forum.xda-developers.com/showthread.php?t=756158 which details some common problems and set up tips.
Click to expand...
Click to collapse
Thanks Thankyousam! A little redundant, but thank you. I'll try this out tonight and report back how it went. I appreciate your thoroughness!
-Dave
COMPLETE
hesperaux said:
Thanks Thankyousam! A little redundant, but thank you. I'll try this out tonight and report back how it went. I appreciate your thoroughness!
-Dave
Click to expand...
Click to collapse
Just so everyone knows, I got this to work flawlessly , but I had to go through hell to make sharing on Windows 7 work properly . I'm going to document that here for everyone's benefit.
Before I start, the end result was watching VOB format movies over wifi for 2+ hours with no issues at all. Very pleased with this. You can't do this with a basic SMB browser (because it has to download the file before viewing it).
I followed a lot of tutorials online after my initial attempts at sharing over the network failed. I wanted to do this WITHOUT a HomeGroup and WITH USER SECURITY ENABLED. I didn't want to share everything to Everyone like most tutorials suggest.
It turned out that sharing worked fine, with or without HomeGroup enabled, but only with other Windows 7 machines. This is because Microsoft hates my life and because it doesn't support "legacy" devices by default. The coolest part about all of this is that there is no way to fix this except by editing the registry directly. I will paste the registry fix into this post and also link to the source (Microsoft) just in case the link goes down.
Open: regedit.exe as Administrator
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
Create: DWORD (32-bit), called "AllowLegacySrvCall"
Set: AllowLegacySrvCall = 1 (binary, hex, or octal, doesn't matter if it's value is 1)
(I am a new user and cannot post links...)
support.microsoft.com/kb/957441
Another important thing: in the Network and Sharing Center, you'll need to edit advanced sharing options and enable 48- and 56-bit encryption support for older protocols (Don't use the 128-bit encryption because it probably won't work with most other devices, like the tablet).
Lastly, in your CIFS mount options (in CIFSManager this is the last input box in the settings) you may need to add domain=WORKGROUP,sec=ntlmv2
This is because the username it logs in with may or may not need to be specified according to the workgroup you are in (or domain, if applicable). The security option tells CIFS.ko to use one of the more recent authentication protocols that Windows 7 requires by default. You can change this default setting in Windows 7, but I think it is better to use the updated authentication method from Android since it appears to be supported.
Hope that helps anyone who is raging about this. I know I did.
If I think of anything else that's important, I will try to update this post. If anyone has any questions about getting this to work, let me know!
Thanks again to all who helped me figure this out. CIFS is wonderful!
-Dave

Cifs support in Android 4.3

Hi all,
Have any of you been able to get a Cifs share mounted under android 4.3 on the N10.
I've tried various kernels and managers like Cifs manager but with no joy, they complain of invalid argument.
It seems like there has been success on the N7 according to this thread http://forum.xda-developers.com/showthread.php?t=2107224&page=7 but I can't see anything for the N10.
If it does work for you could you let me know what ROM / Kernel combo you use?
Not only 4.3. I haven't managed to make it work on 4.2.2 either
Sent from my GT-I9505 using Tapatalk 4
http://forum.xda-developers.com/showthread.php?t=2430056
^^^^^^^ What zod said. Working fine for me
I tried several combinations to mount CIFS shares with mountmanager:
Trinity + Carbon Rom, Sentinel, CM10.2 = works without problems
Flaming Monkey + Carbon Rom, Sentinel, CM10.2 = works - but without UTF-8 (for special characters like öäü...)
KTManta + Carbon Rom, Sentinel, CM10.2 = doesnt work.
Any Kernel + Purity Rom, AOKP, PA = doesn't work.
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.
Edit:
Sorry I think it's wrong threat
andreasy said:
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.
Edit:
Sorry I think it's wrong threat
Click to expand...
Click to collapse
Google sure seems to be trying really hard to kill CIFS (and any network filesystems for that matter) on Android. As it stands now (in 4.3) there is no possible way to get CIFS working properly on the stock ROMs with a stock kernel. This is because the geniuses at Google removed loadable module support from the stock kernel and because of the way they implemented the multi-user stuff (using filesystem namespaces). The thing that kills me is that there is absolutely no reason for Google to make this so difficult. They could have simply compiled support for network filesystems into the kernel if they wanted to remove modules for "security". It would also be trivial for them to add a mount point which propagates to the user namespaces. They did this crap on purpose. And that is exactly the reason why my next tablet will not be an Android one. You shouldn't have to hack your tablet to get basic functionality that should just work out of the box. I'm done being scroogled.
Anyhow, I did manage to get CIFS working on my Nexus 7 which is running 4.3. See my post here for details. Now, I don't think my kernel will work on your Nexus 10. But, if you flash someone else's custom kernel (or compile your own) for the Nexus 10 which does have CIFS support/modules you should be able to use my update.zip which does not contain the kernel. I don't have a Nexus 10 to test on, so I can't promise anything but I don't see why it wouldn't work.
With new 4.3.1 Rom Versions I have troubles with CIFS Mount.
I can mount my NAS without problems with Terminal command, and I can see all mounted Files and Folders in Terminal.
But any App (like ES Fileexplorer, Solidexplorer, Power-Amp....) can't see any files. The Folder always keeps empty.
I have tried several mount points: /sdcard/cifs, storage/emulated/legacy/cifs, /data/media/cifs. Always the mount is visible in Terminal but not in all apps.
I have tried many mount options like: noperm, rw, file_mode, dir_mod, gid.....
cien12 said:
With new 4.3.1 Rom Versions I have troubles with CIFS Mount.
I can mount my NAS without problems with Terminal command, and I can see all mounted Files and Folders in Terminal.
But any App (like ES Fileexplorer, Solidexplorer, Power-Amp....) can't see any files. The Folder always keeps empty.
I have tried several mount points: /sdcard/cifs, storage/emulated/legacy/cifs, /data/media/cifs. Always the mount is visible in Terminal but not in all apps.
I have tried many mount options like: noperm, rw, file_mode, dir_mod, gid.....
Click to expand...
Click to collapse
Hi there, could you post the command line you use to mount your NAS drive ? I keep getting "Invalid argument", this is what I've tried
Code:
mount -t cifs //192.168.1.3/music /mnt/music
pkfox said:
Hi there, could you post the command line you use to mount your NAS drive ? I keep getting "Invalid argument", this is what I've tried
Code:
mount -t cifs //192.168.1.3/music /mnt/music
Click to expand...
Click to collapse
You have to get su access first with "su"
mount -r -o noperm,rw,file_mode=0777,dir_mode=0777,uid=1000,gid=1000,unc=\\\\192.168.0.10\\music,username=***,password=*** -t cifs none /sdcard/cifs
Thanks that worked, do you know of a way to mount automatically at boot time on Android ? I notice there is no /etc/fstab
Thanks again.
Hi all, if your goal is simply to play music and video from your NAS to your android device, you can use Kodi (xbmc) that can access cifs path directly!

Mount to folder on NAS

Hi guys,
I was wondering if anybody knows a way to map to a folder on my NAS. Specifically what I would like to do is have a folder somewhere on my Nexus Player that is a shortcut to a folder on my NAS. I want applications to be able to access files not located locally on the device.
Even more specifically I am trying to play my nes and snes roms that are located on my NAS. The apps work fine but they can not find files over my network like esfile explorer can for example.
My player is unlocked and rooted.
Thanks,
Rob
Just got it to work with the Lollirock ROM, and i bet thats ur ounly option unless u find a kernel that supports CIFS, dont think the official one does it?
*EDIT* - Oh, ye, right..., found this one: http://forum.xda-developers.com/nex...ent/kernel-unleashed-nexus-player-v1-t2977254 , bet that will work to,
i used this app to enter "permissive" mode, i read that u needed it: https://play.google.com/store/apps/details?id=com.mrbimc.selinux
and a modified version of the CIFS Manager 1.5a app found here: http://forum.xda-developers.com/showpost.php?p=53760495&postcount=537
to be able to mount my NAS's samba share like:
192.168.x.x/Download/Games
/mnt/cifs/Games
Thanks!!! will try as soon I as get a chance!!!
ummmimrob said:
Thanks!!! will try as soon I as get a chance!!!
Click to expand...
Click to collapse
Can you let us know which option you went with and how well it worked? I'd like to do this since Stickmount isn't working out well for me.
Thanks
OK I just want to first say THANK YOU!!!!!
Now I will try and tell you all that I did. I have done so many things I am not sure exactly what combination of things worked. I will tell you that you definitely need to be rooted and you also need the modified cifs app as previously mentioned. I also installed the kernel that supports cifs as mentioned. as far as permissive mode goes I do not have the app mentioned but I do believe I did this manually through a terminal. this may or may not persist without editing some file I am not sure? I hope this was at least some help. Thanks again!
and just to add a short rant... Why is this not a normal part of android!!!!! especially the nexus player! A device that they want you to connect to your tv and with this basic feature could make it a fully functional htpc. WTF google!!!!
ummmimrob said:
and just to add a short rant... Why is this not a normal part of android!!!!! especially the nexus player! A device that they want you to connect to your tv and with this basic feature could make it a fully functional htpc. WTF google!!!!
Click to expand...
Click to collapse
I am with you on that. However, if they added all of those features, it'll introduce too many variables for them to work with when troubleshooting. I think that's what it comes down to
Sent from my LG-D850 using Tapatalk
ummmimrob said:
OK I just want to first say THANK YOU!!!!!
Now I will try and tell you all that I did. I have done so many things I am not sure exactly what combination of things worked. I will tell you that you definitely need to be rooted and you also need the modified cifs app as previously mentioned. I also installed the kernel that supports cifs as mentioned. as far as permissive mode goes I do not have the app mentioned but I do believe I did this manually through a terminal. this may or may not persist without editing some file I am not sure? I hope this was at least some help. Thanks again!
Click to expand...
Click to collapse
Ur welcome, ^.^

Kernel with cifs support

Hi everyone
Just got my Nexus 6p in the mail this morning. Was hoping to mount my external hard drive connected to my router in filesystem which led me find out the stock kernel doesn't support cifs. So my question is, is there any kernel with cifs support currently available? Or is there a way to implement it ?
For the record I'm running Android N preview with stock kernel and SuperSU
PS. I know the storage is accessible via samba through likes of es file manager but I would much rather mount it in filesystem.
Thanks in advance.
Hopefully it's OK to
BUMP

sync folder over homenetwork

Hi everyone.
I want to apply this thoughts:
I want to share an folder adressed from win 10: android, this is filled with subfolders: music, downloads, documents.
I want that the music example get his input direct from android/music
If I delete/create something in A so it has also delete/create in B, in both direction full automaticly
So how can I make that?
Since 120 minutes I have got knowledge about smb and share function by windows. But the rest I can't imagine.
I excuse my self I didn't find a network forum I put it here.
https://play.google.com/store/apps/details?id=com.dropbox.android
https://www.dropbox.com/install
bbsc said:
https://play.google.com/store/apps/details?id=com.dropbox.android
https://www.dropbox.com/install
Click to expand...
Click to collapse
Thx but i meant native without apps, i already know about that like onedrive, poketdhare,airdroid.....
secondelric said:
Thx but i meant native without apps, i already know about that like onedrive, poketdhare,airdroid.....
Click to expand...
Click to collapse
Android cannot access smb shares without third-party apps. You'll need to access smb share to sync it from Android's side.
Windows cannot sync folders (without problems) not using third-party apps.
In theory, you can install something like rsync on both Windows and Android but it will be "apps" too.
Dropbox works just fine under Windows and Android and you'll not be limited to your home network only.
Ok, u right but vortell give me a good tip,
İ search by google and its called: mount
İm looking right know, how it could be works or not.
nice app is smb sync or mount a samba share on the phone...
So I research and found out that is possible to mount an network share folder as folder in android (where the system get access and apps to) with dsfile and ssqhelper. But I'll need cfis support from kernel. As I know standard kernel doesn't support it and direction goes to custom kernel (where I got no experienced yet or if any custom kernel would support it). For me is now stop with this througts but just to test it I will install an custom kernel with cfis support to see how it will be works.
Thx all for help.

Categories

Resources