yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] Anon9mouz:
I know what i want i just want to know what is cfs and bfs and havs and no havs and what they all mean as kernels so i know what is what
[EVO 4G Android Development] achllles:
Page 1, FAQ.
[EVO 4G Android Development] Laurido92:
Can you re-activate the links. None of them are working.

Thanks
[EVO 4G Android Development] eniamg02:
Just tried them and they are working.
[EVO 4G Android Development] civicvx94:
I flashed the stable release on my friends Evo running the Myn rom and having some issues with SetCPU.

It appears that whenever I change any of the settings (conservative-ondemand-performance or the max/min clock speeds) it causes the phone to freeze then reboot...I've wiped/restored/flashed the kernel twice now and same issue every time. Is there something I'm doing wrong or does anyone know whats going on here? Is this a SetCPU issue?

Oddly enough if I don't mess with the SetCPU settings the phone runs fine....
[EVO 4G Android Development] eniamg02:
You are probably setting the max clock speed too high.
[EVO 4G Android Development] Rene2.5RS:
Here you go
[EVO 4G Android Development] jefbal99:
All of the links worked fine for me this am...

Swyped from my Fresh EVO via XDA App
[EVO 4G Android Development] PhantomApollyon:
Netarchy-

Have you given any thought to incorporating anything like this from the desire http://xdaforums.com/showthread.php?t=841580? I think it would be an awesome addition to an already awesome kernel!
[EVO 4G Android Development] xlGmanlx:
That would be nice for all to have built in, no more "topping off"
[EVO 4G Android Development] civicvx94:
Is the kernel limit too high? I can't recall it exactly but I think it was only 1113mhz..Is this kernel just not stable at over clocked speeds and only 'capable' of it?
[EVO 4G Android Development] 94tbird:
I flashed the 4.2.1 kernel and my camera stopped working. went back to the stock #10 kernel and got my camera back. Any chance for the 3.30 hboot 2.02 guys to get a working kernel that keeps the camera as well?
[EVO 4G Android Development] ncfastls1:
Been running Myn's Warm RLS 4 beta with netarchy's 4.1.9.1 cfs havs more aggressive. I had been getting great battery life and performance with that, but I figured I would try 4.2.1. I'm a bit confused on the smartass governor for setcpu. Should I set it to smartass all the time? Or just with the screen off?

These were my previous settings and profiles:

Scaling - conservative

1036 max 245 min

Profiles: Screen off - 422 max 245 min

sampling rate: 50000

Up threshold: 60

down threshold: 35

ignore nice load: 0

freq step: 15
[EVO 4G Android Development] supers2k:
Which is better for battery conservative or smartass?
[EVO 4G Android Development] juancaperez2000:
i tested before and i recomend dont use setcpu at all, also smart ass came as default governor
[EVO 4G Android Development] xlGmanlx:
I agree, with the most kernels after 3.28 the need for SetCPU has been removed
[EVO 4G Android Development] bignibb:
How else can you change the govenor to anything else without using setcpu
[EVO 4G Android Development] juancaperez2000:
probably i gave incompleate info just use it for change gorvernor, dont set up profiles
[EVO 4G Android Development] dglowe343:
That depends more on the phone. Mine can only handle 1152 whereas some can break into the 1200s.

Sent from my HTC SUPERSONIC
[EVO 4G Android Development] civicvx94:
Ah I see I see...I wasn't aware of this, thanks for the response.
[EVO 4G Android Development] bjevers:
You can use OS Monitor from the market. The settings are under the Misc tab.
[EVO 4G Android Development] brol1k:
so whats the deal, is anyone still using the universal 4.1.9.1 cfs kernel?
[EVO 4G Android Development] PhantomApollyon:
although I have tried the betas, I am still using the 4.1.9.1 cfs more smartass myself
[EVO 4G Android Development] bigkmoney:
I'm using it as well with myns 3.95 and getting very good results.
[EVO 4G Android Development] ncfastls1:
But isn't HAVS kind of useless without setcpu? I thought it undervolted based on cpu frequency and other things but if your speed is always at 998 mhz then you won't see much battery savings am I right? Especially with the screen off you only need it to range between like 245 and 500, 998 is a waste.
[EVO 4G Android Development] ms79723:
Attention all netarchy followers! I have compiled a kernel with the battery charge fix. when you unplug your phone in the morning, they will now stay on 100%.

