yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] beady_uk:
Richard

Sorry if this is an obvious question but is there part of your kernel that alters the way android manages memory.

This is because my yahoo mail app apears to be closing from memory on its own and that stops my emails pushing to my phone. before using this kernel it worked fine and i think it was always open in memory, now i have to manually open the app and wait for it to retrieve mail. but again if i leave it running in the background it will eventually close on its own.

Also beautiful widget skins keep reverting to stock. Not sure if that is releated.

If there is something in the kernel to manage memory how can i make yahoo mail an exception or revert it to stock memory management?

Cheers
[Desire Android Development] sibere:
I do confirm the little bug of freq report in avs.c

please remove or put in comments the line with 256MHz as it's an unused freq. by the kernel and the scorpion CPU.

/* { 256000, VOLTAGE_MIN, 1000 }, */

And if you want to avoid lines and lines of voltage report in your dmesg log, you can comment also a line in avs.c like this :

/*AVSDEBUG*/ /*pr_info("AVS setting V to %d mV @%d MHz\n",

new_voltage, acpu_vdd_tbl[freq_idx].acpu_khz / 1000);*/

I did it an no more hassle ;)
[Desire Android Development] richardtrip:
If you don't want BFS use the V5e (no other changes in V5f except the BFS patch). If there is anything new i will provide BFS & CFS kernels.
[Desire Android Development] richardtrip:
The debug message is there on purpose (this way people can see what AVS is doing on the phone). As for the 256Mhz i didn't see any problem with it (it is in every aosp desire kernel also) but haven't tested it long enough to be 100% sure about that.
[Desire Android Development] Psych0Chimp:
Can anyone please help with some or all of the above?

Thanks ;)
[Desire Android Development] K900:
This kernel does everything you need

Sent from my HDfied HTC Desire
[Desire Android Development] martino2k6:
Even if this kernel doesn't do those, you can set them with SetCPU.
[Desire Android Development] Large Hadron:
Well, apart from undervolting - you rely on the kernel for that ;)
[Desire Android Development] Alex-V:
Here is the kernel from neophyte 7.8.1 its a non oc kernel but it reload from 99% again...(if you charge it maybe overnight..you want wake up with 90%)

richard can you make a oc kernel of this...or intigrate in your kernel..??

http://www.multiupload.com/D6JTE0VKYW

with kind regards..Alex
[Desire Android Development] spitjo:
+1
[Desire Android Development] spitjo:
Teppic powersaving mods are only init.d scripts.

I think this kernel is fully compatible with those scripts.
[Desire Android Development] Psych0Chimp:
This makes a lot of sense.

Guess I'll flash this kernel and apply teppic's mod on top then. Saves me having to configure SetCPU!

Cheers for the info.

EDIT: Although, just had a look at teppic's scripts. If I apply it on top of richard's already undervolted kernel, will it undervolt twice?
[Desire Android Development] Alex-V:
its because a special screenstate script

and no for undervolt twice...only screenstate works from a older kernel...the rest (like undervolt) load over a module and this is kernel special

with kind regards..Alex
[Desire Android Development] DirkStorck:
Maybe stupid question but what does HAVS mean or where do I find something about it?

Thanks!

ok. found it .....

http://xdaforums.com/showthread.php?p=7263485
[Desire Android Development] Psych0Chimp:
You say the modules are kernel specific, so does that mean they won't work with this one?

I'm gonna use SetCPU anyway, just curious!

Chimp
[Desire Android Development] sibere:
Well it's not a big issue. It's just that AVS is not reporting the right frequency :)
[Desire Android Development] sibere:
Would probably be easier with sources than the built kernel ;)
[Desire Android Development] Nekromantik:
version e and f both are giving me battery drain. I tried both HAVs versions and non HAVs and on both I loose 12 - 15% battery overnight while APN is turned off. I used to get 4% lost overnight.
[Desire Android Development] bg_man:
Very strange dude. V5e_HAVS@925mV was stable for me. I loose 3-4% battery overnight. From my last charge I have 20 hours of use and my battery shows 74%. I have 30 minutes of talking, 25 min browsing, sync on.

Check your active apps.
[Desire Android Development] ahac85:
ive just flashed the new leedroid 2.2f and his latest kernel is awesome!

ive had phone on for 20 hours and only lost 35% its undervolted to 900mv @ 245mhz and 1300mv @ 1190 with smartass govenor. you can also adjust voltages with a script he has uploaded to his dropbox, a must for those want great battery life, the kernel also has the sdfix and gpu+ included
[Desire Android Development] carlos67:
Is smartass the default governor in svs V5e_1113? What Mhz does it operate between?

