yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] sling:
Hey Net not sure if this is kernel related but if so can you fix.

With lcd brightness set to auto EVO gets flaky when in well lite environment.

When in well lite environment lcd brightness is high for comfy viewing but when screen dims right before time out then you fully wake before lcd turns off brightness is low not were it left off at

Only way to get full brightness back is to turn screen off then back on for sensor to adjust.

Can this light sensor issue be fixed in kernel or am I barking up the wrong tree maybe rom related fix would be needed?

Thanks
[EVO 4G Android Development] THunDA:
Sorry to be off topic but what font is that? thanks
[EVO 4G Android Development] ZachPA:
Just thought you should know, netarchy, that 2.1.9.1 CFS more works just fine with CM6.
[EVO 4G Android Development] kenny111008:
so im on myns 2.2 rls3 my hardware version is 002, my question is if i do the settings set below, do i check set at boot? both in the main cpu screen and on the advance settings window??

Netarchy-toastmod 4.2.1 cfs-bfq-havs-more-smartass

Set CPU settings

Main Scaling should be set to (CONSERVATIVE)

Max/ 1190400 - Min/ 12800

In advance settings set

Sample rate- 50000

Up threshold- 95

Down threshold- 45

Ignore nice load- 0

Freq step- 15

Make a screen off profile with scaling set to smartass

Max & Min to 12800
[EVO 4G Android Development] ms79723:
I usually have mine set at boot checked...makes me feel better.
[EVO 4G Android Development] sling:
Your Screen off Max value is a bad idea if you want set boot enabled.

Raise it to 245 to be safe
[EVO 4G Android Development] nYdGeo:
Amazing Sense kernel

Using my favorite Sense-based ROM, and after reading the results from here:

http://home.comcast.net/~ttechnology/

I decided that the best compromise for my phone would be the "netarchy-toastmod-4.2.1-bfs-bfq-nohavs-smartass-universal (No HAVS)" kernel, giving up a bit of battery time for a bit more overall performance.

With very light use, I've gone over 19 hours with Wifi and GPS on at all times, and have 89% charge left. Doesn't kill on benchmarks, but what does that have to do with day to day operation? Nada. The overall phone performance is stellar and so far everything is fully functional.

There is no other way to say it...this rocks. Thank you for your time.
[EVO 4G Android Development] ZachPA:
I spoke too soon. While the kernel does work well with CM6, there are some screen video issues, like tearing where there are small animations, such as the battery charging icon.

Sent from my EHO using yermom.
[EVO 4G Android Development] xlGmanlx:
i might have to check it out then, either way glad you found that kernel that gives you that tingle in your private place haha :D:D
[EVO 4G Android Development] Circaflex:
if i want to manually overclock and find my own daily speeds should i use no havs or is havs ok? im on myns warm 2.2
[EVO 4G Android Development] chino331:
No Havs would be better for ya
[EVO 4G Android Development] Chris 2155:
what's the difference between 4.2 and 4.2.1?
[EVO 4G Android Development] nYdGeo:
Strange results

Last night, again based on what I read on this site:

http://home.comcast.net/~ttechnology/

I decided to try the "netarchy-toastmod-4.2.1-bfs-bfq-havs-more-smartass-universal (More Aggressive Undervolting)" kernel. I haven't done enough since the change to know if there's any instability, etc. However, much to my surprise, I am at 11 1/2 hrs with GPS on, WiFi off, and next to no usage except to check battery info twice, and the charge is at 89%.

That is the same charge % I had left yesterday after over 19 hrs with GPS and WiFi on with very light usage (including at least 1 short call) using the "netarchy-toastmod-4.2.1-bfs-bfq-nohavs-smartass-universal (No HAVS)" kernel".

Unless there is magic to leaving WiFi on, I believe that I may have been correct a few weeks back when I questioned whether a phone (my phone specifically) can simply...not like HAVS, for lack of a better way to put it. I previously got incredible battery life with early TM and King's non-AVS kernels. Although they work so nicely for so many others, I have experienced the worst battery life since AVS came onto the scene and most developers began experimenting/developing with it.

