yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] f3nd3r:
OK - Here is a summary of what I have tried. I still have this issue. Pressing the power button does not always wake up the phone, or sometimes when putting it to sleep it goes off for a second and then lights up again.

Tried: Flashing 2.3.3 - No change, problem remains

Tried: Flashing stock recovery and HBOOT - No change, problem remains

Tried: Flashing back to shipped RUU and enabling S-ON - No change, problem still remains

I am completely out of ideas as to what can be causing this but I am sure it didn't happen before 2.3.4. Strange thing is flashing back to shipped RUU makes no difference.
[HTC Sensation] abrown0809:
I'm having the same problem, man this is a really jacked up phone. Ive also been having the touchscreen issue. This really sucks man.
[HTC Sensation] EniHS:
Phone still recognizes single power button click as clicking 2 times.

So, would it be some very poor mechanical part used in this button? So many of us have this problem in just 3 months after releasing this phone and it's not software related? Top HTC phone... No kidding. Touchscreen issues, Wi-Fi death grip, power button, that needs to be replaced after 3 months of using... This is my last HTC I've bought.
[HTC Sensation] f3nd3r:
After all the testing I have done, it certainly seems like it may be a hardware issue.

EDIT: Something interesting to try for those that have CWM recovery.

1: Boot in to CWM Recovery

2: Go to Advanced -> Key Test

3: Press the power button and see if "Key: 116" is displayed more than once

For me, when I press it, occasionally "Key: 116" is displayed about 4 times with just one press. This is certainly not correct behaviour and explains why sometimes the screen doesnt light up on the first press and vice vera. I am pretty sure it can be fixed with a firmware update.
[HTC Sensation] banesi:
Yes but screen always get powered on second pressing it's not on third or four, if it's of any help, i'm on official 2.3.4, full update with htc unlocker, i still have this power button issue
[HTC Sensation] f3nd3r:
It's all part of the same problem though. The power button presses are being duplicated with one press. So in the example you give, you press the power button and the screen doesn't wake. What seems to be happening is that the power button press is duplicated so it sends the signal to wake up the phone and then immediately sends another signal to put it back to sleep. This IS the problem.
[HTC Sensation] mpjohns3:
That's a pretty big oversight to not catch that before releasing the update... If it's something that simple then it should be an easy firmware fix. I've run into similar issues with interfacing an FPGA board. I'm sure there is a more elegant fix, but entering a loop upon initial press of the button then only sending the signal once the button is released (thus exiting the loop) did the trick for me. I wouldn't think a problem like this would be difficult for them to fix in just a few lines of code.
[HTC Sensation] predator21:
had the same prob...got replacement....
[HTC Sensation] EniHS:
Will you be sending the phone to HTC for a replacement?
[HTC Sensation] xl DIGITAL lx:
I don't have this problem and I'm on 2.2.4. Weird, happened to my friends phone as well when updated to 2.2.4.
[HTC Sensation] knagl:
Just an observation, but it seems to me that most of the folks here have had the Sensation since it was released, which means that most people have had the phone for the same amount of calendar time. This could be a physical/mechanical issue that is just starting to crop up on everyone's phones who have had them for approximately three months worth of usage, and the fact that people are noticing it around the time of the 2.3.4 update could just be a coincidence. A lot of the posts I've read here seem to point to a mechanical issue, not a software issue.

I have 2.3.4 and don't have the issue, but I'm not a heavy user, and I've only had my phone for two months. I did observe a few weeks ago (prior to the 2.3.4 update, even) that it seemed like my power button didn't physically move as much as it used to -- as if the internal spring (if there is one) wasn't "springing" the button back out as much as it originally did.
[HTC Sensation] F.3.A.R:
I had the same issue with the power button after installing a ROM with 2.3.4 (InsertCoin). My Sensation is less than a month old, so I doubt age has anything to do with it. This is my first Android device, and I managed to resist rooting it for about 5 days, and installing a custom ROM after 10 days :)

Anywho, I happened to follow this last night when upgrading to the latest InsertCoin release (2.3.0) as it started to feel a bit laggy. Touch wood, the issue now seems to be gone.

