For the OCD - Stop the home button from waking the screen (And Save Battery)
This is a discussion on For the OCD - Stop the home button from waking the screen (And Save Battery) within the Drod2169 - X forums, part of the Droid X Roms category; I was becoming very agitated because my phone screen was continually turning on in my pocket, wasting battery, because the home button was getting pressed.
...
-
For the OCD - Stop the home button from waking the screen (And Save Battery)
I was becoming very agitated because my phone screen was continually turning on in my pocket, wasting battery, because the home button was getting pressed.
Well no more!
I'm not hosting this file anymore, It's so easy to do manually there's no point.
GINGERBREAD
____________________________________
Open /system/usr/keylayout/sholes-keypad.kl
remove "Wake_Dropped" And/or "Wake" after any entries for:
HOME
MENU
SEARCH
BACK
VOLUME UP
VOLUME DOWN
_________________________________________
FROYO
_________________________________________
Open /system/usr/keylayout/cdma_shadow-keypad.kl
remove "Wake_Dropped" And/or "Wake" after any entries for:
HOME
MENU
SEARCH
BACK
VOLUME UP
VOLUME DOWN
__________________________________________
Now the only button that wakes the screen is the power button.
Dont remove anything other than what I've listed above, do not remove wake from you power button, or you may not be able to wake your phone at all (untested)
You MUST remove wake/wake_dropped from ALL of the entries listed as only removing wake from home causes all the buttons except home to wake the screen.
PROBLEMS?
||
||
\ /
\/
Make sure you change permissions as well (Credit to humungus)

Originally Posted by
humungus
Did you change the file's permissions? They need to be RW-R-R. Long press on the file in Root Explorer, go to 'Permissions' and make sure there are only checkmarks for:
User: Read, Write
Group: Read
Others: Read
Then reboot.
Also, when I downloaded the file it added an extra .kl to the end of the filename (it was XXX.kl.kl). Make sure you delete 1 of the .kl's.
Notes:
This was mentioned in another thread somewhere, however that method made the search, menu, and back buttons wake the device.
Using this method, only the power button will wake the screen.
I attempted to make this into a flashable zip, but I suck and I am lazy.
So far this hasn't affected anything negatively on my DX but if you mess this up, I am in no way responsible.
I probably should've posted this under droid x hacks... but i can't be 100% certain it'll work for any rom but rubix 2.01
Drod: I honestly think this should be included in rubix. I can't think of any reason why it shouldnt.
Last edited by ShadowfoxXXX; 05-16-2011 at 11:17 PM.
-
-

Originally Posted by
ShadowfoxXXX
I was becoming very agitated because my phone screen was continually turning on in my pocket, wasting battery, because the home button was getting pressed.
Well no more!
Copy
This File to
"system/usr/keylayout/"
And overwrite
"cdma_shadow-keypad.kl"
Now the only button that wakes the screen is the power button.
Notes:
This was mentioned in another thread somewhere, however that method made the search, menu, and back buttons wake the device.
Using this method, only the power button will wake the screen.
I attempted to make this into a flashable zip, but I suck and I am lazy.
So far this hasn't affected anything negatively on my DX but if you mess this up, I am in no way responsible.
I probably should've posted this under droid x hacks... but i can't be 100% certain it'll work for any rom but rubix 2.01
Drod: I honestly think this should be included in rubix. I can't think of any reason why it shouldnt.
I'll sticky this, this is a nice find. Honestly, I never had this issue when I had an X, so I never thought to implement anything like it. WHENEVER the next rubiX may be, this will be included (hopefully I don't forget it with my crappy memory)
-
Nice! Thank you!
Droid Bionic - TH3ORYROM <--> Liberty3ROM
-
-
I've waited for this fix for so long, especially because it would keep the voice search from activating in my pocket. Problem: I copied the file, rebooted, but the front keys still wake the phone?
-

Originally Posted by
bishyaler
IvI've waited for this fix for so long, especially because it would keep the voice search from activating in my pocket. Problem: I copied the file, rebooted, but the front keys still wake the phone?
Did you change the file's permissions? They need to be RW-R-R. Long press on the file in Root Explorer, go to 'Permissions' and make sure there are only checkmarks for:
User: Read, Write
Group: Read
Others: Read
Then reboot.
Also, when I downloaded the file it added an extra .kl to the end of the filename (it was XXX.kl.kl). Make sure you delete 1 of the .kl's.
-
That fixed it. Thank you!
-
Great find indeed! Thanks!
-

Originally Posted by
humungus
Did you change the file's permissions? They need to be RW-R-R. Long press on the file in Root Explorer, go to 'Permissions' and make sure there are only checkmarks for:
User: Read, Write
Group: Read
Others: Read
Then reboot.
Also, when I downloaded the file it added an extra .kl to the end of the filename (it was XXX.kl.kl). Make sure you delete 1 of the .kl's.
I did not even think about permissions, I will add this this right now.
-
I thought I'd like this but I didn't realize just how often I actually use the home button to wake up my DX. DRod, if you do remember to add this, please make it an option to enable or disable.
But now I something else to play with within that file.
DX on something different too often to keep updating my sig!

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By jrl9851 in forum Droid General Discussions
Replies: 9
Last Post: 12-25-2011, 10:52 AM
-
By the mango in forum Tech Issues, Bug Reports & Suggestions
Replies: 7
Last Post: 01-05-2011, 11:10 AM
-
By vtek63 in forum Droid X General Discussions
Replies: 2
Last Post: 07-31-2010, 02:58 PM
-
By bionic4.0 in forum Droid General Discussions
Replies: 4
Last Post: 07-31-2010, 05:51 AM
-
By alienware777 in forum Droid General Discussions
Replies: 2
Last Post: 01-12-2010, 05:28 PM
Search tags for this page
android disable home button unlock
,
android disable phone buttons wake
,
android home button
,
android stop home button from waking screen
,
cdma shadow-keypad.kl
,
disable home wake gingerbread
,
droid x disable home button
,
droid x disable home button from turning phone on phone
,
droid x home button volume
,
droid x home key turns on display
,
home button droid x turns on phone
,
how to disable home button unlock android
,
how to disable home key from turning screen on with droid x
,
how to stop the home button opening screen on droid 2
,
stop home button from waking up
Click on a term to search our site for related topics.
Tags for this Thread