yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] bemymonkey:
Sounds like it's a version mismatch. I wasn't quite sure which branch of kernel source to use. That module was for 2.6.35 HAVS.... are you using a different kernel?
[Desire Android Development] Dragooon123:
I'm using 2.6.35.6 HAVS @ 998Mhz 4.9c
[Desire Android Development] bemymonkey:
Hmmm... is the git up to date? Are you sure that was the right config file?
[Desire Android Development] Dragooon123:
Not sure about the git but here's another config file pulled fresh from the phone.
[Desire Android Development] bemymonkey:
Try this http://www.multiupload.com/DX4ZRVDNWW
[Desire Android Development] Dragooon123:
That worked :). Ran a speedtest and am able to fetch 2mbit/sec down which is pretty much the max I can fetch :).

Now if richardtrip releases a new kernel, would I have to trouble you again?
[Desire Android Development] bemymonkey:
If the kernel version doesn't match any more, then probably yeah. Or just follow the tutorials I posted and compile it yourself ;)

I don't mind though. :p
[Desire Android Development] Dragooon123:
What tutorials? :P I don't mind compiling, I love compiling. Streams of awesome text coming at you and you're seeing it worrying if it'll fail with one error that'll boggle you :P.

I'll go compile Handbrake :D now that you mention compiling(Forgot to do this).
[Desire Android Development] bemymonkey:
:D

Try this one: http://xdaforums.com/showpost.php?p=8303676&postcount=166

Only difference for Defrost would be to use Richard's git repository and the kernel branch you're using for "checkout branch" (in this case it was msm-2.6.35-bravo-havs)... and don't generate a default config with "make defconfig", but rather just copy the config file from your phone to the source root as .config. :)
[Desire Android Development] Dragooon123:
Just a question, what patch file are you talking about there?

And that seems quite easy, will try it once I have to :)
[Desire Android Development] bemymonkey:
This one: http://xdaforums.com/showpost.php?p=8028615&postcount=18
[Desire Android Development] mattiadj:
Where I can found the file for this kernel?

sent from the future
[Desire Android Development] mattiadj:
Here the image!

sent from the future
[Desire Android Development] mattiadj:
Up :-)

sent from the future
[Desire Android Development] bemymonkey:
Config file and link to source please.
[Desire Android Development] mattiadj:
Sorry I don't understand what I must do

sent from the future
[Desire Android Development] bemymonkey:
Read the last few pages of this thread. If you still don't get what you need to do, read the whole thread. If you still don't know what to do, post again.
[Desire Android Development] Myshkinbob:
It's the HTC froyo kernel (2.6.32.15) which uses the HTC modified bcm4329 driver (bcm4329_202 if i'm remembering rightly), but basically it requires a different patch (htc modified the power management code pretty heavily). I'll compile a module for that kernel this evening and post it.

If you're interested in building for htc kernels though, i posted the pmfast patch for the htc-modified driver earlier in the thread, and you can patch it against the incredible 2.6.32.15 source from the htc developer site (will require editing the localversion append btw). :)

edit:

The bravo 2.6.32.15 source was released today, so you can use that instead of the incredible source now, hurray!
[Desire Android Development] Dragooon123:
Just a request, can you quickly compile another driver for me? I have to go within 30 minutes and I won't be having my computer. The source checkout is too big for me too be done in that time(I have 70% exported, but it took me 3 hours :P).

This time it is SVS 2.6.35.6 Kernel (http://github.com/richardtrip/cm-kernel), I believe it is the msm-2.6.35-bravo branch.
[Desire Android Development] Beaverman20:
would it be possible to compile one for auraxtsense kernel 2.32.15-g5d39305?
[Desire Android Development] bemymonkey:
I'll do it tomorrow if you can wait that long... no time tonight, gotta go to band practice in 30 mins :p
[Desire Android Development] Dragooon123:
No worries, the plan got postponed till Friday. So I'll try to compile it myself :).
[Desire Android Development] mattiadj:
Sorry but I don't understand anything!!!:-( how can I have the patch for my kernel?:-)

sent from the future
[Desire Android Development] Beaverman20:
yeah... i would not mind compiling myself... the only problem is that i have never worked with linux kernels before :/
[Desire Android Development] Dragooon123:
Looks like I successfully compiled it! :)
[Desire Android Development] bemymonkey:
Myshkinbob's taking care of it for you, just give him time ;)

He said he'll post a module for your kernel soon.

