My Power button quit working yesterday. I am trying to remap my volume button to wake the screen, and be the new power button. I can't seem to get it to work. I am rooted and I am using root explorer to edit the text.
I have found a number of apps that will wake my screen and some of them work okay, but I have to have lock screen enabled because of my corporate email, and once the screen locks, the apps don't work.
Also, I am worried that if my phone ever get's powered down (runs out of battery), I don't know how I would turn it back on.
Any advice???
Have you tried button saviour worked on desire he for me a treat
Sent from my XT910 using xda app-developers app
I tried it
htcmodteam said:
Have you tried button saviour worked on desire he for me a treat
Sent from my XT910 using xda app-developers app
Click to expand...
Click to collapse
I need a physical button. I'm rooted on Gingerbread and I want to update to ics but I can't figure out how to fastboot without a physical power button
There's a few apps in the store like 'quickboot' that'll allow you to boot into fastboot if rooted. Just remember for menus like recovery, you're likely to be stuck once you need to use the power button to select an option
eljefeguapo said:
My Power button quit working yesterday. I am trying to remap my volume button to wake the screen, and be the new power button. I can't seem to get it to work. I am rooted and I am using root explorer to edit the text.
I have found a number of apps that will wake my screen and some of them work okay, but I have to have lock screen enabled because of my corporate email, and once the screen locks, the apps don't work.
Also, I am worried that if my phone ever get's powered down (runs out of battery), I don't know how I would turn it back on.
Any advice???
Click to expand...
Click to collapse
Send it to service to get it repaired. It's pretty cheap for repairing a single button.
Related
Is there a way to disable the menu option when long pressing the power button when the phone is in lock mode?
My phone is switching its self off sometimes while in my pocket.
I have tried widget locker but that does the same as the stock screen and still offers this menu while the phone is locked.
I'm using Redmi Note 8 pro Miui 12 Global Rom Android 10 i not found the option sec_key.kl
I can't answer your question directly other than to say you may be blaming the wrong thing - is it really possible that you can keep sustained preasure on the switch for about 8 seconds?
Is it possible that your phone may be rebooting / hanging / freezing in your pocket like mine and many others are?
Have a look here and here to start
Two seconds is enough in my stock lockscreen. So it's very much possible.
Stupid how the shutdown-window is accessible through the lockscreen. Takes away the whole function of this so called lockscreen..
prodygee said:
Two seconds is enough in my stock lockscreen. So it's very much possible.
Stupid how the shutdown-window is accessible through the lockscreen. Takes away the whole function of this so called lockscreen..
Click to expand...
Click to collapse
I agree. For me, it's just under a second. I mean come on. Really?
prodygee said:
Two seconds is enough in my stock lockscreen. So it's very much possible.
Stupid how the shutdown-window is accessible through the lockscreen. Takes away the whole function of this so called lockscreen..
Click to expand...
Click to collapse
But you then have to select "Power off" and then click "OK". Are you suggesting that's happening in your pocket?
naddie said:
I agree. For me, it's just under a second. I mean come on. Really?
Click to expand...
Click to collapse
Tapping or pressing thepower button will bring the swipe screen / lock screen back but this does not stitch off the phone!
From OFF, if I press and hold the power switch, the lock screen comes on, then goes off after 5 seconds. At this point, the phone has not shut down.
From OFF, if I hold the button down for about 9 seconds, it does shut down.
As I said, I don't think this is all that easy to do by accident - maybe even impossible! BTW, my phone is stock.
I'd still say it's the dreaded phantom rebooter
johncmolyneux said:
But you then have to select "Power off" and then click "OK". Are you suggesting that's happening in your pocket?
Click to expand...
Click to collapse
Never mind, you're right about that. I stand corrected. It takes a lot of effort to shut your phone off with the power button, so that can't be the reason OP's phone is shutting off.
http://forum.xda-developers.com/showthread.php?t=1098981
.hide said:
http://forum.xda-developers.com/showthread.php?t=1098981
Click to expand...
Click to collapse
Thanks very much for this
Just removed the wake option from the power button.
To answer a few other posts. The few times it has switched off it has only been while in my jacket pocket. Carrying my niece, seat belt on/off etc. I know it appears difficult to replicate but I have not had any other issues like mentioned in the other forums linked in post 2.
The reason I think its the power button is because I have taken my phone out of my pocket recently and noticed that the menu to shut down has been visable on the screen. I haven't had an issue of it turning off while on a desk etc which is why I think its the power button.
I may be wrong and if it carries on turning off I will look at other options but I do think its silly (how ever hard to replicate) that an option to access the shut down menu while in lock mode is stupid.
By removing the option to wake from the power button and setting widgetlocker to block homehelper there is no way to access the menu the power button had until the phone is unlocked. Which is how the lock screen should work regardless of if it solves my problem or not.
For SGS2 users, I used Root Explorer to edit:
Code:
/System/usr/keylayout/sec_key.kl
I found the following line:
Code:
key 116 POWER WAKE
To disable the Power button from waking up your device, simple delete the word 'WAKE', save the file, and reboot.
Cheers to the others in the HD2 thread for the tip.
same problem with galaxy w
jonamafun said:
For SGS2 users, I used Root Explorer to edit:
Code:
/System/usr/keylayout/sec_key.kl
I found the following line:
Code:
key 116 POWER WAKE
To disable the Power button from waking up your device, simple delete the word 'WAKE', save the file, and reboot.
Cheers to the others in the HD2 thread for the tip.
Click to expand...
Click to collapse
i have the same phantom restart problem......but i cant access the phone to use the root explorer ....wat should i do????
Hi all i made an app to avoid this, blocking power menu on lockscreen no need of root working on 2.2+ and you can set up a custom menu (power and reboot need root) so you should take a look and if you like please leave a 5 stars, or let me know any issues
Play Store Link
zen kun said:
Hi all i made an app to avoid this, blocking power menu on lockscreen no need of root working on 2.2+ and you can set up a custom menu (power and reboot need root) so you should take a look and if you like please leave a 5 stars, or let me know any issues
Play Store Link
Click to expand...
Click to collapse
Nice, this was exactly what I was looking for on my Nexus 4 running 4.3 and Cerberus. Unfortunately only the power off menu is disabled (it just flashes for a millisecond) but long pressing the power button still shuts off the phone...
Sent from my Nexus 4 using Tapatalk 2
itenos said:
Nice, this was exactly what I was looking for on my Nexus 4 running 4.3 and Cerberus. Unfortunately only the power off menu is disabled (it just flashes for a millisecond) but long pressing the power button still shuts off the phone...
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
yeah, i cant do anything without change whole rom :/ its just a workaround :/
Hi guys, I got the HTC Legend, and I'm finding it a pain to have to press on the lock button every time to wake it from sleep and so I want to be able to wake it by pressing on the optical trackpoint or any of the capacitive buttons as well.
It really frustrates me sometimes if I forget I've turned it off already and I try to wake it, so I press the power button, and it boots up instead and I have to wait for it to turn on only to turn it off again.
If anyone knows any solution please help me. It's driving me insane. On the iPhone I could just press the home button to wake and it wouldn't turn on the phone if it's off. I'm on stock Froyo 2.2 with sense UI, not rooted. Would prefer not to root and definitely not install a new ROM as it is not my phone and I don't want to mess with it too much. Thanks.
you could use an app like widgetlocker to achieve this. link to market
I'm curious, how the phone turns off when u press the power button to unlock the screen.
Do you have the lock screen setup? It should not be able to turn off untill screen is unlocked then the power button pressed and held again.
sent from my legend, currently using extream legend fuse™
jellymelly said:
Hi guys, I got the HTC Legend, and I'm finding it a pain to have to press on the lock button every time to wake it from sleep and so I want to be able to wake it by pressing on the optical trackpoint or any of the capacitive buttons as well.
It really frustrates me sometimes if I forget I've turned it off already and I try to wake it, so I press the power button, and it boots up instead and I have to wait for it to turn on only to turn it off again.
If anyone knows any solution please help me. It's driving me insane. On the iPhone I could just press the home button to wake and it wouldn't turn on the phone if it's off. I'm on stock Froyo 2.2 with sense UI, not rooted. Would prefer not to root and definitely not install a new ROM as it is not my phone and I don't want to mess with it too much. Thanks.
Click to expand...
Click to collapse
Trackball waking cannot be done via froyo sense! If you are willing to root your phone then flash Cm 7.1 as your rom. Then you can go to settings to activate trackball waking.
Other than that you can look around the market for apps that allow this.
Sent from my Legend using xda premium
ranger4740 said:
I'm curious, how the phone turns off when u press the power button to unlock the screen.
Do you have the lock screen setup? It should not be able to turn off untill screen is unlocked then the power button pressed and held again.
sent from my legend, currently using extream legend fuse™
Click to expand...
Click to collapse
what I meant was to unlock the screen while the phone is on by pressing any button apart from the power button, because at night I turn off my phone (the normal way), then I forget if I've turned it off or not, so I press the power button again, and then the startup screen appears - Sh*t! so I have to wait for it to turn on again so I can turn it off.
So essentially I want to press the capacitive buttons or trackpoint so that
1. It will unlock the phone if it is on.
2. It will not turn on the phone if it is off
ranger4740 said:
I'm curious, how the phone turns off when u press the power button to unlock the screen.
Do you have the lock screen setup? It should not be able to turn off untill screen is unlocked then the power button pressed and held again.
Click to expand...
Click to collapse
what I meant was to unlock the screen while the phone is on by pressing any button apart from the power button, because at night I turn off my phone, then I forget if I've turned it off or not, so I press the power button again, and then the startup screen appears - Sh*t! so I have to wait for it to turn on again so I can turn it off.
mph_aut said:
you could use an app like widgetlocker to achieve this. link to market
Click to expand...
Click to collapse
hmm thanks. But when I looked through the comments everyone finds it a huge battery drain... So I'd rather not.
Thanks for the suggestions guys but if anyone knows an app that can does this it'd be great! So frustrating!
So stock rom in locked mode only reacts to pwr? Hmm
Sent from my Legend using Tapatalk
MarkInDaPark said:
So stock rom in locked mode only reacts to pwr? Hmm
Sent from my Legend using Tapatalk
Click to expand...
Click to collapse
Yep. Not good.
Anyone has solution?
jellymelly said:
Yep. Not good.
Anyone has solution?
Click to expand...
Click to collapse
Currently no app except for widget locker and some launchers allow this. The only other way is to root and flash.
Sent from my Legend using xda premium
ranger4740 said:
I'm curious, how the phone turns off when u press the power button to unlock the screen.
Do you have the lock screen setup? It should not be able to turn off untill screen is unlocked then the power button pressed and held again.
sent from my legend, currently using extream legend fuse™
Click to expand...
Click to collapse
I think what he is saying is that he can't check if the phone is off or not.
Why you don´t use the rom from blay0 (http://forum.xda-developers.com/showthread.php?t=866849)? It is based on HTC stock version and has several extensions and wake on trackpad. It is very stable and i had no problems with this rom in the last months.
my htc amaze has a broken power button and would flash on and off unless i take out the battery. the power button is gone, but the power sensor is still there. the phone will stay on if i push on the power sensor correctly.
you guys have any advice on fixing this and how much would it cost to repair?
thanks a bunch
have you checked on ebay for any repair parts?
Should be warranty.
yeah i checked around ebay and google for a power ribbon flex, but no luck finding one.
i found this searching around, but does it work for htc amaze? (http://forum.xda-developers.com/showthread.php?t=1524858)
heres a picture if it helps:
http://postimage.org/image/hw25joisb/
I used Button Remapper to map the power on/off to the camera button. Never used the camera button anyway.
You can remap the power button to nothing.
dkb218 said:
I used Button Remapper to map the power on/off to the camera button. Never used the camera button anyway.
You can remap the power button to nothing.
Click to expand...
Click to collapse
Does it work to turn the phone on when its off? I only ask because I would like to set it up like you did with camcorder button.
Live and Die on this day....
chozyn said:
Does it work to turn the phone on when its off? I only ask because I would like to set it up like you did with camcorder button.
Live and Die on this day....
Click to expand...
Click to collapse
It won't be able to, since the power button is assigned to turn on the device. There's one way I know of that you can use to turn the phone on when it's off. It requires a computer though.
You will need 4ext recovery installed. After that, have the phone connected to a computer and then (assuming you have adb drivers set up) type in the following command:
adb reboot
That should boot up the phone.
Sent from my HTC Ruby using xda app-developers app
Thanks that is great to know!
Live and Die on this day....
chozyn said:
Does it work to turn the phone on when its off? I only ask because I would like to set it up like you did with camcorder button.
Live and Die on this day....
Click to expand...
Click to collapse
Sorry for the delay in answer. You can map the power button to whatever button you like. It does turn the phone off and on. I will act exactly as the power button does.
It won't be able to, since the power button is assigned to turn on the device. There's one way I know of that you can use to turn the phone on when it's off. It requires a computer though.
Click to expand...
Click to collapse
That's incorrect. Once the cam button is mapped as a power button, it will behave exactly as the power button.
dkb218 said:
Sorry for the delay in answer. You can map the power button to whatever button you like. It does turn the phone off and on. I will act exactly as the power button does.
That's incorrect. Once the cam button is mapped as a power button, it will behave exactly as the power button.
Click to expand...
Click to collapse
No it doesn't behave like a power button. Sure it can wake the device and put it to sleep, but it CAN NOT power up the device once it's off. The power button sends a different kind of signal when the phone is off, and cannot be remapped with software means. It's a hardware button that tells the phone to turn on.
Before you go and tell me that it's not true, I even tested it out myself just to be sure and yep, it doesn't power on the device once it's off.
Sent from my HTC Ruby using xda app-developers app
Keylogger_0 said:
No it doesn't behave like a power button. Sure it can wake the device and put it to sleep, but it CAN NOT power up the device once it's off. The power button sends a different kind of signal when the phone is off, and cannot be remapped with software means. It's a hardware button that tells the phone to turn on.
Before you go and tell me that it's not true, I even tested it out myself just to be sure and yep, it doesn't power on the device once it's off.
Sent from my HTC Ruby using xda app-developers app
Click to expand...
Click to collapse
I stand corrected. I thought he was talking about stand-by off. I also tested if the button works to power on the device and you are correct, it doesn't work.
To the OP. My power button does work if I remove the battery case and press the spot where the battery case button would make contact with the phone. It would seem to be a problem with the button making contact with the phone.
I want to turn off my power button when my screen is off, since my phone keeps restarting itself when I have it in my pocket.
I found this thread: http://forum.xda-developers.com/showthread.php?t=1389946 and tried to follow it. I couldn't find a sec_key.kl file, but there's a bunch of files such as AVRCP.kl, generic.kl, gpio-keys.kl, qwerty.kl and sii9234_rcp.kl . Reading them, I figured that I should modify gpio-keys.kl, as it contains the line ≫key 116 POWER WAKE≪. I tried removing WAKE and rebooting my device, but nothing is changed: my power button still turns the screen on.
Any ideas on how to solve this? I'm running 4.1.2, VikingWay v. 2.3 rom, which is a modified touchwiz rom (which I'm sure haven't changed the keys in any way).
Even if you disable the wake function, longpressing it will turn the device off, there's not a way to change that. It works from recovery, even without a ROM, even when the phone freezes completely, so it's hardwired
so there is no chance? (mod or something else)
if it's really hard-wired than it's a feature
I don't think your phone is rebooting because your pressing the power button.
Its probably some software issue by rom kernel or smtn u installed
Sent from my GT-I9300 using xda premium
oae08 said:
I don't think your phone is rebooting because your pressing the power button.
Its probably some software issue by rom kernel or smtn u installed
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Exactly.
Are you on a custom kernel if so try flashing it again, or maybe you are oc/uv. If nothing works flash the rom again.
Sent from my GT-I9300 using xda app-developers app
it's definitly not the custom rom!
if my phone is in a handybag i have no problem,
but when i change the back case und put it in a handybag i have reboots... (back case is metallic. so the phone is larger and there is less space left in the bag --> pushing the power button)
it could be the long pressing power button in the lockscreen, which opens a windows with shutdown, reboot,...
FlorianW said:
it's definitly not the custom rom!
if my phone is in a handybag i have no problem,
but when i change the back case und put it in a handybag i have reboots... (back case is metallic. so the phone is larger and there is less space left in the bag --> pushing the power button)
it could be the long pressing power button in the lockscreen, which opens a windows with shutdown, reboot,...
Click to expand...
Click to collapse
Check what eMMC chip you have, then Flash a kernel with the sudden death fix if you are not safe. I remember someone said their phone was rebooting occasionally before it died. You may not have the same problem but it is better to be safe.
Sent from my GT-I9300 using xda app-developers app
the emmc check app says "NO Sane chip", eMMC chip 10/2012
so what is this sudden death fix?
i think the problem is, that the metallic back case makes the phone larger and so the power button would be pressed when it's in my handybag..
So, for the past few days, I've had to push the power button three times to turn the screen on. Yesterday it completely stopped working, and had to use a Viper tweak to use volume buttons as power button. Late last night it has been working so-so. Aby ideas?
Sent from my EVO using xda app-developers app
iandmacdonald said:
So, for the past few days, I've had to push the power button three times to turn the screen on. Yesterday it completely stopped working, and had to use a Viper tweak to use volume buttons as power button. Late last night it has been working so-so. Aby ideas?
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
This is more of a workaround than a fix, but MeanBean has the option to use the camera button to turn the screen on, to hold the home button to load the advanced power menu, and to hold the back button to turn the screen off. You can get by pretty well without ever using the actual power button.