[Q] CIFS Module for stock rooted nexus 4 - Nexus 4 Q&A, Help & Troubleshooting

Is there some cifs.ko module for a stock android 4.3 on the nexus 4 or any other way to mount a samba share on the nexus 4 (device rooted and with busybox)

No module support for stock kernel. How about es file manager or astro?
Sent from my phone. Please forgive typos and brevity.

ziddey said:
No module support for stock kernel. How about es file manager or astro?
Sent from my phone. Please forgive typos and brevity.
Click to expand...
Click to collapse
I'd like to mount a samba share on android so that other app can use the share
In this case I want titanium backup to backup and restore directly from the samba share

maybe do some research and see if there's a viable FUSE based solution. wouldn't need CIFS then

For what it's worth, I just compiled a cifs module that *should* work on franco's kernel: http://d-h.st/00X
Also this may help: http://forum.xda-developers.com/showthread.php?t=2307628

ziddey said:
For what it's worth, I just compiled a cifs module that *should* work on franco's kernel: http://d-h.st/00X
Also this may help: http://forum.xda-developers.com/showthread.php?t=2307628
Click to expand...
Click to collapse
I'll check that, I'd be fine with a adb hack also
ziddey said:
maybe do some research and see if there's a viable FUSE based solution. wouldn't need CIFS then
Click to expand...
Click to collapse
Thanks do I also need md4.ko ?

Looks like CONFIG_CRYPTO_MD4=y for franco so it should already be built in. Not sure what you mean by "adb hack"

ziddey said:
Looks like CONFIG_CRYPTO_MD4=y for franco so it should already be built in. Not sure what you mean by "adb hack"
Click to expand...
Click to collapse
Thanks, by adb hack I meant maybe there is a way to mount a folder from the pc to android through USB

Related

Kernel Modules for 7310

