[Android Apps and Games] innerspace:
How to mount SMB shares on your LAN using CIFS

First off let me say thanks to our developer for taking the initiative on such a big project. Secondly let me repeat for the record statements made by the developer, Mizuu movies was never intended to handle large media libraries, using CIFS to mount large volumes on your LAN opens the application up to usage scenarios that are outside of the publisher's original intent.

That being said I feel I should state for the record the following:

If you use CIFS as described below DO NOT whine, ***** or moan to the developer of Mizuu Movies if your library is beyond the 32GB of internal storage available in most tablets today. Failure to heed this warning will result in me pulling this post. I'm not sharing this info to cause our friendly host trouble so BE GOOD.

Here's how to use CIFS on your device to access movies, photos and music stored on your local network:

Pre-requisites:

1) A working SMB share (may have a password, start with a wide open share for testing and secure to your liking).

2) CIFS Manager (Available on the Market as a free download, google is your friend.)

3) A wireless connection to your LAN

4) A rooted ROM running a CIFS enabled kernel OR a rooted rom and a CIFS.ko module built for your device. (If this module doesn't exist for your device or ROM of choice, ask your friendly ROM developer nicely if they can build it for you, or goto google and start reading.)

How to mount a local SMB share:

1) connect to your LAN

2) Open CIFS Manager

3) Navigate to "Settings->Mount Point Prefix" and enter /mnt/cifs

4) Select "Load CIFS Modules"

5) Choose how you want to load CIFS modules under "Advanced module config":

Option A: If you have a CIFS enabled kernel you are finished setting up CIFS Manager and can exit the settings page

Option B: If you are using a CIFS.ko module select "Load via insmod" and enter the path to your CIFS.ko module (mine is in /system/lib/modules/) then exit the settings page.

Creating and mounting a SMB share:

On the main page of CIFS Manager hit Menu and choose "Add new share..."

The following variables must be entered:

Share Path = IPaddress of your PC and share name (ie 192.168.1.100/MOVIES)

Mount Point = the directory on your android device that will be used as temporary storage. **NOTE: nothing is actually saved to this location, it is only a placeholder for the data in your SMB share

Username = a valid user account for the PC host defined in "Share Path" who has access to the SMB share (/MOVIES in my example).

Password = the above users password

Options = are exactly this, optional. here you can set options for local domain, read-only/read-write and more. NOTE: I leave this blank and all works fine in my LAN, YMMV.

You're All Done! Hit "Save" and you'll be returned to the CIFS Manager interface where you'll see your new network drive.

To connect simply tap the drive, CIFS Manager will ask for root permissions and be granted access by su and if all is well you will see a green dot next to your CIFS share and a message pronouncing the share has been mounted successfully. Tap the drive again and your default file browser will open and display it's contents.

That's all there is to it.

CIFS only allows you to access shares when you are connected to your home network. If you have OpenVPN installed and configured correctly you should, in theory, be able to access these files in this method from anywhere securely but that is far beyond the scope of this otherwise overly long post.

AGAIN: DO NOT TURN THIS THREAD INTO A CIFS DISCUSSION!!! THIS THREAD IS FOR MIZUU DEVELOPMENT!!

If you have questions use the search button, either here at xda or over at google, your choice :)

If you found this post helpful, click Thanks!