yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] madfix:
GT-I9000's CIFS support on startup with Hardcore's K10c kernel

Short story here, for all Samsung Galaxy S (I-9000) users.

You can find in it all links needed.

Hope you'll enjoy the hard work every developers involved in this job have done.
[Android Apps and Games] secoseco:
ASTRO, Root Explorer, ES File Explorer, RockPlayer all show the contents of the mounted folder, only VPlayer doe's not, VPlayer is faster than RockPlayer in playback

Edit: think that it's VPlayer issue, many other have same problem with VPlayer
[Android Apps and Games] mad-murdock:
Really faster? Should give it a try. Rock player and arc media play at high fps, yet faster sounds promising. Thanks for this info.

maybe I can give you info why it had issues with cifs after I tired it

Swyped with HTC Desire. Excuse typos.
[Android Apps and Games] wertigos:
maybe exist short story for telechp 8902 only 2.1 kernel 2.6.29 ?

(sorry, have brake to update)

format inside *.ts depends from transport stream

i.e.

mpeg2 SD channel = *.ts -> mpeg2

mpeg4 SD/HD channel = *.ts -> mpeg4

my question is:

how/than played *.ts files

my playrs say: unrecognized format...
[Android Apps and Games] secoseco:
by using ES File Explorer to browse DM mounted HDD, continue click on *.ts file and open as video using Vplayer

also you can stream directly form DM to your device using Vplayer, there is little app in Vplayer thread call OpenStream do the job
[Android Apps and Games] wertigos:
thx!

i have dreamdroid app to control my dm800,

and try stream with it.

but my tcc8902 don't have NEON on board.

vplayer not installs..

any alternatives?
[Android Apps and Games] secoseco:
sorry no information about APad
[Android Apps and Games] shongsa:
Is it possible to connect my phone to usb and set as mass storage while having network drive mounted? i tried but it wouldnt work. It would be a great addition if this is possible, wireless usb storage sounds really cool.... i have a tv that can play videos from usb and it would be really great if this is possible, rather than copying videos from my nas to usb storage it would be better if i can play directly from my nas via my phone
[Android Apps and Games] mad-murdock:
try mounting to /mnt/sdcard/cifs, then use sd dual mount widget from market. not sure if it works, but worth a try. Please give feedback. If it doesn't work, I got another idea but must test it first...

Swyped with HTC Desire. Excuse typos.
[Android Apps and Games] shongsa:
Thanks for the input, it didnt work although i could access from pc and phone at the same time, from pc the folder is just empty but from the phone it shows all the files from the nas.

without the app the sdcard wouldnt even mount properly on the pc while having network drive mounted, i couldnt access the internal sdcard from pc.

and perhaps an unrelated question, why there is cd drive on my pc when i connect my phone to my pc as mass storage? when using the app the internal sdcard is mounted as this cd drive, without the app it is like empty disk drive. my phone is galaxy s and i am using modified rom and kernel called SpeedMod form link below to get the cifs support

http://xdaforums.com/showthread.php?t=822756
[Android Apps and Games] muzicman82:
Where can I get cifs.ko that works with kernel 2.6.32.15-g59b9e50?
[Android Apps and Games] mad-murdock:
Okay, will do some testing tomorrow and see if I can help you. But no promises :)

Swyped with HTC Desire. Excuse typos.
[Android Apps and Games] nerunexus:
trouble setting up cifs

my smb://x.x.x.x work through Es file-manager but I can't get it right in cifsmanager.

Please give me the run down.

I entered my ip and user/pass but I get a no device error. I have a gpad g08

I don't know if I need to tweak the cifs.ko or just setup something differently.

Should I be entering smb://x.x.x.x or even smb://x.x.x.x/my Hdd's

just sharing 4 hdd's through smb.

any walk-through/help would be great. If its of any importance the smb is ran on unbuntu 10.10
[Android Apps and Games] mad-murdock:
Leavethe smb: part. Just use the share name as told in the example in cifs.manager

10.13.37.2/wtf for example... If you still get the error, get another kernel or another rom

Swyped with HTC Desire. Excuse typos.
[Android Apps and Games] nerunexus:
I was afraid you might say that lol. I started by conf that way. But changed it around a few times. I guess my problem is with the kernel. I have a gpad 2.6.29 build #385 but there isn't a firmware upgrade for it. and I'm not to sure there are other telechip custom rom's that will support it. I would mess around but until I have at least one copy of the firmware that I know works on my computer I don't want to pooch the one that is installed.

