yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] neoneo:
@coutts

Thanks for your work. How much is the non HAVS (SVS) Kernels undervolted? I prefer SVS Kernels because all HAVS Kernels are a little bit unstable for my Desire. With SVS 1190 is no problem. With HAVS I have some FCs with 1130 and 925mV.
[Desire Android Development] yukkio:
HAVS @ 875 -> 1475 no OC in the second quadrant
[Desire Android Development] coutts99:
Is that good?
[Desire Android Development] coutts99:
You'll have to check in the sources, as I don't know off hand. The HAVS implementation was taken from Richard Trips kernel.

I'm going to revisit the HAVS setup maybe tomorrow.

I've never had a stable 1190 either. But 1113 and 1152 have been perfectly stable.

I have posted a none HAVs version, but havent had time to check it at all (i.e. whether HAVS is actually disabled)
[Desire Android Development] yukkio:
Yes, It's enough for me :)

1610 with 1150. I cant run quadrant at 1190 but I dont care :)

BR.
[Desire Android Development] Oijkn:
For me it's the same mate @1190 my Desire is not more stable...but @1113 or @1152 all is good.
[Desire Android Development] coutts99:
Wonder if 1190 is stable on the non havs version?
[Desire Android Development] Oijkn:
I don't know coutts99 i have not tested it yet, i will tell you that in a couple of minutes ...
[Desire Android Development] coutts99:
Cheers mate!
[Desire Android Development] coutts99:
Last update for today :)

Changed from SLUB to SLQB slab allocator
[Desire Android Development] yukkio:
No problem for me, I dont use OC :)

BR.
[Desire Android Development] Oijkn:
Ok test is done @1190 with non HAVS version my Desire reboot, loop boot etc... I stay with «couttstech-2.6.32.26_OC1190_LeeDroidv2.2f_HAVS_875mV_CMBattFix_BFS_BFQ.zip» it's stable for me (max @1152).

Regards.

Edit: testing now your last update «SLQB» i don't know what is it but i will see tomorow with google search ;)
[Desire Android Development] coutts99:
Thank you matey!
[Desire Android Development] Oijkn:
Last flash is good with SLQB change @1152 MHz thanks for daily update ;)
[Desire Android Development] melethron:
Hey,

First of all ... thank you coutts for compiling the non HAVS Kernel. I tested it and its more stable than HAVS (at least compared to the test i've done before) but i did have also 1 forceclose. This might be that there's also an issue with the 25 mV to low voltage.

But speaking of HAVS. I've read some stuff about HAVS+govenor (after i've read something in vorkKernel thread) and i found out what the reason was why i didn't notice any reduced battery drain and for instability. If HAVS is used with smartass govenor (or interactive - both take over the idle process to estimate systemload) it get's unstable and is consuming more than HAVS+ondemand. Smartass is faster than ondemand since it does check CPU load constantly and not in small steps of 10 ms like the ondemand govenor. This causes some kind of loop (as i understand it at least):

Smartass changes clock -> Havs changes mV wich leads to more cpu load -> smartass changes clock again -> Havs .... and so on....

While ondemand changes clock every 10 ms HAVS changes mV within this time wich doesn't result in more load on the next ondemand check.

After i read this i tested the newest HAVS kernel and it is MUCH more stable on ondemand than with smartass/interactive. And i checked the time on lowest clock speed in set cpu and its like 3-4 times more on lowest clock speed. This does explain why i didn't notice some reduced power drain.

Only issue is still the 25mV to low Voltage on highest clock speed. For me 1113@1275 isn't fully stable than. And maybe some others could get even higher OC (1190) with the 25mV more.

So finally i changed my judgement. HAVS is stable enough but HAVS+smartass isnt.
[Desire Android Development] yukkio:
No problem here with smartass and havs @ 875.

Br.

Sent from my HTC Desire
[Desire Android Development] Oijkn:
Just a question coutts99 please, what is this version of kernel "btrfs_test_kernel.zip" in your download folder ? sorry I'm so curious lool
[Desire Android Development] yukkio:
Coutts, Is it possible you put a number or version to your filename kernel?