Thought somebody else might want to try.

EDIT: For the record, I installed ClockworkMod Recovery, not TeamWin as the post suggested.
[HTC Sensation] bobsie41:
I am now convinced that this problem is related to the touchscreen problem and it manifests itself in different degrees for different phones.

I have this problem but don't have touch screen issues however, whilst reading through the touchscreen issues thread some people mentioned that these issues were caused by static build up due to a small metal contact within the back cover not being adequate as a grounding point for the screen. This was remedied by a small piece of foil placed behind the rear cover or some people actually gently prised this piece of metal so that it protruded a little further.

I gently prised mine and my power button problems disappeared for the rest of the day, only to return this morning so i guess the piece of metal gradually returned to it's original position.

Furthermore, what really convinces me that these devices suffer from static build up problems is that as i am very fussy about finger marks on my screen, when i turn the screen off i often give it a clean with a microfibre cloth. Several times when i have done this, the phone has behaved erratically, flickered and sometimes rebooted and until now, i have not linked this problem to static build up so, in conclusion, if this is proven to be the problem, we need to petition htc to provide a more suitable back cover for those effected. (fat chance!) :mad:
[HTC Sensation] f3nd3r:
It would be nice if that was the problem but I just tried this and I still have the issue. I do not have any touchscreen issues though.
[HTC Sensation] F.3.A.R:
I definitely had the same issue that everybody in this thread has. It was the same in recovery too, even more obvious because you tend to use the power button a lot more in there. It happened at least every other time I pressed the power button. I didn't have any touchscreen issues either.

I can confirm that it's been 16 hours now since I did my wiping/reflashing exercise and it hasn't occurred once in that time. I'm not sure which part of what I did appeared to solve it, as it wasn't what I was looking to fix when I did it, but I think it just points to it being a software issue somewhere rather than hardware. I haven't even opened the case between having the problem and not having the problem.

I'm tempted to try to get the issue back so I can do it all again and see at which point it stops ! I should have some free time to do so this weekend.

The steps were (from memory);

Full wipe in recovery, reboot phone

Flash latest EU RUU (RUU_Pyramid_HTC_Europe_1.45.401.2_Radio_10.56.9035 .00U_10.14.9035.01_M_release_208857_signed), boot phone, run through wizard until it lets me out and onto the home screen so I can mount SD/enable HTC Sync for the next step.

Run revolutionary, install clockworkmod (I got it from here). Reboot phone.

Remove Clockworkmod update file from SD root, boot into recovery and do another full wipe.

Install InsertCoin 2.3.0

I'm pretty sure that the issue was gone at this point, but after this I just restored all my stuff from Titanium Backup.
[HTC Sensation] EniHS:
Let us know, if the issue will appear or it is definitely gone. Hope it is only software issue.
[HTC Sensation] TheMach:
I'm also getting this odd behavior with the power button right after the 2.3.4 update. At first I thought it was the custom ROM I was running but reading through this thread, it's obviously a wide spread problem. I hope we get a fix for this soon.
[HTC Sensation] isak888:
Made a post myself about the exact same issue at the 14th, just a day after i got 2.3.4. But I guess it fell to far behind for the OP to find.

Can be found here: (Was moved to Q&A for some reason, I did put it here at first)

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

Anyway, I still have the issue, almost sending it in to get a replacement for this ****, very very anoyying.
[HTC Sensation] Annonymous26:
After i flashed my sensation from 1.40 to insertcoin,the problem is gone now,im sure its software related issue
[HTC Sensation] masonic1032:
The most annoying is the screenshot option, it'll turn itself on.

