Hey all, longtime reader here, I'm trying to stream divx/avi videos from my DLNA/SMB shares, and its been such a pain figuring this out.
while trying to mount a smb share using cifsmanager app, i get error, so i need to mod my kernel i think. I got a problem when trying to insmod cifs.ko, I get a 'exec format error', and i think the problem is that you need a kernel that is compatible with the version of cifs.ko in the /system/lib/modules directory. I was using chevyno1 1ghz lv kernel, and that didnt work, but slayhers kernel was able to insmod just fine. but i still could not get the cifsmanager app to work even then.
anyone got this working? i just want to be able to stream my avi/divx movies on my nas/smb shares, and run on bugless beast v.5, preferably with chevyno1 1ghz kernel....is there a diffrent version on cifs.ko that is compatible with chevyno1 kernel?
im also open to trying a different approach to streaming movies from smb share....so far there is no app that can play divx AND stream from smb. the only workaround i see thats feasable is to mount the smb share via cifs, and it will appear as a local file for vplayer or rockplayer to play divx. I cant figure out how to mount cifs. plz help!
Hi All,
Before I begin, I'd like to note that I am very new to the andoid system; I only received my Galaxy S about a month ago and before that I was a hardcore iPhone 3GS user.
I've attempted to search these forums for an answer to my query, but I have found it difficult due to the enormity of these forums.
With my iPhone, I was able to use a program called Air Video...I am not sure if anyone here is familiar with it. It allows you to stream video via WiFi from your computer to your iPhone with on the fly conversion. You'd install a small server on the computer then share the relevant folders. You could then access the shares from the iPhone and play any video files.
I have been attempting to find a similar app for my Galaxy S but the closet I've been able to get is CIF manager with a separate file manager and video player. My issue is that I cannot get CIF manager to work. I am after a compatible CIFS.ko file to enable me to access my Windows 7 shares.
Does anyone know where I can find said file? Here are my handset details:
Model Number: GT-I9000
Firmware Version: 2.2.1
Baseband Version: I9000XXJPY
Kernel Version: 2.6.32.9 hardcore speedmod-k13a-5000hz #32
Build Number: DocRom_V9.1.4_XWJS3
Thanks!
Eliminatrix
I would be very interested to know if you resolved this
I dont have solution for CIFS.ko but i have other solution.
I run a webserver on my computer. anything light will do.
from phone under wifi open the access your computer using browser.
navigate to your video file and copy the link
install vplayer and paste the link. So far it work flawless for me.
I not sure other free player works but vplayer you can fast forword without problem
Not sure if this will help, but MOST of the kernels in this forum have cifs support, you simply need to enable it via CWM.
Then you should be able to use CIF Manager the same way you would a samba share if you are familiar with linux or via windows shares (no need for additional program on the system).
Can you elaborate how? I do not see anything look like enabling cifs in CWM...
aznserpent said:
Not sure if this will help, but MOST of the kernels in this forum have cifs support, you simply need to enable it via CWM.
Then you should be able to use CIF Manager the same way you would a samba share if you are familiar with linux or via windows shares (no need for additional program on the system).
Click to expand...
Click to collapse
================================(updated 25/07/2012)
recompile new cifs.ko based on code from linux kernel 3.2.1 (with asynchronous read support).
there is 2 extra function needed in part of the kernel (which is not in the current 3.1.10 kernel).
however that doesn't stop it from working.
i am not sure under what conditions those 2 function will be called. when its being called, it might give error.
apart from that, initial test shows promising result. doubled the read speed.
please test.
do note. YMMV
new cifs.ko has a md5sum of
280303e69a92cd56f180956c838edbbd
in
cifs-async.zip
thanks.
===================================
updated,
i have re-compile a new cifs.ko with modified larger rsize, hopefully will have better read performance,
give it a try.
note: it appears that your NFS server needs to have support as well. so check out if you can set it to a bigger send buffer to have a faster read speed.
the md5sum for the new cifs.ko is
7a235de92c855b2933402dd1c62610fe
in
cifs_rsize_128k.zip
===========================================================
(require root to work).
i have created cifs module for the new 4.1.1 kernel for nexus 7
3.1.10-g52027f9
use this in conjunction with cifs manager
both
md4.ko and cifs.ko must be loaded to work.
as for the native language support (nls_utf8.ko), its down to yourself.
to use it,
under cifsmanager (when creating a new share)
set options "iocharset=utf8"
have fun streaming video!!!
qwerp_ said:
(require root to work).
i have created cifs module for the new 4.1.1 kernel for nexus 7
3.1.10-g52027f9
use this in conjunction with cifs manager
both
md4.ko and cifs.ko must be loaded to work.
as for the native language support (nls_utf8.ko), its down to yourself.
to use it,
under cifsmanager (when creating a new share)
set options "iocharset=utf8"
have fun streaming video!!!
Click to expand...
Click to collapse
I guess if I have to ask I shouldn't do it, but but what does this do?
Cgc2 said:
I guess if I have to ask I shouldn't do it, but but what does this do?
Click to expand...
Click to collapse
I may be wrong, but I believe it's to get CifsManager to mount your windows network shares automatically when rebooting your Nexus 7, so you don't have to mount a share manually every time.
Looking forward to trying this out when I get my Nexus 7. Thanks
Cgc2 said:
I guess if I have to ask I shouldn't do it, but but what does this do?
Click to expand...
Click to collapse
this allow you to mount windows drive, or even network enabled storage.
so that your video player like dice player or vlc can stream/play the file as its local.
its similar to using //192.168.1.1 on windows.
Salty Wagyu said:
I may be wrong, but I believe it's to get CifsManager to mount your windows network shares automatically when rebooting your Nexus 7, so you don't have to mount a share manually every time.
Looking forward to trying this out when I get my Nexus 7. Thanks
Click to expand...
Click to collapse
it doesn't mount automatically, but provide the interface to mount drive easily.
Wow, interesting and thanks for educating me on this use. However, why not use Airdroid and achieve similar results? Still learning, Thx folks.
We only have 6/15 GB to work with. Now, for me I can have 500GB and the apps will even index it for me just as if there were a folder with infinite amount of space on my sdcard
Sent from my Nexus 7 using xda app-developers app
this is basically similar to
External Storage Device Compatibility Review
http://forum.xda-developers.com/showthread.php?t=1766260
where instead of the "mounted" drive comes from your usbOTG cable reading from a external hardisk or card reader,
your mounted drive is a shared drive on your network. NAS drive, windows PC, linux, etc, anything that supports
Common Internet File System (CIFS)
http://en.wikipedia.org/wiki/Server_Message_Block
you will need to know abit of linux/android system to properlly use this,
make sure that your "nexus 7" about page, under kernel version matches "3.1.10-g52027f9", meaning you will have to OTA to 4.1.1 JRO03D to be able to use this.
Mate this is exactly what I came looking for. Awesome.
I use cifs manager on all my android devices because ES file explorer insists on fully caching apks before installing them doubling the time to do things.
Been setting up the missus nexus and it was a bit hard to explain to her how to get to the smb movies/series in ES file explorer to stream stuff.
Installed this, mx player and MovieBrowser HD from market and she now only needs to go into MovieBrowser and she has all her movies/series with lovely artwork and synopsis,and just clicks on anything and it automatically plays in mx player.
Good job sir, I don't need a custom kernel just for cifs.
Forgive me for being naive, is this a CWM flashable zip?
if not, what folder do i need to place these modules?
Demented-Idiot said:
Forgive me for being naive, is this a CWM flashable zip?
if not, what folder do i need to place these modules?
Click to expand...
Click to collapse
I created a folder in system/lib/ called modules and gave it permissions rwxr-xr-x
I extracted the 3 files into it and gave them each permissions rw-r--r--
Then install cifs manager from google play.
In cifs manager go to settings.
Click mount point prefix and type /storage/sdcard0/Shares
Tick on "load cifs module"
Tick on "Load via insmod"
Click path to cifs.ko and type /system/lib/modules/cifs.ko:/system/lib/modules/md4.ko:/system/lib/modules/nls_utf8.ko
Go back to main cifs manager page and add new share.
Under share path type "your ip of computer with shares on/sharename of folder on computer" eg. 192.168.0.6/Movies
Click under mount point and it will fill it in for you.
Under username put your username for PC that you log in with
Under password put the password that you log into your computer with.
Under options type ioch****t=utf8 (they have now banned a word that is within this word. It should be i o c h a r s e t without the spaces.)
Click save share.
Now when you click on the share name in cifs manager it should turn the light green to the right of it. If it doesn't you have done something wrong.
Now go to any file manager and go to your sdcard on tablet and there should be a "Shares" folder and inside should be the share you set up.
You can now use that as if it was a local directory. If you restart the tablet you will need to go into cifs manager again and click on the shares you want until they turn green.
HTH
thanks, very detailed response!
Demented-Idiot said:
thanks, very detailed response!
Click to expand...
Click to collapse
You're welcome.
Any probs give me a shout. As long as you know how to make a share on PC the last instructions should sort you out.
Whenever I set "iocharset=utf8" in options, I get segmentation fault when trying to mount a share. If I remove that option, then it mounts fine. But filenames in non-English characters (Chinese in my case) will either become garbage or not show at all.
Any one got "iocharset=utf8" to work? I've verified that all three modules are loaded correctly by cifsmanager.
flumpster said:
Under share path type "your ip of computer with shares on/sharename of folder on computer" eg. 192.168.0.6/Movies
Click to expand...
Click to collapse
Note for some incomprehensible reason CIFS manager requires a static IP address in the share specification.
(Just as described above) Do not assume hostnames will work here. They will not.
Thanks for the guide. Getting this feature turned up was high on my list.
One word of warning because I know a mate of mine did this by accident.
If you have a share set up on your computer with full read/write access and then wipe your SD card on android (or just delete the shares folder in your file manager) while the share is mounted in cifs manager then it will also delete the folder on your computer.
I don't have this worry because all my shares on computer are set up as read only to stop the kids accidentally deleting stuff.
Just a warning
Thanks for the instructions flumpster, helped a lot.
Might also advise on mounting outside of /sdcard, was seeing a lot of LAN traffic and Nexus 7 activity - turned out a number of apps were creating thumbnails and/or indexing items that was on my NAS drive. Poweramp, Gallery, QuickPic etc.
File Manager HD (Tablet) can play / view any type of file over SMB. Very simple.
Hemidroids said:
File Manager HD (Tablet) can play / view any type of file over SMB. Very simple.
Click to expand...
Click to collapse
So can ES file explorer which we already mentioned but that is not what we want.
This makes the folder ( or folders ) appear local so you can add it into any other app directly (mx player, movie browser hd, gallery, play music, etc)
---------- Post added at 08:11 AM ---------- Previous post was at 08:06 AM ----------
Salty Wagyu said:
Thanks for the instructions flumpster, helped a lot.
Might also advise on mounting outside of /sdcard, was seeing a lot of LAN traffic and Nexus 7 activity - turned out a number of apps were creating thumbnails and/or indexing items that was on my NAS drive. Poweramp, Gallery, QuickPic etc.
Click to expand...
Click to collapse
I have not tested this but have you tried putting a .nomedia file inside the "Shares" folder after it is first created? In theory it should stop them apps doing that.
@ OP
Thank you! This is exactly what I was looking for. I don't even have my order yet (was merely hoping for CIFS support), but this is about the only thing that makes this 8GB tablet usable, IMO.
I will provide feedback once I get the tablet in hand and have some time to experiment with CIFS.
Just wondering how these mounts behave as the tablet is moved around in/out of WiFi coverage and between LANs.
Is everything well-behaved? Any gotchas I should be aware of?
Hi guys!
i wrote a little guide to use DirectoryBind to "emulate" a memory swap, and install apps and data on external storage (USB Pendrive, HDD, mounted CIFS, etc)
This is valid for OUYA, or any rooted device.
hope you found useful.
Note: Is in spanish. use tranlsator to get a translated version. Hope i get some time and generate a proper English version to post here. If there is any guy that wants to help me translating, it will be nice.
http://manguiro.blogspot.com/2013/07/guia-rapida-bind4swap-directorybind.html
I created another guide, similar to BIND4SWAP, and i use a shared directory on my local net to use as a sdcard on any android device. This is useful if you want to "extend" your storage to a remote location, and you can use the same installed files on many android devices. i.e., i tested and use one single installation of my android applications (nova3 in example), and can load an play on my Ouya, JXDS7300B, JXDS5110B, S908, Motorla Razr, GPD5005, etc... all devices are pointing to the same net resource and load the files, without need of installing files on local device.
note: this guide (CIFS&BIND) is for fast local networks. If you have a slow network, then i suggest to use it for small size games, or games that loads small portions of data (i.e. Bard´s Tale is a game that runs ok in a 100mb speed network)
http://manguiro.blogspot.com/2013/07/cifs-directorybind-sambadroid-cifs.html
Now, i´m working in a new version of the CIFS&BIND guide, but i´m using the OUYA as network resource. I attached a HDD via USB to the console (350GB), and ouya uses as their sdcard (via DirectoryBind). I get over 120 games installed on the ouya... and share all these data to my other devices. I have only a problem for now, i want go create a Access Point Wifi on the Ouya, but all the software i tested hangs or get errors. I want to get advantage of the WIFI antenna of the OUYA because runs at 150mbs (wifi n), that is a good speed for many guys that don´t have a fast wifi router on their installations.
if you can help me with this, please send me a mp.
hope these guides will be interesting and useful.
Zalu2!
Deen0X said:
http://manguiro.blogspot.com/2013/07...ctorybind.html
http://manguiro.blogspot.com/2013/07...roid-cifs.html
Zalu2!
Click to expand...
Click to collapse
urls are truncated and invalid
http://manguiro.blogspot.com/2013/07/guia-rapida-bind4swap-directorybind.html
http://manguiro.blogspot.com/2013/07/cifs-directorybind-sambadroid-cifs.html
emulation said:
http://manguiro.blogspot.com/2013/07/guia-rapida-bind4swap-directorybind.html
http://manguiro.blogspot.com/2013/07/cifs-directorybind-sambadroid-cifs.html
Click to expand...
Click to collapse
thanks!
fixed!
CIFS.ko is not present in rom................. anyone have?
http://forum.xda-developers.com/showthread.php?t=2308740 <--- You can try this.
emulation said:
http://forum.xda-developers.com/showthread.php?t=2308740 <--- You can try this.
Click to expand...
Click to collapse
I get OuyaStockPlus installed on my OUYA, and this come with CIFS module...
Hi all
6.0 mounts to /mnt/media_rw/ but I can't seem to get any media players to see it. I tried creating a symbolic link in /storage/emulated, but I get an error with root explorer about symbolic links not being supported. Stickmount works fine as it mounts to /sdcard/usbstorage/ but I'd rather not use it. Any ideas?
I'm using Chroma (10/19), not that it really matters. But, battery life is amazing if anyone's interested. I'm now getting about 5.5hrs screen on time from about 3-3.5.
kos26 said:
Hi all
6.0 mounts to /mnt/media_rw/ but I can't seem to get any media players to see it. I tried creating a symbolic link in /storage/emulated, but I get an error with root explorer about symbolic links not being supported. Stickmount works fine as it mounts to /sdcard/usbstorage/ but I'd rather not use it. Any ideas?
I'm using Chroma (10/19), not that it really matters. But, battery life is amazing if anyone's interested. I'm now getting about 5.5hrs screen on time from about 3-3.5.
Click to expand...
Click to collapse
The FUSE file system used for /sdcard does not support symlinks, correct. You can only really do this on EXT4 file systems.
Stick mount and Folder mount will work with root and at the moment you have no choice other than to use them. That is until all the media player apps are updated to look in /mnt/media_rw for data (because at the moment they are only coded to look at /sdcard)
Wish someone to make an Xposed module or something. I really don't understand why marshmallow doesn't make otg mounted like lollipop.