yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] EdKeys:
Ok, flashed latest nightly again and then your kernel...did not update libril files.

Made a phone call and while on the call tested proximity sensor by pulling the phone away from my ear and looking at the screen. I did this several times and the screen turns on and off as it should. Hung up the phone, pushed the hard back button and the screen is stuck in landscape...upside down from the hard keyboard side of the G2. Maybe its time for a complete wipe for me!
[G2 and Desire Z Android Development] pershoot:
I just made a call, pulled it once/twice away from face (so proximity would kick in), hung up. Launched email, orientation is fine. Turn it, it turns... turn back, it turns back.
[G2 and Desire Z Android Development] pershoot:
I enabled auto rotate on launcher, then...

I just made a call, pulled it once/twice away from face (so proximity would kick in), hung up. Home orientation is fine. Turn it, it turns... turn back, it turns back.
[G2 and Desire Z Android Development] YaKillaCJ:
I dont kno how to pinpoint it. I just got the G2 like 3days ago. Didnt drop it once so thats not the issue. Umm I was usin CM7RC2 for a day before I updated to your kernel.

It happened like 3times where the phone would be stuck upside down landscape. Idk bout yall but I use PowerAmp. I had the auto rotate turned off cause its hella annoyin. I turned it back on which leaves all auto rotates back to normal.

BTW I got the rotate issue on 33.32 kernel as well. Let yall kno if it happens again.
[G2 and Desire Z Android Development] pershoot:
it is fixed now.

flash the latest kernel from today.

-032011

flash the latest cm7 nightly.
[G2 and Desire Z Android Development] hungyellow:
Thanks pershoot. This fixed my auto rotate.
[G2 and Desire Z Android Development] Shaquiel Harris:
Fixed for me too. Running ginger sense build right now.
[G2 and Desire Z Android Development] hungyellow:
Well after I hung up a call earlier, it was stuck in landscape. Hopefully it was a one time thing. I don't call much anyways.
[G2 and Desire Z Android Development] pershoot:
post logs if it happens again.
[G2 and Desire Z Android Development] hungyellow:
Ok so I can reproduce it. Now are you needing logcat? And is there something you want me to filter for to cut down on the useless info?
[G2 and Desire Z Android Development] pershoot:
flash the latest nightly for cm7. see if you can reproduce it there. if not, then flash my kernel on top and try to reproduce. if you can, post a dmesg/logcat (you can use pastebin to paste it). if you can reproduce it on stock CM, please submit an issue in the bugtracker.
[G2 and Desire Z Android Development] pershoot:
i see your on gingervillain. be aware, this kernel is not designed to run on sense.
[G2 and Desire Z Android Development] hungyellow:
I don't believe Gingervillain has sense. It is based in cm7. Correct me if I am wrong. I have been running your kernel since about .25 and have not had this problem until recent updates.
[G2 and Desire Z Android Development] pershoot:
I don't know the state of that rom, so I cannot comment on whether it will work with the updated drivers, etc.
[G2 and Desire Z Android Development] OriginalGabriel:
@pershoot

Latest Flash seems to have broken (at least as far as Youtube app and web go) on your kernel; works fine with stock CM7 kernel but not with your latest.
[G2 and Desire Z Android Development] pershoot:
Have not updated kernel yet with new vidc and fixes from cy which were added 1+ days ago.

Use old flash for now.
[G2 and Desire Z Android Development] bettlejus:
Hello, I don't understand something..

If I flash the zip from recovery do I still have to replace the file bcm4329.ko manualy?

I see that after the recovery flash of the kernel it doesn't replace the bcm4329.ko file

I have reflashed now the 32.33 kernel and CM6.1.1 also to see if the problem eith auto-rotate is gone, I will try the flash also
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.34 - gingerbead/froyo - http://droidbasement.com/db-blog ; RM updated.
[G2 and Desire Z Android Development] pershoot:
bcm4329.ko should be replaced when you flash. mount /system prior to flashing, if it doesn't when you flash.
[G2 and Desire Z Android Development] OriginalGabriel:
Does this fix the Flash v10.2 issue?
[G2 and Desire Z Android Development] pershoot:
flash10.2 works, yea.
[G2 and Desire Z Android Development] Shaquiel Harris:
.34 Running on gingerbread sense. Running perfect, as usual.
[G2 and Desire Z Android Development] kangkai1982:
I tried .34 on SenseGinger 2.1.2,can not play any MP4 video. But .33 works perfect
[G2 and Desire Z Android Development] bettlejus:
Hello,

I had reflashed the latest 32.33 kernel but the wi-fi didn;t worked, when I tryed to activate it the message "Error" appeared, anyway I have updated to 32.34 now and all seems to be ok so far
[G2 and Desire Z Android Development] IharpI:
Rotate Bug

Just got the rotate lock bug.

Installed .34 had a call with a friend and after that it was locked to landscape.

I saved logs. Which part do you need?

3 min later the lock was gone without any reboot or so.
[G2 and Desire Z Android Development] pershoot:
Clear dalvik and flash the latest nightly.

Auto rotate works fine over here, after a call. No issue.

I haven't sen this issue since I updates some days ago with kali's isl9xxx updated merge.
[G2 and Desire Z Android Development] pershoot:
If after that and u still get it, post a dmesg.
[G2 and Desire Z Android Development] pershoot:
ill merge/revert one thing and do a refresh.

should be up shortly.
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.34 - refreshed - gingerbread/froyo - http://droidbasement.com/db-blog
[G2 and Desire Z Android Development] aodpoe:
Attached to my post are the last_kmsg files, from my phone. For some reason when i disabled my wifi my phone restarted, this has happen twice since i install your kernel.

I appreciate the work you do, keep it up.
[G2 and Desire Z Android Development] Nitemare3219:
No issues for me at all. Big speed increase over stock, I can say that much easily. Ran Modern Combat Sandstorm very well for about 20 minutes, stayed above 90% battery by the time I was done playing and only got slightly warm, haven't been doing much else so can't comment anymore on battery life. Been unplugged for 2 hours and still showing 100% battery interestingly enough.

Wouldn't ondemand with a screenoff profile of setting max/min to their lowest values (245MHz) accomplish the same thing, or is there more to it?
[G2 and Desire Z Android Development] DJ ELITE:
no problems to report at this time.

your work is truly appreciated. keep up the good job. ;)
[G2 and Desire Z Android Development] QwertyAccess:
At 1.51 ghz my G2 tends to freeze randomly after putting the cpu on a decent load for a while (30 mins), how much is the undervolting compared to stock voltage?
[G2 and Desire Z Android Development] pershoot:
you're using ondemand?

if so,

please report the issue with a dmesg/last_kmsg in hand (set min/max to 1.51 and run linpack/quadrant to stress it).

if not,

please use ondemand and re-test.

please also test all freqs from 1.4 to max.

thx.
[G2 and Desire Z Android Development] pershoot:
when you get a freeze, how warm is your phone?
[G2 and Desire Z Android Development] QwertyAccess:
I didn't notice it getting warm at all at the time it froze on this kernel.

Normally I've been running bacon bits at 1.49ghz fine and sometimes temperatures can get to 42C (very noticable in your hand) without any glitches. Just incase though once it gets to 42C it'll underclock through setcpu.

I was running Cyanogen Build 35, ondemand @ 1.51ghz. On Battery Power.

Whats the best way to log/dump the dmesg/kmsg? I have access to adb if needed.
[G2 and Desire Z Android Development] pershoot:
adb shell dmesg >myfile

if the phone bounces: cp /proc/last_kmsg /sdcard/

or you can use os monitor (for dmesg)

im releasing an update in a few. please thoroughly test the whole frequency range and report back.

