[MOD] Change Capacitive Key to Lock key

Search This thread

wai10691

Senior Member
Aug 16, 2009
1,008
507
Kuala Lumpur
For those who is using onscreen navigation key on MI3, thanks to GravityBox and Xposed, I believe you guys doesn't need to use the capacitive key on the bottom of your phone.
So why not change it to something useful?
The steps are simple, you only need to change a string in a system file.

Every time you touch the capacitive home button will be like pressing your POWER button and turn off the screen.

However it will not wake up your phone as it will require kernel modification which is not possible without the source code from xiaomi.

Now you don't need to worry of wearing out the power button. :)
 

wai10691

Senior Member
Aug 16, 2009
1,008
507
Kuala Lumpur
Look for this:
1411632567606.jpg

And change the string "HOME" to "POWER".
1411632580793.jpg

Reboot


Extra tips:

If you want to remove the function of Menu and Back key, you can do so by adding "#" in front the line
Or you can change the "MENU" string to "VOLUME_DOWN"
and "BACK" to "VOLUME_UP" to use them as volume button. No longer have to use the hard button ;D
 
Last edited:
  • Like
Reactions: sivabommakanti

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    For those who is using onscreen navigation key on MI3, thanks to GravityBox and Xposed, I believe you guys doesn't need to use the capacitive key on the bottom of your phone.
    So why not change it to something useful?
    The steps are simple, you only need to change a string in a system file.

    Every time you touch the capacitive home button will be like pressing your POWER button and turn off the screen.

    However it will not wake up your phone as it will require kernel modification which is not possible without the source code from xiaomi.

    Now you don't need to worry of wearing out the power button. :)
    1
    Look for this:
    1411632567606.jpg

    And change the string "HOME" to "POWER".
    1411632580793.jpg

    Reboot


    Extra tips:

    If you want to remove the function of Menu and Back key, you can do so by adding "#" in front the line
    Or you can change the "MENU" string to "VOLUME_DOWN"
    and "BACK" to "VOLUME_UP" to use them as volume button. No longer have to use the hard button ;D