yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] amidabuddha:
I guess it depends on the amount of app running at the same time.

I use the built-in Sense task manager occasionally on all Sense 4 ROMs. This gave me 4035 on Fallout which seems to be the best performance shared here so far...

Sent from my HTC Desire S
[HTC Desire S] amidabuddha:
Ok guys, based on some requests there is a poll now here. Vote please :)
[HTC Desire S] paddymcn:
Its very important to me as my power button doesn't work. I'm happy to use the volume wake mods but I also like to close the screen before it goes in my pocket and this is ideal, thank you for your excellent work
[HTC Desire S] amidabuddha:
Try, I hope they work for you. They do for some but not for others. I do not know the exact reason

Sent from my HTC Desire S
[HTC Desire S] lowveld:
Sorry, I missed these questions. amidabuddha, I don't keep a github repo, but I'll gladly send you the code to make the UV configurable by sysfs interface, meaning a single under-voltable on the fly kernel. Are you interested?

Cheers
[HTC Desire S] amidabuddha:
Yes of course :)

Actually I included that in one of the previous versions, the /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels file was created but the echo '-100' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levelsl command did nothing, also there was no additional tab in SetCPU so I guess I missed something. I will gladly include it again
[HTC Desire S] lowveld:
Just sent you to the email address on your xda profile.

Cheers
[HTC Desire S] Grant2k:
после нескольких часов использования аппарата потребление в режиме ожидания поднимается с 14 mA до 28 mA. не могу определить зависимость, думаю что какая-то проблема в ядре. все фоновые приложения отключал. после перезагрузки восстанавливается 12-14 mA. Power Tutor ничего определенного не показывает

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

after several hours of use of the device in standby consumption rises from 14 mA to 28 mA. I can not determine the relationship, I think that is a problem in the kernel. cut off all background applications. restored after a reboot 12-14 mA. Power Tutor shows no definite
[HTC Desire S] amidabuddha:
Use BetterBatteryStats (search for the free version at XDA) to determine what is causing the drain.

For me ever after 15 hours is standby the battery level remains the same and the phone sleeps like a baby, no drain

Sent from my HTC Desire S
[HTC Desire S] mouzzza:
Hey amidabuddha!

Had some conversation with skvalex the author of CallRecorder.

His app makes it possible to record calls in AMR- and WAV-Files. On DesireS WAV isn't working with your kernel, AMR works well.

He told me following:

So are you able to enable that? Would be nice for the quality of the recordings.

Thanks in advance!
[HTC Desire S] Grant2k:
that's the core of a similar device with a normal http://xdaforums.com/showthread.php?t=1887379 2wcr recording from the line may consult with the author?
[HTC Desire S] Specimann:
Hey amidabuddha.

Is it normal that my Antutu score and my WiFi signal are very low.

I use ICE DS v.5.0 and hboot 7.xxx

Without the Kernel ( v. 4.4) are my WiFi signal und the score better.

Can I Used v6 from the Kernel for ICE_DS v5.0? maybe the problems are then away

Gesendet von meinem HTC Desire S mit Tapatalk 2
[HTC Desire S] maxlieb:
Really waiting for WAV support, currently using AMR but you I can't actually

listen to recorded call on phone directly from CallRecorder :(
[HTC Desire S] mouzzza:
Test the new beta, there you'll be able to play amr-files in the app
[HTC Desire S] maxlieb:
plays only firs 2 seconds =\
[HTC Desire S] Skanob:
A much more NOOB-friendly explanation of governors...

http://xdaforums.com/showthread.php?t=1680183
[HTC Desire S] apx@dwx:
please don't recommend a -100mv setting for the desire s. just had a complete freeze. (only solution was a ninja-style-battery-removing-move to restart the device cause adb and the vol u+d+power won't work in such a case) -25mv should be more than enough if anyone wanna do this because -50mv was sometimes already critical. (but uv the desire s is still senseless)

