samedi 25 janvier 2014

[Guide/Mod] Disable Power Button in Jellybean 4.1.2 topic




Disable Power Button Mod

This will ONLY work in the E4GT JB 4.1.2 build please do not use this mod on any other build.

Due to the high failure rate of the power button on our older phones, this is a hardware key mod that will disable the power button on our E4GT phones in JB.

Flash this mod in recovery mode.
Please make certain you have a current backup already saved to your phone.
I will not be responsible if your rom does not boot or has any other issues.

Brief guide:
For our builds this is a simple edit of two files.
system/usr/keylayout/Generic.kl
system/usr/keylayout/gpio-keys.kl

Place a comment in front of any line that is still active with the keyword POWER

Example gpio-keys.kl edit

Before:

Code:


key 115  VOLUME_UP        WAKE
key 114  VOLUME_DOWN      WAKE
key 116  POWER            WAKE
key 172  HOME              WAKE


After:

Code:


key 115  VOLUME_UP        WAKE
key 114  VOLUME_DOWN      WAKE
# key 116  POWER            WAKE
key 172  HOME              WAKE











Aucun commentaire:

Enregistrer un commentaire