Thanks :)
[Desire Android Development] sibere:
A script to adjust voltages? Wow gimme more info about it!

Thks
[Desire Android Development] websinister:
no, its ondemand. you can choose from 245MHz to 1113MHz.
[Desire Android Development] Nekromantik:
I updated radio and so will see how it goes.

:)
[Desire Android Development] carlos67:
Websinister,

ok, how do I choose then? What I want is this......

a. screen off - powersave - 245Mhz (the lowest right?)

b. screen on - cpu under load - I want it to ramp up to 1113Mhz. (the highest)

Simple, but how do I achieve this? Does the SVS V5e_1113Mhz kernel do this automatically from install without any 3rd party apps like SetCPU?

:confused: Thanks.
[Desire Android Development] martino2k6:
The kernel already scales the voltage dynamically, based on how much power the device needs. So, when your screen is off it will most likely use less voltage than when it is on. This kernel, AFAIK, does not however adjust the frequencies based on the screen state by default. It does it only based on the usage of the processes.

Anyway, SetCPU allows you to do that with a lot more customisation than you could ask for. Just get the application and you will see how many options to customise the behaviour you will have :)
[Desire Android Development] mendozinas:
This kernel DO adjust frequencies and governors on screen state by default:

Interactive 245-998 - screen on

Powesave 245-245 - screen off

Sent from my pocket using pen
[Desire Android Development] martino2k6:
OK, apologies for the misinformation in that case.
[Desire Android Development] xNavyblue:
Please pardon my very rudimentary question.

Are all these 4 supposed to provide power saving compared to stock kernel?

And are the HAVS ones supposed to provide more power saving compared to the other 2?
[Desire Android Development] addoyle:
Same here
[Desire Android Development] ahac85:
to check what is causing battery drain go do dialer and type *#*#4636#*#* then go to battery history and change other usage to Partial Wage Usage; this will show you whats been sucking most of the juice out of your battery :D for me it was usually ebuddy instant messenger and live wallpapers, once removed or properly shutdown (killed), battery life became awesome again
[Desire Android Development] HFX9:
Driver for wifi is in this kernel, or wifi driver is in rom?
[Desire Android Development] avanray:
Hi, is it compulsory to use setcpu with this kernel? Or is it better I leave it as it is n let the kernel self govern?
[Desire Android Development] Large Hadron:
Up to you. If you want to overclock or change the governor you need setcpu. Otherwise it will work fine without. Try both and see what works for you.
[Desire Android Development] avanray:
Ok. Thanks. Will check it out.

Another question, there is 875mv and 975mv version. Obviously the 875mv will save more power. But does it mean it is slower by comparison to 975mv?
[Desire Android Development] ali_loly10:
could you give me a link to the latest stock htc kernel because i have some problems with this kernel

please help
[Desire Android Development] Memphis007:
Link is in the 1st post
[Desire Android Development] sibere:
Looks like I have a solution for the battery level drop when we unplug the charger. I will post very soon a hack to the kernel.
[Desire Android Development] sibere:
Nope.875 is just a more aggressive setting and can be unstable on some phones. Try both.
[Desire Android Development] ali_loly10:
how do i install the original kernel that is posted in post #1

do i just flash the .tar.gz folder
[Desire Android Development] K900:
No. Reflash your rom without wiping
[Desire Android Development] ali_loly10:
i don't want to reflash my rom

infact i dont even have a rom i am using an ruu
[Desire Android Development] avanray:
Hi, tested both. Can't find really differentiate between those two
[Desire Android Development] kai84m:
If 875mV is stable on your phone use this one!
[Desire Android Development] hutzdani:
Installed the 1113mhz kernal on my stock 2.2 rom with htc sence and it just caused it to boot loop :(
[Desire Android Development] spitjo:
Good news!!

I'm VERY interested in this.

Now i am forced to poweroff and recharge for half an hour every morning...
[Desire Android Development] Alex-V:
yeah.... :p:p:p:p +1 for a quick release :):):):p;)

with kind regards..Alex
[Desire Android Development] sibere:
Yep, I will do that tomorrow guys. Don't be to impatient :p
[Desire Android Development] flash3d:
Hopefully the kernel builders will pick this up fast. Love a fully charged phone in the morning :).
[Desire Android Development] sibere:
Well, if not i will post mine ;)
[Desire Android Development] Alex-V:
i hope so ;) :p lol

