yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] dictionary:
In setcpu, I keep seeing it bounce from the lowest directly to the highest setting. No ramping up. Going to revert for now.

Glad you're on the scene now though pershoot. :)
[G2 and Desire Z Android Development] pershoot:
setcpu always shows that. it certainly does ramp up and back down, from what i can see (although it is a bit more sensitive due to the threshold changes i have made).

check /sys/devices/system/cpu/cpu0/cpufreq/current_scaling_freq
[G2 and Desire Z Android Development] rhcp011235:
Doing fine here.

Nice find on the wifi hot spot. I kind of need that :)

But other then that running fine on RC2.
[G2 and Desire Z Android Development] G1_enthusiast:
does FM radio work?
[G2 and Desire Z Android Development] rhcp011235:
No.

They are working on it.
[G2 and Desire Z Android Development] pershoot:
Im going to make ondemand less sensitive, as the values I use on nexus are not needed here.

Ill update tonight.
[G2 and Desire Z Android Development] sundar2012:
Excellent. Please let us know if tonights build also fixes tether. I agree that max voltage should be 1275/1250. However, I think u can push the clock faster at 1250. At 1200 most g2s are stable at 1.46 back when the original oc module was pushed out. With true kernel swapping and +50-75mv I suspect the processor could be stable at 1.6ghz at least.

What was your rationale behind the clock/voltage balance?
[G2 and Desire Z Android Development] pershoot:
1.51 is the limit @ 1.275 for my device + some padding to keep stable in various scenarios. This is the base I am given to work with.

i may even chop off the last 3 freqs and drop down to 1.25. we'll see...
[G2 and Desire Z Android Development] sundar2012:
Fair enough. I would test on a full charge without a cable in. charging makes my battery much hotter so I actually have set cpu under clock while charging.
[G2 and Desire Z Android Development] The Great NY:
i've got a couple hours under your base kernel Pershoot. thus far i havent had any issue to note. I flashed over CM6.1 RC2 as well.

funny thing is, prior to flashing your kernel, my wifi tether and hotspot wasnt working right. but for some reason after i flashed your kernel its working fine now. i have no idea why. but it all works.

so again, kudos on the kernel. i'll report back if i have any bugs to note.
[G2 and Desire Z Android Development] G1_enthusiast:
how hot you gotten the phone?? does anyone phone get hot after using google navigation? mine shot up to 40C
[G2 and Desire Z Android Development] pershoot:
when the phone is on constantly, the clocks should be low if browsing, email, etc., etc. the speed is not needed (that and your battery will deplete like mad). if playing a game, then the clocks can be increased (if you need the extra fpu/processing power).

your phone will get hot when you get closer to max.

this is why i have included a barrage of frequencies so you can still maintain a higher clock when needed, but attempt to keep the voltages a bit lower at said clock.

i was very reluctant to release a kernel which goes this high, but i leave it up to the user to manage their own overclock and environment.

definitely have a charging profile and keep it low when plugged in. the battery gets warm when it is plugged in, and will get hotter if the clocks are high.

i am considering ripping out 1.275 and dropping to 1.25. a small decrease, but more in the way of longevity.
[G2 and Desire Z Android Development] Radioactive Death:
Just flashed. Nice. Everything is working as it should, thanks pershoot!
[G2 and Desire Z Android Development] Vandam500:
For the people that have flashed it early this morning, how has the battery life been so far?
[G2 and Desire Z Android Development] G1_enthusiast:
hmm flash the new kernel but new clock doesnt take affect still stuck on 1gigz from the HD rom any ideas?
[G2 and Desire Z Android Development] pershoot:
Setcpu - auto detect.
[G2 and Desire Z Android Development] Tlynx:
setting min speed

Hey, I love how fast this has made my phone. I just was wondering how much setting the min speed to a low setting in setcpu affects the performance of my phone? It would be nice to get a good balance on the best speed while still having a battery to use it. Lol
[G2 and Desire Z Android Development] OriginalGabriel:
Curious, when will the MAC address issue get fixed? Mine is still showing 00:11:22 ...
[G2 and Desire Z Android Development] pershoot:
Original, what device/rom are you on?
[G2 and Desire Z Android Development] OriginalGabriel:
G2 with the stock ROM
[G2 and Desire Z Android Development] sundar2012:
after about 24 hours of heavy use (includes sleep time) I'm down to 8 percent battery. After waking device it froze and I did a battery pull. Still very impressive. This is after battery calibration.
[G2 and Desire Z Android Development] pershoot:
post logs from the event (/proc/last_kmsg).
[G2 and Desire Z Android Development] ratchetrizzo:
I think I need to recalibrate my battery again with the new kernel.

It's been stuck on 15% for six hours. :)
[G2 and Desire Z Android Development] pershoot:
first flash new kernel from 12 hrs ago, and then try to reproduce your freeze at low battery.
[G2 and Desire Z Android Development] TL24:
I thought the "Interactive" governor was included in the 12/03/10 release but when go to SetCPU it's not an option, did I miss something here?
[G2 and Desire Z Android Development] pershoot:
Interactive is disabled for now.
[G2 and Desire Z Android Development] J-Hop2o6:
What is interactive? Also what is govern I keep seeing mentioned in posts? Or better yet, where can I find all these kernel lingo at?
[G2 and Desire Z Android Development] TL24:
Damn... that's too bad, the Interactive governor provides the best performance in my opinion. I hope you'll have it on future releases! Keep up the great work bro! :D
[G2 and Desire Z Android Development] pershoot:
It is not stable with high oc's and other odd behavior, currently.
[G2 and Desire Z Android Development] dyndragon:
Pershoot,

I flashed back to 11/30 kernel today just to test, and at the same time today, I have 84% battery left, as compared to yesterday, I had 74% left.

I realize that usage patterns day to day vary, but I have been very careful to be doing the same things as yesterday (no games, just doing market updates, turning on the screen occasionally to check time, 2 very short phone calls, kept the "Screen on" time just about consistent--within 5 minutes--based on the battery usage graphs).

I really feel that phone idle drain while on wifi is higher on 12/3 kernel and after. While on 3G, battery idle usage is roughly the same. But 10% different so far is pretty big. I'll update when I reach the end of my work day in a few hours.

The wifi changes in 12/3 really wouldn't contribute to battery consumption?
[G2 and Desire Z Android Development] pershoot:
There isn't an excessive drain issue on the wifi module from what I can see.

My wifi has been on all morning (bout 5-6 hrs off charge @ 100) and it has not put a dent in battery.
[G2 and Desire Z Android Development] dyndragon:
I'll continue testing with periodic flashes between latest kernel and 11/30 after my test today and update.

You'll laugh, and I cringe but...

have you done a completely battery calibration procedure recently? Just to make sure the battery % is showing correctly (more linear). ;-)
[G2 and Desire Z Android Development] dyndragon:
At the end of my work day, I have 61% battery left, up 5% from yesterday. Screen time on was 44m today, vs 31m yesterday. About the same usage: 2 short phone calls, some time updating apps, some screen on time chatting and checking time. Using 11/30 kernel today. Flashing 12/08 kernel now and will repeat tomorrow.
[G2 and Desire Z Android Development] pershoot:
dont need to. im looking at the whole picture (over course of hours) and not just a percentage at a given time.
[G2 and Desire Z Android Development] ihateusernames:
I have been having battery issues lately as well. I do not believe it is kernal related though. I did at first but after extensive testing, I am convinced it is something else.

I have used every pershoot kernal and battery was great up until 12/03. I went back to 11/30 and the issue was still there. I tried my backups of CM and enomther that had great battery and they are horrible now as well. I even went back to my stock back up and it is horrible.

I have tried the latest pershoot kernal and it is still bad. Not the kernal but the battery life. I have calibrated, wiped, lowered my brightness from auto to 40%, lowered my cpu to a max of 800Mhz with profiles and best I can do is 10% loss per hour. That is the best I could do.

What used to get me from 5:30am to 10:00pm without charging will now only get me to about 4:00pm before it is about to die.

I cannot, for the life of me, figure out what the problem is but I don't think it is the kernel.
[G2 and Desire Z Android Development] ZombieUsr:
Got to say Pershoot...stock cm kernel I was getting 89% battery after 8 hours...yours just upped me to 8 hours and I'm still holding at 93%. Love it and thank you
[G2 and Desire Z Android Development] dyndragon:
For you, i'd recommend a battery recalibration. I had the same issue until 2 days ago.

Charge to full, wipe battery stats, let drain until phone turns off, then charge to full (make sure it says "charged", green light does not mean fully charged 100%). You should see your battery performance return.
[G2 and Desire Z Android Development] OriginalGabriel:
Any ideas on the MAC address issue, Pershoot?
[G2 and Desire Z Android Development] jojo_16:
Can i ask a stupid question??

Im on bacon bits .3, how can i flash this?? On top?? Will it be running on a bootloop?? If i flash this can i use g script trackpad wake w/o issue?? I want to wipe BB.3 though

BTW im tired of baconbits i just want this kernel and trackpad wake(BaconBits.3+gscript trackpad wake=broken wifi tether)

Thnx for helping and thnx for the dev team..

