is there suitable cifs.ko for CM7?thanks! - G Tablet General

my gtablet now is working on the CM7(7.0.3), and just now I installed the cifs manager...want to watch the movie storage in my laptop...
and then I find the cifs manager doesn't work for no suitable cifs.ko inside cm7 rom...
so is is there suitable cifs.ko for CM7?
thanks!

What kernel? Support for cifs is in the kernel so, run pershoot or clemsyn if they are compatible with CM7. Search should be able to answer that question.
Sent from my Droid using XDA App

savage0 said:
my gtablet now is working on the CM7(7.0.3), and just now I installed the cifs manager...want to watch the movie storage in my laptop...
and then I find the cifs manager doesn't work for no suitable cifs.ko inside cm7 rom...
so is is there suitable cifs.ko for CM7?
thanks!
Click to expand...
Click to collapse
There are a couple of threads just for this:
http://forum.xda-developers.com/showthread.php?t=1071693
http://forum.xda-developers.com/showthread.php?t=1059632

Related

CIFS Support?

Hi, can anybody tel me if its possible now to get cifs working on desire S?
Yep. Take any ROM based on kernel from amidabuddha
This kernel has either cifs modules or built-in support.

[Q] CIFS Support?

I'm currently running stock Froyo on my Mesmerize and it's working great for me, but one feature I'd like to have is CIFS support so I can mount Windows/Samba shares directly. I have this on my ViewSonic Gtab and it works great.
I haven't seen any mention of this feature in any of the development threads, though. Is there a ROM/Kernal (not sure where support needs to be) available for the Mesmerize that supports this?
Have you tried any of the CIFS apps from the market?
The apps I've found either only allow you to copy files, not open them over the network, or they need kernel support for CIFS.
..............
I'm using nemesis otb for aosp and it has a cifs module iirc. Its in thor kernel thread follow the link to check out all the kernels.
Sent from my SCH-I500 using XDA Premium App
Thanks. I'll check it out.

Could someone compile a tun.ko of 2.3.6 for me?

