yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] dhkr123:
Can you explain the implications of "-bcm4329: remove KEEP_ALIVE"?

This device is plagued with a problem where the wifi will disconnect and unload after the screen goes off (regardless of setting it to never sleep or never-when-plugged-in). This is regardless of what rom is installed... stock, enom, CM... they all do it. I've had to set the screen to "never sleep when plugged in" in order to keep the wifi up. Not good.
[G2 and Desire Z Android Development] pershoot:
it was not supported (KEEP_ALIVE) option. you can notice error to this effect from the driver.

my wifi def. does not disconnect (unless i have an AP issue), with wifi policy set to never sleep, so i cannot reproduce your issue.

check your settings and/or reflash clean, pull some logs, and observe.
[G2 and Desire Z Android Development] dhkr123:
Its not the AP, tried more than one (different brands even).

Got logs, http://code.google.com/p/cyanogenmod/issues/detail?id=2722

Tried wipes, tried different roms.

Its more likely something wrong in wifiservice than with the kernel. Either that or its being put in some kind of weird mode that wifiservice can't deal with.
[G2 and Desire Z Android Development] jark99:
Will this work on miui rom? I'm currently using the cynaogen kernal and get ok battery life. And if it does work on this rom, all I do is download from rom manager and flash? Thanks

Sent from HTC Desire Z using XDA App
[G2 and Desire Z Android Development] pershoot:
It should work ok.
[G2 and Desire Z Android Development] jark99:
Thanks for the fast reply! Flashing now

Sent from HTC Desire Z using XDA App
[G2 and Desire Z Android Development] dhkr123:
$10 says the wifi problem is related to power save polling mode. A broken idea from the get-go. Seems that LOTS of devices are plagued with this (and not just Android devices...). The problem is that when plugged in, there is absolutely no reason to go into that mode.

Presumably, when the screen turns off, it is notifying the driver to go into psp mode, so it should be possible to disable it from either the driver or from wifiservice.
[G2 and Desire Z Android Development] unixpunk:
This latest update so far seems to have fixed my issues with under clocked frequencies (specifically 768 as reported before). Thanks for the hard work.
[G2 and Desire Z Android Development] sino8r:
I noticed this since I have had my G2. I think its 2.2 related and not the kernel. It has "paused" data somewhat on screen off but it resumes when waked. Downloads don't seem affected though and it really depends on the app. Don't blame the kernel because it has done this since stock. It's not really an issue to me because it resumes with no problems or that app doesn't support it with screen off (streaming or whatever). Setting to wifi never disconnect seems to work fine on 90% of all uses.
[G2 and Desire Z Android Development] elracing21:
I have found that even with the screen off setting my wifi connects back and resumes whatever it was I was doing. Wether I was browsing or doing whatever. It has never been an issue with me.

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] jark99:
Just flashed kernal. Went into settings and under kernal it says

2.6.32.28-cynaogen

Root@pershoot-ubuntu

Someething like that, so I just want to make sure that I have pershoot kernal, and I guess from what I'm seeing its a modified cynaogen kernal?

Sent from HTC Desire Z using XDA App
[G2 and Desire Z Android Development] primatage:
In short, yes, that's the right kernel. The -cyanogen is an identifier that gets tacked onto the end of the kernel version because the main source is somewhat shared and that's the tag that was left there. The "root@pershoot-ubuntu" means the kernel you're using was compiled on Pershoot's computer, which runs Ubuntu.
[G2 and Desire Z Android Development] dhkr123:
I'm not BLAMING the kernel... but if it is due to PSP mode, then it can be CORRECTED at the kernel.
[G2 and Desire Z Android Development] dhkr123:
The PROBLEM is that it *disconnectes*, not that it won't reconnect. IT SHOULD NOT DISCONNECT, because this breaks everything while the screen is off, so yes, it is most definitely a serious issue.
[G2 and Desire Z Android Development] Wing_Zero85:
If I had to develop and debug application directly on the phone, i need to install also the kernel-header package ? I don't think so... or i'm wrong?
[G2 and Desire Z Android Development] Vlad83:
@dhkr

Try setting your min to 768 if you have it on 245. That might do the trick.
[G2 and Desire Z Android Development] dhkr123:
Not that I'm doubting or anything, but care to explain your reasoning for this?
[G2 and Desire Z Android Development] Vlad83:
I saw on another forum some say that when the clock speed is too low, wifi would drop connections. This was on the N1. Try it, its woth a shot...
[G2 and Desire Z Android Development] dhkr123:
Fascinating...

I will definitely try that, but probably not before friday evening since I don't anticipate access to a wifi before then.
[G2 and Desire Z Android Development] ihateusernames:
I have just started having wifi sleep issues as well but I run a min of around 900Mhz and max of 1.5Ghz so this does not help in my case.

I had this issue before and was able to fix it but I can't say how because I don't know what fixed it. With stock rom, I had no wifi issue. I can tell you that I tried every combination of roms and kernals(other than sense) and nothing fixed it. I finally reverted to my stock nand and it went away. I then flashed back to enom and had no issue.

My new wifi issue was not due to flashing any kernals or roms. It just suddenly started again. I tried a nand restore of cm and enom and problem is still there. I guess I will have to restore stock again and see if it fixes it again because this is really annoying.
[G2 and Desire Z Android Development] sandrome:
I don't know if it is an already reported bug but video playback does not work for me with this kernel and modaco 1.72 with sense.
[G2 and Desire Z Android Development] pershoot:
this is not to be used with sense.
[G2 and Desire Z Android Development] umaro:
pershoot,

it doesn't appear that this kernel has ext4 support. Do you have plans to implement it?

Thanks!
[G2 and Desire Z Android Development] pershoot:
its modularised, but i did not included JDB (which is a dependancy).

ill set ext4 as in-built for the next rls.
[G2 and Desire Z Android Development] elracing21:
Yessss!!!!

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] onelikeseabass:
I'm not sure if it has been addressed in the thread already, but I found a work around for wifi tethering from a stock G2 + this kernel. The stock tether doesn't work, but using Barnacle (free) works perfectly. Just check the option to "skip wpa_supplicant".

My only wish is for Barnacle to support WPA on its own. That or our Lord of overclocking, Pershoot, comes up with a way for his kernel to work seemlessly with the stock G2 rom.

Oh and THANK YOU to Pershoot!!!
[G2 and Desire Z Android Development] Wing_Zero85:
I think you've undervolted a little bit too much.

With other kernel, i'm stable @ 1,5 ghz.

With yours playing games @ 1,5ghz i've got artefacts on screen.
[G2 and Desire Z Android Development] elracing21:
I haven't had this affect on mine running cm and this kernel over it. What are you running?

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] Wing_Zero85:
it is not about the rom i'm running.

The same rom with others kernels, i'm ok. stable up to 1,7ghz playing dungeon defenders and so on...

Maybe my cpu needs more Vcore than yours, and an undervolt pushed to low, makes my cpu not stable with this kernel.

Another prove that the rom does'nt is the point, is that i have with this kernel the classical artefact on video when you've pushed vcore too low on pc.

It's a classical overcloking issue.

Maybe i'm not lucky, but there it is...
[G2 and Desire Z Android Development] pershoot:
then your particular device cannot run 1.51 stable at 1.3v or your particiar device does not like that particular frequency, if your seeing odd behavior such as that. clock down one notch to 1.49 if you want to run this kernel.

for most of the masses, 1.3 appears to work well. i dont feel comfortable raising it any more.
[G2 and Desire Z Android Development] pershoot:
ill probly post a small update tonight.

want to revert one thing also.
[G2 and Desire Z Android Development] TheShoura:
Uhm.. I just flashed this onto my VillainROM 1.4 and the phone is stuck at white HTC screen

what do I do? D:
[G2 and Desire Z Android Development] pershoot:
This is not to be used with sense and also not with gb.

Go back to recovery and reflash your rom.
[G2 and Desire Z Android Development] androidtoy09:
I like your Avatar :D
[G2 and Desire Z Android Development] elracing21:
Will this update give us ext4?

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] pershoot:
yea ill include it if i get a chance to update, as discussed.
[G2 and Desire Z Android Development] Herrera91:
Running on MIUI and I got to say, it's running pretty smooth. Mileage is performing admirably. Managed to get a Quadrant score just above 2700, making me a happy man.
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.28 - http://droidbasement.com/db-blog ; RM updated
[G2 and Desire Z Android Development] elracing21:
Ok how do I put the ext4 into play with my apps?

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] gp4004:
hmmm, could anyone help me to install cifs.ko and make CIFSManager use it?

I have downloaded lib-2632.28.tar.gz from http://droidbasement.com/db-blog/ and I have pushed cifs.ko in /system/lib/modules/ but it doesn't seem to work... (I also can be wrong with cifsmanager conf, but I'm not sure with cifs.ko installation...)

Or I may be totally wrong... :D

Edit : my bad, the module loads correctly, so my issue is on cifsmanager side... please forget me...
[G2 and Desire Z Android Development] Crey23:
@ Pershoot

I flashed (.28) the other day, and it seems I lost the ability to control the running music app via bluetooth. Now when I press a music control (play or next, etc) it defaults to the main (default) music app, in my case is Double Twist.

I tried going through all the settings of the phone vie Cyonegen controls, g2 menu controls, spare parts, dev tools....and could not find a way to control the bluetooth commands. I traced my steps to the last time that worked, and it seems to coincide with the upgrade from .27 to .28.

Have you gotten anyone commenting on this? could the kernel affect how BT interprets commands?

Any help with this would be greatly appreciated.

PS ~ I am using a MOTORKR T505 BT speaker/fm transmitter paired with the G2.
[G2 and Desire Z Android Development] pershoot:
hmm i don't recally any changes to BT kernel side from .27 to .28, off the top of my head.

pls pull some logs.
[G2 and Desire Z Android Development] Crey23:
It would be my pleasure.....how???? Sorry relatively new to android.
[G2 and Desire Z Android Development] pershoot:
adb logcat >logcat (do this around the event).

adb shell dmesg >dmesg (do this after the event).

paste both to pastebin.
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.28 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated
[G2 and Desire Z Android Development] stevencpoynter:
Thanks for the updated kernel for gb!

@ 100% right now, will post later with findings.
[G2 and Desire Z Android Development] OFinch:
good to see you working on the gingerbread kernal. I uploaded it this morning and seems to be doing fine battery life wise. since I just want the most battery lol, and your kernals seem to do that for me. what are your setcpu settings pershoot? any profiles you suggest for best battery life with your kernal. thanks, keep up the great work, i've been using since almost day one.
[G2 and Desire Z Android Development] ajk1311:
@pershoot

flashed the new kernel today, really like it except it messes up the camcorder. switched back to cm nightly 8 kernel and no problems with camcorder.

on the bright side, that was the only thing wrong i found.
[G2 and Desire Z Android Development] pershoot:
i can reproduce it.

ill fix it.
[G2 and Desire Z Android Development] ajk1311:
thank you for the quick reply. really looking forward to the fix :D
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.28 - gingerbread - refreshed - http://droidbasement.com/db-blog
[G2 and Desire Z Android Development] ajk1311:
Camcorder works perfectly! Thanks and great work!

Sent from my HTC Vision
[G2 and Desire Z Android Development] dustrho:
@Pershoot: Any chance of creating a kernel that will allow someone to OC their G2 to 1.8 GHz? I always used your kernel on my old MyTouch3G phone, and your G2 kernel works great as well but it only OCs the phone to 1.5 GHz. I'm really only curious because Flippy's kernel can OC the phone to 1.8 GHz.

Thanks for being so proactive and helpful to the Android community.
[G2 and Desire Z Android Development] pershoot:
Nope. No plans of going past the current max.
[G2 and Desire Z Android Development] dustrho:
Any specific reason why? Just curious.
[G2 and Desire Z Android Development] pershoot:
Not safe for the masses, and past my comfort level for 24/7 without active cooling.
[G2 and Desire Z Android Development] KCRic:
So the new kernel isn't to be used with anything below 2.3 - what was changed that prevents it from being used with 2.2?
[G2 and Desire Z Android Development] dustrho:
Go to his site and download the one that's for the G2 and does not have "GB" in its name. Or, just go right to the page here...

http://droidbasement.com/db-blog/?p=1512
[G2 and Desire Z Android Development] Bronz_Most:
Flashed the 2.3 version, Wi-Fi can't be turned on any more (Error), could someone kindly point me in the direction of a solution for this?

Thanks.

EDIT: Nevermind, dumb question...
[G2 and Desire Z Android Development] primatage:
Flashed earlier with CM7 nightly 11, works perfectly. Thanks for updating so soon, Pershoot!
[G2 and Desire Z Android Development] BootloopedMillennials:
Thanks for the update Pershoot. Using this kernel with the latest CM7 Build and it seems to be working perfectly.
[G2 and Desire Z Android Development] elracing21:
Just a heads up if you need a fresh reboot after flashing if your wifi won't stay on.

Sent from my gSpot2
[G2 and Desire Z Android Development] ajk1311:
@pershoot

Okay so i spoke too soon about the camcorder being perfect. The camcorder seems like it records videos, but when I go to play the video, color is all distorted and the playback is extremely choppy. I hope this is not just in my case. I switched back to CM nightly 11 to check and video playback was fine. Hopefully you can reproduce and fix it.
[G2 and Desire Z Android Development] pershoot:
ill look in to it.
[G2 and Desire Z Android Development] BootloopedMillennials:
I get the same thing. The camcorder even crashed on me the first time after saving the recording.
[G2 and Desire Z Android Development] MARINERMOOSE241:
I have the same error running gingervillian. Wifi just says error, how did you fix this? Thanks.
[G2 and Desire Z Android Development] manson1978:
Ok so I flashed the kernel and installed the modules for cifs. Then I installed mount manager and all is fine.... but when mounts manager loads it will not display the mounts size its all zeros. Anyone have any idea what I may have done wrong?
[G2 and Desire Z Android Development] :
@pershoot

I do not know if the two are related at all but High Quality video playback on YouTube is choppy as well. Standard quality is fine but the best I can get for HQ is 1 frame every 2 seconds. Sometimes the video does not even refresh at all staying on the image still it was loaded with (as with scrubbing).

Flashing to the stock kernel fixed this. CM7 Build 11

EDIT:

Same for cm7 build 12
[G2 and Desire Z Android Development] J-Hop2o6:
Same here.. im using Enom's TheOfficial G2 rom.. the previous kernels was fine.. but the recent one made all my videos (recorded & youtube) choppy.
[G2 and Desire Z Android Development] JustAnotherNewbie:
I ran into the same thing, and I have no idea why. It took me longer than I’d like to admit to start tinkering in a somewhat intelligent manner instead of updating repeatedly with a bunch of reboots and full-off/ons. >.>

(Usual disclaimer: Don’t blame me if you break something, even if you followed my directions perfectly; I’m a Newbie and there are risks you take when using Newbish advice. :P )

However! The solution is going to take ADB, but there is a handy guide in the forums for this if you don’t have it.

If you have the zip on your PC take a moment to unzip it.

Go to System ->lib->modules

There will be a file called bmc4329.ko, copy that to your ADB directory/folder. (C:\miniadb or whatever you used)

Then connect your G2/Vision to the PC via USB and open up cmd, set the directory to your adb directory. (“cd c:\miniadb” if you used that folder name.)

Then use the following commands:

adb remount

adb push bcm4329.ko /system/lib/modules

Give the phone a good reboot and it should work. (Or at least it did for me.)

<.< I got lucky on my last ditch effort before reverting to a backup. Not really sure what the deal is with the update.zip method, perhaps a typo or something.

In any case, hope that helps. ^.^

And Pershoot, thanks! :P I was getting really close to hopping back to CM6.1.1 just to use your kernel as it really does seem to give me a bit more battery life.

-Newbie
[G2 and Desire Z Android Development] Bronz_Most:
Yup, that did it. If you just read pershoot's posts completely and thoroughly, you can easily figure it out.

Thanks pershoot, awesome job.
[G2 and Desire Z Android Development] pershoot:
??

enom is still on froyo.

do not flash the _gb kernel on to froyo.

camera works fine on froyo.

i need to fix it up for gingerbread. added to known issue.
[G2 and Desire Z Android Development] pershoot:
i'll fix it.

added to known issues.
[G2 and Desire Z Android Development] Dream Reality Syndrome:
n00b

Is this kernel not meant for the stock Rom?

I'm sorry, I have not had time to fully read thru this thread

But last night I tried flashing the FroYo kernel on my stock ROM (after having rooted n unlocked my phone) in hopes to OC. I flashed thru Clockwork, and once the phone rebooted, I would only get to see the HTC screen, then it would reboot everytime

It conitnually cycled this way. I had to pull the battery n restore the phone

Is this kernel not meant for the stock Rom?
[G2 and Desire Z Android Development] elracing21:
Its not meant for the stock rom

Sent from my gSpot2
[G2 and Desire Z Android Development] MARINERMOOSE241:
Gotcha,

Thanks guys.
[G2 and Desire Z Android Development] J-Hop2o6:
i am using the FroYo kernel one.. i updated via Rom Manager.
[G2 and Desire Z Android Development] G1ForFun:
My camera recording and youtube videos are both working fine on enom's the official with pershoots latest froyo kernel...I too got it off of rom manager.
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.28 - gingerbread/froyo - refreshed - http://droidbasement.com/db-blog
[G2 and Desire Z Android Development] ajk1311:
k just tested out camcorder and HD youtube videos and both work! awesome work pershoot thanks so much! will let you know if anything else arises
[G2 and Desire Z Android Development] :
Fantastic! Works great on build 13
[G2 and Desire Z Android Development] tbalden:
Well, its better now, but on my cm7 #12 the playback is showing blue lines instead of the video with the refreshed new build, and cm7 kernel too.
[G2 and Desire Z Android Development] pershoot:
when you rotate the orientation to a position it was not recorded in, it gets messed up. this happens on stock. im sure it will be sorted by the time rc1 rolls around.
[G2 and Desire Z Android Development] pdxgolf:
I went ahead and jumped to this yesterday, as it was one of the main reasons I rooted (and to get rid of all the bloatware).

Thanks pershoot for your hard work.
[G2 and Desire Z Android Development] EdKeys:
Thanks for the hard work pershoot. Working great! I'm using with the latest CM7 nightly and I don't see any issues as of yet. Oc'd to 1516 with the oc widget.
[G2 and Desire Z Android Development] illithid:
Strange, I just recorded a video a few minutes ago (in stock build #13) and I didn't encounter this problem.
[G2 and Desire Z Android Development] pershoot:
it is present in #13 (stock).

record in portrait (say 10 seconds). play back. keep in portrait, now flip to landscape, half of the screen is black and the other a purplish mash up (like an old tv that didn't have signal). flip back and picture comes back.
[G2 and Desire Z Android Development] illithid:
Just did like you said and the recording played and rotated like it should be. Maybe after I played some videos using the gallery app the problem disappeared by itself?

I once encountered the artifact problem the first time I opened a video not long after I flash CM7 (build #12) and since then it disappeared.

EDIT: I disabled image dithering in Cyanogen Settings, does it has any impact to this issue? I'm still relatively new to flashing.
[G2 and Desire Z Android Development] tbalden:
Doh, my bad for not reading up on this. I disallow orientation change, only by HW keyboard i change, so I forgot to check that. Thanks! I'm so really content now that everything falls into place, i can watch the cartoons with CIFS modules of yer kernel... Kudos!

Any reason why CyanogenMod is not built with SLOW_WORKER and CIFS by default?
[G2 and Desire Z Android Development] J-Hop2o6:
weird.. im still on the same kernel (haven't flash the new refreshed one yet since i just found out about it), but my videos work perfectly fine.. wonder what that was about.. meh.. but yea, keep up the great work pershoot! flashing the refreshed G2/Vision kernel now.
[G2 and Desire Z Android Development] Bronz_Most:
It's had a noticeably positive effect on battery life, haven't come across any bugs (that haven't been mentioned/fixed) so far.
[G2 and Desire Z Android Development] EdWRX:
Will this kernel work on CM7?
[G2 and Desire Z Android Development] SiL3nTKiLL:
cant wait to try this out!!! :)
[G2 and Desire Z Android Development] :
That's exactly what this kernel is for. The file name will have gb in it meaning gingerbread.
[G2 and Desire Z Android Development] androidtoy09:
Pershoot, the latest kernel for the G2 froyo seems to cause the capacitive keys/softkeys to be extreme bright and I can't find any settings to fix it. Is this normal?

I'm using Enomther rom and no theme. Thanks for your great work.
[G2 and Desire Z Android Development] diogoperas:
They'r extra bright here too after installing this new kernel :(
[G2 and Desire Z Android Development] dyndragon:
I'm also seeing changes in LCD brightness when i open and close the keyboard. It's very odd. My lowest two levels are 40 brightness and 80 brightness. If I start at lowest with keyboard closed, and open the keyboard, I go to 80 brightness. As soon as i close the keyboard, i go back to 40 brightness.
[G2 and Desire Z Android Development] pershoot:
Looks fine to me (soft buttons)

Auto LCD brightness has been like that (low to high; flicker; no gradual). Im sure it will be sorted by the time rc1 rolls around.
[G2 and Desire Z Android Development] dyndragon:
Thanks, I did some further investigation and I found that my particular issue was related to having the screen on/off animations enabled.

Of course, I don't see the animations because I have the fast window animations turned on....
[G2 and Desire Z Android Development] pershoot:
if you all on froyo feel that the soft buttons are too bright, i can revert the change, but i think that will be it for froyo.

really want to stay on gingerbread, since i now am running it, and it will be hard for me to support froyo at this stage.

please let me know.

thx.