[Q] How to disable soft-keys backlight in CM10.1?

Search This thread
N

nfs1mw

Guest
Hi,
I want to disable the soft-keys (those beside the hardware home button) and their back light in CM10.1 Rom.

Actually I want to use the Navigation bar (interface soft-keys) just like in nexus devices.

But the official CM10.1 Rom doesn't has any setting to enable navigation bar . And there is no advanced settings to disable soft-keys back light or to disable soft-keys.


I managed to enable Navigation bar and disable soft-keys by following this thread . But the soft-keys back light is still present.

Next, I followed this thread to disable soft-keys back light. But it didn't work. Infact there is no such setting as this ( <bool name="config_autoBrightnessButtonKeyboard">true</bool> ) in bools.xml. I tried adding that new line with no result.


So, how can I disable soft-keys backlight ?
 

geeshiet

Senior Member
May 26, 2013
459
90
Hi,
I want to disable the soft-keys (those beside the hardware home button) and their back light in CM10.1 Rom.

Actually I want to use the Navigation bar (interface soft-keys) just like in nexus devices.

But the official CM10.1 Rom doesn't has any setting to enable navigation bar . And there is no advanced settings to disable soft-keys back light or to disable soft-keys.


I managed to enable Navigation bar and disable soft-keys by following this thread . But the soft-keys back light is still present.

Next, I followed this thread to disable soft-keys back light. But it didn't work. Infact there is no such setting as this ( <bool name="config_autoBrightnessButtonKeyboard">true</bool> ) in bools.xml. I tried adding that new line with no result.


So, how can I disable soft-keys backlight ?

Go on dialer and type
3845#*YOUR VARIANT PHONE MODEL#
for example mine is p769. I type 3845#*769#. After, go on "H/W device test" and scroll down till you see Touch Led brightness and select off.

Sent from my LG-P769 using Tapatalk 4
 

kuma82

Senior Member
Jan 19, 2012
1,783
941
Houston
run this as su

#!/system/bin/sh
#disable Key Backlight
echo begin set Key Backlight - KB
echo KB - set permissions rw
chmod 0666 /sys/class/leds/button-backlight/brightness
echo KB - set Key Backlight 0
echo "0" > /sys/class/leds/button-backlight/brightness
echo KB - set permissions ro
chmod 0444 /sys/class/leds/button-backlight/brightness
echo KB - done!


note: I did not create this, just sharing
 

Attachments

  • disable_led.txt
    342 bytes · Views: 201
Last edited:
N

nfs1mw

Guest
Go on dialer and type for example mine is p769. I type 3845#*769#. After, go on "H/W device test" and scroll down till you see Touch Led brightness and select off.

Sent from my LG-P769 using Tapatalk 4

I can't find hidden menu in CM10.1 with this trick. The menu appears in stock rom.

run this as su

#!/system/bin/sh
#disable Key Backlight
echo begin set Key Backlight - KB
echo KB - set permissions rw
chmod 0666 /sys/class/leds/button-backlight/brightness
echo KB - set Key Backlight 0
echo "0" > /sys/class/leds/button-backlight/brightness
echo KB - set permissions ro
chmod 0444 /sys/class/leds/button-backlight/brightness
echo KB - done!


note: I did not create this, just sharing

That worked. Thank you so much. . But the setting is lost on reboot. I have pushed the script file to /etc/init.d/ to start the script everytime on boot.

I'm attaching the recovery flashable zip file below incase anyone needs it. Flashing it from recovery in CM10.1 ROM disables the softkey backlight .
 

Attachments

  • disable-softkey-backlight.zip
    140.9 KB · Views: 908

neodanone

Member
Feb 22, 2014
17
0
run this as su

#!/system/bin/sh
#disable Key Backlight
echo begin set Key Backlight - KB
echo KB - set permissions rw
chmod 0666 /sys/class/leds/button-backlight/brightness
echo KB - set Key Backlight 0
echo "0" > /sys/class/leds/button-backlight/brightness
echo KB - set permissions ro
chmod 0444 /sys/class/leds/button-backlight/brightness
echo KB - done!


note: I did not create this, just sharing

and how to enable again ??:eek:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    run this as su

    #!/system/bin/sh
    #disable Key Backlight
    echo begin set Key Backlight - KB
    echo KB - set permissions rw
    chmod 0666 /sys/class/leds/button-backlight/brightness
    echo KB - set Key Backlight 0
    echo "0" > /sys/class/leds/button-backlight/brightness
    echo KB - set permissions ro
    chmod 0444 /sys/class/leds/button-backlight/brightness
    echo KB - done!


    note: I did not create this, just sharing
    1
    I'm using Huawei honor U8860 and this worked for me, thank you so much :D
    1
    and how to enable again ??:eek:

    Reboot phone

    Sent from my LGMS769 using XDA Premium 4 mobile app