[How To]Disable Home Button (Screen Off)

BenLand150

Premium Member
Premium Member
Joined
Nov 29, 2010
Messages
1,813
Reaction score
103
Location
Lincoln, NE
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 On It
[video=youtube;GhB5kJGQKsI]http://www.youtube.com/watch?v=GhB5kJGQKsI[/video]​

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)
 
Last edited:
Top