Thanks.

BR.
[Desire Android Development] Oijkn:
Hmmm it's a good idea but in his download folder is the last version of his moded kernel ;)

1 - Non HAVS

2 - HAVS @875mV

3 - HAVS @925mV

Regards.
[Desire Android Development] coutts99:
Hmm interesting. I use smartass, but will change to ondemand and see if I can see any difference.

I'll look at the voltage issue now.

Do you know if Richard Trips kernel has this same issue?
[Desire Android Development] yukkio:
Yes, I know but I mean he could put compilation version because we could use it to know what version is better for us (I've in my sd a few numbers of kernels).

BR.
[Desire Android Development] coutts99:
Intersting.

I don't seem to get the voltage to high errors anymore, it scales up to 1300mV just fine now. I did used to see those errors.

<6>[ 6857.187377] AVS setting V to 875 mV @256 MHz

<6>[ 6857.977264] AVS setting V to 1275 mV @998 MHz

<6>[ 6878.709136] AVS setting V to 1300 mV @1113 MHz

Can you try downloading the HAVS kernel again and see if you still do get the errors?

OC to 1190 is still unstable for me though.
[Desire Android Development] coutts99:
Just a kernel with btrfs support enabled. I was going to try data2sd with btrfs to see if we get any performance increase.
[Desire Android Development] melethron:
Use SetCPU's info tab to check the "times in state". i tested it with 128 min. From the results i get i think the lower battery drain should be noticeable (at least in theory) if the phone is idle and has a good reception (reception and usage do influence power drain MUCH more).

I didn't test it with RT's Kernel yet but ill do it later and report (hope he didn't remove debugging messages from his Kernel).
[Desire Android Development] Oijkn:
Downloading it and then flash it, i will tell you if all is good mate ;)

Edit1: All is good mate after flashing new kernel but like as always OC @1190 is very unstable... I'm making a nandroid for test it more and then confirm that to you.

Edit2: Ok i have set OC @1190 and what i can tell you coutts99 it's more stable, no more reboot or loop boot !!! Great :) But i can't use Quadrant or Neocore for test the benchmark...when the benchmark is running it does a self close app but without a reboot like before.
[Desire Android Development] beanbean50:
just tried your latest and greatest, unfortunately it plays havoc with my screen resolution and everything becomes huge then freezes, also setcpu is still visible on the home screen (see pic) oh dear...!
[Desire Android Development] coutts99:
Which version HAVS@875?
[Desire Android Development] beanbean50:
yep, but it now seems to be more stable and working ok...must have been a gremlin...lol
[Desire Android Development] coutts99:
Can you check if HAVS is ramping up to 1300mV ok?

dmesg | grep AVS | grep 1300

I've changed default governor to ondemand, can you try it for a while and see it is any better for battery life?

Cheers!
[Desire Android Development] Oijkn:
Sorry false report after rebooting my device it's going on loop reboot etc... I think i will never can use OC @1190 ^^
[Desire Android Development] sugarlee75:
Hi Coutts, first of all thanx for the great work on this kernel. Been using it now for a while and this is the kernel I'm nost possitive about.

But i have a problem/question. When I plug my phone into the wall-socket it still says "charging (USB)" and not AC. Charging is VERY slow. how can I solve this?
[Desire Android Development] coutts99:
Download kernel again and flash.

This was fixed a while ago.

Have you used the same one for a while?
[Desire Android Development] melethron:
Hey, i tested it and still had the "voltage can not .." BUT after setting the max clock from 1113 to 1152 HAVS could set 1300 for 1113. But i still got those messages again so i think this happens for the max cpu clock only. The funny thing now is that 1152 was more stable than 1113. I ran a stress test for 10 min without error/freeze/fc/reboot.

I also flashed RT's v5f 925mV Kernel and it has the same Issue.

Need to Nand back soon since i got a freeze with RT's Kernel (my phone simply doesn't work with 1113@1275mV) and since my Data2ext has no journaling the battery pull already destroyd 2 apps ^^ .
[Desire Android Development] sugarlee75:
Downloaded and flashed the latest HAVS 875mv and installed it on my Leedroid v2.2e, but still the same: Charging (USB)

