yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] pershoot:
Different pll gen is for beyond 806 and under.

Over is 192000 (pll_2). Under is pll_3 which is derived via 122800, with 768 at pll_1 via 153600.

the g1 (msm7x00) does not use the same frequency generation/steps as the g2 (msm7x30). the only reason the g1 can do >528, is via some added logic to derive freqs via 19.2 (19200). this was added by toastcfh for hero .29.
[G2 and Desire Z Android Development] pershoot:
soft reboots (kicking you back to the startup animation) are usually not the kernel.
[G2 and Desire Z Android Development] EdKeys:
Have you flashed any themes etc. lately that alter the framework-res.apk or SystemUI.apk files? That might account for the soft reboots. It happened to me.
[G2 and Desire Z Android Development] Vlad83:
I use the Honeycomb theme but I've been using that for almost 2 weeks or so... soft reboots appeared in the last 3-4 days.

I am going to get to the root of this lol
[G2 and Desire Z Android Development] primatage:
Did you try flashing the honeycomb lockscreen as well? I was about to before I realized that the guy added not to try it with a nightly or you'll get bootloops.
[G2 and Desire Z Android Development] Vlad83:
No, the one I am using works with the TMo themes, Honeycomb by Haxsazmatic (hope I got that right). Can't link you cause I am on the phone. Will edit later... I am pretty sure its not the theme, I see a few nightly folks in the theme thread and the way the nightly thread is I am certain we wouldn't hear the end of it if they were getting soft reboots lol

I am beginning to think its Wordfeud... I d/led around that time frame I think, words w/ friends has too many bugs and my battery seems allergic to it.

Sent from my HTC Vision
[G2 and Desire Z Android Development] primatage:
The lockscreen .zip is the one I meant, was just making sure you didn't flash that one, dude made it to only work with the rc1 build :/

Otherwise I just dunno, haven't experienced the problem!
[G2 and Desire Z Android Development] merdely:
This kernel has been great. 24+ hours and I still have 36% battery left. Been on wifi most of the day so that helped. I think that I used my phone about as much or more than usual. Made a couple calls via wifi calling, used xda app, reddit is fun, facebook, gmail, Touchdown for Exchange, stock mail, bluetooth, and web throughout the day.

Thanks pershoot.
[G2 and Desire Z Android Development] PlatinumMOTO:
how did you get this great of battery life the most I've gotten was 16hr and that's standby with little to no use of the phone at all and wifi on all the time.

did you kill your phone completely and then charge it off? then calibrate it? When you charge it do you use the USB in a pc or in the wall?
[G2 and Desire Z Android Development] jojo_16:
Same as mine 16hours max with mugen, stock battery 7-9 hours with a little to no use also..

Fly like a G2
[G2 and Desire Z Android Development] G1ForFun:
I can get 24 hours with my stock battery also..
[G2 and Desire Z Android Development] merdely:
Sometimes I charge connected to a laptop. Sometimes I charge through the wall charger. Depends on when I charge and where I am.

I definitely use my phone a lot. Phone calls, web surfing, texting, 4 email accounts with 3 email clients (Gmail (2), Touchdown, Stock Email), taking several screenshots with ShootMe (finally realized I had to switch from PNG to JPEG), reading and posting to the XDA app, reading Reddit is Fun, checking Market for updates and installing one, constantly checking battery stats, short Google Talk chat, checking Facebook & posting a picture I had just taken to Facebook, reading news with USA Today, and seeing that VT beat the hated Duke Bluedevils via ESPN ScoreCenter.

When I know I've launched several apps and am going to put my phone in my pocket for a while, I tap the Advanced Task Manager widget to kill all tasks. I do NOT have it auto-kill anything. I turn off Wifi, Bluetooth, and GPS when I'm not using them. I have the Wifi icon set to switch from 3G -> 2G when I enable it and vice versa. My screen is set to be very dim (< 15%). I don't have my phone vibrate much at all. I have the screen timeout after 10 seconds.

