yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] b1gpap1:
Can anyone explain to me how to do this!!! I'm new to this, I manage to install to htc sense 2.2 on my g2 but I don't understant how to overclock my phone
[G2 and Desire Z Android Development] pershoot:
BT will not work reliably with sense and this kernel. please see rmk40's thread for a oc kernel to work with your sense build.
[G2 and Desire Z Android Development] OriginalGabriel:
I flashed before bed last night and rebooted, charged to full from the wall overnight and rebooted.

Life seems a bit better with the 11/30 kernel but I was still getting more out of BB .3.

Could it be the calibration issue you mentioned earlier (ie. it says 40% but really its 50%?)
[G2 and Desire Z Android Development] dnamoyar:
Hey Guys,

Is OpenVPN working for anyone with this Kernel? I tried it when I was using CM-RC2 and it was stuck on "Connecting...". Works fine with CM stock kernel.
[G2 and Desire Z Android Development] b1gpap1:
Alright thanx can u post a link, I looked for it but I couldn't find it
[G2 and Desire Z Android Development] androidtoy09:
does this Kernel have issue with the trackpad not lighting up for notification?
[G2 and Desire Z Android Development] ratchetrizzo:
I think battery life is being reported incorrectly, I was at 2%, plugged into the wall and 40 minutes later I was at 99%. It took 2 more hours to charge from 99% to 100%

Sent from two solo cups and a really long string connected to the innerwebs
[G2 and Desire Z Android Development] sino8r:
LOL! That's nuts!:eek: Did you try deleting batterystats.bin from /data/system/ folder?
[G2 and Desire Z Android Development] OriginalGabriel:
I'm thinking the same; I get down to beneath 40% every day with this kernel but Baconbits .3 never drops below 60%
[G2 and Desire Z Android Development] ratchetrizzo:
i just rm'd the batterystats.bin file, so we'll see what happens now.
[G2 and Desire Z Android Development] rraxda:
Just upgraded to RC4 last night. I did not flash the pershoot kernel yet and the battery issue with the dialer reporting excessive use is gone.
[G2 and Desire Z Android Development] ratchetrizzo:
Well.... Wiping the stats did something so far, my battery has been solid locked at 99% for the last 3.5 hours with a LOT of texting and my livewallpaper that seems to like to use the cpu.
[G2 and Desire Z Android Development] sundar2012:
i did a full battery recalibration as outlined on the cyanogenmod wiki with nightly 47...

went from 100% to 59% in the course of 6 hours with some moderate pandora usag and maybe 30 mins of angry birds...

android system is @30% of battery use. However i think this is related to nightly 47...I might go back to RC4.

EDIT

...or just wait for the next nightly to drop.
[G2 and Desire Z Android Development] sino8r:
Dude, that sounds about normal to me. angry birds is heavy resource plus streaming... that will

chew up the battery. plus lwp... lets face it... batteries suck balls and the only real noticable solution is to get a larger battery. Mine has been much better since I switched to a 1500 mAh from the stock 1300 mAh and the same battery door still fits. 1800 are available too but the door pokes out a bit at that size. undervolting the cpu helps but its not gonna make a magical difference just a slight one. Extended battery is the only answer...

Well thats the case in my experience and thats 10 years of smartphone use.
[G2 and Desire Z Android Development] sundar2012:
idk on nightly 40 or 44 i could get 24 hours with similar usage and data off from midnight to 6. my concern isnt so much the battery life per se but the fact that android system is sucking so much juice. I dont have any live wallpapers.
[G2 and Desire Z Android Development] XavinNydek:
I charged it up to 100%, booted into recovery and wiped the battery stats, when it came back up it was only at 74%, so charged it up to 100% again, and wiped the stats again. After that it showed as 100% when I booted it. Through the day with light usage it continually dropped, and after 12 hours it was at 1%, where it's been for the last three hours. Usually with the stock kernel it was at about 50-60% with the same usage. Something is definitely off with the battery algorithm. I'll see what happens after it finally dies. This is with CM RC3.
[G2 and Desire Z Android Development] pershoot:
nexus/ds (2.6.35.9); g2 (2.6.32.26) - http://droidbasement.com/db-blog ; RM updated
[G2 and Desire Z Android Development] Jigga0o7:
Is the interactive governor supposed to work in this release? I'm just saying because I don't see it as selectable in SetCPU.
[G2 and Desire Z Android Development] pershoot:
Nope, not as of yet.

