• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help disable home button so it does not wake the phone

P1DroidX

Newbie
I have a Droid X and I would like to stop the home button from waking the phone like it was before I got froyo. When I sit on my phone and find that it is warming up I know it's eating my battery. As the home button is relatively easy to press I'd like it to NOT wake the phone. On a side note an app like no lock will make it so that all the buttons will unlock the phone, I do like the fact it gets rid of the slider, but I only want the power button to wake my phone, and get rid of the slider.

Rooted 2.2.1 with Z4Root.
 
Navigate to this file with root explorer and select 'open in text editor'
/system/usr/keylayout/cdma_shadow-keypad.kl
You will see a line that looks like this.....
Code: key 102 HOME WAKE
Remove the "WAKE" so it looks like this.
Code: key 102 HOME

Save it and replace the original file in /system/usr/keylayout/ and reboot.
Enjoy!
 
I see that my other keys wake the screen as well though. The search, back, and options key wake. This did disable the wake for the home screen. What does WAKE_DROPPED mean in this file vs. just WAKE? Thanks! I'm running ApeX 1.3.1.
 
Yea, there are like 3 menu buttons, 3 back buttons and 3 search buttons. They all have WAKE_DROPPED after them. Does anyone know which one are the hard keys while in sleep mode?
 
Cause im also on apex 1.3.1 and all the hard keys wake up the phone and I don't like it at all. I just want the power button to wake it up. Its the hardest button to accidentally press.
 
Back
Top Bottom