I'll switch back to the No HAVS kernel and see what happens. If the battery life is as before, I'll believe that not only can a phone prefer CFS or BFS to the other, and some run stable at 825mv while another needs 875mv or 950mv, but also that some don't work well with HAVS. Go figure.

Thank you for your time.
[EVO 4G Android Development] ms79723:
I see what you're saying...well I had the same experience. the htc kernel #10 gave me insane battery life, but once I switch to havs..things change for the worse. so iunno, imma try the non havs as well tomorrow just to see what's good.
[EVO 4G Android Development] ms79723:
For some reason...my phone keeps on overclocking itself. I set it back to 998, then turn the phone off, turn it back on and then its over 998 for its max.

Im on the 4.2.1 cfs more
[EVO 4G Android Development] halocaridina:
Hi ms79723,

Any chance you flashed one of Ziggy's kernels in the recent past? Some of those releases installed a shell script in /etc/init.d that can OC kernels besides Ziggy's (the script is basically SetCPU minus the graphical user interface (GUI)). If not, I'm at a loss on what might be driving your OC.

I can also say that the results reported for Net's 4.2.1 No-HAVs kernels two to three up the page are consistent with what I'm seeing with my set-up using the CFS version (which I just provided details of in Calk's EViO thread).

Cheers.
[EVO 4G Android Development] ms79723:
Aye! I knew it had something to do with his kernel. Well..I was suspicious that it did. How do I get rid of his tweak?

Edit: I'm not gonna be lazy, I'm going to go through his thread for the answer.
[EVO 4G Android Development] halocaridina:
Hi ms79723,

To get rid of the script:

Open Root Explorer

Goto system -> etc -> init.d

Delete any scripts with names of 90screenstate_scaling and/or 90sysctl

Reboot and you should be good to go.

Cheers.
[EVO 4G Android Development] nYdGeo:
performance comparison

Yesterday, I install the "netarchy-toastmod-4.1.9.1-cfs-NoHAVS-universal" kernel on my Evo and ran a some performance comparisons to the "netarchy-toastmod-4.2.1-bfs-bfq-nohavs-smartass-universal (No HAVS)".

I expected the 4.1.9.1 to out perform the 4.2.1, but the 4.2.1 to offer much better batery life. To my surprise, the 4.2.1 average performance was about 6% higher than the 4.1.9.1. Together with the extreme battery life I'm getting, I can say with confidence that the 4.2.1 is the one that my phone prefers in every way.

Thank you for your time.
[EVO 4G Android Development] VDub2174:
I think I'm ready to dive into flashing kernels. Been hearing great things about netarchy so I'll definitely be using his kernel.
[EVO 4G Android Development] halocaridina:
Hi nYdGeo,

I totally agree with your report. My experience with Net's 4.2.1 CFS No-HAVs kernel are almost identical to your's with the BFS version as well as the difference in performance seen with the 4.1.9 series.

The main reason that I'm on the CFS version is that I've not had the best experiences with any of the previous BFS kernels I've tried with my phone (though I haven't specifically tried Net's 4.2.1 BFS No-HAVs yet).

Cheers.
[EVO 4G Android Development] jefbal99:
Had netarchy-toastmod-4.2.1-bfs-bfq-havs-more-smartass-universal installed on my EVO running Fresh 3.4.0.1 and my phone got into a boot loop caused by Android Marketplace trying to auto update apps. When the screen would turn off, my EVO would reboot.

Went back to the stock kernal and phone seems much zippier and more stable...

Swyped from my Fresh EVO via XDA App
[EVO 4G Android Development] nYdGeo:
You might also try the "netarchy-toastmod-4.2.1-bfs-bfq-havs-less-smartass-universal" kernel. It may be that the more just had too much undervolting for your phone. That can cause...well, just about any sort of strange behavior.

Mine will run on the more, less, and No HAVS kernels, however, I see a verifiable (via benchmarks) performance drop using the more kernel (Quadrant=1455) as compared to the less kernel (Q=1473) and especially the No HAVS kernel (Q=1535). I think that the more kernel has my phone right on that edge where its not visibly unstable, but its making enough errors that correcting them is slowing it down.

I recall that running CM6.0 (a completely different world of course) with their 8.2 SNAP kernels (available in like 8 different voltages), my phone was stable as of the 825mv kernel, but benchmarks were higher with the 850mv, and higher still with the 875mv, but going to a higher voltage did not produce any change, so I ran the 875mv.

Your phone is different as they all are...I would try the "netarchy-toastmod-4.2.1-bfs-bfq-havs-less-smartass-universal" kernel and see what results you get. If you are an extremely light user, as I am most of the time, then I would suggest that you try the "netarchy-toastmod-4.2.1-bfs-bfq-nohavs-smartass-universal (No HAVS)" kernel. The havs kernel seems to help the battery charge last a bit longer if you are a heavier user, but the no havs kernel definitely lasts longer for me under ultra-light usage.

Speaking of which, can anyone else confirm that experience...that the no havs kernel seems to provide the longer battery life under very light usage, and that the havs kernel appears to provide longer battery life if the phone is under more moderate to heavy usage?

Any and all thoughts and observations appreciated. Thank you for your time.
[EVO 4G Android Development] awesomeindeed:
Just as a heads up if this issue hasn't been brought up yet. I'm running the 4.2.1 cfs no havs kernel right now with Ava 10 (3.30 base), and I keep having the "data registration failure" where my 3G won't connect, just about every time I wake the phone from sleep. To fix it, I have to turn on Airplane mode, wait about 30 seconds, and then turn it back off.

When I use the HTC #10 and #17 kernels, the issue goes away. I'm not running any special settings or using SetCPU or anything.

This kernel has awesome battery life, though, so I'm going to continue dealing with this little issue I'm having.
[EVO 4G Android Development] chillenandy321:
Wonder if I can have some help. I'm running Calks Rom 1.6.1 and a light to moderate user just trying to see what Kernal you would recommend for good battery life. Thanks
[EVO 4G Android Development] mizzos4:
Awesome, finally found the kernel that works for me: netarchy-toastmod-4.2.1-cfs-bfq-nohavs-smartass-universal (No HAVS). Running this all day and so far, everything is smooth with no random reboots. With Fresh 3.4.0.1, I have tried kingklick #11 and #12 cfs/bfs, the other netarchy havs kernels, ziggy's, and the stock htc kernel but they have all resulted in random reboots. They occurred during phone calls, turning display off, website browsing, emails, etc. I'm gonna charge overnight then see how the battery life works out, but so far so good. Thanks netarchy!
[EVO 4G Android Development] riz_o:
CIFS???

Just wondering if anyone has successfully gotten CIFS working with Net's 4.21.cfs kernel? I've tried using the cifs.ko from post # 4230 with no luck. Hopeful someone else has gotten it to work...
[EVO 4G Android Development] hits100:
Camera, Netarchy, new EVO

I have fairly new EVO phone. I have rooted. and I am having issues with Camera and all of netarchy kernels. I know that camera doesn't work even with sprint's 3.26-3.29 ROMs on new EVO with new hardware. Camera only works with any of 3.30.651.2-3, either sprint or Supersonic on these evo boxes.. The kernel I currently I have is htc-2.6.32.15-g59b9e50. Camera works, but VPNC doesnt work.

Phone's ROM: Supersonic 3.30.651.3

With Netarchy Kernels and 3.30 ROMs, ( I have tried all six netarchy 4.2.1 and all three 4.1.9.1 kernels)

Camera doesn't work, but VPNC work.

Kernel htc-2.6.32.15-g59b9e50

Camera Works, but VPNC doesn't.

I know that htc builds are missing tun.ko which netarchy has. What should I do now? I need camera as well as VPNC.. (I have kids taking pictures and my client has CISCO groupauth vpn)

Wifi-Tether works on all Kernels... I am not too intersted in wifi-tether though
[EVO 4G Android Development] zer0vette:
Was it even made known what HTC did in their kernel to "unlock" the FPS?
[EVO 4G Android Development] Rene2.5RS:
The HW0004 phones have different camera and such the kernel programing is different. HTC as far as I know hasn't released the source codes yet so there Net hasn't made a custom kernel yet.
[EVO 4G Android Development] chillenandy321:
Bump please...
[EVO 4G Android Development] eniamg02:
Anybody have 4.2 cfs more aggressive havs smartass?tyia
[EVO 4G Android Development] sling:
I'm running Calks 1.5.1 build which is basically the same as his newer build except for some different icons , minor layout changes and 3rd party app updates.

4.2.1-cfs-bfq-havs-more-smartass has given me amazing battery life.
[EVO 4G Android Development] sling:
Net ,

Whats up with Beta 4.2.?............

What should we expect and when?
[EVO 4G Android Development] sw99:
Hey netarchy:

Have you seen this (taken from the Desire forums-was posted in EVO general)?

http://xdaforums.com/showthread.php?t=841580

Apparently, the Battery policy that turns off charging in HTC devices until the battery drains back to 90% can be disabled, and recompiled in the Kernel.

Would love to see this work, as I've obtained an extended battery, which is just making the problem worse.
[EVO 4G Android Development] chillenandy321:
Have you changed any setcpu settings?
[EVO 4G Android Development] sling:
Nope its running as is
[EVO 4G Android Development] sling:
Oh man that fix would be nice in 4.2

Copy pasted from that thread.

Siberes Battery fix

Here is the diff (the magic bit ;-) ):

