yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] rmk40:
We're going to be maintaining a Sense-compatible version of pershoot's kernel ongoing for Virtuous. As he updates, we'll pull in the goods, making sure to keep everything functioning with Sense.

https://github.com/rmk40/virtuous-kernel-pershoot

You can grab the latest build flashable zip below. It'll be available in the Virtuous section of ROM Manager later tonight (11/29).

http://files.virtuousrom.com/vision/beta/virtuous-kernel-pershoot-build2.zip

Make sure you donate to pershoot for this work, as our contribution to this project is menial in comparison.
[G2 and Desire Z Android Development] amack10:
No my phone wasn't freezing I was replying to those that were. And I've already ran stock with flippys 1.9. Cyan even stated why flippys 1.8 and 1.9 kernels wouldn't work there's some caches and stuff missing from flippys kernel that are necesary for a cyan rom. There's a certain cache in particular I don't remember the name. And the fact that its not cyan from preventing you to clock to 1.9 has been proven when cyan said in his thread "if you want to clock my rom to 1.9 download my kernel source enable jesus mode and recompile and flash

Edit: how much of a buzzkill was the mts lol traded mine in for my g2 =)
[G2 and Desire Z Android Development] pershoot:
Ariekanierenl:

Which frequency range/steps causes lockups?

Please test each step and report back on which you are having issues with.

Thx
[G2 and Desire Z Android Development] KShatzkes:
I just flashed this kernel for the first time on CM RC3 after seeing it being suggested in various threads and touted for its increasing of battery life. However, I am not seeing this. In the 16 minutes since I flashed this kernel, my battery life went from 96% to 90%. Android System is reportedly taking up a whopping 52% of battery. That seems like a very fast drain to me.

I am hoping this is just due to inaccurate reporting, or the battery life it took to create a backup and flash the new kernel in ROM Manager. Either way, I'll keep an eye on this and hope the battery life improves.
[G2 and Desire Z Android Development] dadewy:
Perm Rooted G2 with stock rom (Post-OTA) and S-off here.

I installed the zip from recovery and on reboot all I get is a loop with the HTC logo showing, phone vibrates, reboots, and so on.

Nandroid restore fixes it of course but am I missing something really obvious here or??
[G2 and Desire Z Android Development] tookewl4skewl:
Should work fine if you use rmk's revised version of your kernel. Check out the virtuous thread to grab the link.

Sent from my htc.desireZED
[G2 and Desire Z Android Development] WarBird87:
i am running CM RC3, debating on running this kernal or not, if i do install it, is how do i get it off if i dont want it ? would i just re flash CM RC3?
[G2 and Desire Z Android Development] swags:
Do a backup in ROM Manager. Then you can do a quick and painless restore back to where you were before you installed this kernel.
[G2 and Desire Z Android Development] WarBird87:
i could do that, but for some reason when ever i try to make a back up, and restore it, it says no MD5sum or something like that and says cannot be completed...
[G2 and Desire Z Android Development] swags:
Ah. You might be able to get some help with that in the ClockworkMod thread. Maybe try a different SD card.

In that case, to return to base CM you probably have to wipe then flash.
[G2 and Desire Z Android Development] KShatzkes:
I've removed this kernel in favor of the native CM RC3 kernel. I don't know what other people are seeing, but I was on pershoot's kernel for 2 hours, mostly having the phone idle, and my phone went from 96% to 70%. And this was only when I was clocked at 1 MHz. That is just too fast a battery drain for me.
[G2 and Desire Z Android Development] WarBird87:
yea i have the stock rom, and CM roms on my Sd card so if i needed to go back that what i flash too lol... i dont have a different SD card and got no help over in the clockworkmod thread lol
[G2 and Desire Z Android Development] instigator008:
Something wrong there. Maybe an app or service running haywire. I got 7 hours of use from the same amount of juice.
[G2 and Desire Z Android Development] ariekanarienl:
I've tried with 1515, 1497 and 1401, all had the lockups.

Changed my ROM to Virtuous and flashed your Virtuous compatible kernel this morning, overclocked to 1497 and hadn't had a crash since (12 hours ago).
[G2 and Desire Z Android Development] sundar2012:
battery life on latest kernel is inferior to the first few in this thread...
[G2 and Desire Z Android Development] mcjerica:
flashed latest .26 and my phone again thinks its mac address is 11:22:33:44:55:66.

