yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] amidabuddha:
Ok guys a little survey coming.

It is about the battery life.

I decided to flash CM7 and see how it is on GB (I used it a long time ago and forgot the feeling). Surprisingly I found out that the battery behaves absolutely the same way when the screen is on (no issues while sleeping) as on ICS, decreasing with the same rate on the same use.

So now I am wondering is this the latest ICS firmware (from the official RUU) that I am using.

Please share which firmware are you on, with your opinion on the battery life and any other thoughts/ideas that you may have on this topic.

Thank you all in advance and looking forward to your opinions!

Sent from my HTC Desire S
[HTC Desire S] TeddyOFLove:
yeah sry it worked after reboot. Dummy me :rolleyes:

i use kernel 3 8.0 for CoolAndroidRevoliution7 + nearbutter project tweaks and it runs supers smooth 3400 ON antutu benchmark with 1200Mhz smartass v2 and NOOP I/O. Battery was always good with your kernels i just dont like battery of this devise overall. While on deep sleep it drains very little battery to be concerned with but while you are using phone for some browsing, ligh gaming or any other activity which shouldnt effect your phone much battery drains very fast you actually see % going down by minutes (ofcourse it still takes atleast 4 hours to drop dead) but it is not what i expected when i changed into this phone From my xperia x10 which had it awfull and Desire S gives just about 10-20% more battery life in comparison(maybe its super lcd screen, they should make it Super led so it doesnt drain that much needed power :p).
[HTC Desire S] Steinhund:
I'm on the latest firmware as well and as far as I remember almost all roms back in GB time behave almost the same when screen is on. It was no matter to me if I used sense or CM based roms. There where some differences while the phone was sleeping. But it is the same today to me as it was then - if I use the device it drains - buy it last a whole day no matter which Rom I used or still use.

So, while using and screen on I cannot remember differences.

More important to me was the drain while NOT using it. And personally I got the feeling that this is even better today on some roms. Esp. using fallout with your kernel.
[HTC Desire S] blueboy2021:
I dont understand why my wifi is not working. Iam on S-Off Miui v4, Experimental.

I flash the kernel and the fix, in addition i replaced the 0 byte files in int.d and try the methods on page 82.

So why is my wifi not working, when i press on wifi button, it is on, but does not find any network.

Can somebody help me ?
[HTC Desire S] amidabuddha:
Replace the 0 byte files in /system/firmware too. If still issues try different busybox apps

Sent from my HTC Desire S
[HTC Desire S] TeddyOFLove:
it always helps to take the modules and place them manually into system/lib/modules/ directory
[HTC Desire S] blueboy2021:
Thanks man this help, wifi working !
[HTC Desire S] TatoValverde:
I updated my firmware/radio yesterday, and it seems it improves battery consumption! I have 70%, and by now I should have 60-50% as compared with every other day with the same usage
[HTC Desire S] petjoh:
The same for me as mentioned here: http://xdaforums.com/showthread.php?p=32377626

When using phone then doesn't matter on which rom I'm - battery drains pretty fast. I'm using Battery Monitor Widget Pro to measure battery life and consumption but seems that it is always almost the same. I played a lot with various frequences, governors and schedulers but no significant improvement on any combination. Seems that with the latest kernel 3 (8.0) it has better battery consumption when sleeping.

I intensively used phone every day (mailing, net, always wifi on) and my battery can hold phone alive about 13-16 hours.
[HTC Desire S] arazvan2002:
On my phone it drains battery like hell no matter if I choose 1.4 or 1ghz or different governor. I had 4% drain in 10 min of chat on IM+. That never happened with 7.1. I'm pretty sure that is something somewhere :eek:

The aroma installer is nice and is running fine.

I'm on Fallout.
[HTC Desire S] amidabuddha:
Well FYI the aroma installer is the only major change over version 7.1 ;) You can read the changelog (several pages back, not the OP) or check my GitHub. The tuned governors are only those that has tunable parameters (smatassv2, lulzactive and some others, 6 in total of the 15 available) There is absolutely no change in the main governors (the rest 9) nor on the frequencies, voltages or schedulers.

The read-copy updater (RCU) and the memory allocator are changed to the default, used by HTC in both GB and ICS stock kernels, so if they cause a drain it should be present in the Stock ROMs too, but I think they do not play such a big role on a small flash device as ours rather than on massive multicore high performance servers.

So I guess you have to calibrate your battery. A lot of people find it nonsense, but it works fine for me. And it make sense when you flash something with 9% of battery and after reboot there are 23% available:eek: Then of course the system will go to the real value and it will look like a horrible drain ;)

