yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] alphahere:
I'm new to this rom/kernel updating. I did search but it was not clear what is the best way to restore stock kernel. Appears to be different for different phones.

Should one restore complete nandroid backup after clearing cache or is it okay to only flash the boot.img after clearing the cache?

Currently using OTA stock rom.

Thanks.
[G2 and Desire Z Android Development] OriginalGabriel:
If you're just resoring the kernel, you should be fine just clearing cache and dalvik cashe and then flashing the kernel.
[G2 and Desire Z Android Development] ratchetrizzo:
Nevermind.
[G2 and Desire Z Android Development] Gunlance:
I finally got this working and it was great. Ultimately I went back to the stock kernel because I relied more on the Wifi Tethering than I initially thought. I'll jump right back onto it when that is fixed! Keep up the good work!
[G2 and Desire Z Android Development] pershoot:
Tethering works perfect using in-built froyo.
[G2 and Desire Z Android Development] ratchetrizzo:
As I was going to say earlier before my 5 year old interrupted me, I don't think the battery issues are with the kernel at all.

With the new kernel my battery life is fine, it's what the meter is reporting that's the screwed up thing. Example, after recalibration for the new kernel, the battery meter will go from 100% to 99% in 20 minutes, then sit at 99% for FOUR hours, then drop from 99% to 60% in 3 hours, then slowly drop from 60% to 10% over the next 10 to 20 hours, depending on use and if the screen is on. Then it will drop from 10% to 0% in 30 minutes with or without any use.

The kernel is fine, I think it's android that is screwed up for proper battery reporting.
[G2 and Desire Z Android Development] catachresistant:
I'm definitely seeing weird battery reporting too. Tried recalibrating twice, but it doesn't seem to help.

In actuality, the battery life is great. I just wonder what I've done to mess up the reporting.
[G2 and Desire Z Android Development] Gunlance:
Interesting. I verified that tethering works fine on the stock rom. I then flashed the kernel and pushed the wifi module. Wifi worked fine but wireless tethering did not. The computer would not get an ip address from the phone at all. If I tried to alter the AP settings at all, it would error out and then I wouldn't be able to turn on wifi tethering again unless I rebooted.
[G2 and Desire Z Android Development] muness:
What are you using to tether? The stock tethering app or android-wifi-tether (http://code.google.com/p/android-wifi-tether/) ?
[G2 and Desire Z Android Development] Gunlance:
The stock tethering app that came with the phone. I can't remember if wifi tether worked with this kernel and CM6.1. I will test that later on.
[G2 and Desire Z Android Development] HAK Devil:
Hey, this kernel is working great but I was wondering if there was any way I could get it back to the trackpad led blinking to notify me of a text message rather than the speaker LED?
[G2 and Desire Z Android Development] elracing21:
I think the option for both would be awesome. Altho LED me know app on the market can do this for you. But I dinf it kind of buggy on my G2, the notification icons are screwy and they show the wrong contacts that text me.

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] jojo_16:
It still draining my battery real fast idk what's the problem is this kernel stable and prove to be working??

All kernels that I flash still drains my juice so damn fast I did everthing battery calibration and setcpu scaling idk maybe the real problem is the battery I'm still waiting on my mugen batt. But what I recommend u guys is juice defender I save a lot of battery when my screen is turned off it has a lot of settings that if u turn off your screen its like turning off your G2(1 min data running every 15mins) but once I use my phone its ****ing draining it real crazy.
[G2 and Desire Z Android Development] infamousjax:
It's most likely not the kernels fault but it's because you have some sort of rogue process you don't know how to handle your tasks properly.
[G2 and Desire Z Android Development] noodles2224:
Just push the stock lights.vision.so to /system/lib/hw

Sent from my HTC Vision
[G2 and Desire Z Android Development] androidtoy09:
wow, didn't know it could be that simple :D thank you!
[G2 and Desire Z Android Development] spovat:
might be a noob question but what are the features of this kernel in plain english and what has been updated in 2.6.32.27 (as opposed to .26)?

I've checked pershoot's blog but don't see a feature list that I can understand
[G2 and Desire Z Android Development] brian6685:
Anyone have an opinion on which version is best with batt life on cyanogenmod? I'm using .26 now
[G2 and Desire Z Android Development] adrienspawn:
Same.