anyway, the battery-life isn't better by undervolting OUR device. period.
[HTC Desire S] amidabuddha:
There is a version on the way with UV interface and stock voltages.

Anyway the device usually reboots to recovery if cannot handle the UV. The fact your device cannot handle it does not apply for the rest couple of thousands users.

And if you can explain how exactly are you so definite that UV has no effect, with any kind of proof I will accept it. Otherwise it is empty talk to me. Period

Sent from my HTC Desire S
[HTC Desire S] ben_pyett:
I will add to that that my device is fine with -100mv it's clearly device specific , as must the majority of users otherwise your thread would be full of issues. Although I also agree that this should be user configurable, so good work on the forthcoming interface.

Sywepd form my DsereiS
[HTC Desire S] Nomader0:
One quick question..

Will the Kernel work with old Revolutionary Hboot 6.98.1002 ???

for a friend of mine, i am trying to avoid upgrading his hboot!

thanks again.
[HTC Desire S] amidabuddha:
Yes, each version except the MIUI specific one will work

Sent from my HTC Desire S
[HTC Desire S] Nomader0:
EDIT: ok thanks for the info..
[HTC Desire S] apx@dwx:
i've explained it long long time ago why undervolting and so on don't improve batterylife in a	tangible dimension. but to make a long story short:

the average battery-lifetime of a desire s are about ~24 hours.

if you use the phone much you will have ~5-10 hours lifetime, if you use it sparely, you'll got up to ~50 hours lifetime. and this happens all with "default" voltages, "default" interactive gov and "default" automatic display brightness.

okay, if you undervolt u will drain a bit lesser energy, but if you turn the display a few minutes more on in this 'battery lifetime cycle" u won't get any improvements. a improvement is simply not noticeable.

the only way to improve batterylife is, just sparely use the phone, take low brightness settings and don't use a massive amount of crazy applications^^

and again, if someone wanna undervolt his device, why not. but please don't recommend it. i just mean it well :)
[HTC Desire S] amidabuddha:
OK, since you are familiar with the theory, why you have flashed the UV version knowing that this is the only difference and (according to you) it has no effect? For your use this sounds reasonable.

But here is my math: I have between 4 and 5 hours per day Screen ON (do not do stupid apps as well, mainly web browsing, emails, etc). Not to mention GPS, I use it rarely but yesterday had 1 hour trip. And it use hell of a lot CPU

-100 mV (or whatever unit it is measured in) is more or less 10 % undervoltage compared to the Stock Values. 10 % saving of 5 hours use seems quite good to me :confused:
[HTC Desire S] apx@dwx:
yes, this calculation is absolutley right, but this is a "naive miscalculation". because you have so many bigger factors that influence the battery consumption, and -100mV doesn't mean -100mV lesser cunsumption (but i think you know that anyway ;)).

and you mentioned a very good example, if you use the gps and navigate with your phone, the cunsumption value of the screen alone should drain the hell out of your device :D

the screen is simply the biggest customer, and this in such a big way that these -100mv are just drop in the ocean.

and to your 1st question: cause i wanna try it :silly:
[HTC Desire S] Specimann:
I have a Problem. I has installed v6 of the Kernel and i cant disable s2w.

I tried this with adb and with a root Explorer.

Can anyone help ne to fix it?

Gesendet von meinem HTC Desire S mit Tapatalk 2
[HTC Desire S] dont know:
Yes - and no ;)

at sleep @245 a reduction of 10% in CPU will bring a better standby. And that can be more than few minutes.

But I am also not a friend of fix-UV kernel to flash because some devices jst can't hanlde that - but seems there will be a on-the-fly-uv-kernel soon - so anyone can test and decide after..
[HTC Desire S] Specimann:
No One an idea to fix it? I used ICE_DS 5.0 AND V6 Undervolted.

Gesendet von meinem HTC Desire S mit Tapatalk 2
[HTC Desire S] Grant2k:
change /etc/init.d/50-sweep2wake string echo '1' to echo '0'
[HTC Desire S] old.splatterhand:
Described in 1st post:

Have you done exactly this steps?
[HTC Desire S] Marcoevich:
Hello Amidabuddha,

What have you changed since version 3.0.30? Or could you please post a changelog of each version on one of your first posts? It will be helpfull for other users too ;)

Maybe you remember me, I have tried the first version after 3.0.30 and I couldn't get it working.

I want to try again. I see you have flashable zip so that's positive ;) I hope it works again now ;)

So I hope you can answer my question. Then I will try again!
[HTC Desire S] Specimann:
yes i have done all these steps, but it is still active

Gesendet von meinem HTC Desire S mit Tapatalk 2
[HTC Desire S] old.splatterhand:
Try it again. Maybe you have changed the wrong file.
[HTC Desire S] Nomader0:
charging looks like it takes forever.. it took 6 hours to charge from 16% to 100% with the standard travel charger.. Does that have anything to do with the Kernel/UV Amidabuddha?
[HTC Desire S] fireblade:
I had the same problem. I solved pushing it from the pc through adb and then gave the command: adb shell chmod 750 /system/etc/init.d/50-sweep2wake

Then reboot. Try that, I hope it works for you too.
[HTC Desire S] amidabuddha:
See this post, you may find it informative

Sent from my HTC Desire S
[HTC Desire S] Nomader0:
thanks mate..

one more question i am on virtuous along your kernel and i occasionally have text corruption issue in menus.. any ideas?
[HTC Desire S] amidabuddha:
Happened to me a couple of times too. No idea where it comes from. But it is turning back to normal even without a reboot so does not bother me much
[HTC Desire S] Specimann:
I have tried this for 5 times nothing changed

Gesendet von meinem HTC Desire S mit Tapatalk 2
[HTC Desire S] mouzzza:
Does it depend on HW-acceleration?

On MIUI it isn't possible to activate it and there I had no such issues in the last month! On other ROMs before I had that problem nearly every day.

@amidabuddha:

Sry for asking again, but can you answear to an older post of mine?

I'd like to report skvalex, because he gave me an unofficial beta of his app.

Thanks in advance!
[HTC Desire S] amidabuddha:
Yes I will add it in the coming version (not much changes - voltages interface and maybe some more governors).

I do not have much time recently but I think I will make it in the next couple of days
[HTC Desire S] fireblade:
sorry, my bad.. i forgot one line! :-\

adb shell chmod 750 /system/etc/init.d/50-sweep2wake

adb shell chown 0.2000 /system/etc/init.d/50-sweep2wake

adb reboot

try now, it should work.
[HTC Desire S] Nonverbose:
I cherry-pick'ed your Update bcmdhd commit (thank you by the way) but I'm not getting any of the fw_bcm4329_* firmware files. Any tips? The build works fine on a sense 3.6 rom but on a sense 4 I can get wifi ap to appear to turn on but it isn't broadcasting.

I can of course provide more information if required. Thanks in advance.

Edit: Wifi & tethering working for me now, thanks for all your help :)
[HTC Desire S] amidabuddha:
Version 7.1

What's new:

patched to Linux kernel version 3.0.43

compiled with the latest stable Linaro GCC 4.7-2012.08 toolchain

added VDD sysfs interface (10x to lowveld) for userspace UV control (comes with Stock Voltages by default)

added BrazilianWax, InteractiveX and OndemandX governors

all modules except bcmdhd.ko are built-in in the kernel

finally found the reason of the battery drain when the Screen is ON and hopefully fixed it. Now the battery life should be rock solid

Flashable zips should be fixed for good. They now will wipe dalvik-cache and cache during flash, no need to do it manually. Version 5.0 zips are backwards compatible (this means you can flash version 5 over version 7.1 without additional actions (deleting or moving files)

additions to user questions:

I have promised WAV support but it seems to be enabled by default. Probably it is CallRecorder issue

SetCPU still is not showing Voltages tab, but it can be undervolted via virtuous_oc/andrev_oc+Daemon Controller or Fallout Tweaks. Maybe some other CPU control apps too, if you find some working please share and I will add it to the OP

Enjoy! :)
[HTC Desire S] signfinder:
amidabuddha

