yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] jjdoctor:
That's a more technical answer but if it's not Kernel flaw then Mobile phone manufacturers should do something about it... We keep mobile on charge for hours especially with sensation battery timings...and it's like we have to give it a break from heavy usage whilst charging... :-S

They could have put in a better battery our atleast a higher Amperes charger...
[HTC Sensation] elvislam:
a charger with higher output is a solution, but considering stability and durability of the electronics it's reasonable that they choose a moderate output.

actually I saw that warning message once when I was "torturing" my phone and charging with usb. :D
[HTC Sensation] johnson8cyl:
I'm getting bad battery life as well. Uptime and awake are the same. Telling me it's not sleeping. Correct? Was using daemon controller from ARHD rom 3.6.4 with r3 kernel. Now using system tuner with oc daemon disabled.
[HTC Sensation] mrg02d:
I also see bad battery drain with this kernel. I switched to the bricked one last night and saw immediate change in battery drain. I then switched back to this kernel and went to bed...

I still find that the phone doesnt sleep and that drain is high. Standby is about 80mA/Hr and there are 30min intervals of 140mA/Hr (or so) drain.

Strange...Its as is PM is not working.

Matt
[HTC Sensation] TOMWALK:
Just a quick report. I still use the 2.2z1 kernel with InsertCoin 3.8 (Sense 3.5). Battery life is excellent. With the exception of 2.3 beta 16, battery life has been much poorer with the subsequent kernels on this same ROM. I have no idea if that's at all helpful, but I thought I'd share.

Here are my Faux Clock settings:

Screen on... 1.188/192, on demand

Screen off...384/192

Voltage...-25

GPU...on demand, 44
[HTC Sensation] Hawke84:
I agree with this, do we maybe need to get people commenting about battery life uploading a screen from current widget and the battery use graph and apps battery usage. Those 3 im guessing will be the most helpful, but i guess it depends on what faux needs?

EDIT:

something like this

"oo help my battery isnt great please see attached 3"

btw does my battery look like everyone elses? im know im in a crap signal area, its cos im at work..
[HTC Sensation] rawdawgroy:
I'm on rcmix ROM and I'm having the same problem last night 2.3 took 20 mins to take 30% of my battery let it fully charge played with it for about 45 mins battery is now at 65% switching back to 2.2
[HTC Sensation] faux123:
See your battery life was excellent until the awake bar turned solid. We need to help each other in a group effort to track down what is causing the awake bar to be solid (which app or service). I am sure it's a fairly common app or service...

On the other hand, you can think this way, the phone was practically on the entire time during the awake solid bar and you are still getting excellent battery life out of it...

So let's hunt down the cause for awake solid bar because as we can see, the solid bar is not 100% on which means it's was controlled.

Edit: I've annotated your battery stats here. As you can see, when you think your phone was asleep, it may not be the case. As show in the graph below, SOMETHING was awake either turning the phone on / off or stayed on. Let's try to hunt down what's causing the phone to stay awake (regardless of airplane mode, wifi on/off, 2G / 3G etc... )

2nd Edit: With my own setup (WiFi, BT, Cell network, FB, G+, Twitter, Gmail ALL enabled), I average 16~20 hours using r3 myself and I have the solid awake bar issue as well. Right now I am slowly turning off the app/service that can be turned off and see which one was the offending app myself... Help me track this down together, because PM debugging is very time consuming and not easy to track down esp with only 1 phone.
[HTC Sensation] malybru:
Hi,

Does this show that while my phone was in airplane mode(and I was asleep !),something came on(solid awake bar)

:)
[HTC Sensation] faux123:
Read Above ^
[HTC Sensation] akamustang:
Random reboot on 0.2.3_r3

last_kmsg attached, would appreciate it if it's possible to find the cause
[HTC Sensation] malybru:
Hi,

Well I can eliminate all radio-related operations.

Airplane was on...WiFi, BT, Cell network, Gmail ALL DISabled.

FB, G+, Twitter,are not even on my phone.

I've enclosed a list of what is currently running on my phone.

:)
[HTC Sensation] faux123:
Here you go, your postmortem analysis ;)

Most Android devices have watchdog service which detects when system is NOT responsive!