Sent from my HTC Desire S
[HTC Desire S] teadrinker:
I think what really "calibrates" the battery is a full charge cycle. I'm convinced after all I've read about that, that wiping the battery stats does nothing. Sorry, a bit off topic, I know. :p
[HTC Desire S] toxic-hero:
i've always flashed the latest available firmware, but never noticed any major diferencies, maybe wifi is a bit better since ICS. also i tried to keep my system as close as can be to the factory one, only rooted and with few basic tweaks (+customized kernel). my device has always been very fast and smooth (ok, the leaked ICS from may was a bit buggy), so i didn't feel the need to speed it up. the only thing i hated from the beginning was the battery life. i didn't expect it would be worse than with my good old laggy HTC hero but it was (some -15%). i have a feeling that with ICS battery life got even a bit worse but this could be only my imagination.

on ICS i can't see noticable difference in battery consumption between stock kernel, tweeked3 7/8 stable and tweeked3 7/8 experimental (i use default clocks, interactiveX governor). when the display is off it's ok, but when it's on it falls down like a rock. ;) my average battery life is 13-16 hours, wifi/data always on, a few phone calls and emails, some gtalk and quite some internet browsing and FB.

tried to calibrate battery few times but experienced no miracles.
[HTC Desire S] TeddyOFLove:
Can anyone tell me how to undervolt. I have tried all APPs mentioned in first post but none of them seems to recognise that kernel supports it. And terminal is not what i want for long term, too lazy to write command everytime.
[HTC Desire S] longer83:
(If you are not sure what are you doing then always perform nandroid backup, just in case...)

You can always create file, e.g. 99-uv, permissions: 750, owner: root, group: shell or root, with following content:

#!/system/bin/sh

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

where XXX is a value you to undervolt your CPU, and move this file into /system/etc/init.d/ folder. Every time when Android will boot script will run automatically undervolting CPU (of course your ROM must support processing of init.d scripts on boot).

You have to be careful. If you use to high value to undervolt then your phone will reboot in infinite loop. In this case you have two solutions: connect phone through USB and remove /system/etc/init.d/99-uv using adb commands or restore nandroid backup.
[HTC Desire S] TeddyOFLove:
How do I test if it works after I have done so
[HTC Desire S] oTeMpLo:
https://play.google.com/store/apps/...eloper#?t=W251bGwsMSwxLDEwMiwiY2NjNzEucG13Il0.

To check cpu voltages
[HTC Desire S] TeddyOFLove:
Why haven't I heared of this tool. It's best, you can tweak everything with it thanks a bunch.
[HTC Desire S] thedieselspaceship:
Ok guys,

I've installed the new kernel (experimental version) on the stock rooted ROM, but I still cannot enable wi-fi :(

fix_perm.bat doesn't help

Any suggestions?
[HTC Desire S] teadrinker:
Have you checked whether the files have been copied properly? Have you got enough space on /system?
[HTC Desire S] thedieselspaceship:
Yes. The interesting thing: Wi-Fi works on the kernel with the old wi-fi driver
[HTC Desire S] toxic-hero:
i had exactly the same problem. have a look 2-3 pages back and you'll find the solution...

EDIT:

there's also a file on the OP (fix_perm.zip) that you have to execute via ADB.
[HTC Desire S] thedieselspaceship:
Do you mean re-install busybox to /system/xbin/ directory?

UPD: ok, I reinstalled busybox to /system/xbin directory, but still had no success with turning on wi-fi

then I insmoded cfg80211.ko and bcmdhd.ko. Wi-fi is turned on, there is no any AP in scan results.

I have 75Mb on /system partition
[HTC Desire S] toxic-hero:
no. patch that file from the OP.
[HTC Desire S] thedieselspaceship:
which patch are you talking about?

fix_perm.bat doesn't work for me
[HTC Desire S] amidabuddha:
Just go through the last couple of pages of the thread and follow the steps that solved the same problem for another user. You have to replace the zero size files if /system/lib/modules, /system/etc/init.d and /system/etc/firmware. For some reason on some ROMs the recovery cannot set the permissions right during the installation process. So you have to make sure that all of them have the right permissions or run the fix_perm.bat. Then if still not working reinstall busybox with another app from Google Play. All is described in details in the posts 2 pages back
[HTC Desire S] thedieselspaceship:
Do you mean this post http://xdaforums.com/showpost.php?p=32326367&postcount=830 ?
[HTC Desire S] amidabuddha:
No, toxic-hero and halvoetn had the same issue. Anyway I actually described all you need ti do in my previous post :)
[HTC Desire S] thedieselspaceship:
Thank you very much, your steps help to enable wi-fi on my phone
[HTC Desire S] glacier1122:
kernel 8 ain"t good,,, antutu score was 3600 on 7.1 ,, and now its only 2700 on 8.0, where i can get the old kernel?? OR fix this one? (battery is seems to be the same on both versions)
[HTC Desire S] teadrinker:
3600 and 2700 are averages of how man runs of the benchmark? At the same settings, on the same ROM?
[HTC Desire S] amidabuddha:
Flash the Stock one by HTC. It will be good enough for you ;)
[HTC Desire S] glacier1122:
fallout,,same settings