hello, everyone. after upgrading my NS from 2.3.4 to 2.3.6, the tun module of 2.3.4 is no longer useful. So I want a new tun.ko for 2.3.6. I badly need it. Thank you!
Sent from my Nexus S using XDA App
nobody can do me such a favor?
Sent from my Nexus S using XDA App
Can't you just take it out from a kernel?
louyaorong said:
hello, everyone. after upgrading my NS from 2.3.4 to 2.3.6, the tun module of 2.3.4 is no longer useful. So I want a new tun.ko for 2.3.6. I badly need it. Thank you!
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
A kernel that boots 2.3.6 is all you need.
Just use the tun.ko that came with that kernel.
Modules match kernel versions, not android versions.
Hope this helps.
Sent from my LG-P999 using Tapatalk
As you know,offical 2.3.6 kernel for Nexus S does not include the tun.ko module for such things as OpenVPN. Previous versions did not either. Custom roms/kernels typically have it (and only if the author enabled it in kernel-config).
What I did is use my previous tun.ko module (that I found months ago) and just binary edited the magic number to match the one 2.3.6 requires. Do a "uname -a" on the 2.3.6 to see what magic number it's expecting and change it in tun.ko.
Probably could have done it on the phone, but I just copied to one of my linux machines and did a "vim -b" edit with search/replace from old to new.
morfic said:
A kernel that boots 2.3.6 is all you need.
Just use the tun.ko that came with that kernel.
Modules match kernel versions, not android versions.
Hope this helps.
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
I've the same question, I tried to pull down the 2.6.35 kernel of Linux, but found no where to get the tun.ko
I did some google search that the tun.ko should located in drivers/net/ but I only found tun.c not tun.ko.
BTW, android kernel's website is highly unstable and even unaccessible these days which makes me impossible to even try compile tun.ko myself...
Guys, any other approaches?
Thanks a lot!
I not sure will this help, but it was extracted from the latest Trinity kernel
Please copy and paste it in "system\modules".
xciton said:
As you know,offical 2.3.6 kernel for Nexus S does not include the tun.ko module for such things as OpenVPN. Previous versions did not either. Custom roms/kernels typically have it (and only if the author enabled it in kernel-config).
What I did is use my previous tun.ko module (that I found months ago) and just binary edited the magic number to match the one 2.3.6 requires. Do a "uname -a" on the 2.3.6 to see what magic number it's expecting and change it in tun.ko.
Probably could have done it on the phone, but I just copied to one of my linux machines and did a "vim -b" edit with search/replace from old to new.
Click to expand...
Click to collapse
Thank u mate, but I've also tried this one, won't work neither...
Seems the only way to get tun.ko is to compile a new one.
But kernel.org for android is totally unaccessible...
morfic said:
A kernel that boots 2.3.6 is all you need.
Just use the tun.ko that came with that kernel.
Modules match kernel versions, not android versions.
Hope this helps.
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
yeah, I know. But I like the stock kernel, I just want a tun.ko match the stock kernel of 2.3.6. I already have a tun.ko for the 2.3.4 kernel, but it's no longer useful.
Sent from my Nexus S using XDA App
window7 said:
I not sure will this help, but it was extracted from the latest Trinity kernel
Please copy and paste it in "system\modules".
Click to expand...
Click to collapse
It's for Trinity kernel since you extracted foe it. It cant be used for stock kernel. thank u all the same
Sent from my Nexus S using XDA App
xciton said:
As you know,offical 2.3.6 kernel for Nexus S does not include the tun.ko module for such things as OpenVPN. Previous versions did not either. Custom roms/kernels typically have it (and only if the author enabled it in kernel-config).
What I did is use my previous tun.ko module (that I found months ago) and just binary edited the magic number to match the one 2.3.6 requires. Do a "uname -a" on the 2.3.6 to see what magic number it's expecting and change it in tun.ko.
Probably could have done it on the phone, but I just copied to one of my linux machines and did a "vim -b" edit with search/replace from old to new.
Click to expand...
Click to collapse
since we both on stock 2.3.6, can you post the one you have already edited? thank you very much!
Sent from my Nexus S using XDA App
Can you try this, I edited the tun.ko file from 2.3.4 with a hex editor and it seems to be working for me but this is my first time doing this so not 100% sure...
Request moved to Q&A
@sk282 ... do you think you can do the same trick for cifs.ko ? ... thx.
I dont even know what a tun.ko is lol.
xsteven77x said:
I dont even know what a tun.ko is lol.
Click to expand...
Click to collapse
LOL ...
tun.ko is the module used to "activate" the low-level VPN support in the android platform (to access you home or company private network from outside).
cifs.ko is the kernel module used to activate windows-network-shares in the lan (very useful if you have a NAS with samba protocol at home and you want to access the data on it).
Solved it ... I was too lazy to do it.
Here are the CIFS modules that are working with 2.3.6 stock.
The kernel magic number for these files is: 2.6.35.7-gf5f63ef
Enjoy!
ro_explorer said:
@sk282 ... do you think you can do the same trick for cifs.ko ? ... thx.
Click to expand...
Click to collapse
Not sure about cifs.ko, I will try to explain what I did for tun.ko - hope it works for cifs.ko also. I downloaded a free hex editor and opened the tun.ko file I have with it. Then I found the line that had the kernel version values and changed them to the new values which you can find under Settings -> About Phone. Delete the old file from your phone and put the new one there instead (used Root Explorer).
sk282 said:
Not sure about cifs.ko, I will try to explain what I did for tun.ko - hope it works for cifs.ko also. I downloaded a free hex editor and opened the tun.ko file I have with it. Then I found the line that had the kernel version values and changed them to the new values which you can find under Settings -> About Phone. Delete the old file from your phone and put the new one there instead (used Root Explorer).
Click to expand...
Click to collapse
Thanx @sk282
the tun.ko works!
Sent from my Nexus One using XDA App
tun.ko vermagic=2.6.35.7-59465-g42bad32
nexus one android 2.3.6

OK my TF101 is now rooted, now what ?

Be gentle
Just been playing with my new TF101, Razorclaw rooted it.
Now I'm thinking, what do I do next
Changemode through ROM Manager ?
Is there custom ROMs out already ?
Can I overclock it
Been though the developers section and I find it a bit confusing now, starting to get old and my brain isn't as sharp That and all the beer last night
So really this is a general question to 'what have you done and why' ?
You can do whatever you want...
ROMS:
-Android Revolution HD
-Prime
-Revolver
-KRAKD
-EeeBomb
Kernels:
-Prime kernel (has Overclock)
-Clemsyn (has OC and Undervolt)
-Blades (OC and UV)
ROMmanager doesn't work with the transformer
For overclocking, install an OC kernel and use SetCPU or No-frills cpu control or a few other that'll find in the market.
Nice thanks will search them out later.
Revolver with blade a good mix ?
Make a backup.
BorgCymru said:
Revolver with blade a good mix ?
Click to expand...
Click to collapse
I tried that combo went back to revolver and prime 2.0.6 kernel
O/C 1.5
I/O sched SIO
Nice and quick with no lag
Sent from my tf101 using xda premium 1.54Ghz
Martijn1971 said:
Make a backup.
Click to expand...
Click to collapse
Yep already done and sat on a spare Micro card and hard drive.
Any of the ROMS have 3G Dongle support built in now ? Would love that. Be very handy.
Thanks
OK I've searched for Prime kernel and it just seems to list loads of un related posts.
Where are the 'kernals' people speak of ?
BorgCymru said:
OK I've searched for Prime kernel and it just seems to list loads of un related posts.
Where are the 'kernals' people speak of ?
Click to expand...
Click to collapse
Goto Post #2 in the Prime ROM thread and you will see the kernel 2.0.6 there I believe that is what everyone is referring to
Cool thanks
I used Revolver parts and used that to install it but my WiFi didn't work with it, so I went to Blade 2. Still can't figure out how to use the 3G dongle though after installing the 3G mod from Revolver parts though.
Many many thanks for replying.

[Q] Any Kernel Devs out there?

Any chance we will be seeing a kernel for the shield soon? It would be great to get some of the forgotten features like OTG charging to the ST.
Spiteful Monkey said:
Any chance we will be seeing a kernel for the shield soon? It would be great to get some of the forgotten features like OTG charging to the ST.
Click to expand...
Click to collapse
Second this. Would love to see CIFS.
I would love to see ElementalX kernel. I love having it on my Nexus 5 with Paranoid Android and CM11.
daeymon said:
Second this. Would love to see CIFS.
Click to expand...
Click to collapse
Is it just a kernel module? And if so can you find the source? I did a quick search and couldn't find anything.
I dug through flar2's repo and found it in one of his kernels. I'll play around and see, I'll probably just post up something for whoever to test if I can get something built.
Looks like it was already in the kernel source used for aosp builds. Try this one I built, I added exfat and compiled with gcc 4.7 but other than that it's the same as in cm/vanir.boot.img
Keithn said:
Is it just a kernel module? And if so can you find the source? I did a quick search and couldn't find anything.
I dug through flar2's repo and found it in one of his kernels. I'll play around and see, I'll probably just post up something for whoever to test if I can get something built.
Looks like it was already in the kernel source used for aosp builds. Try this one I built, I added exfat and compiled with gcc 4.7 but other than that it's the same as in cm/vanir.boot.img
Click to expand...
Click to collapse
The modules needed for Cifs support is cifs.ko, md4.ko and nls_utf8.ko.
My efforts to get a set of these which working with the Shield Tablet have yielded no results. If I had a set of compatible modules compiled for the Nvidia Shield, then thats all I would need to get Cifs working on the pre-existing Kernel, by using the insmod option within Cifsmanager to load all three modules.
daeymon said:
The modules needed for Cifs support is cifs.ko, md4.ko and nls_utf8.ko.
My efforts to get a set of these which working with the Shield Tablet have yielded no results. If I had a set of compatible modules compiled for the Nvidia Shield, then thats all I would need to get Cifs working on the pre-existing Kernel, by using the insmod option within Cifsmanager to load all three modules.
Click to expand...
Click to collapse
Have you found the source for them?
Looking into the source I am seeing nls_utf8.o and md4.c, which I would think would be compiling them with the kernel but maybe a config/make file needs to be changed somewhere.
Keithn said:
Have you found the source for them?
Looking into the source I am seeing nls_utf8.o and md4.c, which I would think would be compiling them with the kernel but maybe a config/make file needs to be changed somewhere.
Click to expand...
Click to collapse
Only sources I know of are the ones Nvidia have provided. I don't really know much about compiling kernels and such. What I know about Cifs modules comes from my JXD S7800B when I needed to figure out how to get that to work. In the end another figured it out and provided a guide and I followed that guide. But he did the really hard part in getting the compatible versions of those modules for the JXD S7800B.
daeymon said:
Only sources I know of are the ones Nvidia have provided. I don't really know much about compiling kernels and such. What I know about Cifs modules comes from my JXD S7800B when I needed to figure out how to get that to work. In the end another figured it out and provided a guide and I followed that guide. But he did the really hard part in getting the compatible versions of those modules for the JXD S7800B.
Click to expand...
Click to collapse
If I end up making any progress while playing around I'll post it but I don't use it and I've been pretty busy lately so I can't guarantee anything. Its just odd that it looks like the necessary pieces are in the kernel source for the kernel I posted.
Sent from my SHIELD Tablet

Categories

Resources