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

Discussion in 'Drod2169 - X' started by ShadowfoxXXX, Mar 13, 2011.

  1. ShadowfoxXXX
    Offline

    ShadowfoxXXX Member

    Joined:
    Jan 16, 2011
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Ah yes. From what i understand the stock android lockscreen is the only thing keeping all the buttons from waking the phone.
     
  2. McBain01
    Offline

    McBain01 Member

    Joined:
    Jun 23, 2010
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    SATX
    Ratings:
    +0
    i would love to install this as i have been wanting this fix as well. However, i assume im just a little too noobish to figure out how to actually install it. When i click the link, it shows a whole bunch of text code but i cant figure out how to 'copy that file' to my phone to overwrite the other file
     
  3. ShadowfoxXXX
    Offline

    ShadowfoxXXX Member

    Joined:
    Jan 16, 2011
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Right click on the link and choose save file as. Then follow the rest of the instructions.



    Sent from my DROIDX using DroidForums App
     
  4. McBain01
    Offline

    McBain01 Member

    Joined:
    Jun 23, 2010
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    SATX
    Ratings:
    +0
    sweet thanks. I was assuming some kind of copy and paste...i know, i know
     
  5. jr1421
    Offline

    jr1421 New Member

    Joined:
    Nov 21, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Is there any way to get this to work when using No Lock as well? It's nice to disable the hard buttons when using the lock screen slider, but I've been looking for a way to bypass the slider and also disable the hard buttons (so that only pressing the power button can lock/unlock the screen, without actually having to use the slider to unlock). I've tried several apps/widgets and nothing (so far) can do what I'm trying to accomplish. I realize it doesn't take much effort to slide to unlock, but for me it would be more efficient to just use the power button to lock/unlock - and, while No Lock accomplishes this, I find that the front hard buttons activate my screen quite often when in my pocket. Any help would be appreciated.

    EDIT: If anyone is interested, after I posted the above last night, I found an app called AntiLock that basically does what I've been looking for. It has an option to bypass the slide to unlock screen, and disables all of the hard buttons from waking the phone. So far (only about 25 min) it's been working well and has continued to work through a reboot. It does appear to be a little glitchy though, just as a warning (I've noticed the screen flash when hitting the power button to wake, and I've noticed the slide to unlock appear and disappear quickly once). I've been using the app in conjunction with the edited .kl file.
     
    Last edited: Mar 22, 2011
  6. Scallywag1
    Offline

    Scallywag1 Member

    Joined:
    Oct 21, 2010
    Messages:
    179
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    i am running liberty 1.5 on dx and just applied this and it works perfectly. Thanks
    For those interested I also have the app mylock running which bypasses the slide to unlock screen. Then I also have screen suite running on system default to go directly to the security lock. I was getting tired of sliding, then imputing password to get into phone.
    this has worked really well for me. the home button was draining my battery bc the screen wouldn't go completely off if the home button was hit while locked.....so thanks
     
  7. SuperChargedJ
    Offline

    SuperChargedJ New Member

    Joined:
    Feb 15, 2011
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Has anyone tried this hack on the newest Gingerbread rom for the DX?
     
  8. Scallywag1
    Offline

    Scallywag1 Member

    Joined:
    Oct 21, 2010
    Messages:
    179
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Yep....works.

    Sent from my DROIDX using DroidForums
     
  9. SuperChargedJ
    Offline

    SuperChargedJ New Member

    Joined:
    Feb 15, 2011
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Indeed it does, even better than before. It must be a gingerbread thing. Thanks for the confirmation.
     
  10. jr1421
    Offline

    jr1421 New Member

    Joined:
    Nov 21, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    It definitely does work better on GB. Now, when using the widget "No Lock," the hard buttons will not wake the phone even when you have the No Lock widget set to Unlocked. This means, for me, that I can completely bypass the slide-to-unlock screen altogether, and simply press the power button to unlock directly. On froyo, with the No Lock widget set to Unlocked, the hard buttons would still wake the phone (at least it did for me). Now I don't have to use the Antilock app anymore :)
     
  11. timfromthegym
    Offline

    timfromthegym New Member

    Joined:
    Apr 16, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    SO, I tried to download your file by right clicking, and it took me to an invalid dropbox site. I thought this was the problem, so i tried to download it via a right click of the file... when i right clicked and did "save as" it downloaded the text from the error webpage into the cdma_shadow_keypad.kl.

    I replaced the original file with this error file, and now every button wakes up my phone and there is no lock on the phone whatsoever. It did the complete opposite of what I expected!

    Does anyone have the original cdma_shadow_keypad.kl, or the revised file that ShadowfoXXX put out so that I can have my phone actually have buttons that dont wake.

    This is truly terrible as now when the phone is in my pocket all the hard buttons including the volume rockers and camera wake the phone up and i pocket dial people let alone KILL my batter on the X.

    HELP!

     
  12. jr1421
    Offline

    jr1421 New Member

    Joined:
    Nov 21, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Here you go - this is the edited one.

    Forgot to mention, after you unzip it and place it in system/usr/keylayout, change the permissions to read/write for user, and just read for group/others. Once you've changed the permissions, reboot before testing it out.
     
    Last edited: Apr 16, 2011
  13. mebobio
    Offline

    mebobio New Member

    Joined:
    May 25, 2010
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    rooted?

    Do you need to be rooted to access the permissions from the root file?
     
  14. jr1421
    Offline

    jr1421 New Member

    Joined:
    Nov 21, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    I cannot get this procedure to work with gingerbread .591. I've tried editing the .kl file and manipulating the permissions, but the hard buttons still wake my phone. Has anyone else had success with gingerbread .591?
     
  15. SuperChargedJ
    Offline

    SuperChargedJ New Member

    Joined:
    Feb 15, 2011
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    +1

    This seriously annoyed the crap out of me this morning when I couldn't get it to work. Looking forward to the fix for this as well.
     
Search tags for this page

android disable home button unlock

,
disable home button unlock
,
disable home key unlocking s4
,
disable keyboard slide screen wake
,
galaxy s4 prevent home button from waking phone
,
gingerbread home button wake
,
how to disable home button unlock
,
how to disable home button unlock s4
,
how to disable samsung s4 home button from unlocking phone
,
stop unlock with home button android