1. Download our Official Android App: Forums for Android!

Root Commando ignoring key layout files?

Discussion in 'Android Devices' started by bobpellegrino, Jan 13, 2013.

  1. bobpellegrino

    bobpellegrino Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    4
    Joined:
    Nov 26, 2012

    Nov 26, 2012
    4
    0
    5
    I've rooted my phone successfully, and then tried to fix something that's been bothering me since I got it. Every single hard button wakes the phone. I want only the power button to wake the phone.

    I did some research and found that the .kl or key layout files in /system/usr/keylayout control this behavior. As an experiment I focused on disabling the WAKE property on just the VOLUME_UP key in every file where it appeared in that directory. I removed the .BAK files, rebooted, but VOLUME_UP still wakes the phone.

    Can someone tell me what I am missing? Owners of other phones report successes changing all sorts of buttons this way. Is the Commando overriding this somewhere else?

    --bob
     

    Advertisement

  2. bobpellegrino

    bobpellegrino Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    4
    Joined:
    Nov 26, 2012

    Nov 26, 2012
    4
    0
    5
    Does anyone even have a wild guess?
     
  3. tommytopdrive

    tommytopdrive Member
    Rank:
    None
    Points:
    33
    Posts:
    51
    Joined:
    Oct 20, 2012

    Oct 20, 2012
    51
    66
    33
  4. bobpellegrino

    bobpellegrino Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    4
    Joined:
    Nov 26, 2012

    Nov 26, 2012
    4
    0
    5
    Looking at that thread unlocked my brain freeze. When I first read about how to do it I thought there was WAKE, WAKE_DROPPED and none. In other words, I just left the property blank. Now I realize you have to actually set it to the property "NONE".

    Thanks again.
     

Share This Page

Loading...