depending on what you send me/report back, ill make adjustments.
[G2 and Desire Z Android Development] sundar2012:
I never notice this kernel driving my cpu/battery hot as well. Its the undervolt, the cm kernel ~@ the 1300/1400mv level were not doing good things to the temp levels.
[G2 and Desire Z Android Development] tony597fitter:
Mine does the same thing. It seems like its when I flipping through my screens or widgets or coming off an app or internet FAST.

If I set it to 1.497, it doesnt lock up.
[G2 and Desire Z Android Development] QwertyAccess:
Not sure if I understand how its logging exactly, but dmesg command just dumps the dmesg at the time you run the command right?

However, I did pull /proc/last_kmsg after booting up again from a freeze.

Does last_kmsg dump on shutdown or something?

Looks different.

[ 1185.211700] 5fe0: aca906e8 be80c468 afd10bd0 afd0ee9c 60000010 0000cd54 00000000 00000000
[ 1185.211822] [<c00850a4>] (set_next_entity+0x10/0xa8) from [<c00851ec>] (pick_next_task_fair+0x80/0x94)
[ 1185.211914] [<c00851ec>] (pick_next_task_fair+0x80/0x94) from [<c041e42c>] (schedule+0x2b0/0x580)
[ 1185.212036] [<c041e42c>] (schedule+0x2b0/0x580) from [<c00b6d78>] (futex_wait_queue_me+0x120/0x140)
[ 1185.212188] [<c00b6d78>] (futex_wait_queue_me+0x120/0x140) from [<c00b6ee8>] (futex_wait+0x150/0x2f8)
[ 1185.212310] [<c00b6ee8>] (futex_wait+0x150/0x2f8) from [<c00b8d60>] (do_futex+0xb0/0xebc)
[ 1185.212432] [<c00b8d60>] (do_futex+0xb0/0xebc) from [<c00b9cb8>] (sys_futex+0x14c/0x15c)
[ 1185.212524] [<c00b9cb8>] (sys_futex+0x14c/0x15c) from [<c0035040>] (ret_fast_syscall+0x0/0x2c)
[ 1185.212646] Code: e92d4830 e28db00c e1a05000 e1a04001 (e591301c)
[ 1185.212890] ---[ end trace da227214a82491ba ]---
[ 1185.212982] Kernel panic - not syncing: Fatal exception
[ 1185.213043] [<c003a308>] (unwind_backtrace+0x0/0xe4) from [<c003940c>] (dump_stack+0x10/0x14)
[G2 and Desire Z Android Development] QwertyAccess:
So far 1.497 seems stable, let me know if the kmesg i posted helps at all.
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.26 - http://droidbasement.com/db-blog ; RM updated
[G2 and Desire Z Android Development] rhcp011235:
Ive had no issues at all after you fixed the tether.

What does this new kernel address? or change?

Thanks
[G2 and Desire Z Android Development] pershoot:
read the blog and peruse the github.
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.26 - refreshed - http://droidbasement.com/db-blog
[G2 and Desire Z Android Development] QwertyAccess:
Was fair sleeper causing freeze. Was gonna say new kernel kept freezing.
[G2 and Desire Z Android Development] pershoot:
re-download and re-flash it. then report back.
[G2 and Desire Z Android Development] pershoot:
im trying to boost some performance at the new lower max clock (1.49), and overall usability when working within the system. ill need to tweak a bit more (as i re-used the patch i used on nexus/ds; which works ok; but this kernel doesn't have all the bits .35 has so it's not as useable (yet)).

if your on cm, set max vm heap to 24.

if you run adw, the app tray launcher will continue to be a bit laggy (its like that on HDPI). the rest shouldn't be.

make sure dithering is turned off. you can play with scrolling cache as well.

you should see ~50 (prior was 47) for linpack, and ~24xx (prior was ~23xx) quadrant @ 1.49.
[G2 and Desire Z Android Development] pershoot:
this is performing pretty good, IMO. it can get better.

we can only go up (and hopefully not down, hehe) from here!
[G2 and Desire Z Android Development] jmwils3:
has it been fixed in ROM Manager as well, or just on your site? I mainly use ROM Manager to make sure I get the right modules included and installed correctly, not just the kernel and modules to manually install.
[G2 and Desire Z Android Development] pershoot:
The filename has not changed.