What can be the problem?
[Desire Android Development] coutts99:
Can anyone confirm this? I don't have AC charger with me
[Desire Android Development] flash3d:
This could explain my 100% CPU usage after a while by the "android system process". Was using havs with interactive. Changed to ondemand now and see how it goes.
[Desire Android Development] beanbean50:
Oops! it wasn't that one I downloaded it was the btrfs test zip
[Desire Android Development] coutts99:
Ok, at home last night I got charging AC, not sure what is wrong.

Can anyone else confirm that AC charging works fine?
[Desire Android Development] coutts99:
Ok I have fixed the issue of the clock speeds being out by one.

In acpuclock-scorpion.c we have the following commented out -:

/* Work arround for acpu resume hung, GPLL is turn off by arm9 */
/*{ 256000, CCTL(CLK_GLOBAL_PLL, 3),	SRC_RAW, 0, 0, 1050, 29000 },*/

In avs.c this frequency was not commented out, hence speeds above this were out by one.

Diff - http://bit.ly/hTKBJ9
[Desire Android Development] andQlimax:
Does someone tried this kernel with a 2.29.405.2 WWE rom?

Will it work correctly?

Thanks
[Desire Android Development] Oijkn:
I have just flashing your last version of kernel "couttstech-2.6.32.26_OC1190_LeeDroidv2.2f_HAVS@875mV_CMBattFix_BFS_BFQ.zip" and all was good except my desktop icons/widget (all was not aligned) but with a little restore with Titanium then all was good again :)

LeeDroid 2.2f @1152 MHz "smartass" ==> quadrant 1569
[Desire Android Development] beanbean50:
Hi,

I downloaded today's update (many thanks) but have noticed quite a drop in the sound level, just wondering if you removed the audiomod mod or not...?!
[Desire Android Development] coutts99:
I sync'd audio values with cyanogen a few days back, I had some distortion with the audiomod values

http://git.couttstech.com/?p=coutts...49ab8b77c1093c2e4315665ee7f8e4832f1309#patch1

Just busy playing with voltages seeing if I can get OC@1190 stable.

BTW ibefore the HAVS fix when OC'd to 1152 it was really only 1113.
[Desire Android Development] Oijkn:
I hope mate you can success with the OC @1190 because i'm like you, i can't use my desire at this frequency because it's very unstable ^^ i love you if you can get it functional :p
[Desire Android Development] beanbean50:
the OC@1190 is super stable for me :) the acid test for me is running quadrant and that's running nice and smooth maxed out @1190 ... well done old chap...!
[Desire Android Development] coutts99:
Just updated the kernel and increased min voltage for 1190 to 1350, so may be a bit more stable.

But good news :)

Considering the kernel yesterday when OC1190 would have only really have been 1152, this is good that it is now stable for you when it really is 1190 :)
[Desire Android Development] Audioboxer:
So is it now better to go with ondemand over smartass?
[Desire Android Development] coutts99:
Supposedly better battery life.

I haven't tested properly yet though as I'm always farting on with my phone, need to force myself to have a day where I just use it normally :)
[Desire Android Development] Oijkn:
Coutts99 you can do a quadrant test @1190 or your phone still buggy at this frequency ?
[Desire Android Development] coutts99:
I can't do quadrant yet, but I've been running OC@1190 (performance gov) and haven't had any issues (yet).

**EDIT** Quadrant at 1190 has just worked!
[Desire Android Development] Oijkn:
For me it was the same yesterday but after a reboot my phone was come unstable again @1190 i'm happy that you have the same problem like me because i hope you will find a solution :)

