Tuesday, April 22, 2014

How to Change Key Mappings in Android



1. Turn on your phone and press the 'Home' button. Tap the application drawer, then tap your root-enabled file explorer app.

2. Tap '/' or '...' until you see the top folder in your Android phone's file system. Tap 'System,' then 'usr,' then 'keylayout.' Find your phone's keylayout file; for most phones, this file is named '[phone model]-keypad.kl.' Some phone may have different names, but it will always end with 'keypad.kl.'

3. Tap and hold the keypad file. Tap 'open in text editor.' The file opens in a list with three columns: the left column is the system key, the center column is the assigned key value -- such as 'home,' 'a,' 'b,' 'c' and 'power' -- and the right column controls whether the key can wake the phone up or not.

4. Erase the center column value for any key to completely disable it. To reassign the key, replace the center column value with another one from the same column. Change the right column value to either 'WAKE' or blank to enable the wake function. Do not modify the left column.

5. Tap the 'Menu' button, then 'Save and Exit' when you're finished. Restart your phone to apply the changes.

No comments:

Post a Comment