Anyone know the best way to overclock/undervolt permanently using CMod 6.1?
[G2 and Desire Z Android Development] convolution:
Hmm maybe we could help you indeed but I don't know since there isn't any punctuation in your text so it is just one big TL;DR post basically maybe you should put some punctuation in please next time deal?
[G2 and Desire Z Android Development] sundar2012:
Battery after the latest .27 drains pretty fast...5% per hr..even idle
[G2 and Desire Z Android Development] gravis86:
Must be an app or something on your phone... I ran mine for over 16 hours today with a good 3.5 hours of use and wifi was on for about 6 hours... it was at 23% when I plugged it in.
[G2 and Desire Z Android Development] ratchetrizzo:
I don't think it's the kernel causing bad battery life.

It sure seems like battery reporting is screwed on the g2.

Yesterday I physically witnessed my battery drop 10% in 2 minutes at the home screen (I watched it move down) and then STOP at 80% for 2 hours.

Something isn't right with the way it's calculating.
[G2 and Desire Z Android Development] androidtoy09:
I have a couple problems with the latest Kernel .27

1-The Portable Hotpot (Default) doesn’t work properly, the others devices can see the AP SSID but they can’t obtain any IP addresses.

2-The MAC address is set to 00:11:22:33… which caused a conflict with my brother’s G2 at home which uses the same kernel. Only one of us could access the router.

P.S I’m using Fastludeh’s Stock De-odex ROM v1.1
[G2 and Desire Z Android Development] J-Hop2o6:
yea, Wifi AP (embedded & Wireless Tether app) doesn't fully work for me.
[G2 and Desire Z Android Development] ratchetrizzo:
That's weird, I'm using CM6.1 stable, this kernel (the latest) and my mac shows up correctly
[G2 and Desire Z Android Development] adamdhall:
Help getting better performance!

How are you achieving scores like this? I am running V1.2 for Virtuous Rom. I am only getting 1900 - 2200 Quadrant scores. Currently running on Performance governor and barely any BG Apps. Any help/ideas would be greatly appreciated. By the way GREAT WORK PERSHOOT! :)
[G2 and Desire Z Android Development] pershoot:
all, this kernel has not been tested against the stock rom. it is designed to be ran on top of Cm6. it can also be run on top of enomther's rom.

i will state this in the blog notes from this point forward.

sorry, but it is quite a task for me to support various roms/flavors, when I myself don't run them actively.
[G2 and Desire Z Android Development] pershoot:
this is not designed to be run on top of sense. your BT/WIFI may not work reliably.
[G2 and Desire Z Android Development] pershoot:
embedded works perfect.

if your on the stock rom, i suggest not using this kernel, as it was not designed to be run on top of it.
[G2 and Desire Z Android Development] pershoot:
check kernel.org between tags .26 and .27. there you will come to see the differences/changes.
[G2 and Desire Z Android Development] pershoot:
battery is fine.

check your BG apps/low reception consumption.
[G2 and Desire Z Android Development] pershoot:
if your on the stock rom, i suggest not using this kernel, as it was not designed to be run on top of it.

no issue with any of this when run on top of cm. should be no issue running on top of enom's as well.
[G2 and Desire Z Android Development] J-Hop2o6:
everything's in my sig.. but yea, im still on stock rom until enom releases the update to his rom.. i was just confirming i had a problem also.. but i rarely use WiFi AP anymore these days, so its not a biggie to me.

Q: why when i wake my G2 up at times, CPU is running at 100% UNTIL i open up SetCPU (which runs at boot).. any idea? -- PowerTutor says its my System (1000) thats using my CPU mostly.. and like i said, it wont rest UNTIL I open SetCPU again.. it start this since the most recent kernel (12/10).
[G2 and Desire Z Android Development] androidtoy09:
Oh ok, thanks for clarifying it. Now that puts my concerns to rest.

Btw, is there any other kernel beside BaconBits for Stock? if so can you recommend me one? Thank you
[G2 and Desire Z Android Development] sundar2012:
is it possible that if im using a different charger (say from my old moto cliq), the battery would report 100% but not be topped off?
[G2 and Desire Z Android Development] sino8r:
You can use Barnacle for wifi tethering and wired tether for usb/cable tethering. Those work with 99% of the roms out there with using this awesome kernel.
[G2 and Desire Z Android Development] sundar2012:
I think the new market apk was running some rogue background process. Not sure. Went back to the old one and will retest.
[G2 and Desire Z Android Development] OriginalGabriel:
I'm having the MAC address issue as well, Pershoot is looking into it and is going to send me a test build
[G2 and Desire Z Android Development] J-Hop2o6:
any input on my problem? also, it seems like when its 100% and i open SetCPU, it says "SetCPU has been granted superuser rights" .. it always says that.. so is SetCPU closing somehow? even tho it still shows its a running service in the task manager.. i have it to set at boot.. its been like this since the most recent 12/10 kernel.
[G2 and Desire Z Android Development] adrienspawn:
OCing works great! Thanks.