Thanks - flash it
[HTC Desire S] alfredino85:
Works on fallout 5.. thank you!
[HTC Desire S] croesus:
I am on hboot 7.00.1002 reengineered version and using MIUI. Do I need to make the "change 28 to 29 in the line mount(...)" thing ?
[HTC Desire S] mouzzza:
Nope...Flashed it some minutes ago, no problems till now.
[HTC Desire S] dmatik:
I'm on Fallout Revolution 5.0

Device is S-OFF with XTC-clip (no HTCDev unlock).

Tried to flash using the PC method, everything went fine, but when the phone booted I was not able to turn on the Wi-Fi at all.

Tried that method with previous kernel versions, didn't have this problem.

After flashing the flash-able ZIP version from recovery Wi-Fi is working again.

Thought you might wanna know.

Thanks for the kernel anyway!
[HTC Desire S] Grant2k:
How to use UV control on 7.1 ?
[HTC Desire S] croesus:
Did you wipe data after flashing kernel? I just flashed it but i can not turn on wifi.
[HTC Desire S] amidabuddha:
Thanks. Fixed

it can be undervolted via virtuous_oc/andrev_oc+Daemon Controller or Fallout Tweaks or with a command (but this has to be done after each reboot since putting it in an init.d script is risky) from Terminal Emulator or adb shell:

echo -X > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

where X is the desired value (-25, -50, -75, -100, -125 or whatever you like)

If you used the PC version download again. There was the old libhardware_legacy.so there. Thanks to dmatik for pointing it out. :good:
[HTC Desire S] mouzzza:
Wiped Dalvik&Cache (I do it everytime in recovery).

Enabling WiFi works, but I cannot test if it is connecting because I have no WiFi-Network here at work.

Will report when I'm at home in some hours.
[HTC Desire S] Grant2k:
AnTuTu CPU Master showing Voltages tab
[HTC Desire S] croesus:
No i downloaded the recovery version.

Edit: I flashed ver 5 and wifi is ok but after flashing the 7.1 again,still i can not turn on wifi.
[HTC Desire S] rain987:
flashed over cooldroid with ami kernel v6, did not do any wipe or soever, wifi working fine on my end.

i did it through recovery as well. are you htcdev unlock? if yes u would need to flash boot.img
[HTC Desire S] croesus:
No mine is revolutionary. Using the latest MIUI ICS 2.9.14 , 4ext recovery touch 1.0.0.5
[HTC Desire S] TatoValverde:
Working like a charm!!!! Great performance with sensible battery drain :)
[HTC Desire S] Webitu:
This is not Compatible with Jelly Bean?

Webitu
[HTC Desire S] amidabuddha:
How do you use MIUI with Revolutionary? It has no lib partition which is required for the official MIUI as far as I know. If your hboot has no /sysrem/lib partition you should flash the Sense4 version

Sent from my HTC Desire S
[HTC Desire S] pughie:
I believe croesus is on hboot 7.xx
[HTC Desire S] croesus:
Yes my hboot is 7 (reengineered version). That is why i can use MIUI. Should I still try the sense version, amidabuddha?
[HTC Desire S] amidabuddha:
No no. You said Revolutionary and that confused me. Try the PC install

Sent from my HTC Desire S
[HTC Desire S] signfinder:
where you can read about the new and old governors?

Here http://www.mjmwired.net/kernel/Documentation/cpu-freq/governors.txt
[HTC Desire S] amidabuddha:
See "Useful information" section in the first post

The link you gave has info only for the basic 5. There are 17 governor's in this kernel and you can find info for all of them in the OP

Sent from my HTC Desire S
[HTC Desire S] mouzzza:
I have the same configuration as you.

Flashed the new kernel through recovery and WiFi is working fine me!

I wiped dalvik&cache.

