yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] mawst95:
Just to chime in about the kernel/battery/SetCPU issue. Instability is easy to determine empirically. Battery life is trickier. To *really* determine if a given config (e.g., Kings #11 + SetCPU w/o Profiles) is better on battery than another config (e.g., Kings #11 no SetCPU) you need to make the test scientific. For the test to be scientific you need to measure each case numerous times (>10 times each) controlling all other variables except for those you are testing (+/- SetCPU). That means that for the duration of each iteration of your test, for each config, variables such as programs running in the background, signal strength, room temperature, battery charge, etc ALL need to be *exactly the same*.

The fact is most people don't test it more than once or twice, let alone test it 10 times for each config. Its true that sometimes its obvious--you install SetCPU and your battery dies in 1 hour (rather than your normal 5-16 hours), then you uninstall SetCPU and you are back to 5-16 hours. But that's not often the case. Look at this thread, for example. King released CFS #11 about 30 hours ago and already you have numerous people come on and say that their battery life "rocks!" In my opinion, 30 hours is no where near enough time to adequately measure your battery life.

The bottom line is that so much of what people report with regards to battery life is anecdotal at best and at worst the product of the plecebo effect. That said, most of us are enthusiasts, not scientists and aren't really interested in setting up a proper experiment. I decided to get on the soapbox here only to caution people to take a lot of the battery life proclamations with a heavy grain of salt.
[EVO 4G Android Development] ricsim78:
Well said, just to clarify if you do set SETCPU to the wrong settings and it locks up your phone (this applies only if you clicked "Set on boot"), you can do one of three things to fix it:

1) Shut your phone off, let it cool for about 10 minutes, and then try going into the ROM again and quickly disable your SetCPU settings.

2) If you cannot get it to turn back on, you have to wipe. Turn the phone off after wiping (this will disable the overclock/profile) and then wipe data, cache, and Dalvik again. Then do a Nandroid restore and hope all is well.

3) Wipe, shut off, wipe again. Redo your ROM and everything.

You can use ADB if you really are good with it, but other than that your options can be limited.
[EVO 4G Android Development] ricsim78:
Well said, well said. It is hard to be scientific when this is a phone and it is unpredictable. Will your friend send one message today, 10 tomorrow? How long will you play Angry Birds today? etc etc.

You can tell within a day or so whether on not the kernel works well. In general (not always) if you get good battery results right away and over the course of a few days, chances are it will stay that way.

In any case, whatever King did to this kernel, it "Rocks" for everything so far. Best kernel yet and I have tried nearly all of them.
[EVO 4G Android Development] Swede2008:
Doesn't cfs #11 use the conservative governor by default? So setCPU wouldn't be necessary if I don't overclock or use profiles right? Nonetheless, cfs #11 is working really well! Good battery and no sluggishness, great job king! :-)

Sent from my HTC Evo! :-D
[EVO 4G Android Development] gostars9:
You guys arguing about SetCPU are asshats. I got excited to see that there were 4 new pages of info about king's kernel only to find this crap.

*4 thumbs down*
[EVO 4G Android Development] antiphon:
Wow, there seems to be a lot of discussion regarding the usage of SetCPU. Here is a simple way to overclock without using SetCPU. I originally looked into this because I don't like the fact that SetCPU runs as a service, which creates additional overhead on the system. So I did some digging and found that my EVO frequency settings are stored in the same place as my old Palm Pre, namely in:

/sys/devices/system/cpu/cpu0/cpufreq/

Each of those files in the "cpufreq" directory control various aspects of your CPU frequency (you can use Astro or whatever to browse and take a look). You cannot directly change them here, though. You need the correct permissions to make any changes stick. So what I did was use Tasker and the Locale Execute plugin to essentially run a su script on bootup that will change the default maximum scaling frequency from 99800 to 1152000:

Context: Event: Device Boot

Task: Plugin: Execute Plugin

In the Edit field, put this in:

@! echo 1152000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

Press Test once or twice and wait 30 seconds for the Superuser Permissions dialog to pop up, then press Always Allow.

