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. ...

+ Reply to Thread
Page 1 of 5 1 2 3 ... LastLast
Results 1 to 10 of 43

Thread: For the OCD - Stop the home button from waking the screen (And Save Battery)

  1. ShadowfoxXXX's Avatar
    Member #
    161666
    Join Date
    Jan 2011
    Posts
    54
    Phone
    Droid X; Rubix
    #1

    Talking 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)
    Quote Originally Posted by humungus View Post
    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.
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Developer
    drod2169's Avatar
    Member #
    58048
    Join Date
    Apr 2010
    Posts
    677
    Phone
    Motorola Droid X
    DroidForums.net Developer
    Premium Member
    #2
    Quote Originally Posted by ShadowfoxXXX View Post
    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)
    If you like my work, donations are welcome!
    https://www.paypal.com/cgi-bin/websc...=TYYWQBR78DW7U
    Follow me on twitter! @Drod2169
    Team Phoenix Dev!
    Check out my Droid X Roms:
    http://www.droidforums.net/forum/drod2169-x/
  4. Senior Droid
    PerCompLLC's Avatar
    Member #
    17384
    Join Date
    Dec 2009
    Location
    Northern Virginia
    Posts
    104
    Twitter
    @PercompLLC
    Phone
    Bionic - Rooted/Modded
    #3
    Nice! Thank you!
    Droid Bionic - TH3ORYROM <--> Liberty3ROM
  5. Senior Droid
    humungus's Avatar
    Member #
    101002
    Join Date
    Aug 2010
    Posts
    141
    Phone
    Droid X
    #4
    Beautiful. Thanks.
  6. Junior Droid
    bishyaler's Avatar
    Member #
    15981
    Join Date
    Dec 2009
    Posts
    26
    Phone
    Droid X
    #5
    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?
  7. Senior Droid
    humungus's Avatar
    Member #
    101002
    Join Date
    Aug 2010
    Posts
    141
    Phone
    Droid X
    #6
    Quote Originally Posted by bishyaler View Post
    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.
  8. Junior Droid
    bishyaler's Avatar
    Member #
    15981
    Join Date
    Dec 2009
    Posts
    26
    Phone
    Droid X
    #7
    That fixed it. Thank you!
  9. Senior Droid
    mugsy77's Avatar
    Member #
    127698
    Join Date
    Oct 2010
    Location
    Dallas
    Posts
    144
    Phone
    RAZR
    #8
    Great find indeed! Thanks!
  10. ShadowfoxXXX's Avatar
    Member #
    161666
    Join Date
    Jan 2011
    Posts
    54
    Phone
    Droid X; Rubix
    #9
    Quote Originally Posted by humungus View Post
    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.
  11. Senior Droid
    OnMy2ndGP's Avatar
    Member #
    122174
    Join Date
    Sep 2010
    Posts
    213
    Phone
    Droid X
    #10
    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!
+ Reply to Thread
Page 1 of 5 1 2 3 ... LastLast

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. How do I save a webpage as an icon shortcut on my home screen?
    By jrl9851 in forum Droid General Discussions
    Replies: 9
    Last Post: 12-25-2011, 10:52 AM
  2. help! droid 2 not waking up when i press lock/unlock button
    By the mango in forum Tech Issues, Bug Reports & Suggestions
    Replies: 7
    Last Post: 01-05-2011, 11:10 AM
  3. Stop home button from waking phone up?
    By vtek63 in forum Droid X General Discussions
    Replies: 2
    Last Post: 07-31-2010, 02:58 PM
  4. folder on home screen stop working.
    By bionic4.0 in forum Droid General Discussions
    Replies: 4
    Last Post: 07-31-2010, 05:51 AM
  5. Home Screen Save
    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