would be cool to get this to work though I guess for now I'll just stick with Estrong file viewer and copying everything over lol
[Android Apps and Games] mad-murdock:
The file manager is not kernel based, that's why it works. They just do all the network handling thyself.

Your options are using google to find the cifs.ko for your rom or find/build an version which fits the same kernel version and architecture. That SHOULD run even if not designed for your device

Swyped with HTC Desire. Excuse typos.
[Android Apps and Games] kagy:
Where to find modules

I'm getting the No such device error, looking through the modules/ dir there is only bcm4329.ko, so I know that cifs / nfs support isn't there.

Does anyone have links to where we can get the required modules, or hints on how to compile them for noobs.

e.g. read this tutorial ...

get source from here....

make blah blah etc

copy to phone

insmod etc

I'm happy enough with stock 2.2 so don't really want to start installing new ROMs.
[Android Apps and Games] shongsa:
Did you get it to work? Thanks for your effort :)
[Android Apps and Games] M0ng0:
Hi, i get the following error on my HTC Desire HD:

java.io.IOException: Error running exec().Command: [su] Working Directory: null Enviroment: null

Why i get this error?

Hope anybody can help me and tell me what i do wrong.
[Android Apps and Games] koukobin:
Hello,

does anybody has the cifs.ko for the Archos 70 or the Archos 101 (Android 2.2.1)?

thanks
[Android Apps and Games] augusrad:
Galaxy Tab

Hi,

can somebody write complete manual ?

How to execute

# insmod /sdcard/cifs/cifs.ko

insmod /sdcard/cifs/cifs.ko

????

what I need to do to execute this command ?

where can I find cifs.ko file for Samsung Galaxy Tab Froyo kernel 2.6.32.9

I did almost everything but got No device error form CifsManager means that my kernel don't support cifs, I would like to load cifs module but there is no information how to do it, I know that I should execute insmod command but how to get to console of the Tablet ?

Thx

R
[Android Apps and Games] M0ng0:
i give up already. i flash a custom rom with cifs support and it work!
[Android Apps and Games] Aquila:
I found the solution here.

And I did the same, first of all, I mount my NTFS partition to new mount point with my credentials.

sudo mount -t ntfs -o uid=konstantin,gid=konstantin /dev/sda2 /home/konstantin/Shares

after this I added that "shares" in smb.config as a regular share:

[Shares]

path = /home/konstantin/Shares

writeable = yes

browseable = yes

guest ok = yes

Hope this helps
[Android Apps and Games] mad-murdock:
Not rooted...

Swyped with HTC Desire. Excuse typos.
[Android Apps and Games] mad-murdock:
To all the "where do I get cifs.ko" questions:

If your rom had no cifs module -as do all the stock roms- you cannot use cifs manager.

There is a tiny chance you do get it running like I describeda few pages back, but it's much more complicated then installing a custom rom.

Really, get a custom rom or custom kernel which most likely got cifs.

Swyped with HTC Desire. Excuse typos.
[Android Apps and Games] ctos:
First of all, this is a great app.

I found a problem when mount with option iocharset=utf8, cifsmanager report below error message then failed to mount

Mounting the share has failed with an error.

mount: Can not access a needed share library

When I remove iocharset=utf8, mount success but I failed to access any folder including non-western characters.

It seems the issue is caused by CIfs_manager only loads the cifs.ko module, not load the nls_utf8.ko module. So far the workaround is load nls_utf8.ko manually or using a script to display non-western character set.

May I ask a upgrade to include load nls_utf8.ko? Thanks in advance!
[Android Apps and Games] kraml:
Could you add an setting that let the user load additional kernel module(s) besides of the cifs module? I need the nls_utf8 module to mount my share to see my native language chars. I don't want to use a init script to load the nls_utf8 module because it is useless until I am going to use cifsmanager.

Thank you for this nice app!
[Android Apps and Games] ourfear:
could you add a option to load nls_utf8.ko via your app interface?
[Android Apps and Games] supergiox:
insmod: init_module 'cifs.ko' failed

Hi!

I'm trying this app on my LG Optimus One P500 but I have the "mount: no such device" error.

Since my stock rom hasn't the cifs.ko module, I compiled it using android-ndk-r4b and LG source code.

Then I stripped the debug symbols (to reduce file size) and all seems to be ok!

