[Q] How to disable wake up by home button - Galaxy S II Q&A, Help & Troubleshooting

Hello, i would disable wake phone by home button, last night i lost 50% of battery.. 3,5h by screen.
how i can do this?

I'm not sure it will solve your battery drain issue, unless you are unwillingly pushing the home button while sleeping but anyway try to go in the /system/usr/keylayout folder and look for the sec_key.kl file, and remove the WAKE word in the "key 102 HOME" line, then reboot.

unfortunely it won't work
im on CM11

no option anywhere in settings ? that's impossible .search and see each and every setting .. cm has ought to have it

Related

Disable homekey while phone is locked (neo)

Is there any way to disable the home key while my phone is locked, it keeps either unlocking itself because of this or interfering with the lockscreen music controls. I am running the official ICS which just came out. If this isnt possible is there a way to remove the lock screen music widget? Pretty much the problem is that the home key lights up the screen and makes it touchable per say. Thanks all.
To disable the home key while phone is locked you have to edit(with root explorer) a file called pm8058-keypad.kl which is found in system/usr/keylayout.. There is a line which says
Key 102 Home Wake dropped
You have to delete the wake dropped and then save the file. Reboot your phone and voila!
Sent from my MT11i

[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)

[Q] Disable the menu and back touchkeys on sleep?

How do i disable the menu and back touchkeys when phone is in sleepmode?
Problem is that i use the NeatRom 4.4.2 and i can always wake the phone just by touching the menu or back button.
I want to disable this so that the phone doesnt accidently turn on while in my pocket. I want to be able wake it ONLY by power button and home button!
EDIT: NVM, fixed it. was hard to find in advanced settings

Possible work around for broken/failing power button (at least Verizon, possibly all)

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

A little problem with Long-press action on nav-bar

I'm currently on a D851 G3 stock rooted MM, I've enabled long-press action on nav-bar however, after I press and hold the home button to turn off the screen then unlocking the screen, open an app and press home button to back to homescreen (here is the problem), it won't, you need to press once again to make it happen I mean I have to press twice to make it back to home, the problem just occurs once right after unlocking my phone. Btw, there is no problem at all after I turn off Long-press action so I assumes there is a minor bug with this greenify function on my phone. Just a small issue but I hope someone can help me with it. Tks guys for reading

Categories

Resources