Possible work around for broken/failing power button (at least Verizon, possibly all) - Verizon Samsung Galaxy S 4

Hello all... long time XDA user, not enough time poster... Ok I had the (now to me) infamous power button issue this past weekend. I was able to get my phone going after beating the bejeezus out of it. With that said, I figured I would keep to using the power button to a minimal dosage. What I have is the following- S4 rooted, with ES File explorer installed with the root option enabled, quick boot, wanam, and mylock. The easiest stuff- I set a quick boot widget for power off and one for reboot (so no power buttons for that), I use mylock for locking the phone, wanam- added screenshot to power menu (among other mods that don't pertain to this), and home button for turning phone on (or Volume button- details coming).
I am going to attach a couple of screenshots too...
With ES File Explorer (going for forward, will be labeled ES) go to Device level / scroll down to system, go to usr, and then keylayout, in there go to Generic.kl. Once in there, scroll down to Key 116. Tap the little pencil in the upper screen of ES. Copy the contents of Key 116 - POWER WAKE (I recommend copying so you have all the spaces needed), delete out the key 114 option (I chose Volume Down) and paste that in there. Now you can leave both at POWER WAKE, or you can change 116 to the VOLUME_DOWN if you want to use the power button to turn down the audio. If you blank it out or add other characters it seems to kill the back button and menu button- SO I RECOMMEND TO HAVE SOMETHING THERE. OK good... so moving on-
Hit the back button and click to save the file.
Next-
in the same level as the Generic file, go to gpio-keys.kl).. Scroll down to Key 114 and replace the VOLUME_DOWN with the POWER WAKE that you should still have on your clipboard. Hit the back button and save text.
Final, you will have to reboot your phone in order for the changes to take effect.
Going forward, if you chose to use the power button for volume down, you will no longer be able able to use the power button while the phone is on for power purposes... it will be a volume down button now. Your volume down button will act like the power, so you can bring up the power menu for shut down/screenshots/etc.
To turn the phone one (if it is off), you have a few options... if the power button still works it will power the phone on (it doesn't matter that you have made this mod, it will not allow the volume down to turn a phone on from power off. If the button is shot shot, you can use the micro usb trick to turn it on ( hold down volume down and power, plug it in, then when download comes on put volume down to restart). Or you can use a jig...
Anyway, I hope this helps someone out. Thank you for checking this out.
https://www.flickr.com/photos/[email protected]/shares/2i5mPz

Related

Volume Buttons

I have a problem, I want to disconnect the down button on the side of my Touch Pro. I have a bad habit I can't seem to break when I grab the phone my finger presses the down volume and shuts off the phone. So I would like to deactivate that button. Please don't just tell me to edit the registry without explaining how to do it step by step. Even though I have edit the registry before, I am not that familular with it. Thanks for the help.
Disconnecting the vol buttons
You can install the cab attached, soft reset, then go into settings>system>keyboard config. Press menu on the bottom right corner, then select add key. It will say hold the key you want to configure, or something like that, so hold the vol down key. Then it will pop up a new window, just tap apply/OK. Then tap update config. Bingo! You got it.
You can also edit what the keys do, too. Just ask if you want to.
Please tell me if this is too hard, because then I will post screenshots.
I have done this on my verizon tp.

[How-To][Video] Disable Home Button Wake

One thing I noticed about the Note 2 while wearing jeans and sitting down is that that home button gets pressed accidentally. Luckily, the phone has amazing battery so it's really non issue whereas my Gnex would die even faster than normal due to it's not so big battery.
Video Instructions
http://www.youtube.com/watch?v=GhB5kJGQKsI
Written Instructions​
How to disable this, though? Easy. But you must be at least rooted. After though, you just need an app like Root Explorer.
1. Mount as R/W and open /system/usr/keylayout/gpio-keys.kl. To get into gpio, hold it, and click "edit with text editor"
2. Scroll to the line that says:
"key 172 HOME WAKE"
3. Now delete the HOME so it says:
"key 172"
4. You can change "WAKE" to "WAKE_DROPPED" if you use the stock lock screen and want your home button *NOT* to send you back to the home screen when you use it to wake.
5. Save it, reboot, profit.
And now when the screen is off, clicking the "Home" button will no longer wake up the phone. Thanks to cam30era of XDA for the help.
(if need be, this can be moved to the "Help" section, posted here cause it gets more traffic and most people seem to post here for questions regardless)

Advanced Power Menu

I have installed the newest Malaysk ROM on my HU. On the picture attached you can see the Advanced Power Menu like it should be. In my case there is only Reboot after long pressing the button on the top right. Does it belong to the launcher? If I am pressing the button only short my device turns black, but the knobs are still lightning (also you can hear the radio). It seems that the device is hanging up so I had to press the reset button.
Also I want to know If its possible to shutdown the unit completely. Without having connected the ACC wire.
I have the same question about the pwer menu. Like you I only get one option.

[QESTION] change power button function

Hello. On every phone, if i hold the powrr button long inought, it will pop up a power menu. But on meizu, there is only 2 options (power off, reatart) and i found app, that have more options (recovery, turn off sounds, etc). So is possible to somehowe stop the menu function and replace it with open app function? I know that it sounds like an idiot idea, but for me it would be great. Thanks for your time and answers.
P.S.: i was thinnking about macrodroid, but it have only power button toggle (3-5 times) but every device i know lock screen after 1 time pushing power button. Sr for my english

MXQ-4K - Remote control power button function as shutdown instead of sleep

I bought an MXQ-4K as for an IPTV STB box. My problem is when, I press the power button , on the remote controller, then the box going to sleep, and did not shutdown. In this condition, the stream is still coming from the stream server, allocating bandwidth, also when I press the button again, I see that the program is still running.
What I want to accomplish , is that when I press the power on the remote, the box shutdown. When I press it again, then it should boot up.
The device is rooted, on the /system/usr/keylayout files, I see a layout which belongs to the remote 110b0030_pwm.kl , there is an event for the powerbutton like this: key 116 POWER WAKE
Anyone can suggest something what I could try?
Thanks

Categories

Resources