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

    SuperChargedJ New Member

    Joined:
    Feb 15, 2011
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    I tried this hack and it didn't work. I checked to make sure that onlythe right boxes were checked in the permissions and after I rewrote the file, it showed up correctly. When I rebooted the phone it loaded all the way but the screen would stay frozen after the widgets loaded. The power button would not respond. The other buttons didn't do anything as well (which is a good thing, I guess).

    The one thing I think may be the problem is after rewriting the file it showed a "cdma_shadow-keypad.kl.bak" file underneath the "cdma_shadow-keypad.kl". There was not double .kl.

    Any help would be greatly appreciated.
     
  2. ShadowfoxXXX

    ShadowfoxXXX Member

    Joined:
    Jan 16, 2011
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    The BAK file is automatically created as a backup of the original file by some apps.
    The only thing I can think if is whether you did a battery pull or soft reboot,
    Also try opening permissions and checking ALL the boxes.
    If nothing works restore the BAK to .fl and overwrite the new one to go back to how it was.

     
  3. SuperChargedJ

    SuperChargedJ New Member

    Joined:
    Feb 15, 2011
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Ok, I got this to work now. I noticed that when used no lock and I disabled the lock I could turn the phone on with the home and other buttons. When the lock was enabled, the menu, home, back and search do not wake up the screen. :)



    Sent from my DROIDX using DroidForums App
     
  4. ShadowfoxXXX

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

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

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

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

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

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

    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?
     
  11. Scallywag1

    Scallywag1 Member

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

    Sent from my DROIDX using DroidForums
     
  12. SuperChargedJ

    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.
     
Search tags for this page

android disable home button unlock

,
android stop home button from turning screen in
,
disable home button unlock
,
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
,
prevent home button from waking screen on galaxy s4
,
stop unlock with home button android