This is the second or third day I've stayed on the same Nightly (#5) with Pershoot's kernel. Battery life has improved every day, as I expected.

Current battery status: 16% at 1d 13h 33m 5s on battery.
[G2 and Desire Z Android Development] ratchetrizzo:
Battery life is fine.

After 28 hours my phone was at 49%

If I had a screenshot util installed I would show everyone.
[G2 and Desire Z Android Development] Vlad83:
You have to do the following with extreme precision or it will not work:

1. Put the phone down on the floor

2. Walk backwards around it with your hands over your eyes for 10 seconds

3. Jump up 3 times

4. Sprint as fast as you can into the nearest wall

5. Repeat steps 2-5

Congratulations, your phone is undervolted!
[G2 and Desire Z Android Development] Shaquiel Harris:
ASSHOLE. xDD

Does this kernel work with Sense? probably already mentioned but im still curious
[G2 and Desire Z Android Development] BoscoTM:
Hey guys. I'm currently running MIUI 1.2.19, and the battery life is lacking. It drops from 100% to 90% in 40 minutes, then continues to drop quite rapidly after that. Mind you, this is when I'm not even using the phone! I have taken all the precautions necessary to increase battery life i.e. low backlight, syncing is turned off, wi-fi is off, gps is off, etc. but to no avail. I'd like to flash onthis kernel to see if it improves the battery life, but have no idea how to. Could a kind soul pm me a step by step process how I can go about flashing? Also, I've included a screenshot of my current kernel; I'm not sure if it's the OP's version or not.. Thanks for any help!
[G2 and Desire Z Android Development] G1ForFun:
Looks like you are already running the latest kernel in this thread.
[G2 and Desire Z Android Development] ChronoReverse:
pershoot, I don't know if this is bad etiquette to ask but what compiler are you using to build your kernels?

I've been trying with both the code sourcery and the ndk compilers but I keep running into errors. I'm on ubuntu 10.10

Sent from my HTC Vision
[G2 and Desire Z Android Development] Vlad83:
Just really hate questions that take 2-5mins of researching...

But to answer the person that asked, since he wants to be spoon fed, you have to do nothing. All frequencies are undervolted by pershoot in the kernel and you can't change them unless you want to compile it your self.

If you want to see th table it's here: https://github.com/pershoot/vision-2632/blob/master/arch/arm/mach-msm/acpuclock-7x30.c

Lines 137-178

And Shaq... yes, answered a billion times. No sense.

Sent from my HTC Vision
[G2 and Desire Z Android Development] PlatinumMOTO:
How many apps do you have my daily use goes like this: gtalk, liveprofile, beluga, texting, facebook, market updates twitter wifi on when I'm home. I have my phone set at 960/245. Autobright, I have flastlight alerts when I get a text, haptic feedback on and vibrate when I get any kind of notification render n1 on.

I have 189 apps and I use appcontrol sometimes to kill tasks when I see the ram is low around 65mb I also use either superpower or battery booster app it seems battery booster only works well on 2.1 because I was using it on my coby tab and decided to try it out.

I have facebook and twitter set at 1 hour intervals and I have 5 gmail accounts. I also use trillian sometimes. right now I started at 94% battery and am now at 11% after 8h 47m. I also have my phone set to wcdma only. and I'm on RC1 so there is a newer nightlys out after RC1?
[G2 and Desire Z Android Development] Fallen Spartan:
I notice stock CM7 kernal includes a "powersave" option. Any plans for including this option in your kernal?
[G2 and Desire Z Android Development] pershoot:
no plans at this current time.
[G2 and Desire Z Android Development] pershoot:
codesourcery 2009q1-203 (GCC 4.3)
[G2 and Desire Z Android Development] pershoot:
check droidbasement instructions.

flash in recovery.
[G2 and Desire Z Android Development] merdely:
How is your Patriot Class 10 32 GB Micro SD card? I've seen mixed reviews.

I want to get a 32 GB Card, but the reviews on Newegg and Amazon have been less than stellar.

Thanks.
[G2 and Desire Z Android Development] Vlad83:
I bought one from newegg a little while ago. Seems faster lol but I can't really tell...

Sent from my HTC Vision
[G2 and Desire Z Android Development] merdely:
To be honest, I'm not too concerned about speed. I have a 16 GB class 6 card. It's fine. But, I have to work to trim my music selection too much. I want a good, stable 32 GB microsd card. And I'm not seeing anything that makes me want to click "Here's $100".
[G2 and Desire Z Android Development] ratchetrizzo:
It took a ****, after 16GB of data gets stored it corrupts the whole card and it needs a FULL format. Happens in windows and on the phone.

Patriot said they are "aware" of the issues and are looking to see what's causing the problem. They said they would send me a new card once they have them fixed, and in the mean time they would send me a "loaner" class 4 card.

I just RMA'd it and put my 16GB a-data back in. Time will tell on what patriot does.
[G2 and Desire Z Android Development] PlatinumMOTO:
What radio are you using to get the day of battery life?
[G2 and Desire Z Android Development] ChronoReverse:
Thanks, I got 2632 to compile finally =)

Now I have to figure out why hardware video decoding is broken with the self-built kernel though =(
[G2 and Desire Z Android Development] ratchetrizzo:
Radio_12.28h.60.14 0f_26.06.02.27_M
[G2 and Desire Z Android Development] pershoot:
g2/gtab/|zpad - 2.6.32.30 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G2 and Desire Z Android Development] heybobitsme:
I love how you just threw that out there. Testing on latest nightly now.
[G2 and Desire Z Android Development] bnoot:
Currently running at highest speed.....working great everythings in tact. Thanks for ur work
[G2 and Desire Z Android Development] Nitemare3219:
Finally worked after manually flashing with fastboot and pushing the WiFi file through ADB and terminal.
[G2 and Desire Z Android Development] rhcp011235:
Thanks for the timestamp :)

You the man. Im just flashing this now on top of the newest nightly
[G2 and Desire Z Android Development] rhcp011235:
Is anyone having issues downkoading from market via 3g? Seems to work ok via wifi.

Not sure if its a kernel issue or cm6?
[G2 and Desire Z Android Development] rhcp011235:
I think its a global thing. Lots of others cant
[G2 and Desire Z Android Development] sino8r:
Yeah, its working. I had to reset some settings on wifi calling app and its working fine now. The only thing not working with .26 and .26 refresh (from tonight) is the wifi tether. but we already knew that...
[G2 and Desire Z Android Development] sino8r:
Mine works fine via 3G. downloads and updates, etc... Its not the kernel.
[G2 and Desire Z Android Development] pershoot:
portable wifi hotspot (built-in froyo tether) works fine. my nexus is tethered to my g2 without issue, using wpa2/psk. pulling 4g'esque speeds.
[G2 and Desire Z Android Development] pershoot:
nothing to do with the kernel.
[G2 and Desire Z Android Development] dictionary:
Pershoot .. absolutely any interest in looking at the smartass governor? I know you've usually just stuck to the three (if I remember correctly from my Nexus days), but was wondering if you were going to incorporate it.
[G2 and Desire Z Android Development] pershoot:
smartass? hehe. i think i've seen that in passing. could you link me?
[G2 and Desire Z Android Development] DJ ELITE:
no disrespect intended, but i'm guessing it's safe to assume u meant 2.6.32.26.
[G2 and Desire Z Android Development] pershoot:
yea.. was a typo.
[G2 and Desire Z Android Development] dictionary:
http://xdaforums.com/showthread.php?t=730471

eViL is also incorporating it into some of his kernels.
[G2 and Desire Z Android Development] sino8r:
Its just wifi tether app then. I'm using an older theme (pre ota) and it, lol, overwrote the settings for the built in tether options in Wireless & network settings (even though the rom is deodexed ota). Oh well, that's my fault then. :o I'll just go back to the first version for now and fix the theme later. Thanks for the help!
[G2 and Desire Z Android Development] mcjerica:
Thanks a ton...love this kernel. Haven't ran into any bugs. Will observe battery life over the next few days.

To those with call quality issues over wifi calling - keep in mind your call quality is subject to the unprioritized public internet. Not to mention contention with other wifi devices. Call quality over wifi is affected by everything from your torrents to your girlfriend's iPad to your neighborhood's pr0n consumption.
[G2 and Desire Z Android Development] pershoot:
how's the g2 kernel working out?
[G2 and Desire Z Android Development] Jigga0o7:
It's working very well for me. Yesterday I went to work and forgot my charger at home. I think your kernel is the only reason I was able to get moderate use out of my phone all day without it dying.
[G2 and Desire Z Android Development] sundar2012:
Seems fine so far. Why isn't there a conservative or powersave governor for screen off profiles? What is userspace?
[G2 and Desire Z Android Development] G1ForFun:
Just did a complete wipe....flashed vision-nightly-12 and the newest kernel.

Tried to enable wifi and now I am in a soft boot loop.....

Gonna try reflashing and letting the rom settle in first before flashing the kernel.
[G2 and Desire Z Android Development] Shaquiel Harris:
Testing the new froyo one on liquid metal. Killing my battery so far.
[G2 and Desire Z Android Development] pershoot:
you have something else ocurring. flashes fine. no wifi issues.
[G2 and Desire Z Android Development] suren21:
updated my Vision :) fingers crossed :D

EDIT: updated w/o any problem :)
[G2 and Desire Z Android Development] pershoot:
battery is fine. you have another issue ocurring.

check your bg apps.
[G2 and Desire Z Android Development] heybobitsme:
Ya everything working as it should for me.
[G2 and Desire Z Android Development] G1ForFun:
I don't think I said there was an issue with the WIFI...

Anyway, I think I know why I might have gotten into a random soft reboot loop.

I flashed the new nightly

flashed the gapps

flashed your kernel

rebooted

now I am going to

flash the new nightly

flash the gapps

boot up

reboot into recovery

flash kernel

reboot
[G2 and Desire Z Android Development] BootloopedMillennials:
Just tested and dont have this issue. Running the same CM7 Nightly, this latest Pershoot kernel, and latest radio.
[G2 and Desire Z Android Development] dhkr234:
What's the deal with this 2.6.32 kernel? Nobody interested in 2.6.38RC7?
[G2 and Desire Z Android Development] heybobitsme:
Make it!

10chars
[G2 and Desire Z Android Development] pershoot:
G1, maybe a flash gone amiss.

Ya boot in and then reboot and flash new kern. U should be set.
[G2 and Desire Z Android Development] Shaquiel Harris:
Yeah it is working fine now. Great job
[G2 and Desire Z Android Development] hobbla:
Yea I'd be interested in it as well, however I don't know how to compile a kernel for a specific phone. Seems more complex than making one for a PC.

Sent from my:

T-Mobile G2

CM7
[G2 and Desire Z Android Development] Shaquiel Harris:
This Kernel is fantastic Wow. You think you could maybe compile for sense users? I'm LOVING the battery life. And things are nice and fast with this kernel on liquid metal.
[G2 and Desire Z Android Development] jmwils3:
is that kernel even available for the public yet? if so, where can I get a download of it? Id be interested to see how it compares.
[G2 and Desire Z Android Development] mejorguille:
@jmwils3, loook at http://kernel.org/
[G2 and Desire Z Android Development] pershoot:
g2/gtab/|zpad - 2.6.32.31 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G2 and Desire Z Android Development] Shaquiel Harris:
Just updated froyo version. Working nice
[G2 and Desire Z Android Development] Blades:
Pershoot.. Trouble begins at line 108 in acpuclock-7x30.c