Now, when you boot up, the scaling governor will max out at 1152000 instead of 998000 without changing any other settings. There are also other settings you can play with, and you can even theoretically overclock on an application-by-application basis, although I haven't gotten it to work reliably 100% yet.
[EVO 4G Android Development] ricsim78:
Correct Swede, if you are not using profiles or overclocking SetCPU is just running as a service and taking up memory. In other words, pointless to use to change the governor because it is already set in the kernel itself.
[EVO 4G Android Development] ricsim78:
That is pretty cool, have to look into this. Thank you for that information and in trying to learn as much as I can from both a user and ROM maker standpoint, this can come in useful.
[EVO 4G Android Development] bigdaddie:
Yep I did the wipe cache and Dalvik. I did have SetCPU installed but not activated. I uninstalled SetCPU and am reinstalling CFS 11. I'll let ya know.

BD

UPDATE:

Just reinstalled CFS 11. This is a weird problem. I cannot get updates from the market. I noticed it earlier before I went back to 9. 9 updated fine and now, back on 11, no updates. Market just stickes at "Starting download." Can anyone confirm?

BD
[EVO 4G Android Development] jasonziter:
NICE !!!

This is nice. I'm gonna NAND when I get home and give it a try. If it works......set cpu is outie.
[EVO 4G Android Development] ricsim78:
This is another stab in the dark, when did you last backup and reformat your SD card? If it has been a while, I would back it up and reformat to with your Recovery (Amon_Ra preferred). make sure you also set Ext2 to Ext3 while you are at it. Copy everything back to your SD card and see if that helps.
[EVO 4G Android Development] bigdaddie:
K, I'll give that a try now.

BD
[EVO 4G Android Development] Tyzing:
For those stuck in bootloop because of a setting with SetCPU and it starting on startup you can install a kernel that does not allow OCing which will take it down by default. Change it then and then you should be ok

Of course you have to start in recovery.
[EVO 4G Android Development] MJStephens:
Well, this was my first FULL day on #11. Unfortunately, for me, battery life just isn't there. I uninstalled SetCPU before flashing, wiped, etc and I unplugged this morning at 5am and was at 15% by about 1:30 with light/moderate use. I also noticed it was eating my battery faster than #10 while my phone was sleeping. I left my phone off the charger for a night last week and it dropped 3% in 8 hours. So far #6 and even #10 have given me good battery life. Actually the stock HTC #11 kernel was great for me on battery life. I'm gonna stir the pot here a little and install SetCPU back on my phone (I initially had it on there yesterday when I first flashed the kernel) and see how tomorrow goes. I'll probably go one day with only setting the governor to Conservative and then maybe the next day I'll put one profile in for "screen off" and test that out.
[EVO 4G Android Development] kamiller42:
2.0.3 - Added a "safe mode" function that prevents SetCPU from running any tasks during boot if a file called "setcpu_safemode" exists in /sdcard or /data/local. This is useful if unstable settings were saved with "set on boot" checked.
[EVO 4G Android Development] phistyle:
installed #11 over fresh 3.3 and my nenamark1 score jumped from 14.4 fps to 20.6 ...seems okay so far ...going to keep on testing to see how the battery holds up...
[EVO 4G Android Development] jasonziter:
Unfortunately I think we forget that there are a lot of children who come here for advice then throw temper tantrums when its not what they want to hear.

If you don't like the advice fine....get the advice you want to hear from elsewhere...don't come in here and whine about the advice you get.

Your advice has been plain and simple as has mine. If they can't take it or understand it .....well too bad I guess.

CFS 11 kernal is the best I've ran so far. Great life....great speed.....set CPU used for governing only. But I'm thinking of your prior post and trying to overlook without it. At this point i'd like to minimize programs running in the background to optimize life. I went through the cm6....."look at my quadrant scores" phase. Now Im on the battery life kick.

This kernal helps calm that obsession. Thanks king!!!! I'm guessing having an EVO now has made the difference.
[EVO 4G Android Development] kamiller42:
Neat, but useless if using SetCPU. All you are doing is setting the processor clock, which SetCPU does. Check the Set at Bootup box, and it'll set every time you startup.

Using SetCPU in the way your solution works results in SetCPU setting the speed and then unloading. SetCPU runs as a service only if you are using Profiles or notifications or the widget.