@Beaverman: I'd never worked with anything like a Linux kernel before this either... just sift through the thread, I posted a few summaries of how to go through the process. It's not that hard if you have the right kernel source and the appropriate patch.
[Desire Android Development] mattiadj:
Thanks a lot!!!!I'm looking at new kernel with a little oc for sense Rom

Is this patch required for this kernel also?

sent from the future
[Desire Android Development] rikmer:
Is it also possible to patch the driver to allow Bluetooth l2cap server socket binding out of an app?
[Desire Android Development] nachod0g:
Hi, could you please provide a modified driver for the stock kernel version 2.6.32.9-27240-gbca5320? I'm not really sure where the source is, maybe it's this?. My config.gz is attached. Thanks :D
[Desire Android Development] emelenas:
Yet another module request

It's very kind of you both to offer this. Thanks.

In post #144,

I'd like to subscribe to that request. I tried but couldn't compile the module. It's not in the kernel tree, but in android.git.kernel.org/?p=platform/system/wlan/broadcom.git;a=summary as seen from the links in the quote.

Attached is the config file pulled out of the ROM.

And sorry for the missing html.
[Desire Android Development] ghmail2:
sry to bother

Adamg realease a new Opendesire 4.0.34 which comes out with 2.6.35.6 kernel,the patch zip from op won't work anymore....

can you pls make a correct patch zip or just a bcm4329.ko should be fine.

Danke sehr und viele Grüße:o
[Desire Android Development] romracer:
First, thanks for this great patch! I really love it.

Also, thanks to bemymonkey for the walkthrough on compiling the kernel. I've done it before with CyanogenMod kernels on my Nexus (and many, many times on real Linux boxes), but its nice to have a walkthrough and know which parts I need to pick out.

Here's kernel modules for Richard Trip's UV/OC kernel (Froyo Kernel V2) from here: http://xdaforums.com/showthread.php?t=801435

I've built both N and non-N mode kernels (I prefer N but who's to say what's better). I've tested both on my phone so they should both work fine, but please let me know if I missed something (don't see how I could, its basically 2-5 lines depending on N mode :P)

You need to extract the .ko from the zip and push to /system/lib/modules. Making update zips is something I loathe doing (YAY for S-OFF on our phones finally).
[Desire Android Development] Myshkinbob:
thanks for compiling for richardtrip's kernel. :)

How is it by the way? i've had a busy week and haven't had chance to mess with it, worth switching to?

I'll try to take a look at that over the weekend and make a module for the stock nexus kernel, with the mac address fixes etc. Thanks for linking the threads for those too. :)

Also here's the modules for 2.6.32.15-g5d39305, a day late i know, only made time this morning for it.
[Desire Android Development] Dragooon123:
Ah you guys already made the kernel patch, I was about to compile one.

@Myshkinbob - The kernel is very good, hands good help in saving the battery. Quite stable as well.
[Desire Android Development] nachod0g:
Thanks dude. The new stock nexus kernel (frf83, 2.6.32.9-27240-gbca5320) actually has the mac fix now, so it only needs the pm_fast mod.
[Desire Android Development] ahac85:
Hi i understand the Froyo Kernel V3 and what its purpose is, can someone explain for a noobs what WiFi PM FAST module: does and do i have to install it alongside the froyoo kernel v3, plz sorry if its asked before ive read the most of the posts but i get understand it, plus does WiFi PM FAST module find the correct kernel or not??
[Desire Android Development] romracer:
Read the first post.

It prevents PM_MAX from kicking in which causes WiFi to stop sending packets or become very intermittent when the screen is off. You also need to set your WiFi Policy to never sleep for it to even matter (Advanced menu in WiFi Settings in Settings).
[Desire Android Development] romracer:
It might just be my luck, but I've always had pretty good success with the UV/OC kernels as long as they don't overclock too much (I prefer to max at 1113Mhz). The latest V3 Richard's posted includes just about every module that people had custom compiled for the stock kernel before we had the source. So it's probably worth giving a shot if you like to experiment. You'll likely not lose any of the modules you used with the stock kernel :P
[Desire Android Development] rikmer:
No comments? I only wonder if it is possible in principal.
[Desire Android Development] Anksta:
Nexus One Stock FRG83

Hi Myshkinbob,

Would it be possible for you to compile a module for the stock FRG83 kernel?

Thanks very much for helping out with all this, it's much appreciated.
[Desire Android Development] jamran:
Hi I don't know how to use adb, could u plz make this an update zip?

Thanx
[Desire Android Development] nachod0g:
Tried to have a go today at compiling a driver for N1 FRF83 (2.6.32.9), but it seems like the dhd_set_suspend moved to dhd_cdc.c. Neither of the diff files in the thread work correctly on it, so i'm a bit stuck.

Or maybe i'm just working with the wrong source. I checked out the android-msm-2.6.32 branch from here.
[Desire Android Development] emelenas:
Hi, nachod0g. I think you should use android.git.kernel.org/?p=platform/system/wlan/broadcom.git;a=summary

This is a module not directly compiled into the source tree. I have done this kind of compilations before for my Linux PCs but did not succeed in doing it for Android. Could someone point to somewhere to look and understand how to do it?

make ARCH=arm CROSS_COMPILE=arm-eabi- -C /kernel/path SUBDIRS=$PWD

does not seem to work for me.
[Desire Android Development] KBanause:
One question:

Since I can't find the kernel sources of the ROM I'm using, would it be possible to use the source of another ROM which uses the same kernel version just to build the wifi module?
[Desire Android Development] Dragooon123:
I don't think so, ask the author for the kernel source. They have to provide it.
[Desire Android Development] :
hi,

having issues with OpenDesire-4.0.10 (kernel .34.5) with wifi.

all works fine if the screen is on, but when screen is off, and i enter into the

area of a saved wifi network, sometimes the phone don't autoconnects to the

network, and i need to push the power button (in order to screen on) in order

to make the wifi connection.

i have tested your mod, but the problem persists...

i agree a help, pls
[Desire Android Development] KBanause:
Maybe you could try this
[Desire Android Development] KBanause:
I made a module for the latest OpenDesire (4.0.34) with 2.6.35.6 kernel
[Desire Android Development] :
seems not work in some cases
[Desire Android Development] MisterMonitor:
for which ROM is this : N_2.6.32.15-g6a358a9.zip or this N_2.6.32.15-gf9c0527.zip
[Desire Android Development] KBanause:
New Version for OpenDesire 4.0.36 (Kernel 2.6.35.7)
[Desire Android Development] RavinShubh:
Thank you for the patch KBanause. Appreciate it :) Im wondering why the rom developers dont incorporate this into their ROMS. But oh well since they are not, youre a lifesaver!!!
[Desire Android Development] KBanause:
Maybe it's because this patched version "may" have an increased power usage (haven't tested it).
[Desire Android Development] RavinShubh:
Myshkinbob already explained there was no difference in power in his first post. Paul of Modaco incorporates into his rom thou. Anyways i still appreciate it :) Thank you so much once again!
[Desire Android Development] KBanause:
I must have missed that part of his post :)
[Desire Android Development] ghmail2:
Hi,thanks for your work

can you pls help me with this kernel from benee?

vorkKernel_r4-SVS-BFS-BFQ,the kernel is 2.6.34.5,but the patch zip from op won't work

Danke und viele Grüße:)
[Desire Android Development] KBanause:
only if you can give me a link to the kernel source code and a config file which was used to create that kernel.
[Desire Android Development] ShirazSuleman:
Hi Guys,

I am not sure if this is relevant but I was experiencing this issue for the past month only on my home router, after trying 5 different ROM's including the patches provided here with no luck, I tried lowering the DTIM Interval on my router's advanced wireless settings (It was set to 100 by default and I changed it to 1). Now my wireless connection stays open when I put the phone into sleep mode although admittedly it does not hold a steady download speed but it's fast enough for audio streaming so I am happy :).

Just thought I'd share and it might help someone.

Thanks

Shiraz
[Desire Android Development] ghmail2:
http://www.mediafire.com/?57iy9d7oor3v0bd

this is the link for downloading

this is the config.gz

hmm only zip file is allowed maybe you need chang config.zip to config.gz

and tank for your work
[Desire Android Development] KBanause:
Sorry but that's the compiled kernel not the kernel source code.
[Desire Android Development] ghmail2:
How can i find it?
[Desire Android Development] KBanause:
Ask the developer who created that kernel.
[Desire Android Development] ghmail2:
http://github.com/vork/vork-Kernel/tree/android-msm-2.6.34-bravo#

Is this the source code ? This is from the op
[Desire Android Development] KBanause:
I tried to build that kernel with the config you gave me. It seems that the config file is for another kernel version. Please take a look into the phone information for the kernel version. If you are using a cyanogen based rom then you will find it here:

Settings -> About Phone -> Kernel Version

If you are using a sense rom:

Sorry, I removed my last sense rom more than two months ago. But it should be at a similar place.
[Desire Android Development] ghmail2:
It is 2.6.34.5 hmm
[Desire Android Development] KBanause:
How did you get your config.gz?

The way it is described in this post?
[Desire Android Development] ghmail2:
Yes i used that command in adb shell, i sent a message to benee, maybe the source code is a wrong one,thanks for your time, sorry for posting all this wrong stuff
[Desire Android Development] ghmail2:
Btw i am using od 4.0.23 with benee vork 's kernel r4, no bug at all, no lagg issue and batt life is great too, most important it has speed,1700+quadrant score at stock cpu speed ^^ maybe you should try out too, but this kernel won't fit od 4.0.36
[Desire Android Development] KBanause:
I made a module with your config and this kernel but I can't tell if it is working.
[Desire Android Development] ghmail2:
it works great,thank you very very much:p
[Desire Android Development] nachod0g:
Anyone able to build this for me please? Let me know if the kernel source is wrong and i'll try and hunt down the right one. emelenas mentioned it could also be this one.
[Desire Android Development] bemymonkey:
Has anyone got a working module for the CM6 nightlies around v150? I just compiled one but it throws a "WiFi Unknown" error... maybe the source is out of date :confused::(

-edit- Cyanogenmod users who would like to see this fixed permanently, please star or add info/corrections: http://code.google.com/p/cyanogenmod/issues/detail?id=2403

-edit2- Turns out teamdesire switched branches, they're now using 2.6.35-bravoc instead of 2.6.35-bravo.

Module for latest few nightlies: http://www.multiupload.com/M7ZKJ2A9P0

Have fun! :p
[Desire Android Development] Treatcon:
So this can be used with CM 6.0.1-RC1-N1? I surely hope so! Thanks to all for the time put into this! :)
[Desire Android Development] bemymonkey:
Oof... dunno about N1. Shouldn't break anything if you try it, just back up the old bcm4329.ko file...
[Desire Android Development] soCram:
Hi,

is it possible to fix the problem in the current miui-rom? (11.05)

I tried 2.6.34.5-OpenDesire without success. I'd like to build the kernel-module for other miui-users but don't know where to get the sources. Hope someone can help me.

greetings
[Desire Android Development] chareos12:
hi,

it could be possible to have the module for the latest vorkKernel version ?

thanks in case
[Desire Android Development] nenadr:
module version for 2.6.32.15-gf5a401c kernel

Hello,

Is there an adequate .zip update for wifi standby issue and WiFi-N, for 2.6.32.15-gf5a401c kernel, that comes with newest 2.29.405.2 WWE RUU/update of stock desire ROM ?

Thnx.
[Desire Android Development] emelenas:
I did it after all.

And this too.

Attached are the zip files for sock FRF91 and FRG83.

It worked for me. If anyone tries this out, just post your results.
[Desire Android Development] bemymonkey:
Hello Myshkinbob!

Any idea if your patch could be causing issues such as this one (spontaneous reboots)?

Kali seems to think it might be causing 'em... :(
[Desire Android Development] phyl65:
I'm also looking for the .zip for the 2.29.405.2 rom...
[Desire Android Development] Eco3:
Myshkinbob, can you please post a module for 2.6.32.15-gf5a401c kernel?

Thanks!
[Desire Android Development] murf74:
Also after kernel for 2.6.32.15-gf5a401c, would be very much appreciated
[Desire Android Development] Eco3:
Module for 2.6.32.15-gf5a401c kernel

You can find it inside "CIFS + OpenVPN modpack" from Teppic74's ROM:

http://xdaforums.com/showthread.php?t=773997

V3.0 is based on 2.6.32.15-gf5a401c kernel and modded wifi module is included in the modpack.

Direct link is here:

http://xdaforums.com/showpost.php?p=9743713&postcount=1572

Not sure if the rest of the modpack is compatibile with your ROM but you can simply extract the driver from the modpack and push it manually thru ADB.
[Desire Android Development] InfX:
Any chance you may compile the WiFi module with the same patch applied for this kernel ? This is for an HD2, the problem we experience there is not identical, but supposedly happens when PM_MAX is engaged, avoiding PM_MAX should solve it.

Thanks in advance.
[Desire Android Development] bemymonkey:
This patch doesn't seem to play nice with CM7 or 2.6.37.2... power consumption is quite high :(
[Desire Android Development] tijru:
Hi all,

Is there anyone that would be so kind to build me a driver for my nexus S?

I would be very grateful :)

I'm running MIUI rom 1.7.29 http://miuiandroid.com/roms/miui-development-roms/