I hope this isn't a nooby question, but is there a pre-undervolted one for use with lower overclocks (1ghz-1.2ghz?)

I'm weary about OCing far from stock frequencies, but also about heat. I could solve both with undervolting while overclocking.
[G2 and Desire Z Android Development] alfredo123:
I have cyanogenmod 6.1 stable and pershoots latest kernel....I am facing sudden temperature increases without use of any applications while at other time I'll be using a few applications and there will be no temperature increase.

I am not sure how to check the overclock so I installed setcpu and it automatically detected min 245 max 806.

Any suggestions how I could reduce these temperature surges. The performance is very good...better than my previous combo of cyanogen rom+kernel.

Also, my cell signal keeps changing even on the same spot (1 bar to 4 and back) and it is worse compared to the stock ROM. I get less of a signal on the wireless too. Any suggestions to rectify this will also be helpful. I am using stock radio that came with my Tmobile G2
[G2 and Desire Z Android Development] J-Hop2o6:
temperature is always fine for me OC'ing @ 1.5.. when i charge, SetCPU downclocks it down to 1.2 (my profile).. but anyways, my battery mainly stays below 100 F.
[G2 and Desire Z Android Development] pershoot:
nexus/ds/g2 - 2.6.35.9/2.6.32.27 - http://droidbasement.com/db-blog ; RM updated.
[G2 and Desire Z Android Development] pershoot:
hop to recovery, then clear dalvik, flash latest nightly + latest gapps + latest kernel (12/15), reboot.

let me know if you face the MAC issue.

if you do capture a dmesg.

thx.
[G2 and Desire Z Android Development] J-Hop2o6:
ok update: after i ran alot of benchmarks (w/ OC @ 1.5 performance govern), it seems like it didn't shoot up and stay at 100% after device wake.. not sure if that was the remedy, but for those last few hours before i flashed the new 12/15 kernel, it was waking normally again.. the new kernel is working just fine.. but the battery is depleting rather quickly with little use.. and i know, gotta let the battery calibrate after deleting its stats.
[G2 and Desire Z Android Development] pershoot:
the more you delete those stats, the more it needs to recalibrate itself (takes a few up/down charges).

my advice.. don't delete them. leave it as is.

don't look at the percentage at a given time. gauge consumption over the course of hours. monitor your own useage, BG apps, low reception consumption, etc.
[G2 and Desire Z Android Development] Sh0rty007:
hmmm i flashed the kernel over CM 6.1 stable.

Look in setcpu en nothing changed. can't set it obove 500...

someone know how to overclock with the CM 6.1????????
[G2 and Desire Z Android Development] gravis86:
You overclock by using SetCPU...

Boot into Clockwork, Clear Cache, Advanced > Clear Dalvik Cache, then re-flash the kernel. See if that helps.
[G2 and Desire Z Android Development] Sh0rty007:
But how do i flash the kernel when i'm in recovery mode?
[G2 and Desire Z Android Development] BBOOZE:
Thanks for mentioning this. On another thread someone mentioned wiping the battery stats as a way to "start fresh" and get the best battery life. I've been doing this every time I flash a new ROM. Hasn't hurt me but good to know I should just leave it alone.

Great kernel....working great and fixed a tethering issue I had with enom's ROM.
[G2 and Desire Z Android Development] Sh0rty007:
Just did what you were saying.