WiFi was turned off before flashing.
[HTC Desire S] Adidas108:
what is your opinion about governors?which one is good?smartass2?
[HTC Desire S] amidabuddha:
Depends on the usage. Some users need performance others - better battery life, the rest - combination of both.

Try them all with your normal usage and decide for yourself. I am not a heavy user (no gaming or other CPU intensive apps) and lulzactive/noop works fine for me.

Also read the reference link in the OP there are very good summaries and optimisation tips

Sent from my HTC Desire S
[HTC Desire S] glacier1122:
hey amidda,, i was on tweaked 6.0 kernel with virtuos infinity ,,, now if all if the modules are built-in the kernel (except the one posted ), i should delete them OR just install the new kernel? thanks
[HTC Desire S] amidabuddha:
No need. Both ways of installation will do it for you

Sent from my HTC Desire S
[HTC Desire S] Grant2k:
DaemonControllerv4.0b2 not regulate UV
[HTC Desire S] croesus:
I downloaded the latest version of MIUI (2.9.21) and flashed the kernel right after the rom installed. After the reboot wifi was ok. I restored my apps using TB and after a reboot the same issue appeared. I click on the turn on wifi button and it stucks on "turning wifi on" screen.
[HTC Desire S] amidabuddha:
Do you have any WiFi related apps? Also do you restore any system settings with TB?

Sent from my HTC Desire S
[HTC Desire S] SteveO_:
Same problem here with kernel 7.1 on sense 3.6, ICS stock rom, can't switch wifi on or off anymore.

Message " turning wifi on..."

With kernel 5.0 works fine...
[HTC Desire S] amidabuddha:
Flashable zip or PC install?

Sent from my HTC Desire S
[HTC Desire S] signfinder:
read it?

amidabuddha

can you put all the same individual installers,archives for stock rom?
[HTC Desire S] croesus:
No, i don't have any wifi related app and also I didn't restore any system setting. I only restored apps that i've downloaded before.
[HTC Desire S] SteveO_:
Sorry, my fault...

It was the Flashable zip with 4ext Touch Recovery...

Yes Sir ;)

I have PVT ENG Hboot 2.00.2002.

Is the "Warning" important for the Hboot 2.00.2002?

I thougt it just matters for --> 2.02.0002
[HTC Desire S] amidabuddha:
Hmm there will be too much zips. An user with 2.02.0002 bootloader can use any of the available ROMs. Much easier is just to read the instructions, especially the BIG RED WORDS :)

Have you tried the PC install? And do you restore any SuperSU/Superuser or Busybox apps?

It seems that the init.d script is not working for you. you can check typing lsmod in terminal emulator. If you do not see bcmdhd listed then type:

su
insmod /system/lib/modules/bcmdhd.ko

Yes it is only for 2.02.0002. Have you tried the PC install as well?
[HTC Desire S] SteveO_:
I'll try it by PC and report...

EDIT:

I did it step by step, no error message or anything bad, but i can only get to recovery now.

After "reboot" it goes straight to recovery again...
[HTC Desire S] amidabuddha:
OK. You already said that you have ENG 2.00.2002 hboot. Now tell me exactly which ROM are you using (if you can give me a link to the thread it will be even better and which zip/boot.img are you trying to install

Пожалуйста. Очень рад что Вам нравится :)
[HTC Desire S] RolF2:
two way call recording is enabled in kernel 7.1 ? Can't get it working in fallout v5 , kernel 7.1 .

R.
[HTC Desire S] SteveO_:
I came from original GB Stock 2.3.5, set my DS to S-Off via Revolutionary, had 1 day ICE DS and finally followed this thread:

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

I restored my DS to the starting point and now i'll try again...

The MIUI boot.img did it right now...

Phone ist starting... cheers... :)
[HTC Desire S] croesus:
Thanks for the tip, it is worked and wifi is ok now. I did not restore the SU things but i downloaded busybox and supersu directly from market.
[HTC Desire S] SteveO_:
This works fine but is no permanently solution...