Clear your dload cache.
[G2 and Desire Z Android Development] jmwils3:
Will do
[G2 and Desire Z Android Development] ibemad1:
Button brightness is still at a fixed level... I'm ditching this kernal for now.

Sent from my G2 running Cyanogenmod 7.
[G2 and Desire Z Android Development] pershoot:
this is exactly how everyone wanted.

sorry it is not to your liking.
[G2 and Desire Z Android Development] ratchetrizzo:
WTF?

Why would you ditch what is probably the best kernel over button brightness?

That's like saying you don't want the free Porsche because it has tan interior and you wanted black, yet it's FREE.
[G2 and Desire Z Android Development] onelikeseabass:
Annoyance doesn't have a price tag.

HTC Vision (G2) - CM7 RC1 B30 w/AUS radio
[G2 and Desire Z Android Development] mejorguille:
Hey pershoot, sorry to be a bother but I wanted to know if these

http://r.cyanogenmod.com/#change,4137

Changes were already integrated into the kernel. I know you updated the drivers not too long ago from htc sources, but I'm not sure if cyanogen got these gpu drivers from htc or codeaurora or whatever lol. The changes to the driver didn't make any changes to benchmarks, but just wanted to make sure I had the latest and greatest.

Thanks for your amazing work, battery life has been excellent lately :)
[G2 and Desire Z Android Development] pershoot:
ill merge in the new adreno205 drivers that cy brought in/worked on, once the needed bits are merged in to mainline.
[G2 and Desire Z Android Development] mejorguille:
Thanks, lol I feel like a traitor since I've been on CM's kernel all day. My battery life is maybe 20% less then with your kernel. So thanks for making it!
[G2 and Desire Z Android Development] pershoot:
g2,gtab/zpad - 2.6.32.35 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G2 and Desire Z Android Development] Shaquiel Harris:
Been getting ridiculous battery with .34 and .35.. a lot better for some odd reason I don't know why though. Great job
[G2 and Desire Z Android Development] ratchetrizzo:
You KILL me with petty vanity like that. Lol. That's like saying "that's for the free bmw 7 series but I'll buy this kia cause it comes in taupe and I really like taupe"

No big deal, to each their own. I don't find the lights a problem so I'll stick to the best.
[G2 and Desire Z Android Development] ibemad1:
I wouldn't care if pershoot just made the DEFAULT brightness a little lower. However, he LOCKED the brightness so you can't change it using cyanogenmod settings. I don't understand why he couldn't just set the default brightness and be done with it, rather than completely lock the brightness, forcing you to use what he thinks is best.

Sent from my G2 running Cyanogenmod 7.
[G2 and Desire Z Android Development] sino8r:
Lol! I do agree pershoot does set things to what he thinks is best... brightness/flashlight/compcache/OC levels/etc. but he does at least let people take a vote as to what stays and goes. But it would be easier (on himself and us) just to let the end user decide what to use. But it is his work and the source is there for you to edit and recompile as you chose.
[G2 and Desire Z Android Development] Vlad83:
Pershoot will never be able please everyone so he takes a majority vote. If you can't live with the brightness, compile it your self.

@Sino8er, which setting are you talking about? I don't think we can control brightness
[G2 and Desire Z Android Development] pershoot:
huh?

i did not 'lock the value'. it is currently at default (what ships in the original source that I am based off of).

if i make it 0, it will be dimmable (what is found in cm source). however, 0 will tend to make it become too bright in the eyes of some, when auto brightness is not on.

at any rate,

my source is readily available. you can change it at will for your tastes.

here, i'll even give you the commit ids (pre,post):

e17942aee24434c2f5e833a9974e781974a247d4 Revert "vision: Make button backlights dimmable (part 1)"

01cdb81cf3867487f4db7dfe6312aa7c5bc8cb65 vision: Make button backlights dimmable (part 1)
[G2 and Desire Z Android Development] sino8r:
In CM settings. Not sure if its on CM7 yet but it is available on CM6...