Edit: these are useful for stock 3.1 and should not be used with my kernel. See my kernel post for current capabilities etc.
Please use this thread to post kernel modules for the Samsung Galaxy 8.9
The kernel modules I post are compiled from the model 7310 WiFi-only kernel source released by Samsung for kernel 2.6.36.3 and Android 3.1. I do not know if they will work on any other model besides the 7310, but you are free to try.
You must have root access and mount "system" as read/write.
Create a folder called "modules" inside of /system/lib and copy the kernel module (.ko) into "modules"
cifs.ko - to mount shares from Windows, Linux and Mac
-View attachment 7310_cifs.ko.zip
-Unzip cifs.ko and verify with SHA1 65c5cc08ee5a4878fc99060885ecaefd6961a9f
-CifsManager from the Android Market works well. Goto "Settings..." and check both "Load cifs module" and "Load va insmod". The default path will be as shown (/system/lib/modules/cifs.ko)
View attachment other_7310_modules.zip
nls_utf8.ko 3b066984e0dca109df4fe234ea7b91f396448e58
option.ko f46babd6a030bc536869915961971bd110efb3b8
tun.ko 826b5b40749bfbd8978eee4e65838380bd614364
usb_wwan.ko cd76f800e39ce0883feb6a093242757e0a15d829
View attachment ntfs.ko.zip
ntfs.ko ee47d0f110aca30db79accbbc0058292491372a4
Please give "thanks" if this was helpful. If you are looking for a common module, please make a request and I will see what I can do. I have a regular job and a family, so I can't promise how long it will take or that it will work since I may not have the hardware to test it.
Thanks motley. A tip for other noobs like me: don't download through Tapatalk.
Sent from my GT-P7310 using Tapatalk
this is great, thanks for working on the tab 8.9. i think many of us 8.9 owners are a little sad we have so little development going on.
thanks , it works both on stock rom and overcome's rom, well done !!
Hi _motley,
do you know how to mount modules for east asian character folder ?
it seems involved with nls_utf8 module , i'm using cifs mgr...
batch load both cifs.ko and nls_utf8.ko from CIFS mgr , not work,
but western character works normally.
Alternatively , I use script to insmod , then works fine,
anyway , it works , thank you a lot.
Hi
Thanks a lot !
Any chance to get the NTFS Module as well ?
Thanks for testing, glad to hear cifs is working.
kevinchg, not sure on your mounting issue when also loading nls_utf8.ko, I don't currently have a way to test it, but I would make sure that you have your path's and options setup correctly in cifsmanager. Don't quote me, but I think you need to separate the two module paths by a semi-colon and I believe you also need to specify the option "iocharset=utf8" (or something like this) within your share configuration.
fishton, the NTFS module has been added. Let me know if it works for you. Can't believe I left this one out...would like to use it myself.
Thanks ! Will test it tonight and let you know if it works
I'm curious why you guys need the modules. As far as I can tell, they were built into the kernel on my 8.9 tab. I had no problem mounting cifs/ntfs shares and didn't need anything to do so.
phonic said:
I'm curious why you guys need the modules. As far as I can tell, they were built into the kernel on my 8.9 tab. I had no problem mounting cifs/ntfs shares and didn't need anything to do so.
Click to expand...
Click to collapse
Which model do you have? Perhaps you are mounting network drives with ES File Explorer or something like that that has SMB built-in? Neither the config from /proc/config.gz or the defconfig from the kernel source I downloaded from Samsung have any of these options built into the kernel. I definitely can't mount using cifsmanager without loading the cifs.ko module.
For NTFS, we are talking about mounting NTFS hard drives via USB. Haven't tried that yet...perhaps the other gentleman will report back if he tries.
Hi
I tried your NTFS Module yesterday and have been able to load the module. But unfortunately, I haven t been able to find the proper command for mounting my disk.
Could you advice me ?
Thanks !
fishton said:
Hi
I tried your NTFS Module yesterday and have been able to load the module. But unfortunately, I haven t been able to find the proper command for mounting my disk.
Could you advice me ?
Thanks !
Click to expand...
Click to collapse
Give this app a try and see if it works. I'll try to play around with this myself when I find some time.
https://market.android.com/details?id=au.dach.drivemount
Also, see this:
http://forum.xda-developers.com/showthread.php?t=1131924
Already tried both, no luck with it
Hi
Many thanks for your v2 kernel all smooth for me with OVC 2.1
I'm looking at for a working cifs.ko. The one given here never worked for me (exec format error) with previous kernel and the v2.
Any chance to get one to test from your v2 kernel build?
Thanks again.
Sent from my GT-P7310 using xda premium
questionmark said:
Hi
Many thanks for your v2 kernel all smooth for me with OVC 2.1
I'm looking at for a working cifs.ko. The one given here never worked for me (exec format error) with previous kernel and the v2.
Any chance to get one to test from your v2 kernel build?
Thanks again.
Sent from my GT-P7310 using xda premium
Click to expand...
Click to collapse
With the latest versions of my kernel, you don't need any modules...it's built right into the kernel. Only the stock kernel and the first alpha release of my kernel needed modules.
_motley said:
With the latest versions of my kernel, you don't need any modules...it's built right into the kernel. Only the stock kernel and the first alpha release of my kernel needed modules.
Click to expand...
Click to collapse
ho...!
Indeed used cifsmanager and got my share name wrong...
Thanks
Sent from my GT-P7310 using xda premium

kang ICS and CIFS support?