From the manual...
[EVO 4G Android Development] Raspster:
Need advice guys... Looking for the best king kernal on battery life. I'm hearing that #9 is the best on battery so far..? I have tried #11 and it's the fastest I've seen. Have not yet flashed #9 but was as battery is my main concern, I'm gonna go with theone with th best battery. What are your thoughts guys..? Thanks.
[EVO 4G Android Development] gessin64:
running fresh 3.3 and #11 wow its running really smooth so far...
[EVO 4G Android Development] Swede2008:
Just so you all know: (taken from setCPU's thread)

2.0.3 - Added a "safe mode" function that prevents SetCPU from running any tasks during boot if a file called "setcpu_safemode" exists in /sdcard or /data/local. This is useful if unstable settings were saved with "set on boot" checked.

Sent from my HTC Evo! :-D
[EVO 4G Android Development] akarol:
Even though there is variance from device to device, I am a strong believer that the latest CFS #11 kernel is the best so far. I have had great experiences with CFS #9 (much more than #10) and think that #11 is a bit better. Stick it out for a week before giving up on it.
[EVO 4G Android Development] MercuryTangent:
Happens to me off and on. I wipe cache on gmail and market, reboot, and a few hours later it works again. YMMV.

Sent from my Virus Infected Evo using the XDA app.
[EVO 4G Android Development] MercuryTangent:
Fantastic! Thanks for the info.

Sent from my Virus Infected Evo using the XDA app.
[EVO 4G Android Development] _MetalHead_:
I got it to boot up once! Had to flash it about 30 times though but I see that as progress.

There has GOT to be a way to get these newer kernels to work on my phone. Is there a way to manually install the kernel? Like with adb or something? Does the kernel have it's own partition that I can try reformatting and adjust the size of maybe? Any ideas? I know it has nothing to do with wiping because I have wiped 50 + times throughout all my attempts to get it to work.

I really want to get this figured out, I feel like I'm really missing out on these new kernels. I'm at the point where I'm even considering deliberately breaking my phone to get a new one through Asurion that hopefully won't have these issues.
[EVO 4G Android Development] kingklick:
you could POSSIBLY try to just flash the zImage in the provided .zip via Fastboot
[EVO 4G Android Development] HiDefinition:
Installed #11 after somehow mistakenly installing #1 I believe it was. Definitely not as laggy and sluggish as the first one I had installed. Will have to wait til tomorrow to see what the batt life is like. Hopefully this works out for me. I'm new to the whole customizing thing so bear with me if I ask a lot of questions.
[EVO 4G Android Development] akarol:
If I don't use SetCPU, my battery life drops drastically when using the phone. It seems to sleep as well as without it, but when the screen is on, what a difference it makes. I'm keeping it on for the time being.
[EVO 4G Android Development] wings9130:
How do you download the kernels now on this new page? Do we have to donate MONTHLY for this???
[EVO 4G Android Development] Raspster:
akarol, are you getting the better results set to conservative in setCPU? Also, would you say #9 king kernal is better on battery so far?
[EVO 4G Android Development] akarol:
I use 'ondemand' on all my profiles except for 'conservativ'e on screen off (245/245), and 'performance' on charging (1190/245).

I am definitely getting better battery life on #11. Although not that much better. I believe the phone sleeps more quietly with this latest kernel.
[EVO 4G Android Development] phistyle:
just sign up to the forums...no need to pay anything unless you feel generous and want to donate :)
[EVO 4G Android Development] stanglifemike:
Wow, King you make awesome Kernals. I just wish that you didnt make it so difficult for us to download your newest stuff. I know that its your product and you can do what you want, but I wish we didnt have to sign up elsewhere just to get your product. It would suck SOO bad if all of the ROM builders made us sign up at there each individual website just to download their ROMs...I really hope other XDA Developes dont follow what you have done becasue it will really make XDA go down hill fast...I'm sorry if it sounds like I'm coming off being a prick, but I'm just being honest and stating my opinion. Maybe you have a good reason for having to do this, I dont know.....really hope so

This is kinda like the devs who made XDA members pay for the newest release, your just making us help grow your forum base...wow
[EVO 4G Android Development] Raspster:
Thanks for the info akarol. Gonna try your profiles and see how I do with #11. The only thing I changed was made it power save @ screen off.
[EVO 4G Android Development] mylasthope:
I didn't have to sign up. Weird. Did you? I can still navigate to the thread and download his kernel's without having to sign up.
[EVO 4G Android Development] stanglifemike:
No, I did not have to sign up but having to navigate to his forums I assume that signing up isnt far behind. I could be wrong, certainly wouldnt be the first time, and I really hope that I am. Regardless, I just really dont like how it is and certainly hope it isnt the beginning to a new future of XDA...
[EVO 4G Android Development] rde34:
Ongoing Battery Life Discussion