Sent from JoJo's T-Mobile G2
[G2 and Desire Z Android Development] gravis86:
Baconbits is a kernel. Pershoot's kernel replaces whatever kernel you have already. So it will overwrite BB, stock, CM, or whatever else you may have. Be sure to wipe the cache and dalvik cache in Clockwork before installing though.
[G2 and Desire Z Android Development] killa cam:
i flashed this kernal from rom manager a couple days ago. i'm not having any problems as far as i can tell, and don't really notice it running faster than the 1497mhz i was running before this.

i just googled and read about this delvic cache or whatever it is. i am not sure if rom manager cleared it. either way, it doesn't seem to be causing a problem.

to be safe, should i wipe cache and reinstall kernel?

THANK YOU XDA!
[G2 and Desire Z Android Development] J-Hop2o6:
Should I be doin this? I haven't done anything when switching kernel, and it seems fine.. Not even battery stats reset.
[G2 and Desire Z Android Development] gravis86:
You -may- encounter problems if you don't clear caches when installing. Most of the time you can get away without it. It only takes 30 seconds so I figure why not do it every time just in case?

If you didn't clear the caches and everything is working fine then you're okay. But if you are experiencing bugs that other people are not, then it could be the culprit.
[G2 and Desire Z Android Development] J-Hop2o6:
ok thx.. just checking.. what if its just an upgrade to the same kernel (eg. parashoot)? should i still clear caches and battery stats?

and i see you on the NE part of Seattle
[G2 and Desire Z Android Development] gravis86:
I only clear the battery stats when the battery life starts to get wacky. But I clear the caches each and every time I flash anything. Upgrade or not.

I live on the Kirkland/Bothell border (Juanita area) and work in Bellevue so I rarely get to your side of the lake though.
[G2 and Desire Z Android Development] J-Hop2o6:
ok gotcha.

and yea, i rarely go further than Bellevue on that side of the Lake whenever im there (very little these days), lol.. but im NW of Sea-Tac Airport (Burien).. and i used to work at the Airport also not too long ago.
[G2 and Desire Z Android Development] QwertyAccess:
It happened to me as well but its very difficult to reproduce (rare) as it only seems to happen once when battery is under 20% and then you restart the phone finding nothings wrong (& no logs). Then for the past 2 days it drained all the way to 5% just fine *shakes head*.

Ill try the new kernel you just uploaded. In anycase the phone is very stable otherwise.
[G2 and Desire Z Android Development] fastludeh22:
First, want to say thanks man. If I want something stable, I always come to you, since the g1 oc.

Thought I would chime in with my experince.

I flashed the first one you put up here (1250mv max) and the battery life was so good I haven't been back since, lol. The performance was also great. I took it all the way up to test if it was stable and it was, but I usually leave it at 1017. When using what most people call normal (light for me) I got 26 hrs out of 1 charge! When power using(and I mean power using, screen on most of time, streaming music or vids all day, consistently on xda, lol) I got 8-10 hrs which is GREAT compared to stock kernel.

Decided to try your newest one today. Noticed 1300mv is now the max. Was that only changed in higher speeds? What voltage changes have been made to the lower speeds? Same or less or more? Id love to see how far we can uv and be stable.

Now my only requests when you get a chance ( you had to know this was coming, lol) is could you add cifs support. Also a few speed steps between 368 and 768. Id like to use somewhere in there as my max when bat is below 15%. Maybe see if we could still be stable with a min below 245? My screen off profile is min245 max368, and no wakeup issues, would def try lower min if we had it.

Again thanks for the hardwork!
[G2 and Desire Z Android Development] dyndragon:
Answer to your question lies here:

https://github.com/pershoot/vision-2632/blob/master/arch/arm/mach-msm/acpuclock-7x30.c
[G2 and Desire Z Android Development] catachresistant:
Already there:

http://droidbasement.com/db-blog/?p=1362

Download the Kernal Modules, cifs.ko is in there somewhere. I'm using it.
[G2 and Desire Z Android Development] pershoot:
Ill make a slight voltage adjustment in the low/mid-end.

That 'should' cure the freezes that a few of you are experiencing randomly.
[G2 and Desire Z Android Development] ddotpatel:
Just flashed to my DZ running CM6.1. First boot had my touchscreen working back to front for some reason, swiping left made it go right and vice versa... Reboot rectified it though.

Not too disappointed with the non UV OC kernels but any improvement in battery is always welcome.

Thank you.
[G2 and Desire Z Android Development] J-Hop2o6:
i dont get any freezing.. but this is good news anyways.
[G2 and Desire Z Android Development] gravis86:
I just wanted to say I'm getting absolutely awesome battery life with this kernel. I'm currently running on CM6.1RC4 with the 11/30 kernel and after calibrating the battery, I ran it yesterday to see what I'd get.