with kind regards..Alex
[Desire Android Development] sibere:
Here it is !

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

Cut& paste this thread to your favourite kernel developer :D
[Desire Android Development] kartikb:
how do we intergrate that code with the kernal in this thread?
[Desire Android Development] sibere:
Richard will know :)

Otherwise, if you know how to compile a kernel, you may know how to edit a file, don't you?
[Desire Android Development] kartikb:
I wish I did... anyway i'll just have to wait unitl Richard compiles it in the next update...
[Desire Android Development] furniel:
I`ve applied BATT Fix to V5f 1113Mhz max No Audiomod version. But i don`t think that this patch is a good idea. You can damage your battery with this patch.
[Desire Android Development] sibere:
Maybe maybe not... It's a trade-off for an always fully charged phone. There's a lot of phones on the market without the charge/stop/charge/stop HTC "feature" and they don't die after 3 months ;)

But you're right, and if anybody wants to try it, it's at their own risks (and own expenses too ;) )

Personally, my kernel has my patch since a few days now and it will stay there until someone comes with a better solution :) (like charge/stop - don't discharge if connected, use AC power instead)
[Desire Android Development] Nekromantik:
im using the HAVS V5e atm and last week my phone was at 25% battery and after a few txts it flashed connect charger and the battery went down to 0 and phone auto shut down. So I calibrated the battery and wiped battery stats and then same thing happened last night exp this time battery was 22%.
[Desire Android Development] biggreen:
Can anyone plz apply this fix to

Froyo Kernel V5f_HAVS@875mV min kernel version please ??

P.S And about damage, all CM roms continue charging after 100%, and no damage to battery, because there is controller in battery that dont enable overcharging anyway.

P.P.S I better change battery after 1 year instead of 2, than go to work with 90% percent battery every day
[Desire Android Development] superdioz:
can anyone explain to me the difference between V5f_HAVS@925mV and V5f_HAVS@875mV?

thanks!
[Desire Android Development] biggreen:
lower minimum voltage on 245mhz cpu clock, may not be stable on all phones
[Desire Android Development] furniel:
Here is my version of the patch - battery drops to 99 and then charging again. I think that this is better for battery life. I`ve compiled my kernel with this patch and it works for me.
[Desire Android Development] sibere:
Did you try it? Because I did before publishing my other patch and my batt was still dropping to 90 % :(
[Desire Android Development] Alex-V:
Thanks for intigtrate the bat fix...will test :)

with kind regards..Alex
[Desire Android Development] furniel:
My phone worked as wifi router last hour and charge level is still 100% - so i think that it works.
[Desire Android Development] furniel:
I`ll post later this kernel with my version of patch - please test it too.
[Desire Android Development] sibere:
Ok I will give it a try then :)
[Desire Android Development] sibere:
Does it still shows 100% if you unplug it?
[Desire Android Development] furniel:
Yes it shows 100%. Try this patched kernel.
[Desire Android Development] Alex-V:
whats the difference..??

with kind regards..Alex
[Desire Android Development] furniel:
With first patch your phone will be charging after 100% - this may be bad for your battery. With second patch your phone will stop charging on 100% and when charge level will drop to 99 - charging starts again. It looks like everything works, but i tested my version of the patch only for last hour. So test and reply if it works for you.
[Desire Android Development] sibere:
I have to say that after 3 days, I never had a batt charged over 100%. The controler stops at 100%.
[Desire Android Development] furniel:
Yes, you are right. But i think that it`s better when phone stops charging, but not the controller of the battery - which must prevent overcharge only when there is some problem with the phone. This is my opinion and may be i`m wrong.
[Desire Android Development] sibere:
You could be right too :) But think what happens when you are charging with the phone turned off... the recharge is controlled only by the controller and not by the phone/OS
[Desire Android Development] boomam:
Im relatively new to kernels...

I take it i just flash this over my existing Leedroid install and everything works as before? Or do i need a fresh Leedroid install?
[Desire Android Development] th3:
Just FYI: The audio mod makes my phone completely unusable (HTC Desire 2.2 and Desire HD 2.2 ROMs). Random but frequent FCs, restart after restart, dirt slow, no apps/widgets load or function till an hour or so uptime. And my device is pretty flawless otherwise.

------------------------------

- Sent via HTC Desire -
[Desire Android Development] Alex-V:
Ok...Thanks to all...will test it... :)