[48057.140663] Watchdog bark! Now = 48057.140632

[48057.141059] Watchdog last pet at 48048.103310

And from the stack trace, it seemed you were doing something with the network (TCP/IP & UDP) and somehow the network was NOT RESPONDING in time which cause the watchdog to AUTOMATICALLY restart the phone. SO it was NOT a RANDOM CRASH.

arch_reset: restart command `Apps-watchdog-bark-received!'. <== it was COMMANDED to restart.. so not a crash!

Try to remember the last thing you were doing related to networking... that may narrow it down. This is NOT a kernel bug, but rather it's an application bug which caused the system to be UNRESPONSIVE, so the kernel did the next best thing it could which is to RESTART the phone.
[HTC Sensation] HannoSLM:
hi faux,

after a day of testing 23_r2, i would like to inform you that the battery drain is much higher than should be. Just a comparison, with ondemand and bricked 1.41 set at 1.56 mhz i get better battery compared to your kernel, conservative at 1.026 mhz .... there is no excessive drain like with the others, but still not good.
[HTC Sensation] Sibbi:
Hey,

Made a fresh install, only reinstalled a few Apps and the problem with phone active still persists.

My battery reading can't be right :-D
[HTC Sensation] akamustang:
That is very helpful, can I ask which section of the stack trace eludes to it being a network (TCP/IP & UDP) timeout?

Also, 9 seconds of unresponsiveness is rather a short amount of time for a reboot to be requested, any hints what/where the watchdog service is with a view to increasing this limit?
[HTC Sensation] faux123:
thanks for the feedback. there's 1 difference, however, my kernel with zram enabled allowed many more apps to stay resident in memory, therefore more apps may be running. i will continue to track down the areas where additional savings can be gained.
[HTC Sensation] faux123:
Here you go:

I am sure the watchdog timeout can be set, but setting it to a longer time is just hiding the issue, we should fix the source instead.

[48057.433601] Exception stack(0xcbbb5ac0 to 0xcbbb5b08)

[48057.434272] 5ac0: 00000001 00000002 00000002 00000003 60000013 cf473000 cf473400 00000002

[48057.434669] 5ae0: cdcd4400 00000000 cf4734b4 cbbb5b1c cbbb5a88 cbbb5b08 c00c9f44 c04bc810

[48057.435340] 5b00: 20000013 ffffffff

[48057.436012] r8:00000002 r7:00000003 r6:00000011 r5:fe001000 r4:ffffffff

[48057.437721] r3:20000013

[48057.438758] [<c04bc790>] (dev_kfree_skb_irq+0x0/0x84) from [<c03ab930>] (_rmnet_xmit+0xf4/0x1b0)

[48057.439430] r4:c75ed3c0 r3:00000048

[48057.440467] [<c03ab83c>] (_rmnet_xmit+0x0/0x1b0) from [<c03ac100>] (rmnet_xmit+0xb8/0x140)

[48057.441169] [<c03ac048>] (rmnet_xmit+0x0/0x140) from [<c04c2070>] (dev_hard_start_xmit+0x298/0x40c)

[48057.441871] [<c04c1dd8>] (dev_hard_start_xmit+0x0/0x40c) from [<c04d7e3c>] (sch_direct_xmit+0x148/0x260)

[48057.442573] [<c04d7cf4>] (sch_direct_xmit+0x0/0x260) from [<c04c2650>] (dev_queue_xmit+0x46c/0x5d8)

[48057.443275] [<c04c21e4>] (dev_queue_xmit+0x0/0x5d8) from [<c0519bf8>] (ip_finish_output+0x270/0x368)

[48057.443702] [<c0519988>] (ip_finish_output+0x0/0x368) from [<c051a778>] (ip_output+0x10c/0x124)

[48057.444374] r8:00000040 r7:c43e8700 r6:00000011 r5:cf473000 r4:c75ed3c0

[48057.446388] r3:00000000

[48057.447425] [<c051a66c>] (ip_output+0x0/0x124) from [<c0519e94>] (ip_local_out+0x30/0x34)

[48057.448097] r5:cf21f480 r4:c75ed3c0

[48057.449165] [<c0519e64>] (ip_local_out+0x0/0x34) from [<c051b904>] (ip_push_pending_frames+0x248/0x3d8)

[48057.449836] r4:c75ed3c0 r3:8295130a

[48057.450904] [<c051b6bc>] (ip_push_pending_frames+0x0/0x3d8) from [<c053ce7c>] (udp_push_pending_frames+0x134/0x4c4)

[48057.451606] [<c053cd48>] (udp_push_pending_frames+0x0/0x4c4) from [<c053e290>] (udp_sendmsg+0x490/0x7bc)

[48057.452339] [<c053de00>] (udp_sendmsg+0x0/0x7bc) from [<c0547968>] (inet_sendmsg+0xa4/0xc8)

[48057.453040] [<c05478c4>] (inet_sendmsg+0x0/0xc8) from [<c04ac974>] (sock_sendmsg+0xa4/0xe8)

[48057.453437] r7:cbbb5f54 r6:cd7ad000 r5:00000000 r4:cbbb4000

[48057.455421] [<c04ac8d0>] (sock_sendmsg+0x0/0xe8) from [<c04ae180>] (sys_sendto+0xb8/0xe0)

[48057.456092] r8:00000000 r7:00000000 r6:cd7ad000 r5:463c784c r4:0000002c

[48057.458137] [<c04ae0c8>] (sys_sendto+0x0/0xe0) from [<c003d340>] (ret_fast_syscall+0x0/0x30)
[HTC Sensation] faux123:
Looks like you got a stuck battery meter... It happened to me once in a while as well, the only way to solve it is to take out the battery and restart. HTC battery drivers still have lots of bugs and I HAVEN'T touched it yet.

1. Bad readings

2. Random re-start (battery actually issued a reset command to kernel, not a kernel crash!)
[HTC Sensation] ifti_a:
my findings

well

i have some tests i would like to share with everyone

here are the screen shots for r2 relase on faux kernel..

see r2 and r2a

in r2 i had set my cpu speed to 1.188 using daemon controller

some are from r3 release too

cpu speed was 1.026 all night

you will see while the phone was awake more during the beginning i was asleep 7hrs and everything was off but somthing was still using the phone. i recieved no txts or anything so its really weird.

i was messing around installing fauxclock with daemon controller not sure they caused a conflict....

the other pic is from kernel 1.8 and using ARHD 3.6.0 Rom...i thinking of trying that again lol

i think r2 was the best, the people who are have battery drain with r3 saw the same drain with r2....

i will give one more full charge and see the battery stats.
[HTC Sensation] xl DIGITAL lx:
Yeah, so far r2 is better than r3 comparing battery life.
[HTC Sensation] Hawke84:
faux what ROM are you using to test? there must be something thats cooked into most or an android service thats keeping the phone awake..

im wondering about maps or daemon controller maybe :confused:

EDIT: maybe the controller is waking up the phone to throttle, i might trial this without daemon controller unless someone shouts at me that its a silly idea. will report back in a bit...
[HTC Sensation] Kohr-Ah:
I was wondering same thing.
[HTC Sensation] faux123:
Either CM7-a9, or my own modified stock Sense 3.0 or modified stock Sense 3.5 (currently on) ;) I don't want to upset any ROM devs here for using a branded ROM :D
[HTC Sensation] Kohr-Ah:
Codes Kernels like a beast with a heart of gold. I like it.
[HTC Sensation] Hawke84:
... and by night a caffeine-fueled superhero!!
[HTC Sensation] captain_fid:
Faux,

I flashed this kernel on top of Revolution 3.6.4, cleared caches, topped battery off, reset battery stats. The phone has been running for 12 hours very light usage but is sitting at 60%. It would have been dead in half that time. This is a tremendous improvement over the prior kernels included in 3.6.3 and .4. I'd say you are on the right track here.

Thanks for all you do!
[HTC Sensation] MarlinFF:
A lot of inconsistency going around with the battery reports.. We have some people who like myself get MASSIVE drain for whatever reason even though the readings are low.. Like for me I left to Universal Studios for their Halloween thing yesterday.. Stayed only about 4-5 hours, maybe MAYBE sent 4-5 texts and even forced it on Edge network.. I lost about 55% by the time I got home. That is ridiculous drain. However some people are getting apparently 50-60% improvement which is quite spectular
[HTC Sensation] faux123:
here's my battery meter... I wiped my batt stats so I can illustrate this better :)

I found ShowMe to be suspect and I have since froze ShowMe app and widget using Titanium.
[HTC Sensation] faux123:
That's why we need to work together as a community to help each other track down the offending app / service. PM is very difficult to debug because it REQUIRES TIME, in order to know 1 way or another... so the more people from the community participate in this, the faster we can narrow them down...:cool: At the same time I am trying to educate as many people as possible so they know what to look for!

See ^ post above for an illustration
[HTC Sensation] Hawke84:
i dont have show me, so must be something else for me :(

what is it anyway?

my running services currently are:

settings, maps, facebook, battery mon widget, keepscreen, pvwmdrmproxy

htc location service, market, usage mon, pvwmdrm service, google services, fb chat, cruiserpwrexpert touch input,
[HTC Sensation] Jrbourque:
What would you need sent to you and where ...ill be more than happy to test and report anything to help

Sent from my Sensational HTC
[HTC Sensation] Smintz:
hey guys,

i really need help :-(

i installed this kernel:

faux123 kernel 0.0.6 CFS (1,51 GHz) with OC Daemon *don't mix it with dual-core patch for now* || download || Reported to have "PC connection" USB issue

and now after reboot. the htc doesnt keep going after HTC on white screen.

what can i do??? please help.

Sensation_Root_1.17.2008er_Hboot

Sensation_1.73.401.2_Radio_10.58.9035.00U_10.15.90 35.02_2
[HTC Sensation] Hawke84:
can u get into recovery?
[HTC Sensation] Smintz:
yes. using CWM (vol down + power)

add:

its my first time i flashed a kernel so pls be gentle :)

edit:

the zip of the kernel should still be on sd card if that helps? should i try a reinstall or anything? wiupe + reinstall?
[HTC Sensation] Hawke84:
ahh ok good so your phones not bricked, what i would try frist is clear cache (in cwm called wipe cache partition) then wipe dalvik cahce.

go into install from zip and flash the kernel again and leave the phone alone for like 10 mins, when u clear the cache it usually takes a while on first boot while all are rebuilt so thats hopefully what the problem was..

try that and if after like 15 mins it doesnt do anything come back and we can take it from there :)
[HTC Sensation] Sibbi:
Put your Rom on your SD-Card and reflash via CWM. Before that wipe Cache and Dalvik cache.
[HTC Sensation] Smintz:
ok i wiped cache.

is wipe dalvik = wipe data/factory reset?

thanks a lot
[HTC Sensation] faux123:
No, it only wipes the cache used by Java Virtual Machine. It won't erase your user data (settings, apps etc).

Wipe Data / Factory reset will ERASE all your app data.. Do that only as last resort!
[HTC Sensation] Hawke84:
NO!

erp, i cant where abouts it is, i think its under wipe / format, but it is called something Dalvik

has anyone else here still got CWM?

Also Faux how do u reset the battery graph for the stock android usage meter?
[HTC Sensation] Sibbi:
No, just select wipe dalvik cache.
[HTC Sensation] Smintz:
iam using Revolutionary CWM

i only have Wipe data/factory reset

and wipe cache partition (did that)

NEVERMIND i found dalvik

edit:

ok i wiped dalvik as well.

now reinstall kernel again?
[HTC Sensation] Hawke84:
yeah re-flash the kernel zip just to be safe then let it boot for a while
[HTC Sensation] Sibbi:
Yeah, just try that, if it does not work, just wipe again and reflash your rom.

Edit: Beaten again :D
[HTC Sensation] Smintz:
ok i reflashed it (took like 5 sec is that normal)

rebooting now. ill get back in 10min.

edit: thanks so much everyone that helps :) i hope someone can help me in 10min if it doesnt work (iam at HTC on white screen again)
[HTC Sensation] Hawke84:
fail :P no one beats me!!

---------- Post added at 07:10 PM ---------- Previous post was at 07:09 PM ----------

yep thats normal, after a good while the buttons on the bottom will light then another good few mins it will boot. go watch some tv or something and come back to it...

I'll be about here for a while
[HTC Sensation] Smintz:
ok after 12min still white with htc.

iam looking for help on a german forum too. does this help you somehow?:

NOTE (3.0 ROM): If you come from another ROM/Kernel, please flash the ==> FIRST TIME RESET KERNEL (for Sense 3.0) <== then flash the new kernel below to eliminate all compatibility issues (including Battery drain, thermal, CPU1 online all the time issues etc).

NOTE (3.5 ROM): If you come from another ROM/Kernel, please flash the ==> FIRST TIME RESET KERNEL (for Sense 3.5) <== then flash the new kernel below to eliminate all compatibility issues (including Battery drain, thermal, CPU1 online all the time issues etc).

[ CFS-zcache disabled ] (Mainline Edition)

The File ==> Sensation Kernel 0.2.3_r3 (1.56 GHz Sync L2) <==

MD5SUM ==> c8de7e2a43fe84738f21f0b7dfd1bb91 <==

[ CFS-zcache disabled ] (Extreme Edition - MAY NOT WORK WITH ALL PHONES)

The File ==> Sensation kernel 0.2.3_r3 (1.78 GHz) <==

MD5SUM ==> cd59ea02505ec01457e8960e68cd6c4d <==

iam using a ROM with sense 3.0 . iam not really sure what this means...

edit: before flashing Faux kernel i used the stock one
[HTC Sensation] faux123:
Try this. See if you can boot successfully with just the first time / reset kernel for Sense 3.0 without flashing any other files.
[HTC Sensation] Hawke84:
Hmm ok slightly odd. What Rom u on? Have the bottom buttons lit up?
[HTC Sensation] Sibbi:
Why don´t you just reflash your Rom, as I mentioned earlier?

After that you can try to reinstall the kernel.
[HTC Sensation] Smintz:
i was on a ROM based on the Stock XE ROM with little modifications (i.e. deleting facebook app...)

then i flashed the radio:

Sensation_1.73.401.2_Radio_10.58.9035.00U_10.15.90 35.02_2
[HTC Sensation] faux123:
BTW, isn't XE ROM based on 3.5? You should use the 3.5 first time / reset kernel instead not 3.0

I know how to FIX your problems!!!!!!!!

You shouldn't have flashed radio... it is very dangerous!

Do this, reboot into recovery:

select Wipe Cache

then install my first time / reset kernel and let it boot.. it may take up to 3~4 mins because it need to rebuild the cache from scratch.

Flashing Radio will SOMETIMES corrupt your /cache partition which causes the phone to NOT BOOT!
[HTC Sensation] Smintz:
it worked after flashing the radio. isnt it the best to have the newest stable radio???

ok i will do that.
[HTC Sensation] Hawke84:
ive always been scared of flashing radios!
[HTC Sensation] faux123:
Actually there's no such thing as "best radio" You should use the radio designed for your phone.
[HTC Sensation] Smintz:
obviously i used a wrong faux kernel.

should i just try:

1. wiping cache

2. wiping dalvik

3.NOTE (3.0 ROM): If you come from another ROM/Kernel, please flash the ==> FIRST TIME RESET KERNEL (for Sense 3.0) <== then flash the new kernel below to eliminate all compatibility issues (including Battery drain, thermal, CPU1 online all the time issues etc).

4. flash The File ==> Sensation Kernel 0.2.3_r3 (1.56 GHz Sync L2) <==
[HTC Sensation] BioTecK:
I'm running the revised kernel since yesterday and battery life seems to be improved a lot!

After using the phone quite often today (WIFI on all the time, a couple of phone calls, checking emails, Facebook and XDA app, some sms, updating some apps etc) I still had 59% after 7 hours.

I'll let the kernel settle in for a couple of days and will let you know the outcome. But so far it all looks good! ;) Great job!
[HTC Sensation] Smintz:
1. wiping cache

2. wiping dalvik

3.NOTE (3.0 ROM): If you come from another ROM/Kernel, please flash the ==> FIRST TIME RESET KERNEL (for Sense 3.0) <== then flash the new kernel below to eliminate all compatibility issues (including Battery drain, thermal, CPU1 online all the time issues etc).

4. flash The File ==> Sensation Kernel 0.2.3_r3 (1.56 GHz Sync L2) <==

this worked for me!

whats a good CustomROM for this kernel? i heard this kernel got the best battery life?

i am happy enough with the effiency of stock but i want much better battery life and of course a lil more power is always welome.

thanks everyone so much for your help!
[HTC Sensation] malybru:
Hi,

ARHD ROM comes with this kernel installed.

Check my signature for a link.

:)
[HTC Sensation] ifti_a:
hi

I want to know y don't my settings of under clocking that I apply manually using the the echo commands don't stay after a reboot ?

thanks

I've reflashed r3 and did a manual calibration
[HTC Sensation] geoffcorey:
Because those files you echo the values into get recreated by the kernel each boot. If you want them to stay make a script that runs each boot or use one of the apps, (faux clock or system tuner) and they will stay after each boot.
[HTC Sensation] Smintz:
how is the batterylife compared to stock?

how is performance compared to stock?
[HTC Sensation] ifti_a:
what about if I edit permissions of vdd_levels ?

I'd rather stick to daemon controller as the others are giving me probs and CPU 1 is always online with them
[HTC Sensation] malybru:
Hi,

Performance is smooth as silk.

Battery has been discussed at length in the last ten pages of this thread.

:D
[HTC Sensation] geoffcorey:
Think about these files as being in ram (they aren't, but some of the analogies still hold). The files are copied out of the kernel on boot, you can edit them and stuff, bit the changes are lost when you shut down the phone. To keep these changes, add the echo commands to a script in your /system/etc/init.d folder and you will have your settings saved on each reboot.
[HTC Sensation] Hawke84:
I'm having an issue.with my GPS, it work fine but when I ignore it I get lost...

I blame the kernel :p

(yeah I'm bored!)
[HTC Sensation] ifti_a:
I have 4 files

can I add it at the end of 83oc or 99complete

just add the echo........ just like typing it in terminal ?

thanks a million
[HTC Sensation] Hawke84:
EDIT: sorry just saw you want to edit voltage.

Make a copy of one of the scripts in your init.d folder and copy it to your SD card.

Rename is as Undervolt

open it with a text editor and remove everything and put all of the following:

======================================================
#!/system/bin/sh
echo "-75000" 1>/sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
======================================================

Copy back to your init.d folder and reboot.

to check its worked check the VDD table before and after reboot, should make a change to all values

that will 75mV undervolt. to do 50 mV change it to -50000

hope this helps
[HTC Sensation] Kohr-Ah:
Have you tries turning on Google maps and shaking it like an etch-a-sketch? I heard that resets the GPS and routes.
[HTC Sensation] malybru:
Hi,

Where can I get that etch-a-sketch app?

:p
[HTC Sensation] ifti_a:
awesome!

I love xda
[HTC Sensation] Hawke84:
ive heard if you store your phone upside down it makes your maps all backwards, lesson here is never store an SD card upside down :p
[HTC Sensation] Kohr-Ah:
It isn't backwards. They are Australian maps.
[HTC Sensation] Hawke84:
oh i see, thanks, without your help i would have been able to find some place to buy food and would be dead by now...

(faux is gonna come back to read through comments about the kernel and be like wtf!!)
[HTC Sensation] KingDavid63:
I like to use set cpu for profiles and oc instead of system tuner but can't UV... can someone please point me in the right direction to uv with script so I can still use set CPU? Thanks allot.

Sent from my HTC Sensation 4G
[HTC Sensation] Kohr-Ah:
Best bet is to edit the init.post_boot.sh (/system/etc) by hand and add

echo "-75000" 1>/sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

Change -75000 to -50000 if you want -50mW and -25000 if you want -25mW

@danmarson (Slapped you a thanks for posting this earlier)
[HTC Sensation] Hawke84:
ok ive spend about an hour terminating services 1 by 1...

faux check out HTC location service in running services, soon as i stopped that phone sleeps almost soon as screen off. that any help?

EDIT: ok maybe forget that, it seems to be sleeping ok now and location service is still running. i have a few spare bats so will leave phone on overnight on battery and see what happens..

---------- Post added at 09:27 PM ---------- Previous post was at 09:25 PM ----------

i posted this about 5 posts ago!