hi,
this little guide explain how to disable completely ( brightness and touch) of hardware buttons.
PRE-REQUISITES:
-ROOT
-file manager with root permission
-terminal emulator
HOW TO:
-DISABLE SOFT KEYS
-with file manager open
/system/build.prop
and add this line at the end of file
(when you want to restore change 0 to 1)
-create a copy of
/system/usr/keylayout/touch_dev.kl
on you sdcard (for restore)
-with your file manager open
/system/usr/keylayout/touch_dev.kl
go to the end of file and under:
delete the line incoming with:
and save the file!
!!WARNING!! this disable the keys!
- DISABLE SOFT KEYS BACKLIGHT
-on terminal emulator with root permission insert this code:
and
-YOU ARE DONE!!
sometimes the brightness are restored but you can do a script to do this 2 lines of code at startup with Rom toolbox
if i help you click thanks )
Inviato dal mio LG-P880 usando XDA Premium HD app
this little guide explain how to disable completely ( brightness and touch) of hardware buttons.
PRE-REQUISITES:
-ROOT
-file manager with root permission
-terminal emulator
HOW TO:
-DISABLE SOFT KEYS
-with file manager open
/system/build.prop
and add this line at the end of file
Code:
qemu.hw.mainkeys=0
-create a copy of
/system/usr/keylayout/touch_dev.kl
on you sdcard (for restore)
-with your file manager open
/system/usr/keylayout/touch_dev.kl
go to the end of file and under:
Code:
#x3 synaptics touch
Code:
key158
key139
key102
!!WARNING!! this disable the keys!
- DISABLE SOFT KEYS BACKLIGHT
-on terminal emulator with root permission insert this code:
Code:
echo 0 >/sys/devices/platform/button-backlight/leds/button-backlight/brightness
Code:
echo 0 >/sys/devices/platform/button-backlight/leds/button-backlight/max_brightness
sometimes the brightness are restored but you can do a script to do this 2 lines of code at startup with Rom toolbox
if i help you click thanks )
Inviato dal mio LG-P880 usando XDA Premium HD app
Last edited: