[KERNEL] cifs module for 4.0.3 AOSP kernels - Samsung Galaxy Nexus

I am about to test this on the aosp rom
i've compiled with the latest kernel source it should work in any stock 4.0.3 kernel
http://techerrata.com/file/teamwin/gnexus-4.0.3_cifs.ko

onicrom said:
I am about to test this on the aosp rom
i've compiled with the latest kernel source it should work in any stock 4.0.3 kernel
http://techerrata.com/file/teamwin/gnexus-4.0.3_cifs.ko
Click to expand...
Click to collapse
I have CIFS+UTF-8 enabled by default on all of my kernels if you want to try...

this module is for anyone who does not want to run a custom kernel
it is built off the latest source released by google for ics 4.0.3 on the gnexus
but i'll give your kernel a go for fun

Don't forget that to load/insert a module, one needs root access.
/me sent this on a i9250 using tapatalk

Don't you need the slow-work.ko compiled for 4.0.3 as well, to make things like CIFSManager work?
Jason

Will this trash battery life? If I remember correctly, Franco removed it from his kernal because it hosed the battery.
Sent from my Galaxy Nexus using XDA App

Yes!
Hope to have nls_utf8.ko to support any non-english char as well!

I've never had an issue with cifs killing battery life...
also note, franco compiled the cifs functionality INTO the kernel not as a loadable module
you can simply rmmod cifs to remove it from the kernel.
im not sure how he determined cifs was the culprit it seems very strange.

What is the practical application for this? I'm not hating on it, just curious what people are using this for. Can you mount SMB/CIFS shares in the file system this way?

yes
this module allows you to cifs/smb mount shares on your phone

This module won't work. It has to be built against the kernel to get the same magic number. Try and insmod it on i.e. Franco, and do a dmesg.
Sent from my Galaxy Nexus using xda premium

tristan202 said:
This module won't work. It has to be built against the kernel to get the same magic number. Try and insmod it on i.e. Franco, and do a dmesg.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
It only works with the stock aosp kernel not with fanco kernel or any other custom kernel ofcourse.....

Is there anywhere that I could get a 4.0.2 version of cifs.ko?

Related

cifs.ko and slow-work.ko

Hi, I am currently running Scoot CyanogenMod 6.1.2 together with his recommended 2.6.32.9 kernel. Its working fine but I was wondering if anyone knows how to add cifs support. I know I must add cifs.ko and slow-work.ko modules but I can't seem to find the ones I need and I also need to know how to add them to the kernel.
Thanks for your help
popart said:
Hi, I am currently running Scoot CyanogenMod 6.1.2 together with his recommended 2.6.32.9 kernel. Its working fine but I was wondering if anyone knows how to add cifs support. I know I must add cifs.ko and slow-work.ko modules but I can't seem to find the ones I need and I also need to know how to add them to the kernel.
Thanks for your help
Click to expand...
Click to collapse
Support has to be built into the Kernel from source, either as modules (as what you said above), or integrated into the Kernel itself (no need for the modules)

ICS CIFS support

Has anyone gotten CIFS to work on ICS? Or is that something
That requires kernel source?
Im going to guess this does require kernel source, as my Xoom supports CIFS and we have that source.
You can try to ask Aeroevan though.

[Q] cifs.ko and md4.ko for 3.0.42 kernel

Hi everyone! Forgive me if this has already been posted, but I searched and couldn't find what I'm looking for. Just like the title says, I'm looking for the cifs modules for the cm10 m1 kernel 3.0.42. I flashed from stock JB and now I can't seem to get my cifs manager to connect. I tried a few different ones for various kernels and didn't have any luck. If someone could point me in the right direction, I would greatly appreciate it. Thanks a bunch.
Regards,
Bennie
The Trinity Alpha56 kernel has CIFS support built into the kernel itself, so you wouldn't need the modules if you used that kernel. It should he compatible with CM10. You can download it from derkernel.com.
strumcat said:
The Trinity Alpha56 kernel has CIFS support built into the kernel itself, so you wouldn't need the modules if you used that kernel. It should he compatible with CM10. You can download it from derkernel.com.
Click to expand...
Click to collapse
It works. I'm always skeptical of kernels though. Some chew battery, some aren't stable. We'll find out in a few days!
benniebeeker said:
It works. I'm always skeptical of kernels though. Some chew battery, some aren't stable. We'll find out in a few days!
Click to expand...
Click to collapse
Glad cifs works. The Trinity kernels in general seem to be stable and good on battery if used with default settings. I use them exclusively and haven't run into any problems. YMMV.
strumcat said:
Glad cifs works. The Trinity kernels in general seem to be stable and good on battery if used with default settings. I use them exclusively and haven't run into any problems. YMMV.
Click to expand...
Click to collapse
it's chewing my battery... took it off the charger at 8am and I'm down to 18%... going to try and troubleshoot what is causing the drain... if the kernel has been determined as the culprit, i'm going to have to try a different one...

[Q] Kernel choices with UCLH9

I've just flashed to UCLH9 from LG8 however KToonsez's kernel doesn't support UCLH9 (My Wifi didn't work at least). Currently I'm running the stock kernel and modem, but are there any choices for kernels now that I'm on UCLH9? Or should I wait for KToon to release a version that will support it?
U will have to wait just like me lol....altho i did find his 9-12 to work on i8 but the screen flashed like mad had to disabke overlays. So i flashed back to stock
Sent from my SGH-I747 using xda premium
ktoonsez's TW kernel works fine with LH9. Just make sure you flash the kernel after you flash the OTA or ROM. I'm using it now with wifi with no problems.
In case you're interested, the kernel has two pieces: the kernel image which lives in its own partition and the kernel modules. These live in /system/lib/modules. When you flash a ROM it will typically wipe /system. Some ROMs include kernel modules and some don't, but things like wifi won't work unless you have the kernel modules that go with the kernel image.
So, if you're running a custom kernel, you should always reflash it after flashing a ROM to make sure you have the right kernel modules. Especially if wifi doesn't work.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
drothenberger said:
ktoonsez's TW kernel works fine with LH9. Just make sure you flash the kernel after you flash the OTA or ROM. I'm using it now with wifi with no problems.
In case you're interested, the kernel has two pieces: the kernel image which lives in its own partition and the kernel modules. These live in /system/lib/modules. When you flash a ROM it will typically wipe /system. Some ROMs include kernel modules and some don't, but things like wifi won't work unless you have the kernel modules that go with the kernel image.
So, if you're running a custom kernel, you should always reflash it after flashing a ROM to make sure you have the right kernel modules. Especially if wifi doesn't work.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
Wow! That's extremely informative, I had no idea that's how the kernel actually fit together. I'm going to reflash KToon's kernel in that case and see how it works. Thanks for the info and advice!

[Q] cifs.ko and friends for stock kernel?

Anyone built the cifs.ko and md4.ko kernel modules needed to mount cifs shares on a new Nexus 7 running the stock kernel? (Or by some miracle does the stock kernel already have support for them?)
Claghorn said:
Anyone built the cifs.ko and md4.ko kernel modules needed to mount cifs shares on a new Nexus 7 running the stock kernel? (Or by some miracle does the stock kernel already have support for them?)
Click to expand...
Click to collapse
Check my link to the same topic. I couldn't get it to work on stock. I can't wait till this is figured out.
http://forum.xda-developers.com/showthread.php?p=44233241#post44233241
Mine already has support so you can try it, but iirc from the N4 forums there's a patch for android 4.2+ for cifs. I need to go back and look but the kernel itself already has cifs
Sent from my Nexus 4 using Tapatalk 4 Beta

Categories

Resources