Hi
I used my Moto Xoom and Nexus 4 to access my NAS using "Mountmanager" Since I got a GPAD I want to replace my Moto pad
Cause I want to have direct access using Comicsrack ,MX Player and other forlder based tools I need a Cifs mount on a android folder.
Unfortunatley I cant get it to work on the GPAD cause the stock Android (Which I rooted with the Kingo tool) does not support CIFS
Any Idea where to get the needed Modules
(For sure all other options to mount Cifs to a Android Folder are welcome )
-=T_A_T=-
Look at my post . Maybe there's hope.
Related
CIFS was supported just fine in Cyanogenmod 10. Since I updated to the 10.1 version, mounting doesn't work properly: While CIFSmanager actually mounts a network folder, once I visit the folder with a file-manager the folder looks empty. What is more curious is that when I use FX file manager, it doesn't just show the folder as empty, but shows an "access is denied" message in it. I tried messing with the permissions both on Android and the shared folder on the PC, but no luck so far. Is this a common problem with all 4.2.1 roms even with CIFS support or a CM10.1 problem? I don't know what to assume.
Yes 4.2 cifs does not work.
I have gotten around this for video using the Dice player which has it built in. Also Es file explorer has its own as well.
BSW Nexus,7
in terminal emulator it works, but in not app
Since 2 days i tried to mount my WD live book with "Mount Manager" and CifsManager" in andorid 4.2.1. Both show that it is mounted but all apps don't see any file. So i searched for a shell command and the surprise, when i am mounting by "busybox mount ..." in "Terminal emulator it works fine and i see all folders in the terminal. But in no app, i can cry . Please, if anybody has an solution help !!!
Thxs a lot!
I found an interesting thread which describes why and how!
http://forum.xda-developers.com/showthread.php?t=2062768
Update
Hey people, there's some update on this. Check this out! http://forum.xda-developers.com/showthread.php?t=2106480
EDIT: While the above changes were merged in CyanogenMod 10.1 nightlies, fixing the problem on my Nexus 7, the latest nightly reverted the change because it broke some compatibilities So back to the problem again for now...
Hi folks
My issue that I cannot seem to resolve is one of CIFS share mounting. I have trawled the XDA forums, google, and many many other android sites with no luck.
Current state
Nexus 4
CyanogenMod 10.1 RC4 (but have been running nightlies and RCs almost since release)
Latest version of CifsManager
Folders created:
/mnt/cifs/*
Where * is various folder names matched to my CIFS shares being served from an OpenMediaVault storage PC.
My understanding is that CM10.1 has CIFS support built into the kernel, as there are no cifs modules in the usual places one would expect to find them.
No matter what I try in CifsManager, the mount fails with:
Code:
Mounting the share has failed with an error. mount: Invalid argument
I thought this may be an issue with CifsManager, so I hopped into the shell to see what I could find. I am no *nix guru, but am comfortable (mostly) in the commandline.
I fired up ADB, connected the device and entered an ADB shell with root access via su.
I issued a BUNCH of different mount commands, with no luck, some of which were:
Code:
mount -t cifs //192.168.1.3/share1 /mnt/cifs/share1
mount -o username=<username> -t cifs //192.168.1.3/share1 /mnt/cifs/share1
mount -o username=<username>,password=<password> -t cifs //192.168.1.3/share1 /mnt/cifs/share1
I tried variations of these with the options after the type and vice versa, and with one/both of those after the device/mount point pieces.
All consistently gave the same error as CifsManager:
Code:
mount: Invalid argument
I even tried using
Code:
-t smbfs
and get the following error:
Code:
mount: No such device
The only additional note I could find that I thought worth mentioning is this entry in dmesg:
Code:
<3>[14314.292444] CIFS VFS: Connecting to DFS root not implemented yet
At this point I am officially out of ideas and operating beyond my capabilities so if you have any suggestions or advice, please let me know what additional information I can provide here.
I should note that I have two Xoom's and an SGS2 all of which mount these shares fine. The Xooms are running EOS4 and the SGS2 was also running CM10.x - interestingly both of these ROMS had cifs modules rather than having them built into the kernel.
Thanks in advance.
/system/xbin/mount (soft-linked to busybox) rather than /system/bin/mount (linked to toolbox) works for me. I'm not sure that it's entirely safe to point the link in "bin" to busybox (which is necessary if you're using CifsManager as it has no option to set a path to "mount"), but everything seems to be alright, except that the busybox'es "mount" refuses to remount root read-write sometimes, and you need to specify a different dir for CifsManager (e.g. /data/cifs instead of /mnt/cifs).
[SOLVED]
OK,
so with a bit of luck, I seem to have got to the bottom of this.
Within CifsManager, the following configuration for a share works:
Share Path
<IP address>/<share>
Mount Point
/mnt/cifs/<share>
Username
<username>
Password
Leave blank - if this is populated, it causes the "Invalid argument" error when mounting the CIFS share.
Options
Code:
unc=\\\\<IP address>\\<share>,pass=<password>
Now that I have it working, I remember reading on a post long time ago, that if the CIFS module is built into the kernel it required the unc= option to work.
Would it be worth getting in touch with the CifsManager devs and logging this as a bug do you think?
[keywords]
How to mount a cifs share on Google Nexus 4 with CifsManager and CyanogenMod 10
Does it still works? I am using CM 10.1 nightly based on Android 4.2.2 and I am unable to make it work.
Do you use a kernel other than CM default?
Why do i want to mount cifs? Any specific reason?
Sent from my Nexus 4
kewlfais said:
Why do i want to mount cifs? Any specific reason?
Sent from my Nexus 4
Click to expand...
Click to collapse
I want to conect to my samba share over wifi. I'd prefer to mount them because, If I can mount them, I am free to use all programs/file explorers etc. to browse files/watch movies etc.
Well basically nexus talks only on mtp protocol.
U have options of connecting ur device via ssh by installing ssh server on phone but for me it wss slow so i dropped that.
Even there is a app name software data cable which connects via ftp.
Sent from my Nexus 4
---------- Post added at 02:08 AM ---------- Previous post was at 02:07 AM ----------
Or use airdroid that is also good app
Sent from my Nexus 4
gergefil said:
Does it still works? I am using CM 10.1 nightly based on Android 4.2.2 and I am unable to make it work.
Do you use a kernel other than CM default?
Click to expand...
Click to collapse
Hi
yes this still works. Please note my original post got screwed up by the forums - it removed some of the \'s. I have fixed this now in the original post, but by explanation there should be double the number of normal \'s in the UNC path (as escape characters I guess) so \ \ \ \ unc \ \ path
I do not use any custom kernel, just what is in the standard nightly CM builds (I also update to most nightlies..)
I hope this is clear
Swaziboy said:
Hi
yes this still works. Please note my original post got screwed up by the forums - it removed some of the \'s. I have fixed this now in the original post, but by explanation there should be double the number of normal \'s in the UNC path (as escape characters I guess) so \ \ \ \ unc \ \ path
I do not use any custom kernel, just what is in the standard nightly CM builds (I also update to most nightlies..)
I hope this is clear
Click to expand...
Click to collapse
I am now able to make it work. Thanks.
Hey Swaziboy,
I have one more question:
Did you try to mount cifs share anywhere other than /mnt/cifs/SHARE
I want all applications to see my share, so I try to mount them into /mnt/sdcard/SHARE When I mount it to /mnt/cifs/ everything is perfect. However when I try to mount it into /mnt/sdcard/SHARE, cifs manager says it is mounted, however I can't see it on mount list and, it is not mounted at all.
Do you have any idea/suggestions?
Hello,
since I have my Tablet Z I was searching for a solution to be able to mount CIFS directories (e.g. from a NAS) on my Tablet Z, since certain media apps (especially music players with own database like GoneMad or Poweramp) only work with local directories.
Unfortunately no dev seems to be interested in compiling the necessary kernel modules or making a custom kernel with the functionality included. And myself I'm no dev.
But today - hooray - I saw this thread http://forum.xda-developers.com/showthread.php?t=2260831 and thought: "There are more programs from other phones, especially the very similar Xperia Z, that work on the Tablet Z, so just let's try!"
I downloaded the package linked in the first post of the thread - the .350 one. (The .423 one didn't work). Then I unpacked it and copied the contents of the folder (some .ko and config files) to /system/lib/modules.
Then I opened a terminal, cd'ed to /system/lib/modules and entered "insmod cifs.ko". Worked!! :good::cyclops:
Next I mounted my network share with the totally normal command (not with the "unc:\\\\"-stuff suggested in the above thread to get it working on the Xperia Z):
Code:
busybox mount -t cifs -o iocharset=utf8,username=xxxxx,password=yyyyy //x.x.x.x/[my share] [mount point]
Voila!
(NFS doesn't work, insmod gives an error.)
But now I can use GoneMad Music Player with my Intenso WiFi Harddisk :good::good::good:
Since I am still on 4.1.2 (with no plan to update to higher versions yet, because for me 4.2 or 4.3 has drawbacks on this device), I don't know whether one of the two module packages from the Xperia Z thread would also work on 4.2.2.
It would be great if someone who has this version running could test it.
Best Wishes,
Hasenbein
Perfect! This was the my last missing function on Tablet Z
Successfully tested on SGP321 (LTE) 10.1.1.A.1.307
Hi,
I have a Sony SG311 over 4.2.2 stock rom. If I copy these files on my tablet, Can i use CIFS manager app to mount directly my NAS share folders ?
Thansk for help
Yes, if it would work on your ROM then of course you could use CIFS manager.
But up to now nobody has got it working on 4.2.2, only on 4.1.2.
It would be great if you could test it by following my instructions. Thanks!
hasenbein1966 said:
Yes, if it would work on your ROM then of course you could use CIFS manager.
But up to now nobody has got it working on 4.2.2, only on 4.1.2.
It would be great if you could test it by following my instructions. Thanks!
Click to expand...
Click to collapse
Hasnt worked for me on 4.2.2
Always get "invalid argument" error whether I do it manually in terminal or using Cifs manager. It wont mount my network drive.
Hope someone has a solution soon.
sneakymise said:
Hasnt worked for me on 4.2.2
Always get "invalid argument" error whether I do it manually in terminal or using Cifs manager. It wont mount my network drive.
Hope someone has a solution soon.
Click to expand...
Click to collapse
Same to me
hasenbein1966 said:
(NFS doesn't work, insmod gives an error.)
Click to expand...
Click to collapse
You can try brute-force loading it via punchmod instead of insmod, that usually works if the module isn't compiled for a completely different device.
Some info here: http://forum.xda-developers.com/showthread.php?p=41920265#post41920265
OK, could you 4.2.2 users try insmod -f first (normal force loading via -f parameter), then look with lsmod whether the module has been loaded, and if it didn't work, try punchmod? That would be great! Thanks!
Hello,
I'm looking for these modules nfs, and cifs.
I'm in stock 4.4.2 (KOT49H) factory rooted. I want to mount my nas synology in /sdcard/synology
As i see, i'm unable to find any answer about cifs and nfs module for Nexus 4. Some of you have create a custom kernel that include these modules.
I'm familiar with "everytime flash", everytime flashin recovery to the last TWRP or CWM, baseband, etc.....
So How i can't find these module in any rom or kernel that i've tested? what is so hard? no one think about this?
My question is : Is that possible to "put" these module and use them in 4.4.2?
Forum search just lead me to one post about it,
http://forum.xda-developers.com/showthread.php?t=2021437
Just one kernel, only one and it's for 4.2.2. Sadly i try it and nothing change : insmod cifs.ko / nfs.ko --> can't open......
Help, i just want to mount my nas, (sure i already setup my Nas to have a nfs directory for my nexus)
even my try with mount manager failed.
Need help
Also looking for a CIFS (or NFS) module on a 4.2.2 rom.
I believe that ak kernel in original development has it
Sent from my Nexus 4 using XDA Premium 4 mobile app
hi , i got a galaxy s4 gt-i9515 4.4.2 (build ver. that ends with NK2)
i rooted it using this guide: " can't post the link since new user but is by mrwolf s4 towelroot etc.. ", with the right NK2 kernel file.
i checked with root checker and it says root is ok, and using the paragon ntfs app i see in settings that SELinux is on permissive.
My problem is that i can't figure out a way to read ntfs devices with s4; the only way i can read them is using Total Commander + Paragon Total Commander plugin but i don't like the Tot. Com. interface plus i need to download the file form the drive to see them.
Using Paragon ntfs app when i mount the drive (WD 1tb or any ntfs pendrive.. tried both) the warnign on top "blank disk etc. " remain and i can't find the files anywhere in the phone i tried using defalut viewer and File Manager with root access on it, i looked everywhere in any folder , i tried using different apps too like USB OTG helper but it says code 9 error and in the folder that it should be mounting the drive i can't see anything.. is empty.
Did i really root my phone?i see the knox counter is 0x0.
Plus i notice that in sdcard there are folders named paragonntfs_1 2 3... etc i can't even delete them .. i finally did delete the paragonntfs_4 fodler but the others says write protected
Can you help me?
Android does not have native NTFS support, and to add it would require creating a new kernel with NTFS baked in. Have you tried this app to access your NTFS volumes, rather than Total Commander?