Kernel Modules for 7310 - Galaxy Tab 8.9 Android Development

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

Related

[IDEA] 2 TB SDCARD for Free 8) Mount CIFS Shares deppending on WLAN Access Point

Hello world ! 8)
I mannaged to mount my complete shares on my windows Network to SD-Card ...
I'm using CM6 RC1 and i can simply do a :
modprobe cifs
mount -t cifs //192.168.0.X/share /sdcard/smbshare -o username=XXX,password=YYY
on Computer (PC-here 192.158.0.X) you have to make a share with the name "share" - on SDCARD in your android you have to make a directory with the name smbshare - the dir you are going to mount the PC-Share into)
magicly my sdcard is now a 1,5 Terabyte hdd ... 8)
No more streaming clients are need - just access MP3/DivX/MKV/PDF/etc.
WITHOUT DOWNLOADING TO SDCARD FIRST ...!
(watched a DivX movie directly with Rock-Player 5 minutes ago ... no copy to SDCARD nessasary)
Problem : after a reboot everything is gone ... 8) ... no automatic rermount - no difference between different WLAN-Routers
I am not firm enough on linux to write a script and do the neccasary things to get some logic behind this feature.
It would be wonderful if someone can programm a gui which fires up the nessasary mount when connecting to a wlan - differing between different wlans (networks) with different ressources.
shelling arround is not the best way for android users - something GUI like (e.g. Astro with SMB Modul - but mounting the share instead of copying to sdcard) would give everyone direct access to every file on the network without the nessasary streaming.
Even VPNing to the share should be possible ... giving direct access without streaming servers like ORK/etc.
Good idea ? please add some comments ...
************************************************************
************************************************************
Edit :
A small GUI frontend for managing CIFS shares is available in the following thread:
http://forum.xda-developers.com/showthread.php?t=756158
Let the show beginn !
Very good idea.
I'll take a look into it. Maybe after the weekend. We'll see..
That sounds f**** great! 8)
Thanks for the positive reply!
Sent from my Desire using XDA App
fogbav you can use GScripts for have a link to a script that do this command for you, and have differents scripts for do the same on different WLan.
Code:
#!/bin/bash
MY_USERNAME="your_user_name_here"
MY_PASSWORD="your_password_here"
modprobe cifs
mount -t cifs //192.168.0.X/share /sdcard/smbshare -o username=${MY_USERNAME},password=${MY_PASSWORD}
Wow ... that looks promising ... will test soon.
Thank you very much for the script !
Edit : Works like hell ... thank you ! Now let's see if beidl can do some magic tricks with "usability" and "different WLAN/Shares" logic.
Thank you all ...
What firmwares are you guys using? I'm on LeeDroid 1.6 and seems like cifs is not present for me after doing 'lsmod'. Thanks.
Cyanogen. 6 RC1. So it is Froyo...
Sent from my Desire using XDA App
If someone can provide me a cifs.ko module working with the official HTC Froyo (kernel version 2.6.32.15) then I can start working on a GUI.
I honestly don't want to go back to CM until it's problems are solved and 720p is working.
beidl said:
If someone can provide me a cifs.ko module working with the official HTC Froyo (kernel version 2.6.32.15) then I can start working on a GUI.
I honestly don't want to go back to CM until it's problems are solved and 720p is working.
Click to expand...
Click to collapse
Isn't the kernel source needed to compile a module for that specific kernel?
martino2k6 said:
Isn't the kernel source needed to compile a module for that specific kernel?
Click to expand...
Click to collapse
Well, it depends. One of the today released ROMs has a tun and ext4 module included, still we don't have HTCs new kernel sources. The thing is that I'm sure someone here on xda has access to the private HTC repositories. I remember the old days of the G1 community when someone gave "cyrowski" (old G1 dev) a dump of HTCs private git repository.
But I guess I'll most probably try the newest CM nightly anyways. So then I can also try to write a nice little GUI.
If you can get this working on roms with no cifs in app form it will be epic. I'll be more than happy to be a tester.
Had the above script workin fine in Adams OD 3.02 but had to go back to DeFrost without cifs (I think, didn't work anyway). I miss being able to stream EVERYTHING.
You can dooooo iiiiiiit!
Sent from my HTC Desire using XDA App
Sorry if this is a nooby question. Which ROM should i try this on and what should i enter the commands in?
I am happy to test this as it looks promising.
Thanks.
Bump......
Hi... i think you have to use a non stocked rom compiled with kernel from source code like cm6 opendesire. Stock roms dont have cifs function even new 2.2 official build doesnt have it until source is released by HTC.
Sent from my HTC Desire using XDA App
So do i enter the code in a terminal app?
ukmaddnes1 said:
So do i enter the code in a terminal app?
Click to expand...
Click to collapse
Yes.
(too short blah blah blah)
i get an error with modprobe that file or directory does not exist
su
modeprobe cifs
if this gives an error ... it seems there is no CIFS modul in your rom ... use CM6 ...
again error....it seems that i don't have the module installed........can anyone upload the module and tell me where to put it ???? i mean into what folder it should be
are there any guides on adding cifs into an existing rom/kernel? dont mind doing the work, just have no idea where to start atm.

tun.ko for vpn?

Is there a tun.ko file available for the Eris? And if so, is it something that just need to compile against a specific kernel (ie, CFSv4 vs BFSv4) or just the kernel version (ie 2.6.29)?
Basically, I'm trying to get VPN Connections connections to work so I can connect to Penn State's wifi (which uses "pure" ipsec authentication). Any time I try to connect, the app force closes, which seems to be a result of the missing tun.ko file.
(If there isn't one currently available, would one of you super awesome devs compile one? I'd be super appreciative.)
FunkyFender said:
Is there a tun.ko file available for the Eris? And if so, is it something that just need to compile against a specific kernel (ie, CFSv4 vs BFSv4) or just the kernel version (ie 2.6.29)?
Basically, I'm trying to get VPN Connections connections to work so I can connect to Penn State's wifi (which uses "pure" ipsec authentication). Any time I try to connect, the app force closes, which seems to be a result of the missing tun.ko file.
(If there isn't one currently available, would one of you super awesome devs compile one? I'd be super appreciative.)
Click to expand...
Click to collapse
I believe it needs to be compiled against the specific kernel source but i'm not sure.....I went ahead and compiled one for you but I had some changes to my source since CFSv4 so I compiled a new kernel with the tun.ko file. I'm assuming it needs to be in the system/lib/modules/ folder so that where I put it in the update script. This script will flash the CFSv5 kernel and put the tun.ko file in system/lib/modules. If you just want the tun.ko file you can pull it out of the update script.....I really don't know alot about vpn's so haven't done any testing on it but you can try it and let me know how it goes...I have been running this kernel for a little while and it is stable.
Edit post: I guess a link would be helpful....CFS Kernel with tun.ko
Haha, awesome! Flashing now. I'll update with my results.
Edit: Works fantastic! Thanks so much Conap!
Conap said:
I believe it needs to be compiled against the specific kernel source but i'm not sure.....I went ahead and compiled one for you but I had some changes to my source since CFSv4 so I compiled a new kernel with the tun.ko file. I'm assuming it needs to be in the system/lib/modules/ folder so that where I put it in the update script. This script will flash the CFSv5 kernel and put the tun.ko file in system/lib/modules. If you just want the tun.ko file you can pull it out of the update script.....I really don't know alot about vpn's so haven't done any testing on it but you can try it and let me know how it goes...I have been running this kernel for a little while and it is stable.
Edit post: I guess a link would be helpful....CFS Kernel with tun.ko
Click to expand...
Click to collapse
Conap, you and Deca are Super Devs! Like in capes and tights lol ok, maybe not the tights!
I'm sneakin' that CFSv5 on my phone... shhh, don't look!
workshed said:
Conap, you and Deca are Super Devs! Like in capes and tights lol ok, maybe not the tights!
I'm sneakin' that CFSv5 on my phone... shhh, don't look!
Click to expand...
Click to collapse
lol yeah i figured i'd post it over on the cfs thread too lol....
Conap said:
lol yeah i figured i'd post it over on the cfs thread too lol....
Click to expand...
Click to collapse
I seen that lol, thanks for answering that question too, even though I was comfortable in assuming it was the same... but that gets me in trouble sometimes, had to ask.
cifs.ko and tun.ko for Eris
Hi
I was looking for a tun.ko for my Eris as well, and was excited to see this thread... unfortunately it appears the link above is now broken.
Conap, I'm running Condemned CM7 on my Eris and I was looking for a tun.ko and cifs.ko. I looked at your kernel thread here
http://forum.xda-developers.com/showthread.php?t=774211
and downloaded DecufuctCFSV9, where I found a tun.ko in /system/lib/modules. However when I tried installing this on my phone via insmod, I got a "failed (exec format error)" so I presume it is not compatible.
Does anyone know where or how I can get the correct cifs and tun kernel modules? Thanks!
Wow, Resurrection lol. All the way from September 2010!
http://forum.xda-developers.com/showpost.php?p=19787703&postcount=6887
tun.ko, but no cifs.ko unless I built it into the kernel and don't remember
i begged for that back in june, it was mongoosehelix who compiled it. it only took me 5 months to check my private messages.
sirblacknite said:
i begged for that back in june, it was mongoosehelix who compiled it. it only took me 5 months to check my private messages.
Click to expand...
Click to collapse
? I was talking about this thread.
Mongoose didn't compile the one I linked you to, this is the .29 kernel I compiled with a tun.ko module and will be in my next eris rom.
... you don't have to use it.
yeah, your kernel is what im running now. i was saying that i sent out a quesiton in june asking the same thing, and he had actually compiled a tun.ko that worked in june, but it wasnt until the message i sent to you that i actually checked the messages to see if it worked.
at any rate, i find it easier to use your kernel than have to pump in a driver for tunneling. keep up the great work!
sirblacknite said:
yeah, your kernel is what im running now. i was saying that i sent out a quesiton in june asking the same thing, and he had actually compiled a tun.ko that worked in june, but it wasnt until the message i sent to you that i actually checked the messages to see if it worked.
at any rate, i find it easier to use your kernel than have to pump in a driver for tunneling. keep up the great work!
Click to expand...
Click to collapse
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
I tried
workshed said:
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
Click to expand...
Click to collapse
Thread resurrection FTW! Well hey I'm still rockin the eris and it's good to see there still so much support. Thanks so much for being responsive.
First I tried insmod-ing the tun.ko from the original link you send, then I tried the tun.ko in this recent zip; both failed on insmod. Then I tried flashing this zip with cifs and tun in it; boot took a long time, when it came up I still got the same error trying to connect to the vpn. Any tips to help analyzing what's failing?
If it ends up working on your ROM I may switch.
Thanks again.
---------- Post added at 06:12 PM ---------- Previous post was at 05:55 PM ----------
workshed said:
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
Click to expand...
Click to collapse
workshed,
I just made some progress on these kernel modules... I tried cifs via CifsManager and it works! I also tried insmod-ing tun.ko *after* flashing this zip and it worked without error; however I still got an error when trying to connect to the VPN. If there's any other ideas you have let me know; perhaps it could be a problem with my VPN settings but they seem ok....
Thanks so much
EasyVictor said:
Thread resurrection FTW! Well hey I'm still rockin the eris and it's good to see there still so much support. Thanks so much for being responsive.
First I tried insmod-ing the tun.ko from the original link you send, then I tried the tun.ko in this recent zip; both failed on insmod. Then I tried flashing this zip with cifs and tun in it; boot took a long time, when it came up I still got the same error trying to connect to the vpn. Any tips to help analyzing what's failing?
If it ends up working on your ROM I may switch.
Thanks again.
---------- Post added at 06:12 PM ---------- Previous post was at 05:55 PM ----------
workshed,
I just made some progress on these kernel modules... I tried cifs via CifsManager and it works! I also tried insmod-ing tun.ko *after* flashing this zip and it worked without error; however I still got an error when trying to connect to the VPN. If there's any other ideas you have let me know; perhaps it could be a problem with my VPN settings but they seem ok....
Thanks so much
Click to expand...
Click to collapse
Hmm, this user comfirmed the tun.ko working, so it may be your settings. http://forum.xda-developers.com/showpost.php?p=19810279&postcount=6890
Yeah basically you should be able to flash that zip and have everything working, maybe needing a reboot after the flash is all. That is, I'm still not sure if the cifs.ko is working correctly or not.
Working!
workshed said:
Hmm, this user comfirmed the tun.ko working, so it may be your settings. http://forum.xda-developers.com/showpost.php?p=19810279&postcount=6890
Yeah basically you should be able to flash that zip and have everything working, maybe needing a reboot after the flash is all. That is, I'm still not sure if the cifs.ko is working correctly or not.
Click to expand...
Click to collapse
I spoke too soon... so I still haven't got vpn working via the CM7 built-in interface, I think it has something to do with the certificates. However then I tried the app "OpenVPN Settings" and set that up with my certs and .ovpn file. Hit a few bumps but I have it working now! The CIFS is also working. I'm actually using both together right now... I'm VPN'd to my home network and have mounted one of my local shares via CIFS over the VPN. Pure magic; thanks so much for your help. Will donate!
EasyVictor said:
I spoke too soon... so I still haven't got vpn working via the CM7 built-in interface, I think it has something to do with the certificates. However then I tried the app "OpenVPN Settings" and set that up with my certs and .ovpn file. Hit a few bumps but I have it working now! The CIFS is also working. I'm actually using both together right now... I'm VPN'd to my home network and have mounted one of my local shares via CIFS over the VPN. Pure magic; thanks so much for your help. Will donate!
Click to expand...
Click to collapse
Glad you got it working, congrats!
Thank you for testing and sharing your findings, always helpful. Let me know if you run into any weird problems with it, and thank YOU for the contribution!

[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] CIFS Module for stock rooted nexus 4

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

Categories

Resources