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
Related
While browsing thru the forums earlier..i remembered a thread where a ported version of debian could run on the g1 using vnc viewer...i tried messing with the vibrant..but it seems its doesnt have ext2 as one of the kernel drivers..or at least it fails to mount it..As u all are aware..this phone has crazy hardware..given size and weight.the hardware is more than capable...maybe we can get a working port of debian or another slimmed down version of linux to run on this phone..ie puppy or dsl....what i was thinking was maybe making an update.zip with a referenced .img file so we can boot to linux via recovery vs using vnc viewer..Not sure if this is a shot in the dark..any insight greatly appreciated ...Bless up!
The stock kernel does have ext2 and ext3 drivers. However, it doesn't mount those partitions by default. Check the dev forum for the userinit enabler zip. You could then use a userinit script to mount an ext partition.
Note that ext4 is NOT supported by default, so you will need to reformat if you have that.
Ubuntu has already been installed on android phones
http://nexusonehacks.net/nexus-one-hacks/ubuntu-on-nexus-one-android/
I personally do not see a huge benefit running a fully fledged linux os on the phone, but everyone has their own use and purpose.
I'd be down for Debian
If we ever got this running on our vibrants, I'd be so dang happy. I would love to try out GIMP
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!
Hi all
As the title says, i want to mount a networkpath to my nexus 10 for using "normal" musicplayer like Mort player to play the music stored in the network.
I searched a little around but only found solutions for JB. (Cifs and stuff)
I already tried myself to mount it with Mount manager from the playstore but always get a "failed to mount"
I am using an usb-stick on my Router (Asus RT-N56U). I have access to it with my fileexplorer.
Used ROM and kernel are shown in my signature.
Hopefully someone can give me a hint.
Greetings
Cua.
A little brainstorming:
An user in our german forum found out, that for the moment mounting seems only to work with thunderkat-kernel. But the folder is empty when trying to access. Maybe a problem with the correct rights.
Still in hope someone can help solving this problem.
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
Hi Everyone,
Hoping someone can help or point me in the right direction please. I have been searching google and xda like crazy but cant find answers or info that could help me clue on to my issue.
I just bought a nexus player. I flashed the factory image of the new 7.0 nougat. I then downloaded the x86_64 fugu kernel source code and toolchain. I have added exfat-nofuse to the fs folder of the kernel source, modified the fs/Kconfig and fs/makefile as instructed and in the kernel config I have added the ExfAt support as module (also tried adding as not module). Source and instructions from here. I have then unpacked the boot.img from the factory image and replaced the kernel with mine and repacked the boot.img and loaded it on my Nexus Player. In the about screen I can see my customer build name so I know the boot.img / kernel is in use. The problem is Android still does not detect drives where I have formatted as ExFat and android just asks if I want to use and format which will be Fat32.
Does anyone know if there are further modifications I need to make to the kernel source to get the ExFat support working? I assume teh kernel should / would auto mount but it seems to not even detect ExFat. I am currently trying to get adb terminal access to run commands and see if the ExFat module is there and loadable or anythign to give me an indication of what my issues are.
Any help greatly appreciated. Thanks in advance,
Paul.
Oh and the kernel is v3.10.20. Looking at the different sources it seems the Nexus Player started with and still is only kernel v3.10.20.
I would love to have ExFAT support on nougat, that's the only thing keeping me from updating my Nexus Player. If you figure it out please let me know. Now I did look at the link you provided about the instructions and what not, and was wondering if that github was for ARM devices only. At the top I believe it mentions android ARM. Not sure if that makes a difference or not