But when I put cifs.ko into my phone (adb push cifs.ko /sdcard/) and I try to load it (insmod cifs.ko) I get this error:

insmod: init_module 'cifs.ko' failed (No such file or directory)

and dmesg says:

<4>[20460.381143] cifs: Unknown symbol slow_work_register_user
<4>[20460.383240] cifs: Unknown symbol slow_work_enqueue

What can I do?
[Android Apps and Games] Bledula:
Unable to mount a drive

Hi,

I've searched this thread left and right but I was unable to find a solution to the same problem.

I am using Win7 on both my machines and I have no problem browsing files over wifi on either of them or from my Dell Streak running Steve's 1.5.1 using EStrong file manager. For some reason I cannot browse files on my PC from DS using Astro. I get an error but I am sure I was able to do it before, maybe back on 1.6.

Still, it means that I can access files over smb on my PC's.

When using CifsManager I can apparently very easily mount my shared PC drives. To be more precise no matter what IP I fill in I get "The share has been mounted successfully" and "...has been granted superuser permissions". Furthermore when I try to access the directory it remains empty and upon returning to CifsManager I see the drive unmounted. Since I do not get any error message I am unsure of what is going wrong but something surely is when it successfully mounts a non-existent shared drive.

Could someone please elaborate or at least point in a direction on how to get it working?
[Android Apps and Games] kraml:
Your cifs.ko module use two symbols(function) slow_work_register_user and slow_work_enqueue, but they are not available in the current running kernel. Since you build the kernel module by yourself, the most probable reason is you selected some feature during configuration step that the stock kernel didn't choose to enable. You need to grep for these symbol name and see which source file are they in, and find out what configuration these files linked to, then reconfigure your kernel and disable it. If you just need additional cifs support, I suggest to check whether the file /proc/config.gz existed in your phone, that is the current kernel configuration. You can copy it out, gunzip and put in kernel source dir, make menuconfig and select it as the configuration, then add ONLY the cifs option(maybe codepage support also).
[Android Apps and Games] mad-murdock:
It's 99% wrong permissions..triple check your file permissions. Also consider while testing, win pc a uses it's login name and other bloody windows stuff on win pc b. So test results might be different than from phone.

Windows,cifs and permissions are a bloody hell, especially if you are new to them.good luck...

Swyped with HTC Desire. Excuse typos.
[Android Apps and Games] supergiox:
Thanks for the answer! :)

Before I have compiled the kernel, I have taken /proc/config.gz from my phone, I extraxt it, renamed it into .config and moved it into the root kernel directory (the same as I did "make menuconfig").

So I think it has imported the configuration of my phone (?)

In the menuconfig interface I selected "file systems -> network file systems -> cifs support (...)", I typed "M" to enable this module and I saved the configuration.

Are these steps ok?

However this is the result of the grep (I searched "slow_work" in the files of "fs/cifs" directory), as suggested:

cifsfs.c
---------------------
rc = slow_work_register_user(THIS_MODULE);
---------------------

cifsglob.h
---------------------
struct slow_work oplock_break; /* slow_work job for oplock breaks */
extern const struct slow_work_ops cifs_oplock_break_ops;
---------------------

dir.c
---------------------
slow_work_init(&pCifsFile->oplock_break, &cifs_oplock_break_ops);
---------------------