Edit: OMG you have successed it !! GG mate. I'm doing a nandroid and then test it too ;)
[Desire Android Development] coutts99:
I've increased the voltages on 1152 and 1190 since yesterday.
[Desire Android Development] Madeli:
With latest couttstech-2.6.32.26_OC1190_LeeDroidv2.2f_HAVS@925mV_CMBattFix_BFS_BFQ .... my 3g didnt work :( changed to richards kernel, now its working...
[Desire Android Development] coutts99:
3G is working fine here
[Desire Android Development] Madeli:
strange... :/ well, i'll give it another try soon
[Desire Android Development] Oijkn:
Well i can confirm you that is a little better but my Desire still reboot and not stable @1190, i could to a Quadrant test (after a few attempts) but after i would do a NeoCore test and my phone was freeze... This frequency is very hard to configure i think :(

@Madeli : I'm under Leedroid 2.2f too and my 3G work like a charm, perhaps try to set your proxy : port in your APN.
[Desire Android Development] rafi300:
Installed new kernel on desire HD.

Maxed out overclocked at 1190 , min 128000 with interactive governor on 875mv and the tom is super stable, nd quick . No lags or freezes .

I guess uv perfected it coutts .
[Desire Android Development] Madeli:
second try.... now its working. Dunno what happend the first time.... but all is good now :)
[Desire Android Development] balthor80:
RCMIXHD V0.13

+ couttstech-2.6.32.26_OC1190_LeeDroidv2.2f_HAVS@925mV_CMBattFix_BFS_BFQ

+ data2SD

+ 02data with sync off

and i have still ~60% of battery

Thanks for this awesome kernel ;)
[Desire Android Development] coutts99:
I've some more havs changes to compile tomorrow, should improve battery some more.
[Desire Android Development] rafi300:
Great to hear .. which kernel would u prefer ? The 925 or 875mv ? Also please rename it from leedroid. This kernel has become universal now .. Working great even with the desire HD roms .
[Desire Android Development] coutts99:
875, but it might not be stable for everyone. If 925 works good then give 875 a try, should improve battery. Wait till tomorrow when I've compiled latest changes.
[Desire Android Development] knights191:
coutts:

1152 and 1190 are with the voltage adjustment, what voltage is beeing used for 998, is this still ' under volted' ?

thanks for your kernel man.
[Desire Android Development] coutts99:
ill post the voltages tomorrow. But yes it'll be undervolted.
[Desire Android Development] Oijkn:
Yeah new flash in coming lool i hope more stability @1190 ;) but your kernel work like a charm for me thanks for your great support coutts99 !
[Desire Android Development] melethron:
Nice, that you could fix the issue. I think i give HAVS a 2nd try.

Lower mVs?
[Desire Android Development] coutts99:
Lower at low frequency. Higher for 1113 and up.

Wait till I compile tomorrow.
[Desire Android Development] beanbean50:
my battery wont charge above 4133mV now (before it was 4167mV) is it me or you...? ..hehe
[Desire Android Development] coutts99:
I've never actually checked what mine goes to. I haven't changed anything battery related though.

Ill have a look tomorrow.
[Desire Android Development] Moe5508:
+100 chars...Multi-ROM Kernel :D
[Desire Android Development] knights191:
Can I use this kernel on the autaxsense 8.1.2?
[Desire Android Development] coutts99:
yes, I'm just about to recompile though. Wait a few minutes before downloading
[Desire Android Development] Madeli:
Hi coutts.

With latest 2.29 htc release ppl are saying that the battery bugg is fixed. Something you can look into? I'm just thinking that if it is, it would be great to have a kernel without the battfix too :)
[Desire Android Development] beanbean50:
morning guys, my poor little brain is going into melt down over this voltage thing..

today it's stuck at 4109mV (yesterday it was 4133mV and before that 4167mV)

is the voltage the amount of juice/power the battery has or the amount of current going into the battery?

if it's the charging current then lower is better? or is it higher the better...?

confused.com..hehe
[Desire Android Development] rafi300:
Coutts I have been using havs 875mv since day 1 with on demand profile and screen off freq at 248 power save mode.

but I have a question regarding a lag I experience on own here's DesireHD rom, data2ext during installation of programs after downloaded from market and during initial loading of rosie.

Could this be cux of 875mv ?