download here

I used the 4.2.1 non havs kernel. Make sure y'all test it and if there are any problems, post them either here or send me a message. I'm going to send netarchy a message in a bit about this. This fix will work for any kernel btw, AOSP or Sense.
[EVO 4G Android Development] achllles:
Can you make the tweak flashable tweak?

Thanks.
[EVO 4G Android Development] ms79723:
I wish I knew how...I think I would have to make something to decompile the zImage then copy in the new ds2784_battery.c file then recompile..I have no idea how to do that haha. I'll just google my way around.
[EVO 4G Android Development] achllles:
It's okay don't waste your time. Thanks anyways.
[EVO 4G Android Development] ms79723:
I think if i can find a way to commit it to github, that would be good. because then other devs can just pull the file from the github and use it.
[EVO 4G Android Development] wmdunn:
Thanks, Bud ... just installed it and will follow for a day or two. Any chance you could put together a "havs" version?
[EVO 4G Android Development] StormCell:
How do I install this?
[EVO 4G Android Development] wmdunn:
I just assumed we install like any other kernel ... wipe cache, dalvik, and flash.
[EVO 4G Android Development] ms79723:
just flash it, wipe dalvik first
[EVO 4G Android Development] godfirst:
So is this a tweak or a kernel? What does it actually do?
[EVO 4G Android Development] ms79723:
it's the tweak inside of netarchy's 4.2.1 non-havs kernel. So its the whole kernel. What it does is charge your phone up to 100% and keeps it there while tis on the charger as opposed to dropping down to 90% and then charging again. So when you wake up in the morning, the phone should have full battery. I took my phone off at 9:58pm, its 11:26pm and I'm at 93% after charging for 30 mins past 100%.
[EVO 4G Android Development] godfirst:
Oh ok, so would you say that this kernel may be more battery conservative then 4.1.9.1? I was looking for the 4.2 releases that came out before 4.2.1 because I got real good battery life with those.
[EVO 4G Android Development] ms79723:
actually, hold off on the kernel for a bit. I want to do my own testing with it to make sure its all good, someone said that their battery voltage went up to 4.203, which is BARELY safe. Im going to upload another kernel in a bit, I'm gonna need some testing.

And to answer your question, the battery wont be as conservative, you'll just be getting the full charge at the start of your day. Depending on how you use your phone, you could be adding an additional 2 hours to your battery life.
[EVO 4G Android Development] troyboytn:
Would love this tweak with havs bfs or cfs.
[EVO 4G Android Development] bignibb:
What additional saftey measure are you adding? I was going to go to sleep but now I cant.! LoL
[EVO 4G Android Development] ms79723:
check the thread in general, i posted the link. Now that i found out how to make these kernels faster im just spitting them out haha.

But I added some more lines that would completely turn off the charger. the old way was to check every hour or so, then turn off the charger, then turn it back on the next hour. Now I turn it off completely each time the battery hits 100% and when the temperature is too high. When the temperature is too high it goes into cooldown, no matter where it is charge wise. So odds are good that when you first hit 100%, the battery will be cold. But this kernel pretty much bump charges automatically. So when the temperature is too high while its bump charging, it turns off the charger completely again. This should keep a lower voltage.
[EVO 4G Android Development] ms79723:
If you can flash one of his 4.2.1 kernels that has HAVS (this is assuming that you arent already on that kernel) and then do this:

adb pull /proc/config.gz

Then I can make you the kernel in about 20 minutes.
[EVO 4G Android Development] sling:
First off Great Job

Ive been checking this thread twice a day since 4.2 series release in hopes that 4.2.1 cfs-havs-more had been updated with charge fix.

I'm ready to Test ,Can you Please add fix
[EVO 4G Android Development] fr0st420:
I flashed your original fix and it doesn't work. Ill be waiting for a working version
[EVO 4G Android Development] S4Rs:
netarchy-toastmod-4.2.1-bfs-bfq-havs-more-smartass-universal (More Aggressive Undervolting)

That Kernal was great. I was easily able to get a full day of heavy use out of it with set cpu set to 128 - 1100, and nothing else

--CFS Smartass builds--