Feel free to pull my src, enable it, and build for testing.
[G2 and Desire Z Android Development] Jigga0o7:
Oh it's all good, I was just confused because I thought it was mentioned in your change log but it seems I may have misunderstood.
[G2 and Desire Z Android Development] ratchetrizzo:
Ah nice.

Will let you know how it does tomorrow. Nandroiding, flashing, rebooting, then plopping it on the charger and going to bed. Going to let it charge all the way overnight then I'll wipe stats again in the AM to be on the safe side
[G2 and Desire Z Android Development] beatson:
installed and now my phone is stuck in a boot loop... had to battery pull and do a restore

Have the same problem with the boot loop, tried installing the new kernall, and now i'm stuck in a boot loop after it installed, what should i do now to get it back to normal operation, THANK YOU!!
[G2 and Desire Z Android Development] pershoot:
What device are you working on?

At any rate, fastboot flash the zimage and adb push the wifi module.
[G2 and Desire Z Android Development] beatson:
What device are you working on?

At any rate, fastboot flash the zimage and adb push the wifi module.

I am running the HTC G2 and I just rooted my phone and i went to put on the new kernall for the overclocking, and after it installed I keep getting a boot loop, if you can help me out that would be great!!
[G2 and Desire Z Android Development] pershoot:
Go to recovery.

Clear dalvik.

Flash cyanogenmod 61rc4 or latest enomther.

Flash latest gapps.

Reboot

Reboot back to recovery if all was well.

Flash kernel boot file.

Reboot.
[G2 and Desire Z Android Development] ratchetrizzo:
Updated to the 12/3 kernel.

So far so good, charging up now.

Will post updates tomorrow.

thank you for this kernel :)
[G2 and Desire Z Android Development] gumbottoms:
Thank you so much for this. This kernel teamed with juice defender I'm at 57% battery life after 9 hours off the charger. I usually listen to podcasts/music all day along with texting, emailing, and some light twitter use. And on 2G the whole time.

I will be donating as soon as payday rolls around.
[G2 and Desire Z Android Development] ratchetrizzo:
So far so good. Kernel is working great for me, battery life seems the same if not better than before, but I'm going to totally drain this until it shuts off tonight and charge it that way.

Here are my batt stats so far:

9h 22m 35s since unplugged and I'm @ 78% with regular use (txting, some browsing, camera use)
[G2 and Desire Z Android Development] ZombieUsr:
Wow 9hrs @ 78%...I'm getting 9hrs @ 40% or less
[G2 and Desire Z Android Development] ratchetrizzo:
5 hours later and after HEAVY use (wifi, MUCH MUCH MUCH signal switching for 2 hours straight (going from H to E to G to X because of the area I was in), web browsing, switching between lots of live wallpapers to mess with and game playing, I am down to 33%. This is still going to last me until sometime tomorrow afternoon before its totally drained.
[G2 and Desire Z Android Development] OFinch:
WOW.. what am I doing wrong? lol.. you guys are getting incredible battery life.. so I just flashed this newiest kernal tonight right.. charged it full.. booted into recovery, wiped stats. turned back on and started the use.. and here are my stats..... unplugged for 3 hours.. I'm at 79% battery.. somethings not right here.. but to me that's not that bad lol.. but some of you guys stories make it seem like i'm doing something wrong
[G2 and Desire Z Android Development] OriginalGabriel:
Have you recalibrated your battery at all? I was going to because the BB kernel was doing much better than the last twp Pershoot kernels, which seemed odd.
[G2 and Desire Z Android Development] ratchetrizzo:
it has been 26 hours since I have had my phone off the charger and I am at 13%.

This kernel is INCREDIBLE with 245/245 screen off profiles. It's going to be a few more hours before it dies and I can charge it!

Yes, I wiped battery stats and recalibrated 3 times. Give it a shot, it won't hurt. You are just wiping a file.
[G2 and Desire Z Android Development] Orite:
What's the complete set of profiles you're using if you don't mind me asking.
[G2 and Desire Z Android Development] ratchetrizzo:
Screen off - Priority 100 - 245/245

Temp >43.0c - Priority 95 - 806/245

Charging/Full - Priority 90 - 1516/245

Battery < 10% - Priority 80 - 245/245

Battery < 20% - Priority 70 - 368/245

Battery < 30% - Priority 60 - 768/245
[G2 and Desire Z Android Development] infamousjax:
what governors?
[G2 and Desire Z Android Development] ratchetrizzo:
everything is set to on demand
[G2 and Desire Z Android Development] codf4ther:
I just wanted to post and congratulate you on this kernel. I get no hangs on the unlock screen like I do with other kernels, and the battery life is phenonemal. Outstanding work.
[G2 and Desire Z Android Development] rraxda:
Anyone running this on 6.1 stable yet?
[G2 and Desire Z Android Development] dyndragon:
yup, just fine.
[G2 and Desire Z Android Development] J-Hop2o6:
i can't get this to work what so ever.. i use RM and do it from Bootloader>CWM recovery .. and it keeps rebooting the HTC screen (not going past it), so i have to keep restoring my backup.. what am i doing wrong?
[G2 and Desire Z Android Development] pershoot:
fastbot flash the zimage and push the wifi module in place

or

flash the .zip manually through recovery.
[G2 and Desire Z Android Development] J-Hop2o6:
i tried the flash through recovery (hopefully the correct way).. never works.. and can u detail out the fastboot flash zimage procedure for me.. all i see in the fastboot is bootloader, reboot bootloader, reboot phone, pwr down.
[G2 and Desire Z Android Development] pershoot:
search this thread. its in here.
[G2 and Desire Z Android Development] J-Hop2o6:
this? it looks like the best procedure on page 4 (at 50 PPP):

Try this:

Put the zImage from the .zip into your ADB working directory (mine is C:\Users\myusername, but it also may be the folder where adb.exe is located

Open ADB and boot your phone into fastboot: adb reboot bootloader (or touchpad + power)

In ADB, type: fastboot flash zimage zImage

At this point you might also have to push bcm4329.ko to fix the WiFi if it doesn't work. You can use ADB to do this as well, but it didn't work for me so I used terminal on the phone. A reboot may be required afterwards. If you use these commands for terminal, make sure you have bcm4329.ko copied to your /sdcard/ either by pushing it with ADB or just by copying it over with your computer. This is what you type in terminal when bcm4329.ko is on your sdcard directory:

su

mount -o remount,rw /dev/block/mmcblk0p25 /system

cp /sdcard/bcm4329.ko /system/lib/modules/bcm4329.ko

mount -o remount,ro /dev/block/mmcblk0p25 /system

Other than that you should be good to go.

UPDATE: it worked! i just gotta get the hang of adb more (the first steps to point cmd to where adb is located.. gotta keep a mental note of the cmds).. but i wonder why the other two methods (via Rom Manager, and bootloader>recovery>install) didn't work for me.. now off to set my setcpu profiles.
[G2 and Desire Z Android Development] pershoot:
can you please send me a a recovery.log (in /tmp) next time you do flash, so i can see what went amiss?

thx.
[G2 and Desire Z Android Development] dnamoyar:
Hate to repost my question, but is anyone successfully using OpenVPN with this kernel?
[G2 and Desire Z Android Development] sundar2012:
Any tests on this kernel vs cm6.1 stable? If this is truly superior why isnt the CM team using it?
[G2 and Desire Z Android Development] silverton:
I'm using this kernel with Nightly 51, I think CM6.1-Stable is based on Nightly 50.
[G2 and Desire Z Android Development] J-Hop2o6:
i will.. but i don't see /tmp (via Astro).
[G2 and Desire Z Android Development] dyndragon:
If I'm not mistaken, Cyanogen's team will only integrate the most stable, most compatible options they can into their builds. They do not want people who don't understand what a kernel is complaining that their phone is too hot, or is crashing. CM by default was made to be "safe" for everyone.
[G2 and Desire Z Android Development] pershoot:
you will only see this when you execute a command in recovery (and will only have access to said log in recovery).
[G2 and Desire Z Android Development] pershoot:
download the lib tar archive, grab tun.ko from it, and push it to your phone (/system/lib/modules is a good place to put it). insmod it in, and then you should be able to utilise those functions.
[G2 and Desire Z Android Development] J-Hop2o6:
so that means no way to C&P it here huh?
[G2 and Desire Z Android Development] pershoot:
Go back to recovery and flash the .zip. pull /tmp/recovery.log

It will not flash the kern due to same headers (you already have it installed), but want to inspect it.
[G2 and Desire Z Android Development] sundar2012:
What are the clock speeds/voltage tables looking like now - it used to be more simple to lookup on git but now its not as clear. Also how does this table compare to CM6.1?
[G2 and Desire Z Android Development] pershoot:
Tree view

arch/arm/mach-msm/acpuclock-7x30.c
[G2 and Desire Z Android Development] sundar2012:
Got it... the cyanogen tre is all messed up though - i dont see that anywhere?

nevermind, found it...

pershoot: https://github.com/pershoot/vision-2632/blob/master/arch/arm/mach-msm/acpuclock-7x30.c

cm: https://github.com/CyanogenMod/htc-kernel-msm7x30/blob/master/arch/arm/mach-msm/acpuclock-7x30.c

pershoot, why so many steps in clock vs cm? will cpu ever spend much time at those points?
[G2 and Desire Z Android Development] dyndragon:
I find that with ~1017/245, phone spends most of the time in 245 (5 million some), followed by 806 (2 million some), and then max speed (75k some). It seems to completely bypass the 900s.
[G2 and Desire Z Android Development] dyndragon:
Not-so-good battery life anymore

Edit: Nevermind me. I'll do some battery testing on my own, my results are too subjective.
[G2 and Desire Z Android Development] pershoot:
Sundar,

To add incremental volt flow upward/downward.
[G2 and Desire Z Android Development] elracing21:
Will you be upgrading this kernel anytime soon or is this as good as it gets?

Im not saying its bad its awesome I been using it on all of CM RC builds but since 6.1 stable i havent flashed this over it yet. Waiting for another upgrade.
[G2 and Desire Z Android Development] pershoot:
an update isn't needed at this time. you can flash this kernel (12/3).
[G2 and Desire Z Android Development] ze4life:
i tried to flash the kernel with fastboot but i keep getting the following:

./fastboot flash zimage zImage

sending 'zimage' (2581 KB)... OKAY

writing 'zimage'... FAILED (remote: not allowed)

any ideas what i could be doing wrong?

its a Desire Z euro and perm rooted with the gfree method
[G2 and Desire Z Android Development] pershoot:
is your bootloader s-off'd?

be aware, if you are using sense, then BT will not work reliably for you on this kernel. wifi may also give you some issue. if you are on CM/Enom, then you should be good to go.
[G2 and Desire Z Android Development] GermanGuy:
Ran into the same problem with installing the zip file via RM. Doing restore now.
[G2 and Desire Z Android Development] ihateusernames:
I have reverted back to the 11.30 kernal as the 12.03 kernal was murder on my battery. Good news is that the 11.30 kernal is perfect for me. I contemplated whether I should change at all when the 12.03 kernal came out because the previous worked so well. Not knocking it, just saying.
[G2 and Desire Z Android Development] dyndragon:
I would tend to agree with you, except I'd ask (and I think pershoot will also ask) you to go through the battery recalibration procedure to verify that it really is the kernel.

http://wiki.cyanogenmod.com/index.php?title=Troubleshooting#Battery_recalibration

I also thought my battery life went completely to crap when i flashed the 12/3 kernel, only to find that really the battery stats were messed up. Yesterday, before I recalibrated, I was nearly out of battery (say, 20%) with almost no use at the end of a 8 hour work day.

Today, after following the battery calibration procedure last night, I am at 66% with about the same amount of usage, and just an hour to go in my work day.

Granted, I still feel that when I'm connected to wifi, my battery life on 12/3 kernel is worse than what it was on 11/30, but I'll test my theory tomorrow by flashing the 11/30 kernel.
[G2 and Desire Z Android Development] ihateusernames:
I should have stated that I tried the calibration using cm 6.1 and enomther ROM's. That is why it has taken so long for me to come to the decision to revert. I went through several battery cycles on both ROM's and still had poor battery.

I admit I don't know how accurate this is but I did notice under info on setcpu that I was only using my max and min seetings. What I mean is that on the 11.30 kernal, I would see polling or whatever on all freq's between my max and min but on the newer kernal it would only poll my max and min. This seemed odd to me. I tried wipes, cals and reinstalls of the ROMs, kernals and setcpu but could never get it to act the way it did on the 11.30 kernal.

Again, I really don't mind as the older kernal works great. I more left it on here for informational purposes for the kernal master and anyone else who may think they have a problem. I also know that every system will be slightly different and that kernal may have not liked my setup. I will still check this thread daily for updates and download pershoots latest works as soon as they touch down.
[G2 and Desire Z Android Development] J-Hop2o6:
do the zimage procedure instead.. that worked for me.. u can also copy and paste the commands like i do to go quick and be cmd error free.

Put the zImage from the .zip (.zip\kernel\zimage ) into your ADB.exe working directory (mines is C:\androidsdk\adb\ )

Start ADB (cd C:\androidsdk\adb\ ) or wherever your adb.exe is located

Boot your phone into fastboot. Type: adb reboot bootloader ((or touchpad + power))

In ADB, type: fastboot flash zimage zImage

At this point you might also have to push bcm4329.ko to fix the WiFi if it doesn't work. You can use ADB to do this as well, but it didn't work for me so I used terminal on the phone. A reboot may be required afterwards. If you use these commands for terminal, make sure you have bcm4329.ko copied to your /sdcard/ either by pushing it with ADB or just by copying it over with your computer. This is what you type in android terminal emulator when bcm4329.ko is on your sdcard directory:

su

mount -o remount,rw /dev/block/mmcblk0p25 /system

cp /sdcard/bcm4329.ko /system/lib/modules/bcm4329.ko

mount -o remount,ro /dev/block/mmcblk0p25 /system

Other than that you should be good to go.
[G2 and Desire Z Android Development] elracing21:
Going on 15 hours of battery life with heavy use. Some few hours of idle (I was sleeping) and now using it again. I'm still @ 20% battery life.

I'm on 12/3

Can anyone help me flash back to CM6.1's kernel? I want to do a comparison.

HTC Vision S-OFF CM6.1 Oc'd to 1.5ghz on Pershoots Kernel
[G2 and Desire Z Android Development] ihateusernames:
Since you are already on cm6.1, you can just flash the rom again and you should be back on cm's kernal I believe. You shouldn't need to wipe either.
[G2 and Desire Z Android Development] GermanGuy:
Thanks. Will try that when I get home.
[G2 and Desire Z Android Development] sundar2012:
I did some testing - 12/3 is superior to CM stable. Im at 40% after 10 hrs of moderate to heavy use after running battery calibration.
[G2 and Desire Z Android Development] sundar2012:
btw, re: vm heap

I had it @ 32 and stuff has been fine. Im going to see what happens at 24. Any reason why it was suggested to be set to 24 on cm?
[G2 and Desire Z Android Development] elracing21:
Nice find, I just flashed cm 6.1 again to test. How many hours were you able to squeeze out of cm 6.1 before hitting 15%?
[G2 and Desire Z Android Development] Nitemare3219:
Like how you just copied my entire post from earlier without quoting me, lol.
[G2 and Desire Z Android Development] J-Hop2o6:
L

Long story.. plus I hate seeing long instructions like this italicized.. Also, I edited it kinda in a few places to make it easier for others.
[G2 and Desire Z Android Development] J-Hop2o6:
What is this vm heap I keep seeing? And how do u edit it?
[G2 and Desire Z Android Development] ratchetrizzo:
I'm trying the 11/30 kernel on CM6.1 final to compare it to my 12/03 battery life.

I'm currently waiting for my battery to drain so I can charge it from the recovery screen (cause we all know the phone wont power off with the charger plugged in).

I just want to make sure it's the same/better with the official.
[G2 and Desire Z Android Development] pershoot:
You have another issue.

1203 is the same if not better then 11/30 (no related battery changes bet. the 2 tho).
[G2 and Desire Z Android Development] dyndragon:
I saw the only changes were wifi related between 11/30 and 12/03. Do you think those have impact on battery life? I can swear that I got way better battery life when I'm on wifi all day before the 12/03 kernel. I'll test it tomorrow...
[G2 and Desire Z Android Development] pershoot:
i am on wifi all night and leave the module running all day (when not on wifi; in low reception 3g area). battery life is quite good.
[G2 and Desire Z Android Development] sundar2012:
does wifi use less energy than 3g radio?
[G2 and Desire Z Android Development] pershoot:
Much less.
[G2 and Desire Z Android Development] pershoot:
nexus/ds/g2 - 2.6.35.9/2.6.32.26 - http://droidbasement.com/db-blog ; RM updated
[G2 and Desire Z Android Development] J-Hop2o6:
yes! and do i do anything with the extra file below the .zip?

lib-2632.26.tar.gz (kernel modules)

Download: lib-2632.26.tar.gz
[G2 and Desire Z Android Development] pershoot:
not unless you want to load in other modules.
[G2 and Desire Z Android Development] brian6685:
If I use rom manager to download your kernel will it be the latest one?
[G2 and Desire Z Android Development] pershoot:
Yes

.....
[G2 and Desire Z Android Development] brian6685:
Awesome, thanks. :)
[G2 and Desire Z Android Development] J-Hop2o6:
i only see 12/3 in Rom Manager

what will this do or change?
[G2 and Desire Z Android Development] pershoot:
Delete your dload cache.
[G2 and Desire Z Android Development] J-Hop2o6:
sorry im still learning.. but i did and its still showing 12/3.. even rebooted my phone.
[G2 and Desire Z Android Development] pershoot:
Stop the app and clear cache (thru applications in settings). Then relaunch it.
[G2 and Desire Z Android Development] J-Hop2o6:
oh THAT way.. ok hold on... yea, since i done it inside the app already, the button clear cache button was greyed out.. still showing 12/3 after the force stop.

its ok.. i'll just flash from sdcard.
[G2 and Desire Z Android Development] pershoot:
i can reproduce it. ill fix it. added to known issues.
[G2 and Desire Z Android Development] TL24:
Nice, can't wait to try this Kernel! I'll wait till you release a version with the "Interactive" gorvenor for SetCPU.

Keep up the great work!
[G2 and Desire Z Android Development] pershoot:
interactive is not playing well with high oc's, etc., so i have not enabled it. when i get some time ill try to work on interactive down the road.

feel free to pull my source, enable it in the config and build.
[G2 and Desire Z Android Development] TL24:
Ahh ok, well that's too bad... I'll let experts like you mess with the build instead lol :D

Keep us updated!