I rooted my phone several days ago and now I can't find a way to turn the damn thing on when I needed it.
[HTC Sensation] mathyou9:
The recent TMOUS OTA update seems to have solved the problem for me. However, in CWM recovery, I still see the error occurring when I do the key test (but that doesn't bother me in the least.)
[HTC Sensation] ayoub:
I had the same problem. It was gone after flashing any android 2.3.5 rom.

It is sure a software problem.
[HTC Sensation] ctscloud:
It's definitely NOT a software problem...Check your CWM and do a key test. You will see that sometimes, the button will register twice on one click. Developers can modify the software timing how long of a threshold the button has to be pressed in order to register as a command. The main reason is for denounce purposes, which in this case it works to apply this.
[HTC Sensation] DonPhelippe:
Da powah button thingie

Greetings people, many happy returns and happy new year for all of ye (wishes beforehand just to be and the safe side :rolleyes: )

So anyways, my EU HTC Sensation (no carrier branding, SIMM unlocked, no XE / XL / beats, plain ol' Sensation) came with the power button defect - the works, screen stayed on after being pressed, sometimes pressing it to lock the phone gave me the shutdown/reboot/airplane menu, sometimes it tried to wake up from lock, just lighted up the capacitive buttons (home, back, etc), all the variations of this absurd workmanship from hell that effs a great experience over. And of course after the 2.3.4 update I got the screenshot issue - oh the times I fired up file manager to get rid of them, oh the times I pressed power button to lock/unlock the phone hoping that the button will "soften up" and behave as normal. Oh the effin frustration.

I just want to inform that I gave it to get repaired (HTC offers here a 2 year guarantee) hoping that all will get well - although the HTC repairshop in Athens Greece resides in a building inside the central national highway bus station on the 3d floor - and a sex shop resides on the 1st floor, gets you thinking, that last detail, hm...

All I says is I will report as soon as I get it back. The secretary who recorded my problem was at a loss of how to write it down so I had to dictate to her "when I press my power / wake up button, yada yada yada....". Hopefuly I will get news shortly and will update the status.

I have a question tho: from a quick scan in the thread, if I go off and root the little fella I may get a ROM that compensates for the faulty hardware design? Any suggestions that surely tackle the problem?

Anyways, cheers a bunch and many wishes for health, happiness and good fortune for you and ye loved ones.
[HTC Sensation] Fihlvein:
Yes, if you're rooted just install latest faux or bricked kernel and problem solved.
[HTC Sensation] ayoub:
I know what you mean. What I ment is that the screenshot and wake up issue disapeared after flashing a 2.3.5 rom.

no problems any more with hundreds of screenshots und no need to push the power button several times to wake the device up and so on...
[HTC Sensation] SensationalAdrian:
Its definitely software.

I always thought it was hardware until I installed the new firmware for ICS and ARHD 5.0.2 which is ICS. I haven't had that problem not one time since I've been using it. I didn't have to press the left side only or lift up the little black button.

This is great for me!
[HTC Sensation] SensationalAdrian:
Its not just ICS that fixes the problem. Its definitely the new 11.59 firmware. I flashed back to a GB ROM last night without changing the firmware. The issue is still gone!!
[HTC Sensation] DonPhelippe:
Powah button issue (cont.)

So I received my EU HTC Sensation back from service. The ROM is stock HTC 2.3.4 android (Sense 3.0 etc). The issue is gone indeed. They have indeed changed some parts from the phone, the parts changed are:

Rigid Flex Board ASSY, Upper Board

Tamper-Evident Label VOID word :p

So far (for the last 2 hours or so that I am working with it) everything works as was originally intended. I will continue posting in this thread if problems reappear, but so far it all looks ok.

So imo it is NOT a software issue. It is a HARDWARE one, and with good reason: the board they replaced is responsible for registering more than one keystrokes of the power button thus making the OS think that the power is pressed hence the screenshots, screen not turning off or turning off and on again, etc. I believe this sets the records straight and I am still dumbstruck as how this would go through the QC of HTC. Dunno, but next year I will be very very careful before I give them money for their next flagship model.
[HTC Sensation] Castle5665:
No way it is a hardware issue. No power button issue...EVER....until moments after I updated to 2.3.4. There is a simple fix. HTC needs to UN- F*** up what ever they did to F*** up the power button in the last update. post it....problem solved!
[HTC Sensation] f3nd3r:
It happens for me even on a shipped 2.3.3 RUU so there is every chance that for some people It's hardware related.
[HTC Sensation] Castle5665:
I expect, for some, it may be a hardware related issue. Which would make it another issue entirely for them. For those of us experiencing the power button issue immediately following the 2.3.4 upgrade (quite a bit more than some) hardware would be an unreasonable assumption.
[HTC Sensation] richardirv:
Same problem here apart from I have never noticed it taking a screenshot, I don't even know how to make it do that if I wanted it to.

I have just been on HTC Online Chat Support and they didn't seem aware of the problem but promised to pass the information on and get back to me with an answer to if its hardware or software. I am skeptical that they will actually get back to me but hopefully the problem will get passed to the relevant department.

I would suggest everyone does the same, it may speed up the process if they get lots of queries with the same problem.
[HTC Sensation] Master&Slave™:
I dont see it as a hardware defect if right before my update the button was fine, then after the first boot i let it sit for 10 minutes, tried to wake the phone and had to press the power button like 3 times for it to wake up, problems ever since, i think its code thats hard writtin in there, that has to be overwrittin by another update, such as 2.3.5. Rolling back software doesnt always re-write everything!
[HTC Sensation] ShinySideUpAZ:
Most likely the root cause is the debounce routine in the firmware was bypassed when the the inserted the hook to look for the 'Home' key press for the new screen shot feature. When ever a physical button is pressed the circuit bounces. Meaning it connects and unconnects, or rings as the button is pressed and released. This can be handled two ways: in hardware by running the button signal through a low pass filter which removes the rings or in software by ignoring the extra pulses. The fact that it is hard to make happen with the case off confirms this. When pushing the button direct, or by shiming the button with paper makes the contact engage harder and reduces physical bounce. Since the update didn't change hardware, it is safe to assume the bounce code was changed.
[HTC Sensation] Master&Slave™:
Exactly what I said, pretty much, coding that was done wrong, and does not get overwritten when flashing previos software.
[HTC Sensation] f3nd3r:
I flashed back to shipped rom AND firmware, so please explain what else could have changed because to my knowledge there isn't anything!
[HTC Sensation] fishluke:
I have the same issue, though it's not really bad enough to warrant messing around to fix it before HTC get round to it.
[HTC Sensation] fryrice8850:
add me to club! After updating to 2.3.4 (s-on stock everything) and the phone started having this issue. I have a friend who also have a sensation 4g is having the same issue. We have a demo phone which is updated and has the SAME issue after update. So HTC needs to fix their issues.

Looks like i may have to drop HTC and go for SGS2 (Hercules) or maybe iPhone 5 when it comes out.
[HTC Sensation] galaxys:
No issues here with 2.3.4, but I don't use the Power Button that much. I use the 'Lock Screen Widget' for powering off & volume button to turn on (My Lock screen is turned off)...
[HTC Sensation] ShinySideUpAZ:
I would suspect the debounce code is in either a FPGA or PLD. When you create a hardware flash image you select which devices on the JTAG scan chain are to be written. I would think the device that controls the debounce would not be part of most flash images. Therefore reflashing an old image wouldn't revert the code in that device.
[HTC Sensation] ShinySideUpAZ:
Now that I think of it. It took a lot longer to flash this image then previous. This may be another indication of the extra device. In most circuits I design I use a PLD for this type of function. PLDs are notoriously slow to flash.
[HTC Sensation] f3nd3r:
Thank you for the detailed explanation. I hope HTC fix this soon.
[HTC Sensation] Master&Slave™:
htc has to know about it and roll out an update, their acting like samsung right now
[HTC Sensation] richardirv:
Well I have been on to HTC again today as the phone is becoming more and more unusable, I have done a couple of master resets and still have power button problem and now the screenshot issue since 2.3.4.

As usual HTC, "This is not a known problem" "It will need to go for repair"

Even after explaining this was a software problem and could be fixed over the air she still wanted to send it off for repair. I declined as I don't want to loose my phone for over a week.

Really hope HTC get it together soon, I love this phone but these 2 silly issues are diving me crazy.

I instead asked her to pass on what I had said to Technical. All we can hope is they are listening!
[HTC Sensation] f3nd3r:
Standard HTC response. Maybe another petition is in order.
[HTC Sensation] Mrplennium:
I am having this same issue as well. The power button doesn't always turn off the phone on the initial press. Sometimes I have to press it a second time to have it turn off the screen. I also noticed my phone constantly taking screenshots whenever I wake up the phone and attempt to press the home key. These issues definitely came about after the 2.3.4 update otherwise I would have noticed them. It gets annoying after a while. First, my volume rocker fell off and had to get them to replace it and now this!
[HTC Sensation] Curious!:
For the record, i have this issue as well.
[HTC Sensation] banesi:
I have two friends who are running stock over the air 2.3.4 and both of them never used Revolutionary S-OFF nor htc official unlocker, they don't have any power button issue...

I'm interested to hear from those users who never used Revolutionary S-OFF and have upgraded to 2.3.4...
[HTC Sensation] picachux:
Never attempted to unlock or root and I have both issues.

I've gotten HTC support to escalate the screenshot bug, Now trying to get them to escalate the power button issue. I really don't feel like shipping out a working phone for another working phone with the same bugs. They really are persistent in getting you to return your phone, You'd think they would at least attempt to see if it's fixable without replacement. :eek:
[HTC Sensation] ShinySideUpAZ:
I have never ran any root tools, and I have the button issue.
[HTC Sensation] aNYthing24:
This is starting to happen to me more often now and the the screenshot bug is also happening often. Ugh.
[HTC Sensation] jparity:
Yup... started to experience the issue a couple days after the update.

The problem seems to be more frequent for the past few days. I'm not sure if it's just me paying more attention to it. I also think it's a software problem. Nothing wrong the the hardware.
[HTC Sensation] familyhousing:
Affecting me too. I did previously use revolutionary, changed CID to HTC__001, flashed stock and set s-on with Android SDK.

Problem definitely started only with 2.3.4 . Noticed it almost immediately. With the power on/off issue there seems to be no pattern to the behaviour. Proximity sensor, capacative screen/ capacitive buttons and grounding issues do not seem to be related to the problem. It seems almost completely random (but appears only to occur if the power button has recently been pressed more frequently than once every two seconds).

When the screenshot problem occurs on pressing the home key, a single power button press returns to normal functionality.
[HTC Sensation] jomblass:
Hey guys... I just want to share with you my experience with this power button and screen shot issue.. 1st of all, i will agree with you that it is a 2.3.4 bug... What i did to fix this was to simply disable haptic feedback and all is good... Never experienced the power button issue again.. hope it will work for some of you too.. this should do while waiting for the update to fix this... By the way, i'm on version 1.45.709.1... You should give it a try..hope it helps... Please post back your version and if it's effective or not...
[HTC Sensation] leeskywalker:
I have exactly the same issue also the power button seems unresponsive at times requiring two presses to lock/unlock the screen after update to 2.3.4
[HTC Sensation] jtbarnes:
Having the same issue here ever since the last update. Seems to be happening more frequently the past few days, and now it keeps rebooting after every time I have this problem.
[HTC Sensation] zozsoy:
I'm having the exact same 2 issues with the power button as well. It causes the phone to not turn off the screen after I press the power button and put it in my pocket. Phone overheats and battery drains with the screen on.

HTC better get on this with an urgent OTA fix.
[HTC Sensation] gf7800:
Sounds like every official 2.3.4 update brings the PB issue

1.45.415.4 here with the same problem
[HTC Sensation] familyhousing:
The overheating is mental when it fails to turn off. I felt it burning through my pocket when it happened the first time! Does the friendstream live wallpaper use that much power or is something else going on with the power button issue?
[HTC Sensation] FilipC:
stock 2.3.4 and have the same issue

it also often happens that the power menu pops up

seems to me they modified the power button behavior to work with screen shot functionality
[HTC Sensation] falsinho:
Well, i have this issue too. It's F#C$%G annoying... :mad:
[HTC Sensation] EniHS:
Like I said before, I think it is hardware failure.

I reinstalled official RUU 2.3.3 which was installed when I bought the phone. I changed back to S-ON and... still the problem with the button. When releasing the button, the phone acts as if it was pressed again.

Those of you, who still have CWM Recovery, you can see it in the Key Test section.

I sent the phone to warranty service.
[HTC Sensation] falsinho:
My phone is flying to warranty service! :(