965c965
< charge_mode = CHARGE_OFF;
---
> charge_mode = CHARGE_SLOW;
972c972
< charge_mode = CHARGE_OFF;
---
> charge_mode = CHARGE_SLOW;

The full code now looks like this:

} else {
if (htc_batt_info.rep.level <= 99)
htc_batt_info.rep.battery_full = 0;

if (htc_batt_info.rep.battery_full) {
charge_mode = CHARGE_SLOW;
}
else if ((htc_batt_info.rep.guage_status_reg & 0x80) &&
(htc_batt_info.rep.batt_current <= 80) &&
(htc_batt_info.rep.level == 100)) {
if (More_Charge_Extend_Time()) {
htc_batt_info.rep.battery_full = 1;
charge_mode = CHARGE_SLOW;
}
}
[EVO 4G Android Development] chillenandy321:
Have you ran the cfs less smartass? That's what I'm running now just today so will give this a try if not then will run the more smartass.. Thanks
[EVO 4G Android Development] sling:
Ya I ran it for a short period before more-aggressive revision was released.

Less is a great build but More gives you more battery life in standby.
[EVO 4G Android Development] fluxin:
automated per tty task groups

Any chance of adding this patch in?

http://marc.info/?l=linux-kernel&m=128978361700898&w=2

I'm really interested to see how it works on my phone. It really does make my desktop smoother.
[EVO 4G Android Development] Hot_Hands:
disregard, already posted.
[EVO 4G Android Development] noob_2010:
I went to sleep reading this....ummm can someone tell me what does this do? Like are kernels just a firmware that makes your phone runs faster/overclock it?? Why would someone install these??? Please someone answer, anyone, someone,sombody,anybody.
[EVO 4G Android Development] rjmjr69:
That stinks. Maybe after some sleep Ill try wiping the whole thing and starting fresh. thanks for all the hard work its awesome stuff regradless. I have 3.6 installed and I'm getting 55fps sick if you ask me
[EVO 4G Android Development] cerbera8:
Everything works (wifi and 4G) with Baked Snacks 9.6.

Used Clockwork 2.0.1.3 to flash it with signature verification disabled by default.

Browsing through everything is much faster. Thumbnails in gallery load much much faster than the Novatec kernel.

However, my Linpack scores dropped from an average of 8.2 MFLOPS to 7.9 MFLOPS.

I can't complain as the overall performance improved.

Maybe with a new kernel, I have to use different settings for SetCPU? I auto-detected frequencies and I have the same performance.
[EVO 4G Android Development] netarchy:
Are you using ondemand scaling? Have profiles set up?
[EVO 4G Android Development] shymog:
No profiles, set to On Demand. It just hangs at the minimum speed that I set.
[EVO 4G Android Development] ffolkes:
great work guys! this is awesome. :D

very smooth and responsive, except some issues with setcpu.
[EVO 4G Android Development] netarchy:
Try setting up some profiles and see if it still happens.

Also what is your sampling rate and threshold?
[EVO 4G Android Development] netarchy:
Here's a thought, it just occurred to me that DC has a wireless N option in dconfig that you can toggle. Does it happen to be enabled?
[EVO 4G Android Development] nuetron:
It is not enabled on mine.
[EVO 4G Android Development] shymog:
Not working on profiles. 400k and 95.
[EVO 4G Android Development] walkingcorpse:
Wifi is broke. And wireless n is not enabled in dcconfig. Weird.
[EVO 4G Android Development] jayv1717:
How come some people can overclock higher than others???

Sent from my Htc Evo 4g
[EVO 4G Android Development] kurtwoodfin:
How do you apply this?

Ok, I am ready to apply this to my Evo. I am running Fresh 0.5.3 and ClockworkMod Recovery v1.8.2.2. After I download it and save it to the SD card, I want to "install zip From sdcard" then pick "choose zip from sdcard" right?

I am a little new to Android Hacking, and I don't want to brick my phone. I have been following the thread for awhile, and I did a quick search of it, but I could not find clear instructions. Thanks for the help in advance!!!

Kurt
[EVO 4G Android Development] Casshern:
It's the nature of silicon processors. All have a true variable rate. It's labeling is where its stable at. Many speeds of chips are made on the same dies. Some just get luckier than others.

:)
[EVO 4G Android Development] jayv1717:
Yea that's right