Nothing changed... setcpu can only get up to 368 mhz :s :(
[G2 and Desire Z Android Development] pershoot:
setcpu -> autodetect
[G2 and Desire Z Android Development] Sh0rty007:
YOU'RE MY HERO!!!!! thank you soooo much :):):)

working here :D
[G2 and Desire Z Android Development] SHOOTEMUP2.0:
I get a lot better battery life out of thr 12/08 vs the 12/10. I am flashing the new one now.
[G2 and Desire Z Android Development] gravis86:
Haha DUH I should have known that... I'm gonna go hide in shame now.
[G2 and Desire Z Android Development] jojo_16:
Does this kernel doesn't really fixed the wifi tethering, I jst want a stock ROM and this kernel
[G2 and Desire Z Android Development] J-Hop2o6:
pershoot says WiFi AP wont work with the stock rom.. u better find a rom thats close to stock.
[G2 and Desire Z Android Development] androidtoy09:
yes, install it just like a ROM
[G2 and Desire Z Android Development] ajk1311:
Enomther's rom is very close to stock and wifi calling and hotspot work with this kernel. its an excellent rom too
[G2 and Desire Z Android Development] ratchetrizzo:
Should I still be using this kernel now that I updated to 6.1.1?

I mean i DID reflash it, but saw that 6.1.1 goes up to 1.51ghz but there is no straight answer if it's the same as this with the voltages and tweaks
[G2 and Desire Z Android Development] GermanGuy:
I have Wifi tether (the one from code google) working on mine - Stock ROM with pershoot kernel.
[G2 and Desire Z Android Development] pershoot:
Ratchet, the extra freq. (1.51) but the rest of the freqs range and voltages differ.
[G2 and Desire Z Android Development] ratchetrizzo:
Awesome, I will stick with yours then since it has extra goodies, and now that my battery has stabilized everything is great.

Since it recalibrated, my battery life is back to normal/good on your latest kernel.
[G2 and Desire Z Android Development] J-Hop2o6:
not for me for some reason.. i'll re-test again later.
[G2 and Desire Z Android Development] GermanGuy:
I am using version 2.0.2, if that helps.
[G2 and Desire Z Android Development] jojo_16:
Pershoot recommend me enom ROM, its close to stock and it has additional settings for LED and trackpadwake..
[G2 and Desire Z Android Development] dnamoyar:
Is there a tun.ko module available for the kernel? If not, is there a walkthrough for a newbie to compile it?
[G2 and Desire Z Android Development] J-Hop2o6:
i have 2.0.5-pre15.. that doesn't work, nor built in Wireless Tether.. but i will test when i get the chance.
[G2 and Desire Z Android Development] sundar2012:
Looking at the current (nightly) cm vision kernel vs pershoot kernel it seems that now, unless u run pershoot below 1.516ghz, there isnt much battery savings effects to be had. voltages levels are about the same, just less granularity.
[G2 and Desire Z Android Development] azuwis:
Hi, pershoot, thanks for the great kernel.

Would you please build nls_utf8.ko for cifs in the next build. So that non-ASCII chars will be supported.
[G2 and Desire Z Android Development] GDev:
after flashing this I still can't get out of spash when booting. It will show splash screen then reboot. Can't get past. Rooted stock rom. Anyone else with this issue?
[G2 and Desire Z Android Development] ccb04:
Just found out today that tethering doesn't work with this kernel..Went back to bacon bits..If theres a version of wireless tether that works with this kernel plz post.
[G2 and Desire Z Android Development] ccb04:
Can you plz fix the Wifi Hotspot? Those of us on a themed stock de-odexed rom are left without tethering..I enjoy the battery life..Got 1day 9hrs yesterday..But just found out the tethering doesn't work nemore..So i went back to baconbits.3 and it worked fine..Can you make a version that will work for us?? Plz :confused:
[G2 and Desire Z Android Development] ratchetrizzo:
Pershoot already stated that this kernel is not meant for a stock based rom.
[G2 and Desire Z Android Development] elracing21:
I know its hard to read 54 pages worth of a thread but even the last 3 pages has information about this kernel not working on stock rom. Not trying to sound like a douche but its hard and a bit obnoxious explaining this on every page.

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] ccb04:
Thanx for being the douche you were trying not to be..Already read the pages for your information. Doesn't state anywhere that this doesn't work on a stock based rom. It was actually working great, until i found out the tethering was broken. I appreciate your help
[G2 and Desire Z Android Development] ihateusernames:
This was actually posted 15 posts before yours. Sorry.
[G2 and Desire Z Android Development] ratchetrizzo:
This is a direct quote of what he said.

It's not his fault or problem that the stock rom has broken things when using this kernel, nor should he have to fix it when he clearly states its designed for CM and enomther's rom. If you want the stock rom to work with overclocking, find a kernel made for it, or use baconbits. Calling people names because they stated what the author said doesn't help anyone.

Sent from two solo cups and a really long string connected to the innerwebs
[G2 and Desire Z Android Development] mastermann:
Thanks Pershoot

Thanks Pershoot! I'm running Cyanogen 6.1.1 and your kernel fixed my WiFi calling. Running the stock CM6.1.1 kernel, WiFi calling was distorted and barely usable. Now, it's crystal clear!

Also, I managed to get wifi tethering to work by downgrading the Google Code app to version 2.0.2. The built-in tethering app won't work, and I think later versions of the Google app somehow interface with the built-in Froyo app.

Having reliable Wifi calling is far more important to me than wireless tether, but I managed to get both of them working using the method described above.