file.c
---------------------
cifs_oplock_break(struct slow_work *work)
cifs_oplock_break_get(struct slow_work *work)
cifs_oplock_break_put(struct slow_work *work)
const struct slow_work_ops cifs_oplock_break_ops = {
---------------------

misc.c
---------------------
rc = slow_work_enqueue(&netfile->oplock_break);
---------------------

Now what?
[Android Apps and Games] kraml:
Look into the config.gz file you extraced from the running kernel, there is a line for CONFIG_SLOW_WORK. If it says not set, then the kernel just don't have those slow_work_* symbols.

I don't have LG source code on hand, I use HTC. By looking into HTC kernel config, the CONFIG_SLOW_WORK is default to not set, thus the stock HTC kernel don't include the slow_work_* symbols. The Kconfig file in cifs dir indicates cifs mandatorily requires SLOW_WORK, so HTC stock kernel has no slow_work nor cifs, and the kernel compiled by other people have cifs also slow_work. If LG's source is similar, then I guess you need to also update the kernel zImage into your boot image, then your cifs module could be loaded in the new kernel.
[Android Apps and Games] supergiox:
You're right!

Infact, in .config:

# CONFIG_SLOW_WORK is not set

in Kconfig:

select SLOW_WORK

How can I apply these changes and create zImage?

Could it damage my phone?
[Android Apps and Games] kraml:
To replace you need to extract your current boot image, unpack, replace the kernel image(zImage), repack and get a new boot image, then flash it back to boot partition. And finally copy all your modules into /system/lib/modules/. This is usually done by an update.zip, which have all scripts and binaries included. The easiest way for you is to download a DIY kernel update zip for your phone in this forum, and replace the zImage and module files with yours. Of course if that kernel pack already support cifs you can just use it. Again this procedure is true for my HTC Desire phone, for LG it may be similar, or totally different. You need to learn those information in your phone's forum.

Your phone may not boot if you failed to change the kernel correctly. But you still can go into recovery and reflash with a different(or backup) image to get it back. In the worst case reflash with your Stock ROM should be able to save your phone. I highly suggest your learn and understand the procedures clearly before carry out.
[Android Apps and Games] supergiox:
I would use the DIY kernel source I'm using now because it supports overclock..

But in this way, I didn't understand how can I exclude slow_work symbols before recompiling the kernel (If not, my problem should persists, right?).

However, do you suggest me some guides to let me learn these concepts?
[Android Apps and Games] rumored:
hi there,

first, thanks for the nice app! :)