Sent from my Htc Evo 4g
[EVO 4G Android Development] salty6924:
My first XDA post, and its a good one! This kernel is the first fps fix that has worked on my evo.

Running fresh 0.5.3 with RA Recovery. Now getting 46-55 gps and running buttery smooth. Thanks Dev.

XDA Android App, the root to my root.
[EVO 4G Android Development] jayv1717:
Well that just sucks

Sent from my Htc Evo 4g
[EVO 4G Android Development] cerbera8:
What do you mean by that? I've been able to run stable with everything working at 1.152 Ghz while people stable at 1.2 Ghz has to sacrifice features for pure speed.

If there are people who are stable 1.2 Ghz and have all features enabled, please let us know!
[EVO 4G Android Development] netarchy:
Ok, one more attempt at a DC Compatible build before I pass out for sleep. Snag it from the front page.
[EVO 4G Android Development] jayv1717:
My question was pretty straight forward.. what I mean is I can only setcpu to 1113 anything higher and my phone crashes.. and some people can do 1190..

Sent from my Htc Evo 4g
[EVO 4G Android Development] netarchy:
400k?!

Ouch.

First I'd drop the sampling rate to something like 50,000

Then I'd drop the threshold to 70-80

Also, does it still do this if you set the min to 245 instead of 128?
[EVO 4G Android Development] :
It's the portion of the OS that handles drivers and hardware control and access for the rest of the OS.