I've had this kernel for only a day and my phone runs like butta'. As far as battery life, I've used SetCpu (with and without profiles), I've used advanced task killer and automatic task killer. After much trial and error, the one thing I can say with certainty is that The Evo is a kickass device with borderline too much power in it's relatively small package. My point is this, it won't matter much which modifications you make, if you spend more than a little time surfing the internet and/or playing graphically intensive games, your battery is going to drain pretty quick. More than anything I've done, limiting those activities when I know I need my phone all day benefits battery life most. Don't get me wrong, I agree that this latest kings kernel has my phone running terrific. But for everyone who is mystified at why, no matter what they do, can't get there batteries to last more than 11 hours at a time, you have to be realistic about having a phone with so much capability. To enjoy desktop browsing and have a rich vibrant display on a device that fits in your pocket presents an undeniable downside. Thanks for developing what appears to be a kickass kernel for our Evo's. Your work is much, much appreciated.
[EVO 4G Android Development] _MetalHead_:
Thanks for the response. Could you please tell me what the fastboot commands would be to flash the zImage? TIA
[EVO 4G Android Development] juancaperez2000:
fastboot flash zimage zImage
[EVO 4G Android Development] _MetalHead_:
Awesome, thanks for the quick response. I don't need the ENG bootloader for this, right? Can I do it with the current 0.97 one?
[EVO 4G Android Development] juancaperez2000:
hmmm as soon you can go to bootloader mode then fastboot
[EVO 4G Android Development] sudhirkhanger:
Thanks King #11 is running great.
[EVO 4G Android Development] _MetalHead_:
Yeah I know that much, I just wanted to make sure I don't need the eng bootloader to flash the zImage.

Doing my nandroid now, about to try this. Hope it works.

EDIT: Ok I just tried and got an error- writing 'zImage'... FAILED (remote: not allowed)

2nd EDIT: I just flashed the eng bootloader and now the error says FAILED (remote: unknown fail)

Any ideas?
[EVO 4G Android Development] Just_s:
Am I the only one who can't find the latest kernel on King's site? I find a download, but it shows as #1?
[EVO 4G Android Development] HiDefinition:
I had to find it in the actual forums on his site
[EVO 4G Android Development] sam9696:
bootloop is fixable by removing battery, booting into recovery, wiping cache and dalvik, and flashing a kernel that is not overclockable. Had to do it several times today, cause my particular Evo can't handle >1200
[EVO 4G Android Development] Just_s:
thanks, thought I was going o be giving up king
[EVO 4G Android Development] _MetalHead_:
after trying to flash the zImage and flashing the eng bootloader in the process, now it will only boot into fastboot. I tried restoring my nandroid and it will still only boot into fastboot. I can get into the bootloader and recovery no problem but the phone reboots into fastboot every time.

I tried to flash a stock PC36IMG file and during the update process next to boot it says Fail-PU and "Partition update fail!" Did I brick my phone?