Pershoot, I didn't mean to sound rude or ungrateful. We do appreciate all your hard work on this kernel! I mean... it is customized and when you do that... it's a matter of personal taste plus you can't please everyone especially when two different requests are conflicting of each other therefore they both can't be pacified. Ya know? Anyways... didn't mean to sound like an ass:p

I get that a lot!:D
[G2 and Desire Z Android Development] Vlad83:
Oh got ya... Its not in CM7 yet
[G2 and Desire Z Android Development] J-Hop2o6:
It is in CM7.. Settings>CM Settings>Display>Auto Backlight>edit other levels...

I have my buttons brightness set to 50 (0 - 255).
[G2 and Desire Z Android Development] Vlad83:
Oh I see... Never went that far into the menu.
[G2 and Desire Z Android Development] bettlejus:
I have installed 32.34 kernel and still had that auto-rotate problem,

I had installed the 35 kernel adn hope for the best now

I don't understand something, you told me to reflash latest CM, i have CM6.1.1, but after the reflash the file bcm4329.ko is replaced by the one in the ROM CM6.1.1

What difference does it makes if I reflash again after I install the kernel if that file is replaced and needs to be overwritten?

before flashing any kernel I always do Dalvik cache wipe and battery stats, and after I do Fix permissions just to be sure but this auto-rotate problem keeps on comming

Can someone tell me how do you replace the kernel? just to check that method with mine

Also what are the kernel modules? Form there I only copy the tun.ko to have the VPN working, but I don;t know what are the rest of them good for, also how and where to install them, are they mandatory or optional?

My kernel update procedure is as follow, I have CM 6.1.1

boot into Recovery

delete dalvik cache

wipe battery stats

install zip from sd card->select zip_I select the kernel zip file

fix permissions

reboot system

mount system/lib/modules and replace the file bcm4329.ko and tun.ko then setting permmisions 644 and reboot system again

I have always done so but I had the problem with autorotate from 32.33 to 32.34 kerneles, wait to see if the problems persists in 32.35 kernel

Thank you and sorry for the long post
[G2 and Desire Z Android Development] IharpI:
Pershoot, in your .zip for recovery, there is the bcm4329.ko included, but when i flash the zip, this file seems not to change on system.

Hast this to be included into the updater script?
[G2 and Desire Z Android Development] pershoot:
Ill revert the changes made to the sensors in the past wk for froyo.

Ill do it this wknd aand post an update.
[G2 and Desire Z Android Development] pershoot:
Iharp, it should flash thru.

If not, mount system in cwm prior to flashing the .zip
[G2 and Desire Z Android Development] IharpI:
Thank you for quick reply. Just tried it.

But ADB shell still shows:

# pwd
pwd
/system/lib/modules
# ls -l
ls -l
-rw-r--r-- 1 root root 260175 Aug 1 2008 bcm4329.ko
#

Or is that only a bug with displaying date?
[G2 and Desire Z Android Development] Shaquiel Harris:
Why the hell do you wipe battery stats..when flashing a kernel?
[G2 and Desire Z Android Development] pershoot:
A bug with the date. Size looks fine to me from quick glance (gingerbread). Check the size against what is found in the .zip if you are concerned, or just reboot and see if wifi turns on.
[G2 and Desire Z Android Development] Shaquiel Harris:
Hm, are the backlights for the keyboard disabled for a reason on .35?
[G2 and Desire Z Android Development] IharpI:
Just to make sure it flashed your bcm i extracted the file from the zip and made a diff.

diff says the file from zip and on my system are identical.

So i just have to ignore the date. As easy as that.

Thanks again for all your great work!
[G2 and Desire Z Android Development] pershoot:
No, they aren't. They light up on my side.
[G2 and Desire Z Android Development] bettlejus:
Is this post related to my problem with auto-rotate?