.25 is fantastic. been running it a week and have seen 25% battery after 24 hours, typical texting and angry birds days.
[G2 and Desire Z Android Development] elracing21:
Maybe those with bad battery drain don't use the custom profile options under setcpu? My batter lasts me over 15hours with crazy use. I play games on my phone a lot. I browse and text almost conastantly too. But when my screen is off it clocks down to 245mhz. When on its on 1.5ghz on demand with 245mhz low. When the battery gets under 80% it clocks it self down to 1ghz when under 60 it clocks down to stock and it doesn't lower to 245mhz until under 15%

Maybe you guys should use the profiles and manage your battery drain yourself. This kernel and Cm's native kernal are very = to me when it comes to battery life. I can't say CM is better when it comes to battery.

All that being said... Thank you pershoot. I am satisfied with this and I'm sure updates will just make this kernel much better.

HTC Vision S-OFF CM6.1 Rc2 Oc'd to 1.497ghZ
[G2 and Desire Z Android Development] infamousjax:
Which kernels are undervolted the most? I'm looking for the best possible battery life I can get -- my phone is sturdy overclocked at 1.8. How do you discern between all your kernels since you don't use build numbers?
[G2 and Desire Z Android Development] OriginalGabriel:
I can confirm this; any fix?
[G2 and Desire Z Android Development] rmk40:
Which ROM?
[G2 and Desire Z Android Development] eleazar6:
I'm using stock rom with this kernel flashed over baconbits .3
[G2 and Desire Z Android Development] G1_enthusiast:
did a .25 no BT :( heard .26 got wifi issue waiting patiently :)
[G2 and Desire Z Android Development] mcjerica:
Rooted stock but applied baconbits kernel from .3 a while back. Assumed this would overwrite and bb would be irrelevant.

Just for the curious, the command:

adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

has never returned anything but '245760' when the screen is off.
[G2 and Desire Z Android Development] G1_enthusiast:
it works on cpu tuner try that...
[G2 and Desire Z Android Development] mcjerica:
i meant for those wondering if their screen off profile worked.
[G2 and Desire Z Android Development] pershoot:
ill pm you a test image or two and we can work through it.

your using a htc g2?
[G2 and Desire Z Android Development] QwertyAccess:
Had lockup again during the 200-806 profile.

Its odd however. I tested that range for 2 days without a single problem so I went back to my normal setup.

Ondemand 1500-200 when battery life below 20% switch to ondemand 800-200.

The freeze seems to only occur around 18-20% battery range for the one time. Similar to last time screen was off and upon waking up it freezes. After reboot works perfectly normal at 800-200 till battery dies. Sadly no kmsg.

Strange.
[G2 and Desire Z Android Development] pershoot:
What frequency were u on when it froze?
[G2 and Desire Z Android Development] aodpoe:
I take this back, had time to play with flashing different kernels. Looks like pershoot Kernel was not the problem.
[G2 and Desire Z Android Development] OFinch:
got my question figured out.. how is this kernal treating you guys? I am hearing wifi problems and I can't have that since I use wifi calling all the time.. can someone confirm wifi problems on cynogen mod rc3?
[G2 and Desire Z Android Development] pershoot:
nexus/ds/g2 - 2.6.35.9 (nexus/ds); 2.6.32.26 (g2) - http://droidbasement.com/db-blog ; RM updated
[G2 and Desire Z Android Development] pershoot:
idle consumption 'should' be better now. please let me know if this is not the case on your device/specific scenario.

thx.
[G2 and Desire Z Android Development] elusivebyte:
Wow, I just had a complete system lockup while writing my first post in this thread about my first system lockup on this phone. :D

I'm on CM6 RC3. I haven't tried much overclocking until now. I set it high and did some Linpack tests, but always left it at stock for daily usage.

I used SetCPU profiles for the first time. I created one for charging. I set it to 200-1.5 Performance. I played Pocket Legends for 5 minutes and the phone completely locked up. I had to pull the battery. It's the first time that ever happened.

I was trying to post the above story and went back into Setcpu to make sure I knew what the max cpu sped was. I dragged the slider all the way up, then back to 800. Immediate lockup. :-)

Can my phone just not take the speed, or should I blame this kernel? Or maybe can I blame setcpu? Like I said, it's my first time using profiles. I think I'll go back to the CM kernel and try profiles and overclocking some more and see how it behaves.
[G2 and Desire Z Android Development] pershoot:
Pls post some logs (if any) so I can make an adjustment.

Thx.
[G2 and Desire Z Android Development] OFinch:
how is wifi with this kernal? and I have never seen a freeze on cyanogen's kernal.. is it just this kernal that freezes when you go above a certain setcpu? cause I have been 1.4 since bacon bits running great.. I just want this for battery life and i'm hearing wifi issues. can someone please confirm this?
[G2 and Desire Z Android Development] pershoot:
every device is made a bit different. its a WIP. will take days if not weeks to cover thousands of devices and near perfect voltages/ranges, etc., for a near one size fits all.