with kind regards...Alex
[Desire Android Development] Alex-V:
Can you make a Wifi PM Fast Module (wifi on with screen off) for your Kernel version because your Kernel description is a other than richards...so i get a error if i flash richards pm fast ...???!!?

with kind regards..Alex
[Desire Android Development] sibere:
Just a simple question... do you have a CDMA phone?

Because I build a kernel with exactly the same hack before going for mine and it never worked. This is mainly because this bit of the code is for CDMA phones (bravoc line 847) and my hack is for non-CDMA phones (the bit of code after "else" line 960).

see this post for more info: http://xdaforums.com/showpost.php?p=8695549&postcount=464

This explains why, even with 99 , my phone still drops to 90% before recharging if I don't use my hack.

(see this post for a nice graphic http://xdaforums.com/showpost.php?p=8774556&postcount=490 )
[Desire Android Development] furniel:
No. My phone is gsm(amoled).
[Desire Android Development] furniel:
I'll try to make this module in the evening.
[Desire Android Development] Alex-V:
Great...thanks for spend the time to this :)

with kind regards..Alex
[Desire Android Development] Alex-V:
intresting :)

with kind regards..Alex
[Desire Android Development] sibere:
that's odd then! I don't understand why it's not working on mine.

I have a GSM (SLCD)
[Desire Android Development] sibere:
indeed :)

And you can see in the batterysnap graph that even if the battery is drained and going to 90%, the phone still reports 100% unless it's unplugged from charger or reaches 90%. that's actually I think the main issue. After recharging full, the battery or driver reports 100% level even if the battery level is less than 100%. In the driver, there is a check and the phone should recharge the battery when the level drops at or below 99%

} else {
if (htc_batt_info.rep.level <= 99)
htc_batt_info.rep.battery_full = 0;
[Desire Android Development] Alex-V:
i will test both kernel versions :) but i think its not important..if the phone is on trickle charge or reload from 99% because its almost the same...and i think all my older phones have trickle charge.... maybe also aosp roms have it...but

I will say...thanks to all the people which make this possible...thanks

i find this post...but i don´t understand...because i think the notebook also have trickle charge...because if i unplug i have 100%

http://xdaforums.com/showpost.php?p=9248031&postcount=28

with kind regards..Alex
[Desire Android Development] sibere:
Notebooks have a nice feature. They charge to 100% and then power the device with the charger only. The battery is disconnected and does nothing and discharge naturally veeeery slowly unless you use the laptop without the AC or the battery level drops below a % defined by the manufacturer (that's the behaviour of my NC10, the battery recharges only if the level is below 96%)
[Desire Android Development] Alex-V:
ok...thanks again for info :) :)

with kind regards..Alex
[Desire Android Development] sibere:
erm.. may I ask another question?

When yo build your kernel, do you set system type to Bravo or to BravoC ?

This would maybe explain the difference :)
[Desire Android Development] knights191:
Can we increase the voltage on the cpu? So we can try to get our desires also to 1.8, 1,9 gHz.
[Desire Android Development] sibere:
and kill the battery in 2 hrs :D
[Desire Android Development] furniel:
I have used richardtrip`s source code and his config to compile public test kernel. So the only changes are the patch and name of the kernel. In my own kernel this patch works to.
[Desire Android Development] anko184:
Hello guys, i have a weird and annoying problem with the "Froyo Kernel V5f_HAVS@875mV min No Audiomod version" that i use.

Although i have set the SetCPU to use the smartass governor and also i checked the "Aplly at boot"

option the kernels switches back to ondemand governor after some time. Can someone tell me how to solve this?

Alternaty could you tell me how can i set the smartass governor as default governor before i flash the kernel?
[Desire Android Development] furniel:
I recompiled both kernels with original kernel description. Now you can use richardtrip`s wifi N modules for them.
[Desire Android Development] furniel:
It looks like you have screen state script in your rom - you need to change default governor in the script to make it work.
[Desire Android Development] flash3d:
Furniel, i know you don't support them but still a question if i may :)

If i understand those two kernels are based on the latest kernel from richard as listed on the first page, the svs version (not havs) and patched with your batt mod.

The V1 and V2 are the "99%charge" and "100%charge" ones?

thx!
[Desire Android Development] furniel:
V1 is the kernel with patch provided by sibere in this thread

V2 is the kernel with my patch(99% charge)