Shaquiel, I wipe everything just to make sure, I don't really know what that does so I wipe everything just in case:)
[G2 and Desire Z Android Development] pershoot:
http://xdaforums.com/showpost.php?p=12375642&postcount=1204
[G2 and Desire Z Android Development] pershoot:
I will try to roll this out tonight, for froyo users.
[G2 and Desire Z Android Development] Bigt2003:
I'm not able to play or stream mp4's on 34 or 35. I went back to 33 and it works fine. Is that because the latest ones are for the nightlies?
[G2 and Desire Z Android Development] pershoot:
you should be on the latest nightly, as vidc has changed a bit. this is to accomodate newer flash, etc.
[G2 and Desire Z Android Development] pershoot:
froyo users,

can you please tell me the last release (-... date) where auto rotate worked properly?

i'd rather not gut the whole thing, and only revert/amend what is needed.

thx.
[G2 and Desire Z Android Development] Bigt2003:
Ok, I'm still on RC2 and I'm waiting for a stable or RC3 before I flash again. I guess I'll just wait.
[G2 and Desire Z Android Development] pershoot:
Froyo users, pls get back to me.

Thx.
[G2 and Desire Z Android Development] hungyellow:
So I had issues with videos mainly from youtube playing and the auto rotate working. I reverted back one by one until I got to .32 and everything started working again. I think I will be staying at .32 for a while. Thanks for the excellent work pershoot!!!
[G2 and Desire Z Android Development] pershoot:
There are no issues with video. Your rom is not up to date with the bits needed for the newer vidc.
[G2 and Desire Z Android Development] hungyellow:
So I can only upgrade past .32 once my rom is updated. I am planning on updating when GV 2.0 or an official stable release of CM 7. So staying put on .32
[G2 and Desire Z Android Development] pershoot:
sorry to spam, but want to sort this issue for froyo users and have some free time tonight.

calling all froyo users... pls get back to me.

thx.
[G2 and Desire Z Android Development] pershoot:
i am on CM 6.1.1 right now.

latest froyo kernel (2.6.32.35, -032411).

auto brightness on, made a call, away and to my face twice/thrice. hung up. launched mail. auto rotate works. not stuck.

auto brightness off, made a call, away and to my face twice/thrice. hung up. launched mail. auto rotate works. not stuck.

auto brightness off, made a call, away and to my face once. spoke for a few seconds. hung up. launched mail. auto rotate works. not stuck.

seems to work all fine from here.
[G2 and Desire Z Android Development] pershoot:
im hammering this thing. calling, away/to my face, rotating, popping kb in/out launching mail, rotating some more, then browser rotate (im gittin dizzy now, hehe), auto brightness on/off, etc. i cannot reproduce it.

froyo users look good to me.

reflash clean (i.e. clear dalvik, reflash rom + latest gapps + latest kern -0324), and then try to reproduce it, if you still encounter issues.

if you can, then pls post a dmesg.

thx.

flashing back to ginger...
[G2 and Desire Z Android Development] Shaquiel Harris:
Phone is randomly rebooting over and over after flashing this ontop of CM7.. hm.
[G2 and Desire Z Android Development] pershoot:
you have something else going on.

did you just do a wipe flash, and enabled wifi?

if so, reboot (if you can catch power do it that way, or else pull battery). that will cure the soft resets from then on in.

this is a known issue with the current ginger implementation.
[G2 and Desire Z Android Development] IharpI:
Going to install CM7 #31, can i install your .35 on it or should i wait for an update of yours?
[G2 and Desire Z Android Development] primatage:
Also wondering this, but am going to run on stock kernel for the day until Pershoot gets back with an answer. The commit for the updated video drivers mentions that the kernel and modules were touched so I'm just going to wait and see :)
[G2 and Desire Z Android Development] BootloopedMillennials:
Do not run Pershoots kernel on Build #31. I just tried it. It lagged the device on bootup severely. When I unlocked the device I was presented with just a black screen with no icons or anything and even holding the power button to reset to recovery, you notice the lag. Its not compatible with the new GPU drivers I assume.