{ 25, 1228800 },

{ 27, 1248000 },

{ 28, 1248000 },

{ 29, 1267200 },

see what i mean?

I don't know what the ramifications are.. apparently there haven't been any issues... but I thought i'd give you a heads up.
[G2 and Desire Z Android Development] ChronoReverse:
Working great for me so far.
[G2 and Desire Z Android Development] pershoot:
Ill roll out a refresh tonight.

Don't know how that happened...

Thx blades.
[G2 and Desire Z Android Development] dhkr234:
If I didn't have a job during the day and a girlfriend during the night, I would.
[G2 and Desire Z Android Development] heybobitsme:
I would too, but I need A LOT more knowledge.
[G2 and Desire Z Android Development] kangkai1982:
tried this on my desire z, the 4 touch buttons are too bright
[G2 and Desire Z Android Development] pershoot:
Ill revert it in the refresh.
[G2 and Desire Z Android Development] Shaquiel Harris:
When's the refresh gonna be available pershoot? And what exactly is it going to change /do?

Sent from my Rooted God-like HTC Vision running Liquid Metal.
[G2 and Desire Z Android Development] MrFrankfromCM:
Got this pegging out on liquid metal. battery life us outstanding! thanks!
[G2 and Desire Z Android Development] suren21:
updated w/o any problem on my desire z :) and thank god the keyboard backlight is working again, for some reason it didn't work when i previously updated to 2.6.32.30 :x
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.31 - refreshed - gingerbread/froyo - http://droidbasement.com/db-blog
[G2 and Desire Z Android Development] bloodhawk:
The Button backlight intensity was normal like always...why change that?

Apart from that, any substantial changes so as to make a re-flash mandatory?
[G2 and Desire Z Android Development] tbalden:
The libs link on your page links to 30 instead of 31, and its a file not found. Managed to grab 31 modifying the link.
[G2 and Desire Z Android Development] pershoot:
fixed.

thx.
[G2 and Desire Z Android Development] pershoot:
people did not like it so bright.

the duplicate frequency of 1248 was fixed.
[G2 and Desire Z Android Development] bloodhawk:
Ah...seemed normal

Anyways, the power consumption seems to have improved...Great job!!

And yeap...thanks for churning out these amazing kernels.!
[G2 and Desire Z Android Development] MacaronyMax:
Don't foeget all important step 6: Flap you arms like a chicken saying cluck..cluck..cluck...... (etc.) And moving your head back and forth :D

Sent from my HTC Vision
[G2 and Desire Z Android Development] Shaquiel Harris:
Yeah I like the dimness of the icons now thanks pershoot. Killed my eyes at night lol

Sent from my Rooted God-like HTC Vision running Liquid Metal.
[G2 and Desire Z Android Development] mejorguille:
Pershoot, I was wondering why your kernel reports less RAM then the stock CM one (370 vs 371). The difference is minimal and probably the result of one of your optimizations, though I am still curious. Is there any possibility for a RAM hack, similar to how the nexus was able to recover 21 MB more RAM?
[G2 and Desire Z Android Development] Shaquiel Harris:
Quick question.. Is there A reason why .31 only has 3 governors?

Sent from my Rooted God-like HTC Vision running Liquid Metal.
[G2 and Desire Z Android Development] sino8r:
That would be sweet! I am always low on RAM compared with my old MyTouch Slide. Don't get me wrong... the G2 is a ton better but the Slide always had more available RAM.
[G2 and Desire Z Android Development] sino8r:
They've always had three... with pershots version at least.
[G2 and Desire Z Android Development] KCRic:
Didn't that RAM hack actually just 'recover' or steal some space from the video memory or something like that? So you traded performance in one area for a bit more memory (~1 maybe 2 apps worth) in another area. I read something a while back about that being how the RAM hack worked but I could be completely off base.