---------- Post added at 05:31 PM ---------- Previous post was at 05:11 PM ----------

come on man,,, what am i doing wrong?,, i installed last two modules ,kinet and ntfs ,,

EDit: I'm an idiot , reflashed with zram only , now its Ok
[HTC Desire S] glacier1122:
amidda please respond, could you please give me the link to old 7.1 kernel? battery seems to be draining a little faster on 8 , :)
[HTC Desire S] chninkel:
@ amidabuddha: How about a jelly bean version of your kernel ? Is it possible ?

I tried version 8 on paranoid but it doesn't boot.
[HTC Desire S] amidabuddha:
I am not going to work on an AOSP kernel 3 due to several reasons:

1) Andromadus team already did an awesome work and it is for sure they know what they are doing much better than me

2) Nexx and nk111, with much more experience than me on AOSP develepment have troubles to make it work and I will start from scratch

3) Since the release of Sense 4 I am a deffinate Sense fan (and this was the reason to buy HTC in a first place, not Sony or Samsung) so I will not work on something that I will not use

There is a Sense JB RUU for One X but it needs resizing that I am deffinately not going to do, so if someone manages to boot a port of this ROM with a Stock ICS kernel I can give it a try
[HTC Desire S] jeryco:
@amidabuddha: Heard that the stock ICS kernel w/o WLAN tether fixed performs nicer power-save since it includes the latest WIFI driver. Could you pls take a look and release an optional patch for those who don't need WLAN tether function.
[HTC Desire S] chninkel:
OK thanks for your reply, I'll check what andromadus, Nexx & nk111 have done.
[HTC Desire S] teadrinker:
That's already included in the installer (experimental for sense 3.6).

---------- Post added at 02:06 PM ---------- Previous post was at 02:05 PM ----------

I think paranoid already includes a kernel build from andromadus?
[HTC Desire S] Zinken:
Ok, so I had some issues when installing this.

I had busybox installed. Created init.d folder. Ran the installer and chose only s2w. Rebooted - wifi didn't work and s2w was buggy.

Ran fix-perm.bat and manually edited build.prop (thought the installer did that). Wifi still didn't work but s2w was fine.

Manually copied the 0b-files to firmware and init.d and re-ran the fix_perm. Now everything seems to be working but I noticed that the s2w file is also 0b, but since the s2w works fine so I really don't care - just find it strange.
[HTC Desire S] amidabuddha:
Version 8.5

Hi everyone!

Do you remember the battery life of version 5? ;) It is back now :)

Other changes:

Patched to Linux Kernel 3.0.45

Added ck1 patchset by Ziggy (thx to Coolexe) - aims towards better performance

Removed ZRAM - it seems that the compression was the reason for the battery drain

Removed the script for changing the screencapture line in build prop from Aroma, hopefully this will solve the installation issues. You will have to change it manually if needed

IMPORTANT: For all with BLUETOOTH issues: use 4EXT Recovery

Enjoy and share impressions :)
[HTC Desire S] toxic-hero:
issue with 0b files stil present. skanob's rooted stock rom, tweaked3 8.5stable. (funny, on tweaked3 8.0 this issue was just on experimental, not the stable version).
[HTC Desire S] dmatik:
Flashed 8.5 on the Fallout 5.0.0, no issues, so far so good (S-OFF).

The only very very very small issue is that on one of the Aroma wizard pages there was "Version 8.0" instead of 8.5 ;)

Thanks!!!
[HTC Desire S] holvoetn:
Flashed on Virtuous Beta 1, no problems so far.

Wifi seems to be behaving normally.
[HTC Desire S] ankabo:
Yesterday I installed version 8.0 on a S-OFF, rooted phone with latest Project X installed. Problem was, that wifi did not work and I read about the fix, but that didnt work for me.

Any ideas? Can the new version help with that?

Gesendet von meinem HTC EVO 3D X515m mit Tapatalk 2
[HTC Desire S] thedieselspaceship:
Could you please show list of file in

ls -l /system/etc/init.d/
ls -l /system/etc/firmware/
ls -l /system/lib/modules/