Try searching next time buddy :)
[EVO 4G Android Development] noob_2010:
Hey I said I went to sleep reading this, buddy :-)
[EVO 4G Android Development] riz_o:
Hi there, Did you ever get a CIFS.ko working for this kernel? I love running Net's kernel but want to have CIFS support.
[EVO 4G Android Development] :
Hey hey hey, that is not a feasible answer.;)
[EVO 4G Android Development] eniamg02:
Thank you! :)
[EVO 4G Android Development] riz_o:
Does anyone know if Net's kernel include CIFS? Or if anyone can help with getting a CIFS.ko for it?
[EVO 4G Android Development] brol1k:
can someone point out what changed from 4.2 and 4.2.1 again? was it something about he fixed battery drainage when screen is on?
[EVO 4G Android Development] wmdunn:
Yes ... Netarchy said that he tweaked the kernel to get better battery life during active usage.
[EVO 4G Android Development] scottspa74:
I gotta say, I'm a bit confused by these universal builds. I run virus roms. On his previous roms (before HTC 3.30), any of nets kernels worked. Now, with the 3.30 build, only the universals work. Other kernels just put me in bootloop. But I read that the universals don't contain some kind of scripts. So, to me, it sounds like you need to flash an older net kernel, then flash universal over it? Or can I just flash universal over stock HTC kernel, and do I lose whatever these scripts provide by doing so?