Not to get off topic (sorry pershoot), but where is our RAM? Is it a partition on our NAND or is it a completely different chip?
[G2 and Desire Z Android Development] mejorguille:
KCric, you're thinking of the old 10mb ram hack for the g1, it stole the memory allocated to 3d and used it as free ram. From what I've read, most of the memory from the nexus ram hack was unalocated memory. Lookup the kangmen hack on nexus section.
[G2 and Desire Z Android Development] captainreynolds:
Running the latest version of Pershoot's kernel and loving it.

I do have one question - does the kernel automatically take care of the lowered voltages in cpu processing? I've been scanning these 103 pages, and I recall seeing somewhere that this kernel makes the CPU use less electricity. Is there any way for me to see or adjust (which I imagine would be dangerous for someone like me to do) this voltage value?

Forgive my most likely incorrect technical jargon - relatively new to all of this - I appreciate any help! Thanks again to all of you awesome devs on XDA who make this possible for fools like myself.
[G2 and Desire Z Android Development] Vlad83:
2 pages ago.
[G2 and Desire Z Android Development] captainreynolds:
Haha thank you. I guess what you're looking for is always right in front of you.
[G2 and Desire Z Android Development] pershoot:
g2/gtab|zpad - 2.6.32.32 - http://droidbasement.com/db-blog ; RM updated.
[G2 and Desire Z Android Development] Vandam500:
Much appreciated. Running it on RC2 and so far so good.
[G2 and Desire Z Android Development] MrFrankfromCM:
Just flashed this .32 Kernel, let's how it goes! I'm sure it'll be a great ride like usual. Thanks!
[G2 and Desire Z Android Development] elracing21:
I'm always flashing pershoots on top of cm but I'm going to compare and contrast. Running the cm kernel on conservative governer 1017ghz max and 245min

Ill report what I see.

Sent from my gSpot2
[G2 and Desire Z Android Development] Shaquiel Harris:
Ooooh New kernel. i love new kernels ;) thanks pershoot.

EDIT: making me hang at my boot screen using liquid metal. (used froyo version).

LMFAO. Flashed wrong kernel.
[G2 and Desire Z Android Development] jmwils3:
working great on GingerSense, too, when you finally flash that :)
[G2 and Desire Z Android Development] Shaquiel Harris:
Headphone Jack suddenly doesnt work.. like with the stock HTC ones i can end the call when i hang up using the buttons but now i cant even hear anything.. the icon doesnt even show up. Any suggestions?
[G2 and Desire Z Android Development] revolution48:
Does it work with LiquidM?
[G2 and Desire Z Android Development] synpax:
I have Cyanogenmod 6.x and have installed your ROM on top of it. However, I don't see where I adjust anything. Where in apps or settings do we go to adjust the clock speed?
[G2 and Desire Z Android Development] EdKeys:
You need an app called setcpu or something similar. There are several free ones on the market.
[G2 and Desire Z Android Development] pershoot:
Headphone jack works fine over here.

On cm7 rc2
[G2 and Desire Z Android Development] Vlad83:
Pershoot can you implement the interactive governor into your kernel please?
[G2 and Desire Z Android Development] pershoot:
Its there just not enabled. It doesnt work well with high oc's.

Feel free to pull src, enable and rebuild to your liking.
[G2 and Desire Z Android Development] pershoot:
All,

Kernel working out ok?
[G2 and Desire Z Android Development] Vlad83:
Ok, will attempt in a few days. Haven't built a kernel before. Thanks.
[G2 and Desire Z Android Development] Vlad83:
All good so far on #14
[G2 and Desire Z Android Development] ChronoReverse:
Conservative isn't as suitable for normal use. It's best left for screen-off or battery-low.

This is because interactive and ondemand spools up the cpu to the max immediately giving better responsiveness.

I'm currently using the cm7 kernel in rc2 to compare if there's a difference in battery life. I like using interactive over ondemand.

Sent from my HTC Vision