Until this can be solved i use the 5.0 kernel...
[HTC Desire S] lowveld:
Have you tried changing the name of the module to the one hard coded in the libs? Should insert fine, but some ioctls cold go wrong after. Anyway, no harm in trying.

Sent from an undisclosed dimension
[HTC Desire S] SteveO_:
You mean to change the name from "bcmdhd.ko" to "bcm4329.ko"?
[HTC Desire S] amidabuddha:
There is a permanently solution since this command is on the 51-modules init.d script and should be executed at every boot. The problem is not with the kernel but that you and croesus most probably are using BusyBox version that has issues.

You have to check if /system/xbin/run-parts file is present before flashing the kernel. If not then you have to install/reinstall busybox with some of the apps available in Google Play until you have this file. Then the kernel should work
[HTC Desire S] lowveld:
Correct. But the rom will try to load/unload a module with the old name every time you enable/disable wifi. It might do the trick, without resorting to external scripts...

Sent from an undisclosed dimension
[HTC Desire S] SteveO_:
@amidabuddha

I set run-parts sym-link to busybox and now it works fine!

Very nice, great hint!
[HTC Desire S] amidabuddha:
Good I have added this to the OP for others with this issue.

@lowveld

Yes there were insmod lines for loading bcm4329.ko and kineto_gan.ko (absolete now) in the ramdisk, but I guess they work on init only. So I just left them there since everything is working fine on my end. Some users helped me to identify the BusyBox issue after the release of the previous version but I missed to add this info to the OP. Now it is done and I guess the users will manage themselves from now on

Sent from my HTC Desire S
[HTC Desire S] Grant2k:
still occurs reconnect wi-fi :(
[HTC Desire S] glacier1122:
wifi is working OK with the new kernel, with virtuos infinty installed through pc instructions
[HTC Desire S] SteveO_:
Battery Life is awesome now!

Great job with this 7.1......
[HTC Desire S] nodeffect:
Wow, this kernal really improve my battery life on fallout Rom... Thanks for the great work !...
[HTC Desire S] dont know:
A smaler freq-table - was this the reason of the battery drain..?

Everything seems to work on fallout - THANKS for work
[HTC Desire S] amidabuddha:
Yes :)

I was going to expand it even more in v7.0 and I got really deep into this (reading chips datasheets and a lot of theory about PLL tables, freq calculations, etc) and suddenly realised that our chip is simply not capable to support it. For example looking at the times in state of v6.0 there were some frequencies with zero use, whichever governor or scheduler I have tried.

So I switched back to the stock configuration and it gave positive results. Of course I do not expect battery life of GB Sense or AOSP, since ICS Sense is much heavier, but it is still decent IMO

Sent from my HTC Desire S
[HTC Desire S] miwanr:
@amidabuddha I'm confused, so wich flashable zip should I download for ICE DS v.5.0 ROM for better battery life?
[HTC Desire S] amidabuddha:
You just read my mind. I am going to release Stable 7.1 for Sense 3.6 later today.

But keep in mind that it still will have the bugged WiFi driver (bcm4329_248 that does not allow the device to enter deep sleep properly) which I cannot fix, it is HTC fault. Still it should be much better than the Stock one

Sent from my HTC Desire S
[HTC Desire S] old.splatterhand:
So, one more question from me:

For the chinese ROM, which one should i try? VI or Sense 4?
[HTC Desire S] amidabuddha:
It is on Fallout base so use Sense4 zip

Sent from my HTC Desire S
[HTC Desire S] dont know:
So this is the answer to this question

http://xdaforums.com/showpost.php?p=30790357&postcount=176

;)
[HTC Desire S] McIero:
can i use it on inc s?
[HTC Desire S] Nazri786:
this kernel works great in fallout...even the fallout tweaks is working...huhu...no need to turn off s2w via root explorer anymore...thanks man!

---------- Post added at 05:33 PM ---------- Previous post was at 05:30 PM ----------

i guess u can as long as it is sense 4 or 3.6 custom rom.....