And kernel Netarchy Nexus - 1.3.7-cfs-2.3.4-universal (Universal for non-stock 2.3.4 roms) from here http://xdaforums.com/showthread.php?t=936219

I assume this is the kernel source https://github.com/netarchy/nexus-s

Plz don't kill me when the kernel source isn't the right one :D

I attached my config.gz in a zipfile.

Thanks in advance for all the efforts!

Kind regards.

Me
[Desire Android Development] Myshkinbob:
That looked like the right source to me. :)

Attached is a wifi module for the netarchy kernel you linked to. you'll need to unzip the module and manually copy it to /system/lib/modules/ on your phone using Root Explorer or something similar.

see post #292 for the correct file
[Desire Android Development] Myshkinbob:
New patch files for gingerbread

I've just compiled a pmfast wifi module for the ROM i've been using lately, which uses the HTC kernel version 2.6.35.10-g308ba26. the module is the first attachment on this post.

The rom itself is [URL="http://xdaforums.com/showthread.php?t=1016940]InsertCoin 1.0.8[/URL], which i've been using for maybe 2 months. It's by far the best Sense rom i've had out of at least a dozen i've tried, totally reliable and responsive. Highly recommend it (the CM7 hboot version). :)

To install the module you need to unzip it and manually copy it to /system/lib/modules/ on the phone, using RootExplorer or another root-enabled file browser, or use adb push from your pc.

updated patch diffs

When i went to compile a new wifi module for the rom i'm using, and for the nexus s kernel in the post above this one, i noticed neither patches applied cleanly anymore. So i've updated them both.

Attached are two diff files, one for HTC 2.6.35 kernels, and another for aosp 2.6.35 kernels. Both apply using patch -p0 from the kernel source root directory. Enjoy. :)
[Desire Android Development] tijru:
Hi :)

Thanks for the effort, really appreciate it :)

But it doesn't seem to work.

I did "adb remount" and then "adb push bcm4329.ko /system/modules"

I put it in /system/modules because i couldn't see a /system/lib/modules on my phone with droid explorer.

My phone boots up fine but it doesn't want to enable WiFi :(. It says "error".

Did i do something wrong?

Kind regards
[Desire Android Development] Myshkinbob:
Sounds like the module is failing to load. It might be a magicversion mismatch. If you run 'adb shell' to get a prompt on the phone, then do 'insmod /system/modules/bcm4329.ko' and then quickly do a 'dmesg'.

In the dmesg output you'll see a reference to the bcm4329 module and why exactly it failed to load.

Also on the phone itself go to Settings, About Phone, Software Information and post what it says for kernel version, thanks. :)
[Desire Android Development] punky.mtp:
Does it support wifi n mode?
[Desire Android Development] tijru:
Hello again ;)

Thanks for the fast response hehe :)

I did the stuff you asked, now hopefully i did it the right way :P

I attached the output from dmesg in textfile, as far i know something from that stuff i did see something about the magicversion you mentioned :D

And my settings for kernel version on phone its says:

2.6.35.13-netarchy-nexus-1.3.7-cfs-2.3.4+ natas@64bit-evil #27

Hopefully you can do something with it :cool:

Thanks for your time, really nice of you to help out!
[Desire Android Development] Myshkinbob:
No problem. Small confession, i accidentally put the module for the HTC desire kernel into the zip for the netarchy module. Check the version mismatch error in the dmesg output you attached. My bad. :)

Incidentally your kernel's local version has a + symbol on the end that doesn't appear in the config.gz, so the earlier module wouldn't have worked anyway.

Here's the correctly named localversion module.
[Desire Android Development] Myshkinbob:
I don't have a wifi-n router and forgot all about it, here's a version for the HTC kernel with n-mode enabled. :)

Again, needs manually unzipping and installing to '/system/lib/modules/'.
[Desire Android Development] Myshkinbob:
Module for new official GB HTC desire kernel 2.6.35.10-g3f43272

I just noticed they finally released the official gingerbread RUU for the desire. Here's a module with pmfast and n-mode for that kernel - 2.6.35.10-g3f43272.
[Desire Android Development] tijru:
I'm listening to tunein radio for 10 minutes now without it disconnects the stream and rebuffers after screen lock :D

You are my hero!!! :D

Waited almost a year for this to work, almost ditched the phone for it lol :P

Is it hard to do? Want to try it myself for when i go maybe back to stock nexus s rom and kernel :P. Or you can build one for that to hehe :D

Really thanks for this!