netarchy-toastmod-4.2.1-cfs-bfq-havs-more-smartass-universal (More Aggressive Undervolting)

That kernal was horrible, it was super fast, but it was really aggressive. set cpu was at 128 - 900 and i got about 6 hours on a charge. The second i started using it would drop like the gas gauge on a GTO.
[EVO 4G Android Development] ms79723:
Here's why it didn't work..voltage regulation must have been off, last night my voltage wasnt lowering and upping itself at 100% either which is what its supposed to do..however I was on a different build that had more safety measures. The one you were on should've worked, unless the actual temperature plays a huge role throughout the whole process.

It's odd how mine worked only when I was already over a set temperature. So now I'm testing a kernel that should be able to take the phone to that temperature and maintain it, and cool it when it gets tooo warm, but lower the voltage a little bit...once the temp goes down the voltage goes right back up. I started this off with a cool battery, in the 79 degrees Fahrenheit area. Battery needs to be at about 88-90 constantly while on 100% to indicate that its charging.

Edit1: Only 88-90 for fast charge, should be around 85-88 slow charge.
[EVO 4G Android Development] supers2k:
This doesn't work. I charged my phone overnight. I unplugged this morning 35 min later my battery is at 95% like usual
[EVO 4G Android Development] ms79723:
Was the 5% in 35 mins happening on a non-havs kernel? The desire forums when using the old battery fix with a kernel that is very similar to ours was experiencing drainage in 10-20 mins after taking the phone off the charger. 35 mins to lose 5% is still bad, but not as bad. That tells us something is working, we just have to capitalize.

Now when you picked up your phone this morning, was it warm or was it cold?
[EVO 4G Android Development] tracyjarchow:
If I may add my two cents. I'm not a battery expert just a hobbyist and I use and charge LOTS of Li-ion and Li-poly batteries. Messing with the charging habits of these batteries is VERY dangerous. Overcharging, trickle charging, fast charging, too much voltage, too little voltage, etc., etc, can easily start a violent fire/explosion. Most of us know how hot the battery gets just in normal high discharge like using the tether continuously. Going beyond normal can have disastrous effects. Do a search for lithium battery fires or explosions.

Just be very, very careful. I would hate to see a house burn down or worse loss of life. Both have happened way too much with these newer batteries when they are improperly handled.
[EVO 4G Android Development] ms79723:
Well I know that charging over 4.23 volts is dangerous, what I'm doing is having the charger go up to 4.196V then drop down to 4.192V when the battery is full, when battery drops then go back to 4.196-4.198V. That's what my kernel did yesterday, why its not doing it now is confusing me >.< I did change the code since then so now I have to retrace my steps.

I also found a good widget that actually tells when the battery is being used (and how much percentage is being lost) while on the charger. Good news for me because now I no longer need to have to charge 20-30 mins past 100%. I only need to charge 2-3 mins past 100% to see if this works or not. I also noticed that my build (the one i just compiled about an hour ago) tries to keep up with the current that is being lost, and does an alright job, but it can do better.
[EVO 4G Android Development] bignibb:
Well im using the second one you released and I had my phone on the charger all last night until ms..... and were testing this but I took it off the charger at a 100% and went to sleep, 9 hrs later im sitting at 95%. My battery drain time seems really slow now so im thinking it may have kept bumping my 2600 mAh battery up to its capacity
[EVO 4G Android Development] freeza:
Compile a Havs/More Aggressive/CFS kernel? with tweak?
[EVO 4G Android Development] supers2k:
It was alittle warm but I think because my alarm was going off

Yes i downloaded yours the non-havs
[EVO 4G Android Development] sling:
bla build is a dud

Scrolled in sense for a couple min went to market for a min & 1 friend Stream update.
[EVO 4G Android Development] tauzins:
quesiton it says audio tweak to make it louder, does that only do the earpeice or both speakers, and will it damage them?
[EVO 4G Android Development] feld0013:
anyone else having screen tearing issues for all universal kernels on AOSP roms
[EVO 4G Android Development] ms79723:
I honestly dont know what to say about that...every kernel I tested, if it did drain fast, never drained that fast.
[EVO 4G Android Development] wmdunn:
Yes ... that's pretty common. Some have had a little success with aosp, but in general, they do better with sense.
[EVO 4G Android Development] tauzins:
??? anyone?
[EVO 4G Android Development] sling:
I left on charger overnight it must of dropped to 90% then started recharge which would explain fast drop.