After 10 hours (2 hours of screen-on time and 1 hour of music with the screen off) I was down to 56%. I work in a building with almost no reception so it was without cell signal for 53% of the time unplugged. So naturally, Cell Standby was at the top of my Battery Use list at 59%.

I personally think this is awesome battery life. If it hadn't been searching for signal all day it would have been even better!

These stats are with an OC to 1209MHz Ondemand with no profiles or advanced setting in SetCPU. I also do not use a task-killer and the only widget I have running is a clock/calendar. 3G Data, GPS, and Auto Sync were enabled at all times and I am running a custom auto-brightness setup.

I have gotten up to 36 hours of use ending at 21% battery with over 6 hours of screen-on time and an hour or so of music.

Great work, Pershoot!
[G2 and Desire Z Android Development] brian6685:
Anyone notice any battery difference with the latest kernel?
[G2 and Desire Z Android Development] ratchetrizzo:
It seems better to be honest. 5 hours off the charger and I'm at 95%. Usage being, a couple phone calls, lots of texting, app installing/removing and some screen shots.
[G2 and Desire Z Android Development] GermanGuy:
Did not work. After entering "fastboot flash zimage zImage", I get following message: sending zimage okay, writing zimage failed (remote: not allowed).
[G2 and Desire Z Android Development] J-Hop2o6:
did u put you zimage where adb.exe is located?

also.. u have a working clockwork recovery right? i hope your using .3 and not .4
[G2 and Desire Z Android Development] GermanGuy:
Yes. zimage is in the correct location and it gets sent over to the phone ok. I have ClockworkMod Recovery version 2.5.1.3

Don't really know what else to do to get this kernel onto my phone.

To Pershoot: any other thoughts?
[G2 and Desire Z Android Development] J-Hop2o6:
ok try via recovery.. put the .zip on you /sdcard root.. then boot into CWmod recovery (do u know how?)..select "install zip from sdcard">select "choose zip from sdcard" .. now scroll down to the (kernel).zip and select it.. hit yes, and it should install.. also, make sure u have a recent backup before installing this kernel.
[G2 and Desire Z Android Development] ok11:
I flashed this kernel on CM 6.1 stable and well, the battery life seems really good, but just now, at 54% battery, i tried waking up the phone and it was low brightness screen(which isnt my setting) and it was frozen on the lockscreen. Had to pull out the battery to restart.

I have the 245/245 setting for ScreenOff along with others.
[G2 and Desire Z Android Development] jojo_16:
I flashed this but same thing it drains my juice so fast 1:43 uptime 73% left running on 1516/1516ghz scale(30mins web browsing and 3text message), I came from battery calibration but still idk wat to do can u help me guys with scaling for battery conservation thnx..
[G2 and Desire Z Android Development] J-Hop2o6:
use mines... Screen Off: 245/368 - Priority=100

@JoJo -- turn your minimum down all the way to 245.. and check my Profiles below.. it'll give u an idea of what to use.
[G2 and Desire Z Android Development] pershoot:
German, is your bootloader s-off'd?
[G2 and Desire Z Android Development] GermanGuy:
I tried that before and it would result in an endless reboot cycle. That is why I tried getting the kernel to install via fastboot instead.
[G2 and Desire Z Android Development] ok11:
I just adjusted to what you recommended. My whole profile is as follows which I got from page 32 of this thread.

Screen off - Priority 100 - 245/245

Temp >43.0c - Priority 95 - 806/245

Charging/Full - Priority 90 - 1516/245 (i had the max set at 1209. didnt wanna go crazy with it)

Battery < 10% - Priority 80 - 245/245

Battery < 20% - Priority 70 - 368/245

Battery < 30% - Priority 60 - 768/245
[G2 and Desire Z Android Development] GermanGuy:
Yes. It says S-off on top in the bootloader screen.

I am currently on the G2 stock ROM post OTA update. Have not installed any other kernels or ROMs so far.
[G2 and Desire Z Android Development] pershoot:
German,

Clear dalvik then flash cm61/latest enom, gapps.. reboot. Once your back in reboot to recovery and flash the kernel.zip. you should be set.

Post a /tmp/recovery.log (can only be acquired in recovery) if things go amiss for next time.
[G2 and Desire Z Android Development] pershoot:
Ahh the stock rom.