EDIT: Ok, I flashed the PC36IMG file again and now it's booting again. My question is this- is the kernel stored on the boot partition? Would wiping the boot partiton and then flashing the zImage work? What commands would I use to do that?
[EVO 4G Android Development] MSmith1:
Does anyone know of a way to set the governor to conservative permanently without using setcpu? I don't want that anywhere near my phone. My phone hates it.
[EVO 4G Android Development] chandlerw88:
I'm having a problem receiving a data connection after flashing cfs11 kernel. I switched back to bfs 9 and still can't get one. Anyone have this problem?
[EVO 4G Android Development] RTC88:
Are you using juice defender? If you are, that is probably the culprit.
[EVO 4G Android Development] PeoplesHelper:
Well ,I thought number 11 was the deal until I tried streaming for 4hrs and my battery is dead. This is not good.:(
[EVO 4G Android Development] smw6180:
This is the one I'm using, use at your own risk.

Copy the following into your /sdcard/setcpu.txt:

128000,245000,384000,422400,460800,499200,537600,576000,614400,652800,691200,729600,768000,806400,844800,883200,921600,960000,998400,1036800,1075200,1113600,1152000,1267200

Link to SetCPU homepage/documentation: http://www.pokedev.com/setcpu/

And no, adb is still not working in this version (#3), which makes it a deal breaker for me. Hopefully he'll get that fixed. :)

Also, disabling perflock shows 'no perflock detected'. So the OC stuff just plain isn't working (at least for me).
[EVO 4G Android Development] Jsimon9633:
does this work on Fresh 3? I want to make sure it doesnt boot loop

anyone using version 3 of this kernel on fresh?
[EVO 4G Android Development] phantomevo77:
I am using it with Fresh 3 and works fine!

adb doesnt work however..
[EVO 4G Android Development] Jsimon9633:
is it better on battery life than netarchys kernel 4.0.3
[EVO 4G Android Development] phantomevo77:
Can't really comment on that as i just pulled it off the charger.. Allthough it is still 100 after 10min, usually its at 96 or so after 10min off charge..
[EVO 4G Android Development] smw6180:
Confirm for me: On Fresh you're still not able to use adb and OC, correct?
[EVO 4G Android Development] phantomevo77:
I cannot use adb.. and OC i havent tried it.. doesnt really interest me.. but i may check it out.
[EVO 4G Android Development] SteelH:
Wow looking good kingx! This kernel looks really promising! But I need ADB to work. Would also like to see the latest audio fix that Google put out pulled into this kernel, seen here-> http://android.git.kernel.org/?p=platform/frameworks/base.git;a=commit;h=16263d9f8cc01392c2f3678b381ce897647c8c81

When I see that stuff added you can count on my donation!
[EVO 4G Android Development] cmart4:
cant get past the white screen, wiped cache and dalvik.... using Virus's rom
[EVO 4G Android Development] godfirst:
Doesn't seem to oc
[EVO 4G Android Development] cowfodder:
Flash v3. No problems with the flash. DC 3.5. As with others, OC doesn't seem to work, and with the custom list put in it seems to peg at 998 with on demand scaling. Switch to conservative and it scales very smoothly. Will keep an eye on things and see if OC gets fixed. Still get a 1200+ quadrant, so not bad.
[EVO 4G Android Development] phantomevo77:
Happened to me, same thing, pulled battery, went into recovery and wiped cache and dalvik again and it was fine
[EVO 4G Android Development] cmart4:
tried that too, still a no-go. thnx for the response tho. reverting back to 4.0.3
[EVO 4G Android Development] godfirst:
It just depends on if your into over clocking, and battery life depends in how heavy you use your phone on any kernel, but once he fixes the oc I'll place it back on my phone also with nets kernel I'm able to have max and min set to 1152 and conservative and still get over 10hrs of heavy use. One more thing quadrant with net and fresh rom is 1446 and rising
[EVO 4G Android Development] MJStephens:
anybody anybody?
[EVO 4G Android Development] PeoplesHelper:
same here:confused:
[EVO 4G Android Development] pongoface:
King,

Awesome kernel. Battery life is sick,fps working, bluetooth and etc. I don't know why people are whining about overclock. Listen, I would love that feature as well because my phone handles 1.26 with no problem. But it is not like I am encoding a bleeping bluray. Super smooth kernel with no issues on conservative. Can't wait for waaaaaaaaaaaa overclocking lmao. Thanks, King
[EVO 4G Android Development] Ceger:
Couple of quick questions...

* does this have wireless n, or is that not even handle in what the kernel touches? Want to know if it resets that feature if my rom had it originally.

* when will adb functionality be corrected?

* is this installable via clockwork now?

* does this work without requiring setcpu?

Thanks.

Ceger
[EVO 4G Android Development] yamaford:
Ok I've downloaded the zip. Does the op still apply about pushing the modules ? If so how do we so that without adb working? Can I flash this from work without a computer or will I be restoring pretty quick because I didn't wait?
[EVO 4G Android Development] Rocklee99:
his first post said camera was fine
[EVO 4G Android Development] chandlerw88:
Appreciate it an uninstall did the trick. Juice defender was working before I wonder what caused it. i just like the widget.
[EVO 4G Android Development] Biofall:
King's kernel's default governer is set to conservative. If it's not king's kernel, then you have to use something like setCPU
[EVO 4G Android Development] cadbomb:
Hows the scrolling in webpages and video playback in cfs11? I've been reluctant to try it out because these kernels always seemed to cause a lag issue for me...
[EVO 4G Android Development] MercuryTangent:
While the performance is significantly improved, the battery life improvements aren't that noticeable yet. Twenty minutes of GPS, a few texts, and reading a few RSS feeds and I'm down to 66%. Governor set to on demand. I'll try a full charge and leaving it on conservative.

Sent from my Virus Infected Evo using the XDA app.