Other than that I experience no freezes or forceclose nor random reboots
[Desire Android Development] coutts99:
HAVS updated. hopefully improving battery life.

Voltage table for those interested -:

struct clkctl_acpu_speed acpu_vdd_tbl[] = {
{ 19200, VOLTAGE_MIN, VOLTAGE_MIN },
{ 128000, VOLTAGE_MIN, VOLTAGE_MIN },
{ 245000, VOLTAGE_MIN, 925 },
{ 384000, VOLTAGE_MIN, 975 },
{ 422400, VOLTAGE_MIN, 975 },
{ 460800, VOLTAGE_MIN, 1000 },
{ 499200, VOLTAGE_MIN, 1025 },
{ 537600, VOLTAGE_MIN, 1025 },
{ 576000, VOLTAGE_MIN, 1050 },
{ 614400, VOLTAGE_MIN, 1075 },
{ 652800, VOLTAGE_MIN, 1100 },
{ 691200, VOLTAGE_MIN, 1125 },
{ 729600, VOLTAGE_MIN, 1150 },
{ 768000, VOLTAGE_MIN, 1175 },
{ 806400, 1175, 1200 },
{ 844800, 1200, 1200 },
{ 883200, 1200, 1250 },
{ 921600, 1200, 1225 },
{ 960000, 1200, 1225 },
{ 998400, 1225, 1255 },
{ 1036800, 1225, 1275 },
{ 1075200, 1225, 1275 },
{ 1113600, 1250, 1300 },
{ 1152000, 1350, 1350 },
{ 1190400, 1400, 1400 },

Where voltage min depends on what kernel you downloaded.
[Desire Android Development] rafi300:
It seems that the whole system is non responsive.. Than after like a 10 sec wait it gets fine .
[Desire Android Development] coutts99:
Yep same here, lag when application is installing, and during initial start up. Once the phone has settled it is great though.

I think this is probably to do with data2sd.
[Desire Android Development] coutts99:
Where are you getting this reading from?
[Desire Android Development] rafi300:
He probably has battery indicator installed. It shows the voltage battery is currently holding while being charged
[Desire Android Development] beanbean50:
an app called Quick System Info
[Desire Android Development] coutts99:
Need to see the kernel source :)
[Desire Android Development] rafi300:
Do you recommend installing this new kernel u just uploaded ? m running on oc 1190 and I don't c any significant battery drain, so y would 1113 eat up the battry?
[Desire Android Development] coutts99:
I'm currently on 4026mV and 79%.

Been off charge since 4am (now 10am).

I'll charge and see what it gets up to.
[Desire Android Development] coutts99:
OC > 1113 will eat battery as I've increased voltages to try and make higher OC stable.

I'd recommend changing, as I've slightly descreased voltages for lower clock speed. Should improve battery.
[Desire Android Development] coutts99:
Check voltage with 'dmesg | grep batt:' from adb shell
[Desire Android Development] beanbean50:
I think you know my next question...lol
[Desire Android Development] xcesco89:
works geat on RCMixHD 0.14 data2ext!!

:D:D
[Desire Android Development] coutts99:
Can you let me know how your battery life does?
[Desire Android Development] beanbean50:
ok, it tells me fully charged at 4128mV
[Desire Android Development] coutts99:
I'm up to -:

<6>[ 4945.328460] batt: 95%, 4153 mV, 166 mA (166 avg), 29.2 C, 1297 mAh

Maybe calibrate your battery.
[Desire Android Development] coutts99:
Have you calibrated then wiped battery stats from recovery?
[Desire Android Development] beanbean50:
yep straight after calibration...does my charging look normal to you?
[Desire Android Development] coutts99:
I've never really took much notice of it before.

I'm up to -:

<6>[ 6184.006469] batt: 99%, 4167 mV, 88 mA (89 avg), 29.3 C, 1339 mAh
[Desire Android Development] coutts99:
Ok charging finished -:

<6>[ 6434.870788] batt: 100%, 4167 mV, 81 mA (80 avg), 29.5 C, 1358 mAh