directories?
[HTC Desire S] amidabuddha:
Let him try the new version it may work
[HTC Desire S] ankabo:
I will check it in the evening or tomorrow, because the phone is from my girlfriend.

Gesendet von meinem HTC EVO 3D X515m mit Tapatalk 2
[HTC Desire S] TatoValverde:
Hmm strange...I went from 3569 (v8.0) to 3478 (v8.5) with the exact same settings on antutu benchmark :what: it's even lower than on version 7, and it is not RAM related. Any thoughts?
[HTC Desire S] teadrinker:
Oh no! That's 2.5% less performance :eek:

Have you at least run the benchmark a few times? Running it on the same ROM with the same settings and kernel and phone can still have that much difference
[HTC Desire S] amidabuddha:
The synthetic tests are also a widely discussed topic around. My opinion is that more important is how you feel the system, as long as it is fast, responsive and glitch free I consider it good. Another important factor is the battery life. These are my top priority goals and I hope that finally I am there with the latest version. Lets see after a couple of days/recharges, but I have it on my device since yesterday and I can feel the difference. I hope it will be positive for all
[HTC Desire S] alfredino85:
Amen!
[HTC Desire S] miwanr:
:thumbup: AnTuTu score 3493 sdcard excluded with the same settings as previous kernel 7.1 awake-asleep @245-1200MHz lulzactive and deadline UV -100 :thumbup:

http://db.tt/m4J1ZdlZ

Recently test play Temple Run Brave get lag / stuttering graphic. Change UV to -25 to play smoothly.

Sent from my HTC Desire S
[HTC Desire S] Ragey:
I just flashed this on Fallout its nice to join the party :D
[HTC Desire S] old.splatterhand:
I flashed your kernel and my Wifi doesn't work. What can i do?

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

Aaaaaaaaahhhhhh, stop. It's only a joke.

Everything works so far, coming from Tweaked 7.1 kernel.

For benchmarks:

AnTuTu with 7.1 (with sd): 3784

AnTuTu with 8.5 (with sd): 3896

Quadrant with 7.1: 2143

Quadrant with 8.5: 2185

Well done, amidabuddha. Thank you!
[HTC Desire S] alfredino85:
All works fine, thank you :D
[HTC Desire S] thedieselspaceship:
wi-fi always in scan

Guys,

I noticed that wi-fi is always in scan state. Therefore, the battery drains very fast.

Please look at the picture in the attachment.
[HTC Desire S] teadrinker:
That looks perfectly normal to me. Assuming you were connected to an AP
[HTC Desire S] TeddyOFLove:
lulzactive + deadline is not the best setting. Smartass v2 + noop is much better if you compare Battery perfomancewise, couse it plays smoothly all games even at 1000Mhz CPu but will also be good at 1200Mhz but more battery drain Ofc.

-25 or -100 is not the best choise assuming you use fallout rom tweaks. It is best to change it for each Cpu state personally i found that lowest and stable UV compared to default UV is:

Mhz - CPU_____Mv -default _______Mv -lowest stable is:

24______________1000______________750

61______________1000______________750

122_____________1000_____________ 775

184_____________1000______________775

192_____________1000______________800

245_____________1000______________800

368_____________1050______________825

768_____________1100______________875

806_____________1100______________900

1024____________1200______________975

1200____________1200______________1050

1400____________1250______________1175

1490____________1250______________1175

frequency modes from 24-192 is not used in general but they are used in deepsleep. And i havent tested 1400 and 1490 Mhz freq. becouse i dont use it results in battery drain, but 1175 is a number i think should be safe while looking at how big jump of freq it is.
[HTC Desire S] thedieselspaceship:
Unfortunately, I wasn't connected to any AP. And Wi-Fi stat was 'Scanning...' all the time
[HTC Desire S] amidabuddha:
What ROM and kernel version?

Sent from my HTC Desire S
[HTC Desire S] thedieselspaceship:
Stock HTC ROM

Tweaked 8.5 with experimetal driver
[HTC Desire S] amidabuddha:
Ok so it not a driver issue.

Have you set the behaviour in the Advanced WiFi settings that should turn off the module while screen is off? I cannot verify this behavior since I always turn off mine (actually what is the point to keep it on if not connected? Of course it will do what it is supposed to do - continuously scanning to find a connection)

Sent from my HTC Desire S
[HTC Desire S] totiadrenalin:
I respect you work man. And I'm using your kernels since GB.

But can you give the reason why did you remove zram0, and the entirely swap support in your last update?

You know that there is extra 150mb partition for the /system/lib