The breakdown would be that charge fix didn't hold true letting 10% drop occur while displaying 100%.

Im looking forward to fix , for now 4.2 cfs-half-more will hold me over
[EVO 4G Android Development] sling:
I believe it just increases speaker volume.

Ive been running Nets kernels with that enhancement for some time no harm done.
[EVO 4G Android Development] ms79723:
It's jsut odd though..because I got rid of the line of code that does that. The code specifically made the battery slowly drop to 90% in a about an hour, then go back to 100% slowly in an hour. Since I took that code out the battery just depends on its state rather than time. So it only stops charging when the voltage is too high and the temperature is too high.

Oh well, eff it, i scrapped that build. I'm on something right now that I'm gonna test over night. The key thing to look for is the increase and decrease in voltage while its on 100%. Thats the only way i can tell that its working, the kernel im on is doing that, fluctuating from 4.193 to 4.198, but thats what the last kernel did that i uploaded, and i personally only got it to do that once. So we'll see what happens in a while..
[EVO 4G Android Development] sling:
hmm maybe Batt hot boxed didnt pic back up on charge.

I will wipe stats again-condition & give it another overnight for the heck of it.

Good luck on your new build
[EVO 4G Android Development] tauzins:
Well my earpiece was louder but I wasn't sure about the speaker itself
[EVO 4G Android Development] trixr750:
I know that it stated to use setcpu but not enable profile... Question is if anyone see a difference with profile enabled or not.

Should I just set a screen off on powersave and thats it?

Trizzy
[EVO 4G Android Development] R32_Rocky:
For those with battery drain issues, perhaps my post from elsewhere might be of use?
[EVO 4G Android Development] godfirst:
IMO, I'm using 4.1.9.1cfs less aggressive universal, and it sips battery very, very slow, way different then the beta 4.2.1, but the beta Net had out before 4.2.1 was just 4.2 and it performed just like the 4.1.9.1 kernels with barely drining the battery. IMO 4.2.1 is a step backwards from the stable version's as well as the previous 4.2 kernel Net ad posted a month or so back.
[EVO 4G Android Development] ms79723:
I'm still on this tweak...I switched to just regular 4.2.1 to see how it charged, and i noticed that the moment it hits 100% it begins to drain. With all of my tweaks, the moment it hits 100% it charges a little, then drains, then charges, drains etc etc...The reason why people would take the phone off the charger in the morning and experience a drop is because the battery during that period of discharge/recharge is losing more power than its getting back, but the process is in fact there. I just need to find a way to capitalize...
[EVO 4G Android Development] sling:
How about when charge reaches 100% led green you allow trickle charge.....not much but enough to keep 1% drop within 8hr time frame while on charge.When it makes it to 2% drop crank back up juice as normal to 100% then apply trickle again.

That's how Blackberry does it & they know batterys lol

PS

Were beating up a developers thread discussing & posting mods to his work which is....well uncool. I'm surprised we haven't got warning for it.

Separate Thread needs to be started on kernel modification with permission from kernel builder to play within their work

I'm sure he or she wont want their name stamped on those kernels...at least I wouldn't.
[EVO 4G Android Development] Jbcarrera:
uuummmmm...... why cant i download any of the kernenl he has posted on the first page????:confused:
[EVO 4G Android Development] sling:
Just tried its working for me.
[EVO 4G Android Development] Jbcarrera:
damn popup blocker thats what was stopping me from downloading
[EVO 4G Android Development] juancaperez2000:
try right click then save as
[EVO 4G Android Development] Jbcarrera:
i got it to work thank you
[EVO 4G Android Development] Necrosan:
Any reason you aren't compiling in vfpv3 support and are just using vfp?

The stock HTC kernels all use vfpv3. might as well use what the hardware is capable of...
[EVO 4G Android Development] xlGmanlx:
Because if your looking at it from an app on your phone it won't see the links
[EVO 4G Android Development] chillenandy321:
I love 4.2.1 cfs aggressive with Calk's Rom but now trying his modded #17 kernal to see how it goes.
[EVO 4G Android Development] ms79723:
last post by me in here about the tweak:

After asking a sht ton of questions to both Desire and Nexus users that have the tweak with the exact same code that I used before, they were only able to get it to work after recalibrating the battery. And their method was different from what I heard before, they had to go into "learning" mode. Weird...I'm going to be doing that and will report back on it in the battery tweak thread thats in the General section.
[EVO 4G Android Development] illestd0tcom:
I just upgraded to netarchy 4.2.1 bfs on myn's Warm (RLS4). I am running hardware version 0003 rooted with Hboot 2.02. It seems my camera isn't working and every time I launch it, it is just a plain black screen. I believe it has something to do with the drivers but that's just my assumption. I appreciate if anyone can help me out on it as I'm loving the speed this kernel brings me. I suspect it is the kernel since 3.30 Roms should contain the latest drivers for 0003 hardware cameras. Please let me know if you need to know anything else
[EVO 4G Android Development] StormCell:
I'm a little surprised at not seeing a new build in a while.I'm using smartass with my Fresh ROM. It's a little unstable.
[EVO 4G Android Development] palmdude:
That would be nice, but there should be more research first about the impact on the battery? At least it should be off by default and a warning when it is turned on :)
[EVO 4G Android Development] catseyenu:
FWIW, It's been suggested that the newer hardware (Frankenstein EVO's) cameras won't work well with anything other than stock kernels (HTC #11 kernel best for 0003, 0002, and 0001 & HTC #17 best for 0003 & 0004 Evo's with the new camera chip) until the source is released.

I don't know if this applies to you but it's worth a shot.
[EVO 4G Android Development] illestd0tcom:
Thanks

I had Stock Kernel #17 and it worked fine. Is HW ver 0003 and 0004 considered Frankenstein Evo? I appreciate your reply. It was helpful.
[EVO 4G Android Development] catseyenu:
Edited my post above with better info.. #10 was incorrect.

I'm not sure how to tell which chip you have other than to try the different kernels. The Azrael thread & RicSim78 seem to be the best source of information on it at this time.
[EVO 4G Android Development] ZachPA:
Have stock rooted 2.2 and 4.2.1 cfs havs more smartass. Noticed that the battery life is absolutely superior to everything else in the world, ever.

However, when i turn on the 4G radio, the draw spikes up to 600 mA or more, and remains there, draining the battery obscenely fast. Even after turning off the 4G radio, the current draw remains high. Only rebooting with the 4G radio off returns the draw to normal levels.

Any similar experiences? Any ideas?
[EVO 4G Android Development] dis_dj_sin:
My X-mas wish list

aww it would be nice to see a 004 build from netarchy for those of us who had to return our day 1 evos for a insurance one, or those who just bought it.

That would be the life lol. Until then i'm stuck on stock. stupid new camera chip
[EVO 4G Android Development] Swede2008:
What is the difference between using smartass with havs vs setcpu with a screen off profile? Don't they both interfere with havs? or is there something unique about smartass?
[EVO 4G Android Development] dd4502:
I get almost the same issue but mine is with Pandora radio. In addition, the sound quality is crackley. Is that due to the under volting?
[EVO 4G Android Development] netarchy:
Yet another item on the large list of things I have to look at when I have the time.

It's the semester-end crunch time at the Uni, I've not had any time to do dev work ;D

Soon™
[EVO 4G Android Development] diomark:
Changing the governor to ondemand fixes this for me. (Using setcpu)

-mark
[EVO 4G Android Development] dis_dj_sin:
you are the man! On another note, i rooted my hboot 2.02 build 004 white evo using the hboot 2.02 root method and flashed the lasted burnt droid rom (which I had running on my old evo) and my camera/camcorder does work. I noticed it said the kernal running on the phone is the 2.6.32.25-netarchy-toastmod-4.2-cfs-bfq-nohavs-smartass. Now i didn't flash the kernal, only the rom but I did it over the stock rooted rom. Everything is working perfectly. I'm not sure this is a break through but seeing how everyone is telling the 004 builds not to flash custom roms or else things stop working... i feel very lucky
[EVO 4G Android Development] xhazyx:
I was wondering what had happened to you man...

your kernels are the only thing that get me to flash sense on my phone.

Take your time, hopefully we get some love from you when u get some free time
[EVO 4G Android Development] chillenandy321:
How do you find out the battery spikes? Thanks