I have the 24 jan wifi only CM9 Kang installed.
Im trying to use cifs / smb manager to connect to my shares, however does not seem to work. I use a cifs.ko that worked with smb on hc3.2.
What can be wrong?
onno72 said:
I have the 24 jan wifi only CM9 Kang installed.
Im trying to use cifs / smb manager to connect to my shares, however does not seem to work. I use a cifs.ko that worked with smb on hc3.2.
What can be wrong?
Click to expand...
Click to collapse
Try ES File manager. Worked fine for me.
this still a beta version, probably you will find lots of bugs
onno72 said:
I have the 24 jan wifi only CM9 Kang installed.
Im trying to use cifs / smb manager to connect to my shares, however does not seem to work. I use a cifs.ko that worked with smb on hc3.2.
What can be wrong?
Click to expand...
Click to collapse
Hai,
Problem is a different kernel than what is used in 3.2. Only option is to wait for an compatible cifs.ko from some..Pershoot
Or start learning mad coding skills ;-)
Sent from my GT-P7500 ICS using xda premium
well.... then I'll better start reading books ....
Just installed 12/2/12 kang, where I found something in the changelog on cifs support... but cant still cant get it to work. Tried ES file explorer today, but havent had time to dig into options. Also, I want to mount shares natively so I can connect from within apps, not via file manager.
So anybody can make me happy and knows about a cifs.ko that works with ics kang? (because with my coding skills, cifs is obsolete technology when i have this module finished..
onno72 said:
So anybody can make me happy and knows about a cifs.ko that works with ics kang? (because with my coding skills, cifs is obsolete technology when i have this module finished..
Click to expand...
Click to collapse
Directly from pershoot's github: https://github.com/pershoot/android_device_samsung_p4wifi/tree/ics/modules
latest kangs include the modules now. using cifs manager right now
quikt said:
latest kangs include the modules now. using cifs manager right now
Click to expand...
Click to collapse
Yup I'm using the latest AOKP and it has CIFS support too

[Q] Anyone got CIFS working on JB 4.1.2?

I've been beating my head against the ground for two full days trying to get a working solution for CIFS under 4.1.2.
Anyone ACTUALLY gotten it to work? 4.1.1 JB CIFS.KO (and related) files do not appear to work. The latest franco kernel Milestone 6 doesn't seem to work.
I NEED CIFS - so I cannot upgrade to 4.1.2 until I'm sure I can get CIFS working again.
Anyone's thoughts would be appreciated.
I also do not have this working... Anyone have a fix?
the .ko files survived the update... but still not working...
EDIT: I would subscribe to this
http://forum.xda-developers.com/showthread.php?t=1781411
I already did just waiting...
SmoothROM 3.2 (4.1.2) supports proper CIFS .. I'm free!
http://forum.xda-developers.com/showthread.php?t=1899024
My current workaround: es file manager's lan support.
Since it is working in a 4.1.2 custom rom, I wonder if the CIFS.KO file was updated or ... if something was built into the ROM to support it.
I'd happily dump the CIFS.KO file if anyone here wants to see if THAT is all it would take.
Please dump the CIFS.KO file here, I'll giv it a try!
Sorry I'm kind of new to all this lingo, but do you mean the File Manager? I seem to be having that problem right now.
kevion4 said:
Sorry I'm kind of new to all this lingo, but do you mean the File Manager? I seem to be having that problem right now.
Click to expand...
Click to collapse
It is just a file browser with lots of features.
Google Play > search > "es file manager"
CIFS works fine with stock 4.1.2 and the faux123 kernel (v012b6es). It has CIFS builtin, no cifs.ko needed.
For those looking to get cifs working on a stock kernel, XDA member chrkad was able to compile the modules to work on stock rooted JB 4.1.2 JZO54K kernel 3.1.10-g009b6d1. See forum link below;
http://forum.xda-developers.com/showpost.php?p=33036537&postcount=115
OK, how 'bout 4.2, now!
jmdearras said:
OK, how 'bout 4.2, now!
Click to expand...
Click to collapse
Negative on stock, rooted 4.2; still using ES LAN support (which still works surprisingly well)

[Q] CIFS/SMD Mount

Hey,
today I tought about mounting my Windows network share on my rooted Nexus 4.
I searched a bit and found the App CifsManager, but it doesn't seem to work.
I think the problem is a missing module the kernel needs, cfis.ko rather.
Are I am right when I think there needs to be a device-specific module?
If so, is there already a module out there? If not, can you post a link to the needed module?
When I'm out in left field, how do I mount my network shares?
Greetings
I would also very much appreciate it if someone could direct me to a cifs module for the stock 4.2.1 kernel.
Bump -- anyone know which kernels include a cifs module or where one could get a cifs module for use with 4.2 on the N4?
Thanks
Bump.
Bump.
HashWorks said:
Bump.
Click to expand...
Click to collapse
I understand CM 10.1 has CIFS support built into the kernel. That said, I still cannot get it to work - neither through cifsmanager or through adb shell manually.
I am going to post some request for assistance to see if I can get this working and will post back here if I do.

[Q] Can I use cifs.ko, and other modules from another device running 4.2.2 on my g4?

More specifically- will the methods described in this thread work for a Galaxy S4 devices running 4.2.2? I'm trying to mount my network drives over my vpn.
http://forum.xda-developers.com/showthread.php?t=2003836
drkoolbeanz said:
More specifically- will the methods described in this thread work for a Galaxy S4 devices running 4.2.2? I'm trying to mount my network drives over my vpn.
http://forum.xda-developers.com/showthread.php?t=2003836
Click to expand...
Click to collapse
Kernel modules are device specific. More so they are KERNEL specific. Meaning whoever compiled the *.ko module would have to have the same computer name as the person that compiled the KERNEL.
Short answer? No.
Shucks. Okay, thanks for the heads up. I'm no Android/Linux pro so it looks like I'll be at the mercy of the devs awhile longer then. This didn't really surprise me in the least.

Categories

Resources