in any other rom except for the stock sense 3.6 and the Official MIUI Rom, this partition isn't mounted by the kernel (ramdisk - init.saga.rd)

So why don't use this partition as swap?

What's the waste of that?

We need a very simple init.d scrip to do the trick.

PM me if you think that I could help you somehow, because enabling the swap support in the kwrnel would help me.

Best regards.
[HTC Desire S] teadrinker:
You really want to risk using a swap partition on the emmc? :eek:
[HTC Desire S] thedieselspaceship:
it seems the problem has gone after reboot
[HTC Desire S] amidabuddha:
I included zram because of Virtuos Infinity. And I didn't stop using it on the other RIMs so after 2 months of use my final conclusion is that it brings more harm than good. I have tried different compression methods (first it was LZO then Snappy by Google the improved LZO by faux) and it seems that it just needs more CPU cycles especially when a lot of data flow appears (like when using WiFi) so I think this was causing the battery drain. Removing it does not affected benchmark results neither the operation of the device so I hope that it will solve the drain. It is too early to say but on my device it is better now and I am waiting for your feedback on the battery.

So I guess we just do not need it on our device like teadrinker said

Sent from my HTC Desire S
[HTC Desire S] totiadrenalin:
Ok!

Thanks for the explanation.

I'm on Virtuous Infinity right now!

I'll test the battery live now.

Because before I could barely get 24h between charging, including nights without wifi.
[HTC Desire S] amidabuddha:
Do not expect miracles - this is Sense after all (more over full Sense 4) :) I am speaking abouth the noticable drain in Screen ON state when you turn your WiFi on previous versions. The stanby behaviour is perfect on all versions even with sweep2wake (die sceptics ;) )
[HTC Desire S] Adidas108:
@amidabuddha plase try to make kernel for aosp roms.Just try ok :) ?I'm sure that many users want the same.

Thx!
[HTC Desire S] teadrinker:
Why don't you try? :p
[HTC Desire S] Adidas108:
amazing :good: you must be proud now :D congrats :cyclops:

oh you got attention of OP too thats the spirit :angel:
[HTC Desire S] amidabuddha:
Why such attitude? :)

I have explained a couple of times back in the thread my reasons not to work on AOSP kernel. You can find the answer to your question there

Sent from my HTC Desire S
[HTC Desire S] miwanr:
@amidabuddha What the risks if I still use kernel v7.1 sense4?

Sent from my HTC Desire S
[HTC Desire S] amidabuddha:
We can hardly speak about risks here. But each new version should bring improvements.

I am heavily testing each release with various tools and try to improve the things I do not like.

The new changes (that can be seen from the changelog as well) are the removal of the swap+accompanying compression and the kernel version is updated. So I cannot see the reason that can make you stick with an earlier version (this is not an experimental kernel like for example the CM or the Andromadus where the guys are porting drivers and modifying them continuously, respect to their work of course, this is a hard task) But this one is made by HTC to 100 % work with our device, I am only expanding the features a bit...
[HTC Desire S] miwanr:
@amidabuddha One more question. Is it OK if I flash v8.5 over v7.1 than flash v8.5 over again and again just to know what the differences, or it will have some negative effect?

Sent from my HTC Desire S
[HTC Desire S] Nazri786:
you should upgrade to version 8.5 man...i restored my fallout just to try the new kernel version, and i must say that i am satisfied with the battery performance....:good:
[HTC Desire S] amidabuddha:
I do not quite understand your question. Why do you need to flash it over itself? What differences you want to know? But yes - the updater script will wipe all traces of the current kernel while installing another. I would add "wipe boot" from the recovery if you switch too often just to be sure that all is cleaned properly.
[HTC Desire S] miwanr:
Thank you for the explanation. I get it now. :)

Sent from my HTC Desire S
[HTC Desire S] jeryco:
did any one ever meet alarm clock issue with kernel 8.5? it's normal on 8.0.
[HTC Desire S] amidabuddha:
There is absolutely no such function in the kernel. The kernel is a compilation of drivers that allows the OS to communicate with the hardware.

Your problem is completely ROM related so you can post it in the thread of the ROM you are using.
[HTC Desire S] jeryco:
I'm on fall-out 5.0 and the alarm clock works with 7.1 and 8.0. After flashing 8.5, alarm clock rings once then shuts off itself and the screen become out of control in a short time.
[HTC Desire S] amidabuddha:
I am on Fallout too and the alarm works fine. Try to clean the data of the clock app and reboot. If you have used some mods this may be the issue. Also you may try to flash the kernel that comes with the ROM and check is the alarm is still faulty but I highly doubt it is kernel related

Sent from my HTC Desire S