<6>[ 6501.110107] batt: 100%, 4167 mV, 58 mA (30 avg), 29.3 C, 1358 mAh

<6>[ 6501.117645] batt: charging BATTOFF [FULL]
[Desire Android Development] beanbean50:
you've got 81 mA, I've only got 1 mA....

(I wish I knew what I was talking about...!)
[Desire Android Development] coutts99:
-1, discharge rate

80, charge rate

Possibly?
[Desire Android Development] beanbean50:
maybe I'm confusing the old dear as I just brought a 3000mAh battery (13 quid from ebay) but haven't really noticed any difference from the standard 1400mAh battery
[Desire Android Development] Audioboxer:
couttss you've perfected your kernel :D

Now can anyone do some governor tests?
[Desire Android Development] thay:
Seems faster than previous couttstech-2.6.32.26_OC1190_LeeDroidv2.2f_HAVS 925.Now testing battery life (with the old one was greatfull)I'm testing in OwnheredesireHD rom
[Desire Android Development] beanbean50:
I've just downloaded the latest and greatest but it feels quite sluggish and IF quadrant is anything to go by then that confirms it 1504 (my best was 1957)
[Desire Android Development] coutts99:
GO into setcpu and make alter you oc, I've had setcpu just oc to 998 on reboot, just sliding max down and back to 1113 made it work properly again.

I haven't worded that to well have I :)
[Desire Android Development] beanbean50:
I maxed it out to 1190 performance but still only 1500...oh dear
[Desire Android Development] thay:
Real performance is not benchmark :)

Test real use of the phone bench may be alterated from many things (for example data2 sd)
[Desire Android Development] coutts99:
I've only altered voltages today, shouldn't have any affect on performance
[Desire Android Development] beanbean50:
yeah maybe it's this rom, I'm looking for a new one, thinking about neo's 8.1.1
[Desire Android Development] infoschumi:
31.1 in Neocore@998Mhz

32.0 in Neocore@1190Mhz

1800 in Quadrant@998Mhz

1900 in Quadrant@1190Mhz

07.12.2010 HAVS@875mV kernel and newSense DHD baadnwz V0.4c.

I'm very impressed by these numbers.

Still,I have a question.When I start the Quadrant test,it has a display lag and it jumps straight to 12/12 CPU.Again,in the last video test(that ADN sequence or whatever it's called) I only get around 12FPS,previously it was around 18FPS.Is there any way to check if that GPU mod is implemented?
[Desire Android Development] coutts99:
Yes I get both these, although around 15fps on the last video test. I use RCMixHD 0.13

Yes the GPU mod is in the kernel, it was originally forked from LeeDroid v2.2f

Can someone not on a HD rom see if they get the same?
[Desire Android Development] ahac85:
Im on leedroid 2.2f and i have the same issue!!
[Desire Android Development] garga_mel:
Hi !

Thanks for this great kernel. My Desire is not stable (froze twice and I got bootloops this morning) at 875mV but it seems fine at 925mV.

Only issue is with the audio : the volume is way too loud during phone calls even when I set the volume to 0. I guess it has something to do with the Audiomod.

Coutts99 could you please make one without audiomod ?
[Desire Android Development] coutts99:
Ill back out the audio changes tomorrow, although its fine for me.
[Desire Android Development] rafi300:
Your new kernel + new data2ext v2 by own here are really compatible for each other as the roms stability nd response has increased alot . The lag after the rom was fully loaded has gone away nd is Smooth now ...
[Desire Android Development] losdrivare:
Thanks, audiomod is breaking up the sound on my Desire, so I've been holding off from updating your kernel after you implemented it.

Non-audiomod version will be much appreciated! :)
[Desire Android Development] beanbean50:
I prefer the audiomod, is there any way you can make 2 versions? :)
[Desire Android Development] coutts99:
Its fine for me to, I'll do a seperate one with out audiomod.
[Desire Android Development] mariosraptor:
It is ok for me too! Anyway great work.
[Desire Android Development] Audioboxer:
Thanks, I'd like that as well, my ear speaker almost sounds like a loud speaker.