Ok ill make a change to the update.zip which should cure tge issue for non cm/enom users.
[G2 and Desire Z Android Development] J-Hop2o6:
hmm.. i wonder whats your problem.. i know i had to do the zimage way first.. but now im able to do it via Recovery.. i did this also.. uninstall/reinstall Rom Manager and reflash CWMod .3.. i suggested that to someone yesterday or two and it fixed his problem.. try that out.

u was using that above? lol damn.. hopefully your using something close to mines now..
[G2 and Desire Z Android Development] GermanGuy:
Great. Thanks!
[G2 and Desire Z Android Development] J-Hop2o6:
as u wait, try my last suggestion above, then try to install the kernel via Recovery.
[G2 and Desire Z Android Development] ok11:
I guess it wasnt safe? I adjusted to your settings
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.27 - http://droidbasement.com/db-blog ; RM updated.

if you get a freeze/panic, please try to post a last_kmsg (in /proc)/dmesg, along with the frequency you were on/what you were doing at the time/the scenario.
[G2 and Desire Z Android Development] OriginalGabriel:
Not sure if you're looking into it but, with this kernel on the stock ROM the MAC address issue is still present
[G2 and Desire Z Android Development] pershoot:
I cannot reproduce your issue. My mac is fine.

Post some logs.
[G2 and Desire Z Android Development] GermanGuy:
Flashed via RM and ,unfortunately, got stuck again in the endless reboot cycle. Will try to find the the file you mentioned above.
[G2 and Desire Z Android Development] pershoot:
Post a /tmp/recovery.log

For now flash your rom then flash the kernel.zip over it
[G2 and Desire Z Android Development] GermanGuy:
Uninstalled and re-installed RM, reflashed CWMod .3 - still stuck in reboot loop.
[G2 and Desire Z Android Development] J-Hop2o6:
Wth is wrong with your phone!? Lol.. but yea, post up the logcat for pershoot here.
[G2 and Desire Z Android Development] OriginalGabriel:
What logs do you need?
[G2 and Desire Z Android Development] pershoot:
Dmesg,logcat when your turning wifi on/off.
[G2 and Desire Z Android Development] GermanGuy:
I perm-rooted using the "gfree" program. I wonder whether that is the problem.
[G2 and Desire Z Android Development] OFinch:
cool.. another minnesotian :) and geezus, you've been here since '05 lol. crazy. anyways, gonna update my pershoot kernal with this new one.. I was using the one just before this. Seemed pretty good, what did you change with this new one pershoot?
[G2 and Desire Z Android Development] sundar2012:
Just updated and hit 2600+ on quadrant.
[G2 and Desire Z Android Development] rraxda:
Ok, what does cifs.ko do?
[G2 and Desire Z Android Development] catachresistant:
It enables CIFS support. Load it via insmod then use the terminal to mount a share. Or just use CIFSManager.
[G2 and Desire Z Android Development] OriginalGabriel:
Also, if it helps, I got bored and flashed CM nightly #55 and the MAC address showed up fine.
[G2 and Desire Z Android Development] pershoot:
nightly #55's kernel and my kernel use the same exact wifi module (aside from 3 differences which should not be causing your issue).

can you set a MAC on your interface? do you have your old MAC on hand?

for example:

ifconfig eth0 down

ifconfig eth0 hw ether YOUR_MAC

ifconfig eth0 up
[G2 and Desire Z Android Development] OriginalGabriel:
I'll flash again and note my MAC and give it a shot; would that be a persistant fix?
[G2 and Desire Z Android Development] OriginalGabriel:
I received the following after entering the second command

error: SIOCSIFADDR <Invalid argument>
[G2 and Desire Z Android Development] OriginalGabriel:
Oh, and if it helps ... I tried just flashing BB .3 to get my MAC but that gave me the 00:11:22 ... as well, I had to flash the full CM to get my address
[G2 and Desire Z Android Development] pershoot:
ill pm u a test bcm4329 module.
[G2 and Desire Z Android Development] OriginalGabriel:
Sounds good, I won't be able to test it until tomorrow ... send me info on how to push it in
[G2 and Desire Z Android Development] GermanGuy:
Finally got the kernel to install. I was able to install BaconbBits 0.3 first via RM, then Pershoot's Kernel over it via RM as well. Now enjoying blazing speeds. Thank you pershoot for this kernel.
[G2 and Desire Z Android Development] J-Hop2o6:
Weird, but atleast u finally got it to flash/install.. Happy OC'ing.
[G2 and Desire Z Android Development] jojo_16:
does this works on gfree?? 12/03 update is not compatible to gfree? how about the 12/10 has anyone tried this kernel and running gfree??
[G2 and Desire Z Android Development] QwertyAccess:
Run gfree prior to flashing this kernel and its fine. Gfree only needs to be run once on your phone.