wifi is fine. i am on it constantly.
[G2 and Desire Z Android Development] rmk40:
Any chance you could tag the code used for a given build? I'm running a fork of your kernel for Sense folks and it would just make things less confusing. :)
[G2 and Desire Z Android Development] QwertyAccess:
Unsure what frequency. I just know it was ondemand 800-200.
[G2 and Desire Z Android Development] ZombieUsr:
No lock ups here. Working from 245min / 883 max on up. Only thing I do notice is wicked battery drain. Its only been 4 hours and prior to Pershoot's kernel I would be closer to 88-85%. Now with Pershoot's kernel I am sitting at 81%. Just a tad faster drain than stock. However, I will keep testing once I get an Evo battery, see if a bigger battery helps.
[G2 and Desire Z Android Development] OriginalGabriel:
Not quite sure what to say here. First day running this kernel and at 10pm I noticed the battery was at 41% (BB .3 was usually in the upper 50s by that time).

A quick run down of my use:

Unplugged around 1pm (I work nights) with about 10min of browsing while the coffee was brewing.

Browsing on my breaks at work (40min total, give or take)

A few sporadic texts, etc.

I turn on WiFi at work to use WiFi calling (I have no coverage at work) but I made no calls, just sent/received a few texts.

I OC to 1Ghz, under to 806 and 245 when the screen is off.
[G2 and Desire Z Android Development] Blades:
is there a reason you are using 2009q1 Sourcery G++ and not the latest (i forget version).. I was having trouble compiling the git source.. could this be from the latest CodeSourcery cross compiler?
[G2 and Desire Z Android Development] OriginalGabriel:
Also, this is with the stock ROM. Only thing I can think is that its a WiFi issue since I'm reading here that some people are having WiFi issues.

Reverting back to BB .3 for the time being
[G2 and Desire Z Android Development] OFinch:
I could be wrong, but I think the sleight mistake you were making was on setcpu, when the screen is off sounds like you have OC'd too high.. try 245 Min 245 max.. I could be wrong, but I see no reason for the phone to OC any seeming that i'm at work and the phone is in my pocket. But once I turn the screen on to do things I want it higher. also I use wifi calling myself when I am home A LOT due to bad reception. So i'll let you know how it did using wifi calling quite a bit. Good Luck with that, btw, this is my first day with the kernal. So I will be testing it at work today. Pretty sure I set up a really good SetCPU to fit my needs :) . great work on the kernal man, keep up the great work
[G2 and Desire Z Android Development] pershoot:
Original/zombie.. retest against the new kernel.

Flash it.. charge to full from wall, reboot. Now observe.