To Pershoot and Cyanogen...keep up the good work. Thanks again!
[G2 and Desire Z Android Development] ratchetrizzo:
The built in hot spot and this kernel work fine for me on cm6.1.1 with nothing done.

I don't know why it's a YMMV thing
[G2 and Desire Z Android Development] elracing21:
Umm if you really did read you would have read posts of others saying this is not intended for the stock rom. Your welcome =)

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] crysalis786:
Hey. Does anyone have a cifs.ko which wotks with this kernel or wotks with pershoot s kernel?

EDIT: Duh! I didn't realise that Pershoot updated his blog with newer kernel modules! Found it now!
[G2 and Desire Z Android Development] OFinch:
lol dude 5 percent every hour is great! that's 20 hours battery life.. that's what I have been trying to figure out this whole time lol.. that's not draining fast at all. I'm sure a lot of us wouldn't be here posting if we were getting 20 hours of battery life
[G2 and Desire Z Android Development] ruleftbehind:
Wow pershoot, THANK YOU! This kernel in combo with enom's ROM has my battery doing GREAT! 20+hrs and I still have 10%! awesome!
[G2 and Desire Z Android Development] pershoot:
nexus/ds/g2 - 2.6.35.10/2.6.32.27 - http://droidbasement.com/db-blog ; RM updated.
[G2 and Desire Z Android Development] Vandam500:
Just flashed this. I'll report back my mileage
[G2 and Desire Z Android Development] juanshop:
just realized there's a new one, gonna see whats up with it tomorrow on a foll day of usage :):D
[G2 and Desire Z Android Development] rraxda:
15+ hours and still 20% left on the 12/15 version. It also fixed my WiFi issues with CM 6.1.1. Awesome. Going to give the new one a try also.
[G2 and Desire Z Android Development] JustAnotherNewbie:
Just a preliminary heads up here. Using the 12/20 kernal really seemed to guzzle battery power. I haven't yet noted the extent, and to be fair its true that I also just moved up to CM6.1.1, so it may not be the kernal.

I've moved back to 12/15 for now to see if that helps.

Is anyone else noticing a hit to the battery?

-Newbie

---Edit--- 12/22 12:12PM

I retract this post. I have no idea why my battery was being drained to the extent that it was. PowerTutor and such things didn't really help me trace the problem, so I ended up doing a fresh install of CM6.1.1 and then upgrading to the latest pershoot kernel. Battery dropped a bit faster at first, but it's holding absolutely steady and awesome now. Maybe my phone is on crack; I'll be sure to keep an eye on it.

Thanks again pershoot for the very, very keen kernel, and my apologies if my random issue caused any problems.

-Newbie
[G2 and Desire Z Android Development] klmsu19:
Im actually noticing better battery life with the 12/20 than the 12/15 kernel.
[G2 and Desire Z Android Development] JonInAtl:
Same here- seems to be better.

Pershoot- thanks, your work is very much appreciated
[G2 and Desire Z Android Development] Modernly:
Giving yesterday's updated kernel a go-round, been super happy with the previous iterations to date. Thanks again Pershoot.
[G2 and Desire Z Android Development] ztmike:
Why isn't the update have a date listed for when it comes out?

Also..how do you update it, do I just download it and then hit install?
[G2 and Desire Z Android Development] pershoot:
the date is always listed (it's in the filename, and if you use RM its in the comments (alone with time)).
[G2 and Desire Z Android Development] pershoot:
nexus/g2 - refreshed - http://droidbasement.com/db-blog ; clear download cache in RM
[G2 and Desire Z Android Development] DanWilson:
USB Host / OTG possible? I saw it for the N1 on your site.

Or I'm going mad.

Baa.
[G2 and Desire Z Android Development] starkruzr:
Any chance of getting interactive, conservative and other governors back soon?
[G2 and Desire Z Android Development] slambaz2:
Awesome battery life

I get almost 3 days of battery life with this kernel. Its awesome, thanks so much.
[G2 and Desire Z Android Development] primatage:
Been running the 12/21 kernel with nightly CM build 64 for about a day now, and it's nothing but good :)

Great battery life, snappy, smooth, love it.
[G2 and Desire Z Android Development] ratchetrizzo:
I can't say what my battery life is based on the 12/21 kernel because I didn't have it charged fully when I flashed it.

BUT, with the 12/20 and 12/21 kernel, my battery lasted 29 hours with heavy usage (games, txting, browsing, installing/downloading/updating apps, nandroiding and 6+ reboots). It finally completely died about 10 mins ago and is now on the charger.

I am pleased