i have a desire hd with CM6.1.2 and mounting itself works, but 2 issues(couldn't find the answers in this thread, really looked..):

first one is probably just me being stupid and missing some mount options, but I can't get access as a normal user? in a root shell i can browse the share and copy files from it.. am mounting to /mnt/cifs/myshare, but can't change permissions for that folder either..

second, and more annoying, upon un-/remounting anything the phone just crashes, reliably every time.. guess that's an issue with my kernel, it's not the app as it also happens if i mount/umount manually.. so if anyone on a DHD got that fixed I'd really appreciate a hint,
[Android Apps and Games] colossus77:
Auto mounting points(?)

First of all .... thank you very much!

This is the best application for my home. It works perfectly on Folio 100.

A question ...

By configuring in this way:

Share path: 192.168.1.100/video

Mountig point: / mnt / sdcard / mypath / video

Share path: 192.168.1.100/music

Mountig point: / mnt / sdcard / mypath / music

etc.

Everything ok

In that way

Share path: 192.168.1.100

Mountig point: / mnt / sdcard / mypath

Can not find the share path (!)

I was expecting a similar result to ASTRO file manager + SMB plug in, then the automatic mounting of shared folders:

/ mnt / sdcard / mypath / video

/ mnt / sdcard / mypath / music

/ mnt / sdcard / mypath / documents

etc.

Is it possible?

Thanks in advance
[Android Apps and Games] colossus77:
Hi f3d0r, could you respond to my post number 265?

My request was to mount the drive (network IP address), not the folder.

In the same way ASTRO + SMB plugin.

Is it possible?

Thanks in advance
[Android Apps and Games] mad-murdock:
it's not possible, and it also would violate the right path.

cifsmanager is kernel based (mount -t cifs...) where as astro is userspace based and uses its own implementation - the reason why you cannot access the targets outside astro.

so, forget about it and create all the shares you need. optionally, you can create a batch file to mount all those shares with just one command.
[Android Apps and Games] colossus77:
Thanks so much for the quick response.

I understand the reason.

My case is a network device (Iomega iConnect) sharing USB drives showing as root folders.

And the name of the usb drives is always different so every time I have to run the remapping of the root folders.

(I'm sorry for my bad English)

I think it could be a common problem.

Thanks anyway
[Android Apps and Games] dviersel:
Permission denied: password characters

It took me some effort and experimenting. I followed the instructions but I kept getting "permission denied" when mounting a share.

Then I tried to mount a different share that allowed guest access: flawless!

Then I changed my old password containing "strange" chars like '[', ',' and '.' to a new one which is still strong but not with these exotic chars and lo and behold, the other shares can be mounted as well.

So, my conclusion: there need to be some more chars escaped to allow for complex passwords.

Other than that: Grrreat app!
[Android Apps and Games] dviersel:
Incorrect userid mapping

So, I finally was able to get Cifsmanager working and access my shares by simplifying my passwords. Now I have a different issue.

Although I was able to mount the share, as soon as I started using Astro, some directories remained empty. Upon investigation, it turns out that the uids and guids of the remote system are interpreted as from the Android system.

To explain: I access a share accessible only to user "user_remote", provide username and password and get access. However, "user_remote" has a uid of 1003. (On the android system, 1003 is the uid of the "graphics" user) However, on the android system, my own uid is 10124. As a result, when browsing the shares, my android uid does not match the remote uid and effectively, a lot of directories are inaccessible.
[Android Apps and Games] dortyuz:
folder names in Windows 7

Hi,

I can perfectly mount my folders on my Windows 7 notebook, however the folders that include blanks or Turkish characters in their names are not seen. Any patch for this?

cheers!
[Android Apps and Games] awak3n:
it seems really interesting, I should try it!!
[Android Apps and Games] xyzforum:
I tried cifs manager, but it does not work. The cifs manager gives me "no such a device" error, which, as explained in the 1st page, means no cifs support. However, I am using viewsonic gtablet with a customised rom with cifs support, and I tried another software "mount manager" and it works which proves that my rom support cifs.
[Android Apps and Games] landroids:
Media Player can't discover files in mount point

I managed to mount a shared folder from my Windows XP to my HTC Desire using the CIFS Manager. I have a problems though:

My media players (built-in and winamp) can't discover the songs in the remote drive, however I can browse them with ASTRO or even using a terminal window in my phone using Linux commands. If I click on a song when I am browsing the remote drive I can play it. What I am missing?

Considerations:

The only way I could manage to enable the mount point was using the Windows XP administrator user and password, I tried with other accounts, anonymous and blank with no success.

I am not sure if it is related, the "umount" command is not enabled in my phone for some reason (I tried it within the application and in a terminal window).
[Android Apps and Games] ianmcquinn:
Not sure if applies to your media players or not, but all the ones I've tried require the media to be on the sdcard in order to be detected. If that is the case, make sure you are setting the mount point to somewhere on the sdcard and not the default location (which is in the /mnt/cifs directory I believe).
[Android Apps and Games] landroids:
Thanks for your answer, I have actually tried having the mount point in the SDCard too with no success... this is my mountpoint information:

type cifs (rw, mand, relatime,unc=\\192.168.15.200\musicfiles,username=administrator,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.15.200,file_mode=0755,dir_mode=0755,serverino,rsize=16384,wsize=57344)

I hope this info is useful to clarify, I have tried adding these in the options field too: uid=1000,gid=1015,dir_mode=0777,file_mod=0777, the changes took effect (I can see the new values when I see my mount point information) but my media player software (I have 3 installed now) can't find the files.
[Android Apps and Games] ianmcquinn:
Not sure if this is the problem, but have you tried doing a rescan of your media after mounting the share to your sdcard?
[Android Apps and Games] landroids:
Thanks Ian, I was missing that... I was so focused on the android stuff that missed the obvious. I owe you a beer.
[Android Apps and Games] Jens1969:
How to set mount options?

Hi!

Is there anything I have to do to set mount options?

Tried dir_mode=0777,file_mode=0777, but mount (terminal) shows 0755 for file and dir mode, so I can't write to my shares.

Phone: SGS I9000, speedmod Kernel [K12L] with cifs support enabled.

Any ideas?
[Android Apps and Games] chareos12:
I'm trying to make my phone able to access my music folder, stored on my home server (which is on static DHCP, behind my router).

Now, I don't have a static public IP for my ADSL, so I'll have to rely on DynDNS.

I'm having no problems at all mounting my cifs shares inside my own network, so I know permissions are just fine.

I'd like to know if my goal is possible with CIFSManager, and eventually how...

right now I'm trying, with no success, the mount

homeserverIPaddress/homeservermusicshare@mychosenname.dyndns.xxx

Does it make sense ?
[Android Apps and Games] camalot:
I dont think CIFS works over the internet, but if it would, you would need to forward port 445 (at least that is the default port that it should use)

here is what Wikipedia says about it:
[Android Apps and Games] havocn16:
mac os x help

i'm tryin to get cifs to connect to 1 of my mac without any success any help would be appreciated.
[Android Apps and Games] mad-murdock:
i successfully set up cifs "over the internet" with openvpn. it works kinda great - only downside is, i cant watch my movies, since 1mbit upstream isnt enough (:

openvpn gui for android and google:openvpn should help to get this set up