Idle consumption 'should' be a lil/bit better now. There is nothing I can do when the phone is in use tho (lcd takes up juice, scale to max takes up juice, etc.
[G2 and Desire Z Android Development] pershoot:
Blades, I prefer their toolchain based off of 4.3. Works well.
[G2 and Desire Z Android Development] ratchetrizzo:
Your kernel works great for me.

Set to 1516, scaling on demand with set cpu and profiles.

after 14 hours of txting, light web browsing and a couple of calls i'm at 64%

I just flashed the updated 11/30 kernel so it should be a little better!
[G2 and Desire Z Android Development] pershoot:
to all those i PM'd test images to, please get back to me regarding it.

your feedback is very valuable, and is very helpful to me, to make a better all around kernel.

thx.
[G2 and Desire Z Android Development] Blades:
Not a big deal but could you decrease the verbosity the kernel logs about gpio events. Currently its logging every key pushed.
[G2 and Desire Z Android Development] pershoot:
for now im leaving this as is. as i move closer to a more streamlined kernel during this testing period, i will look in to decreasing the chatter.
[G2 and Desire Z Android Development] Blades:
Oh, didn't know it was intentional. What is the buffer size? 17 or 18
[G2 and Desire Z Android Development] pershoot:
i haven't modified anything with respect to this.
[G2 and Desire Z Android Development] elusivebyte:
What log would be appropriate, and what's the best way to retrieve it from the system? Basically, I don't know what you're asking for.
[G2 and Desire Z Android Development] pershoot:
pls check your pm and test against that image.

right click -> save as

enter fastboot usb in bootloader

fastboot flash zimage zImage-test

adb shell dmesg >file (paste this file to pastebin).

or if it bounces grab last_kmsg as root from /proc and pastebin it.
[G2 and Desire Z Android Development] pershoot:
also, i don't feel this is calibrated properly (the battery reporting; using percentages on battery display). it's giving the illusion of dropping more then it should be, when in reality i don't believe it is.

i'll put it on my list to look in to, on the kernel side of things.
[G2 and Desire Z Android Development] ZombieUsr:
Cool beans, testing the new updated kernel Pershoot. Will do as you say and let you know. Thanks
[G2 and Desire Z Android Development] G1_enthusiast:
hmmm new kernel bluetooth still doesnt work
[G2 and Desire Z Android Development] ratchetrizzo:
My bluetooth works fine with this kernel.

I was just using it on a call.
[G2 and Desire Z Android Development] G1_enthusiast:
hmmm weird i have a jawbone and its not working on this kernel it works with evil D kernil
[G2 and Desire Z Android Development] ratchetrizzo:
mine is a jawbone icon, it works fine for phone and media
[G2 and Desire Z Android Development] G1_enthusiast:
hmmm anyone else getting sync trouble?
[G2 and Desire Z Android Development] OriginalGabriel:
Sorry, I wasn't clear enough. SetCPU is 806-1G on demand, 245/245 powersave when the screen is off and then I have a few underclock profiles for low battery and high temps.
[G2 and Desire Z Android Development] OriginalGabriel:
I'll flash it after work tonight and run it tomorrow and get back to you; though I saw you posted about the percentages being wrong so maybe it wasn't actually at 40 last night. Was the percentage issue fixed with the new kernel?
[G2 and Desire Z Android Development] pershoot:
I was speculating that it may not be 100% correct and that I would put it on the backburner to look at.
[G2 and Desire Z Android Development] rraxda:
Pershoot, I think this is probably more of an issue with CM RC3 but I figured I would mention it here just in case. I am having the issue where my phone number is disappearing.... just checked my battery stats and it shows that my Dialer is at 85% usage.

Like I said I think it is a CM issue. I am getting ready to flash your latest kernel here soon.
[G2 and Desire Z Android Development] pershoot:
idle consumption is fine. ~2% hr drop (as long as you aren't in low reception and it's constantly switching, etc., which unfortunately i can't do anything about).
[G2 and Desire Z Android Development] sundar2012:
I'm getting pretty good bat life after draining recharging and wiping stats. 24 hrs with data off from midnight to 6, couple of hours of pandora streaming in the am, a little angry birds, sporadic texting, maybe an hr on the phone.

Cyanogen rc3 with the nov 25 or 26 pershoot kernel, setcpu to 200 to 768 when screen off, changed on demand refresh to 20k and powersave bias to 150. Also have radio set to wcdma only which does a lot to improve bat life if u have good 3g / 3.5g coverage.
[G2 and Desire Z Android Development] infamousjax:
What about setting radio to 'gsm only'?
[G2 and Desire Z Android Development] Blades:
You guys should check out current widget. It will display the current draw in mA. What is the refresh rate of the battery driver?

Maybe

dmesg | grep batt

will give you some better info on battery.
[G2 and Desire Z Android Development] Radioactive Death:
I think batt life is fine with CM6.1 and pershoot's kernel. I made 1 hr of phone calls, sent some texts, played angry birds for a while, and after 15 hrs off charger, I'm at 65% batt left. I'm running at 1.363 MHz
[G2 and Desire Z Android Development] OFinch:
geezus.. that's great.. what are your exact SETCPU settings if you don't mind sharing those? and any others setcpu settings that are getting really good battery life with this kernal. Pershoot, what's yours? btw keep up the great work! Also quick and noobish question.. are you guys flashing straight over the old one?
[G2 and Desire Z Android Development] ZombieUsr:
I only hit 16 hours once and that was with the help of Juice Defender Pro sitting on x1.78 (that lasted for a day before it dropped to x1.33). Now I'm lucky to get maybe 10 hours.

However I have noticed that if I charge my phone and leave it charged for a long time, the battery stays at 100% for a very long time before it falls down to 99%. Last night I was sitting at 100% for 1.5 hours before it dropped to 99% (using txt, gaming, twitter, email).

New updated kernel is much better now than before. I hit after 3 hours to 85%. Will test more when my Evo battery comes in
[G2 and Desire Z Android Development] sino8r:
pershoot,

Is there any way we could get a kernel compatible with wireless tether? All of us stock rom users with themes don't have the native tethering built in. (theming seems to remove it and ALL of the themes for stock do this) I have been working on a solution but have yet to find one (we have completely torn apart services.jar & framework-res.apk and haven't found anything missing that requires native tethering, its a freakin' mystery to us all:confused:). So all of us are completely dependent on wireless tether but 2.6.32.26 is incompatible with it. 2.6.32.25 worked with wireless tether but it had so many scaling steps... it seemed drain the battery way more than your current, more refined version. If I remember correctly, you modified the later versions so that they would work better with wifi on CM roms but us stock rom users are SOL;). I tried using several variations of bcm4329.ko files but it seems to be the kernel that's doing it. Could we get a special version for us stock themed users or a fix, pretty please!

Thanks!

EDIT: Oppsy! I totally forgot about Barnacle! It works fine....:o I guess you could still fix it for those who cant use ad-hoc with Barnacle. That's completely up to you though... thanks again for this kernel! the best one aroung for the G2!
[G2 and Desire Z Android Development] DocMAX:
please add loop device support
[G2 and Desire Z Android Development] Radioactive Death:
Here are two screenshots. I flash straight over the old one.
[G2 and Desire Z Android Development] ratchetrizzo:
My battery life seems to have decreased with the 11/30 kernel
[G2 and Desire Z Android Development] pershoot:
Discharge to 5, charge up to 100 from wall and observe.

Be mindful of reception causing drain and background apps. Im currently testing gsm auto prl, as for most of the day im in extreme low reception and it causes me alot of drain.

Battery for sure is a bit better (idle)... but your mileage may vary.
[G2 and Desire Z Android Development] ratchetrizzo:
Should I do a wipe stats if I drain and charge to 100%?
[G2 and Desire Z Android Development] sundar2012:
@radioactivedeath et all

I don't think its a good idea to do screen off at 245-245mhz. If you receive a call while screen off you may not be alerted fast enough and/or be able to swipe to accept smoothly as the cpu begins to ramp up. When idling ur phone should only be using 245mhz most of the time. Giving it a little more clock speed should improve call pickup and phone/screen wakeup without sacrificing battery.

I suggest implementing a power save bias though.
[G2 and Desire Z Android Development] sundar2012:
My ondemand advanced settings:

Sampling: 20k

Up threshold: 90%

Ignore nice load: 1

Power save bias: 200

Quadrant is around 2100 with these settings and a number of apps and services running in bg.
[G2 and Desire Z Android Development] rraxda:
Hey guys. I need a hand here. I noticed this problem for the first time yesterday, but I am not sure how long it has been going on.

My dialer is just eating up my battery. I am not using the phone for many calls but it seems as soon as I make a call the usage percentage just starts climbing like crazy and will not stop. For example I am currently at 81% usage after using the phone for about 3 hours. I took the phone off of charge at about midnight. Did not start using the phone until 10am. Made a few calls some texts and now the battery is at 59% with the 81% dialer usage.

At 10am dialer showed no usage and my battery was still at 90 something %. before going to sleep last night I flashed pershoots latest kernel.

I should also mention I am running CM RC3. Anyone know what gives or have a solution to fix this??
[G2 and Desire Z Android Development] Radioactive Death:
I haven't had any issues so far, but I'll keep it in mind should issues arise. My phone shoots awake on any phone call.
[G2 and Desire Z Android Development] Blades:
{ 245760, PLL_3, 5, 2, 61440, 1000, VDD_RAW(1000) },

{ 368640, PLL_3, 5, 1, 122800, 1000, VDD_RAW(1000) },

{ 768000, PLL_1, 2, 0, 153600, 1000, VDD_RAW(1000) },

..

{ 960000, PLL_2, 3, 0, 192000, 1000, VDD_RAW(1000) },

I second that. See why? Its kind of pointless. I don't know why the voltage is set at 1A for 245mhz in this kernel.

What is the lowest stable undervolt for the range of lower frequencies?
[G2 and Desire Z Android Development] pershoot:
to keep consistent with the needed voltage increase for RADIO PLL, to combat reception issues.
[G2 and Desire Z Android Development] silverton:
I have noticed this as well

And I will try this. Though I'm rarely out of "4G" coverage and I only run a weather widget. on a single desktop.
[G2 and Desire Z Android Development] mmaldon50:
Everything works fine, except when i use Navigation. The phone starts to heat up and than reboots. This doesn't happen with any other app on my phone.
[G2 and Desire Z Android Development] pershoot:
limit your max clock when navigation is on if your phone gets hot under use at said frequency.
[G2 and Desire Z Android Development] Radioactive Death:
Eh, call it one of those things where you feel like it's doing something positive even though it isn't :)