This kernels were made only for test of patches. I think richardtrip later will apply batfix to all his kernels.
[Desire Android Development] K900:
What about the new task grouping patch? Anyone tried it yet?
[Desire Android Development] anko184:
Care to explain this a little more?
[Desire Android Development] furniel:
I`ve tried to compile kernel with this patch. But i`m getting error in compile process :(.
[Desire Android Development] sibere:
Ok thanks. I really don't understand why it's not working for me :/
[Desire Android Development] Alex-V:
Thanks again :)

with kind regards..Alex
[Desire Android Development] alphaola:
ok guys, am going to ask these dumb questions.

1. What does HAVS stands for and what does it do

2.Whats the difference btw the four versions of 5f

3. which of the four versions, stops the phone discharging to 90% when on charge before charging again.

thanks in advance
[Desire Android Development] K900:
1. HAVS is a voltage scaling system, which means your CPU gets less power when it doesn't need it to improve battery life

2. Two have HAVS with different minimum voltage, and are overclocked to 1113mhz. The other one doesn't have HAVS, but it is overclocked to 1190mhz. The last one doesn't have HAVS and is overclocked to 1113mhz. If you want stability, choose HAVS@925+1113mhz, if you want max power, try 1190mhz, but it can be unstable.

3. None of them, as no one knows how that battery patch will affect your device in the future (like killing your battery or something)
[Desire Android Development] Alex-V:
I have the feeling that your and also the default version of v5f is a bit slow in some things...i have to double tab things and scroll in rosie is not so smooth...i have flashed for a test also v5f original and v5e and v5e is much smoother so please can you make the batt fixes versions also for v5e...??!?

with kind regards...Alex
[Desire Android Development] Jagdish84:
I think its the BFS scheduler screwing things up...
[Desire Android Development] Alex-V:
I think also...so please..please a version of batt fix with v5e or only without bfs..??!?

with kind regards..Alex
[Desire Android Development] Zeljko1234:
I don't have any of yours problems. Did you change CPU scaling? I'm using smartass now.
[Desire Android Development] Alex-V:
I use ondemand because i have battery drain problems with interactiv...Ok..i will try smartass but i think its the bfs because i have no problems (with smooth and so on) with v5e and bfs is the only difference

edit: have you tried v5e to compare..?

edit 2: i tried it also with and without screenstate scaling

edit 3: its the same with smartass :confused:

with kind regards..Alex
[Desire Android Development] Jagdish84:
Must say, i had these problems with AuraxTsense 7.8.1 althou not experiencing any of em on AuraxTsene 8.0, the rom im currently using (i downloaded V1 with siberes trickle charge - i think :P)
[Desire Android Development] Alex-V:
I don´t understand it... neo´s 7.8.1 was allmost 2.10 and 8.0 is a mix between 2.10 and 2.14 ...my build is 2.10...i go back from 2.14 to 2.10 because 2.10 is more comaptible to mods (available on xda)

Also have no probs if i flash the kernel of 7.8.1 which reload also on 99% but its a non oc kernel and no sd card speed fix

with kind regards..Alex
[Desire Android Development] sibere:
I will try to post today a v5e with my patch and ext2/3/4 included for the Apps2SD users, all cpu governors, HAVS and so on but WITHOUT BFS CPU sched :D
[Desire Android Development] Alex-V:
yeah...please...good news...thanks :):)

with kind regards..Alex
[Desire Android Development] yukkio:
Someone has seen this improvement? http://goo.gl/jrnEC

It will be great if someone could compile a kernel with it.

BR.
[Desire Android Development] sibere:
Posted here http://xdaforums.com/showpost.php?p=9279677&postcount=48 and here http://xdaforums.com/showpost.php?p=9280769&postcount=58
[Desire Android Development] alphaola:
I tried v2 .I still woke up to 90% on my phone after over night charging.seems like not working for me,will give it a go tonight again.any other option or recommendation
[Desire Android Development] sibere:
Try mine and let me know :D
[Desire Android Development] ninjakettle:
Sounds very interesting. Hope to see it included on these kernels soon.

Siebre, did you compile this into your 5e+battfix kernel?
[Desire Android Development] sibere:
I just patched my kernel with this new CPU scheduler. Will test it later and let you know :)
[Desire Android Development] yukkio:
Great! I think there's already a version for N1
[Desire Android Development] sibere:
Yes indeed :)

But I already find my desire very responsive with the Interactive mode. I will try to "feel" any improvement.
[Desire Android Development] Alex-V:
I say thanks again ;) :)

with kind regards...Alex