If anyone could help clarify this for me, it'd be super much appreciated. Thank you.
[EVO 4G Android Development] jdbell2004:
Hi! I have a version 4 with the new 2.02 hboot and software version 3.30.651.2. I rooted using the step by step from zikronix.

Will

If you experience stability problems (such as random reboots) try this (some phones are picky about how far they can undervolt):

*netarchy-toastmod-4.1.9.1-cfs-havs-universally compatible (Less aggressive undervolting)*

work for me?

EDIT: Kernel flashed, booted up. everything seems to be working but I can't overclock with OC widget. Highest available is 998.
[EVO 4G Android Development] brol1k:
got it thanks for clearing it up
[EVO 4G Android Development] sturmen:
I've been told not to worry about the scripts; most ROMs include them nowadays. I believe (correct me if I'm wrong) the reason there were different versions was that some included the scripts already, and the scripts included in the kernel produced conflicts.
[EVO 4G Android Development] eniamg02:
Any opinions on what governor is better while phone is in use? Conservative vs smartass?
[EVO 4G Android Development] riz_o:
Hello Net!!

Love the kernel!!! One question though? why no CIFS support?
[EVO 4G Android Development] Avi15:
Anybody have the 4.2.1 CFS more agressive? Thanks in advance,

Avi,
[EVO 4G Android Development] wmdunn:
It's listed in the first post ...

http://qap.la/~netarchy/netarchy-toastmod-4.2.1-cfs-bfq-havs-more-smartass-universal-signed.zip
[EVO 4G Android Development] VDub2174:
Flashed v4.2.1 cfs - havs - more aggressive last night and I love it!! I took my phone off the charger at 12:30am EST and 14+ hours later I'm still in the green!! I've been using my phone like I normally do (twitter, texting, ect.) but this time I don't have to throw my phone on my charger due to it being at 15%. This is an amazing kernel!
[EVO 4G Android Development] MikeOD:
I installed 4.2.1 BFS BFQ HAVS More Smartass More Agressive Undervolting last night, picked smartass in SetCPU, and set my max frequency to 1152mhz, set the min all the way to the left, which is the fastest I've ever been able to reliably overclock my Evo 0002.

HOLY CRAP this battery life is nothing short of outstanding. The phone's been off the charger for 10 hours now, just about typical usage usually has me at around 40% battery on a stock kernel by now, and 60-70 at best with some of the other kernels I've run. I'm at 85% right now...nothing short of amazing to me. I haven't had any stability issues with it whatsoever today either, some other kernels I've tried recently have.

It also scores over 37 in Linpack.
[EVO 4G Android Development] mateezyforeezy:
Can someone upload netarchy-toastmod-4.1.9.1-cfs-NoHAVS-universal? Download link isn't working for me.
[EVO 4G Android Development] Anon9mouz:
Ok i been reading on this for some time now. Im using ziggys newest but idk if its cfs, bfs havs or no navs. Also im not very clear on the whole cfs bfs havs no havs. So i wanna get this kernel but idk what the heck to get so if someone can plz explain to me the difference between these and whats better to use and also im hardware 03. Well thanks and much help plz
[EVO 4G Android Development] sudhirkhanger:
You can go as deep as you would like and find out best theoretical kernel for your phone and it will reject it for no reason. Best way to try them one by one and see what works for your phone.