I updated from CM10 to the latest CM11 nightly and noticed that I the system/lib/modules appears to be missing? I use mount manager to mount and access my home server shares, but CM11 seems to missing the modules?
I even copied them over from my wifes tablet yet mount manager still doesn't seem them either.
Anyone have any ideas?
ptmuldoon said:
I updated from CM10 to the latest CM11 nightly and noticed that I the system/lib/modules appears to be missing? I use mount manager to mount and access my home server shares, but CM11 seems to missing the modules?
I even copied them over from my wifes tablet yet mount manager still doesn't seem them either.
Anyone have any ideas?
Click to expand...
Click to collapse
yep, i got the same bug. Hope you found a solution!?!
smoschi said:
yep, i got the same bug. Hope you found a solution!?!
Click to expand...
Click to collapse
I actually did find a solution or work around. I copied the cifs.ko module to my storage/sdcard0/downloads location and then was able to see and add the module.
It did seem to be hit and miss in loading at first, but seems to be holding and mounting the shares. Have had no issues in the last week or so.
I also updated to the SnapShot-M8 the other day, but unsure if made a difference or not.
ptmuldoon said:
I actually did find a solution or work around. I copied the cifs.ko module to my storage/sdcard0/downloads location and then was able to see and add the module.
It did seem to be hit and miss in loading at first, but seems to be holding and mounting the shares. Have had no issues in the last week or so.
I also updated to the SnapShot-M8 the other day, but unsure if made a difference or not.
Click to expand...
Click to collapse
Thats great to hear,
cant believe that nobody use cifs. Im on cm11and cant find cifs.KO and i think its not included in cm kernel. Plesse give a link for cifs.KO files fr nexus10 ... Thank you
will this module work on stock rooted 5.1.1 ?
Related
Have a new NC running quite well using dalingrin's kernel and latest CM7 nightly. Have everything working on it smoothly but can't seem to get CIFSManager working -- would love to use this to stream videos (using Mobo) with this.
I set everything up as indicated on this site as well as on iamafanof.wordpress.com/2010/12/27/streaming-epub-books-media-to-nook-color-with-cifsmanager. I keep getting the error "Mounting the share has failed with an error.mount: Mount not found". Does anyone have any idea how to fix this? CifManager was able to create the mount folder on the SD card that I am using so I assume it has the correct permissions and was able to find it in the first place. Also, since I use dalingrin's kernel, I assume the cifs.ko is built into CM7, which combines the .ko into tiwlan_drv.ko by dalingrin. I also assume I don't have to check any of the settings boxes as tiwlan_drv.ko is loaded on boot.
Anybody with any ideas or help? Would be much appreciated! THanks.
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 i am from india i have i9300 s3 me installed latest omnirom 4.4kitkat with latest twrp and got installed but the wireless is not working i tried but when try to connect signal get low even i am near the router please solve this problem i have installed five times and roll back to official rom ....:crying:
aamitgulia said:
hi i am from india i have i9300 s3 me installed latest omnirom 4.4kitkat with latest twrp and got installed but the wireless is not working i tried but when try to connect signal get low even i am near the router please solve this problem i have installed five times and roll back to official rom ....:crying:
Click to expand...
Click to collapse
Same to me, i have tried everything, flashed different builds even the latest, but wifi don't connect it's only sees the networks. Everything is Omni stock, also tried with latest cwm and latest twrp to flash build and all the time the same wifi don't connect to network even if i disable the encryption to not secured (no wep, wpa, or wpa2) without password won't connect.
I don't know what to do more, i'm stucked to CM10.2 while i cannot use wifi on Omnirom 4.4 and even CM11
Maybe @Entropy512 can help us, you know what could be?
It's working fine for others, which makes me guess that you guys might have a new wifi MAC address configuration that needs to be added to macloader...
Entropy512 said:
It's working fine for others, which makes me guess that you guys might have a new wifi MAC address configuration that needs to be added to macloader...
Click to expand...
Click to collapse
Thank you very much for your reply.
I have checked with CM10.2 and the mac in Omni seems to be identically with the one from CM10.2, even on CM11 i have the same mac with CM10.2 and omni but only on CM11 and Omni wifi does not connect only saves the password.
Anyway, how this can be done with macloader, is anything we can do? can you be more/give specific/details?, or this has to be done from I9300 omni sources?
Is very frustrating that i'm not able to use the wifi on any router that i have home and at work....
mrbenbiz said:
Thank you very much for your reply.
I have checked with CM10.2 and the mac in Omni seems to be identically with the one from CM10.2, even on CM11 i have the same mac with CM10.2 and omni but only on CM11 and Omni wifi does not connect only saves the password.
Anyway, how this can be done with macloader, is anything we can do? can you be more/give specific/details?, or this has to be done from I9300 omni sources?
Is very frustrating that i'm not able to use the wifi on any router that i have home and at work....
Click to expand...
Click to collapse
https://github.com/omnirom/android_...07f7f09e24735e888c3bd/macloader/macloader.cpp
Can you post the first 3 bytes of your MAC (please don't post the last 3, that's a privacy issue) and also what is present in .cid.info when you're running stock?
Entropy512 said:
https://github.com/omnirom/android_...07f7f09e24735e888c3bd/macloader/macloader.cpp
Can you post the first 3 bytes of your MAC (please don't post the last 3, that's a privacy issue) and also what is present in .cid.info when you're running stock?
Click to expand...
Click to collapse
Hello,
So in /data/.cid.info i have: murata but this in CM10.2 in Omni this file is missing from /data, it's placed somwhere else?
The first three bytes of my mac are: 1c:99:4c
Thanks man for trying to solve my and probably other user issue.
LE: i have tried to manually copy from CM10.2 .cid.info to Omni /data and set proper permission via es file explorer and rebooted, but after reboot file got removed by the system i think wasn't there anymore as system default on clean flash.
Sent from my GT-I9300 using Tapatalk
mrbenbiz said:
Hello,
So in /data/.cid.info i have: murata but this in CM10.2 in Omni this file is missing from /data, it's placed somwhere else?
The first three bytes of my mac are: 1c:99:4c
Thanks man for trying to solve my and probably other user issue.
LE: i have tried to manually copy from CM10.2 .cid.info to Omni /data and set proper permission via es file explorer and rebooted, but after reboot file got removed by the system i think wasn't there anymore as system default on clean flash.
Sent from my GT-I9300 using Tapatalk
Click to expand...
Click to collapse
Macloader generates it on reboot, and if it doesn't recognize the MAC address, it will just nuke the file and not regenerate it (see the source code I linked)
1c:99:4c is not a recognized MAC in our macloader - so I'll add that tonight. If I manage to merge it before nightlies, your MAC address should be working tomorrow.
I have just check the link and now i understand what is really happening thanks to you.
I'm happy that finally someone heard me and found the solution for my problem and probably for others with these three bytes.
Many thanks once again for your help :beer:
Sent from my GT-I9300 using Tapatalk
https://gerrit.omnirom.org/#/c/3116/
Entropy512 said:
https://gerrit.omnirom.org/#/c/3116/
Click to expand...
Click to collapse
Working!
Entropy512 said:
Macloader generates it on reboot, and if it doesn't recognize the MAC address, it will just nuke the file and not regenerate it (see the source code I linked)
1c:99:4c is not a recognized MAC in our macloader - so I'll add that tonight. If I manage to merge it before nightlies, your MAC address should be working tomorrow.
Click to expand...
Click to collapse
Hi.
I too have a problem with wifi connection on every omni rom
Is there anything we can do?
My mac is
10:A50
please add mine too
Code:
10:A5:D0
Edit: Didn't see this
https://gerrit.omnirom.org/#/c/6301/
I'm currently running an OMNI build for everest, which is working delightfully well. The only thing I can't seem to achieve is to mount a CIFS directory. Actually, it can be mounted, but its contents are only visible to root.
While doing some research I found this thread. For what the description says, I assume this fix has been applied in CM, since I was able to mount CIFS (outside of /storage) before switching from CM to OMNI.
Would these patches be applicable for OMNI? If so, I would try to ask the everest ROM creator to apply them, or even try myself. But I'm afraid I may be lacking the knowledge to judge whether it'd just be a waste of time.
Thanks in advance for any tips on this matter.
Any update on the topic? I've tried Omni on my Nexus 10 and it runs perfectly well but this is the last thing that stops me from using the ROM. After mounting the data from my CIFS or NFS share the data is only available from the app performing the mount. The patches in the link from the previous post seems to work around this issue, is there any chance it could be applied to OmniROM?
Try to mount your folders manually (or by GScript) with Superusers --mount-master switch to make the mounts available to all processes. Something like this.
The su binary now also has a "--mount-master" option that connects you to a su session in the main mount namespace. Mount commands in this session should affect all processes. This is still a bit experimental, and getting it working requires a reboot after upgrading the binaries from a pre-1.93 version. This feature has been asked for a lot by devs, and it escapes the need to hijack system services to affect system-wide mounts, which is becoming more complicated with every Android release. A new version of StickMount will be released in a few days as well, taking advantage of this feature, and thus avoiding a number of issues some are seeing.
https://plus.google.com/+Chainfire/posts/hLKytCwUm6k
Click to expand...
Click to collapse
Alternatively, there is still the possibility to hijack a system service (like SSH one) to point to a script instead that will bring up your mounts. I'm personally using this so i haven't checked the SU method yet.
Good Luck!
DualJoe said:
Try to mount your folders manually (or by GScript) with Superusers --mount-master switch to make the mounts available to all processes. Something like this.
Alternatively, there is still the possibility to hijack a system service (like SSH one) to point to a script instead that will bring up your mounts. I'm personally using this so i haven't checked the SU method yet.
Good Luck!
Click to expand...
Click to collapse
Thanks, --mount-master works like a charm!
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, ^.^