FORUMS
Remove All Ads from XDA

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

n/a posts
Thanks Meter: 0
 
By nfs1mw, Guest on 11th August 2013, 10:28 PM
Post Reply Email Thread
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 ?
 
 
12th August 2013, 12:19 AM |#2  
geeshiet's Avatar
Senior Member
Thanks Meter: 90
 
More
Quote:
Originally Posted by nfs1mw

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
Quote:

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
The Following User Says Thank You to geeshiet For This Useful Post: [ View ] Gift geeshiet Ad-Free
12th August 2013, 06:34 AM |#3  
kuma82's Avatar
Senior Member
Flag Houston
Thanks Meter: 945
 
More
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
Attached Files
File Type: txt disable_led.txt - [Click for QR Code] (342 Bytes, 192 views)
The Following 3 Users Say Thank You to kuma82 For This Useful Post: [ View ] Gift kuma82 Ad-Free
nfs1mw
13th August 2013, 03:20 AM |#4  
Guest
Thanks Meter: 0
 
More
Quote:
Originally Posted by geeshiet

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.

Quote:
Originally Posted by kuma82

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 .
Attached Files
File Type: zip disable-softkey-backlight.zip - [Click for QR Code] (140.9 KB, 895 views)
The Following 2 Users Say Thank You to For This Useful Post: [ View ] Gift Ad-Free
13th August 2013, 04:57 AM |#5  
kuma82's Avatar
Senior Member
Flag Houston
Thanks Meter: 945
 
More
My job was to just show you the way and you take care of the rest.

CM 10.1 P769
11th December 2013, 10:07 AM |#6  
s0aPii's Avatar
Junior Member
Thanks Meter: 2
 
More
I'm using Huawei honor U8860 and this worked for me, thank you so much
The Following User Says Thank You to s0aPii For This Useful Post: [ View ] Gift s0aPii Ad-Free
8th March 2014, 10:24 AM |#7  
Junior Member
Thanks Meter: 0
 
More
not work for cm10.. and brick my phone hehehe sad
8th March 2014, 07:03 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by kuma82

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 ??
8th March 2014, 10:30 PM |#9  
kuma82's Avatar
Senior Member
Flag Houston
Thanks Meter: 945
 
More
Quote:
Originally Posted by neodanone

and how to enable again ??

Reboot phone

Sent from my LGMS769 using XDA Premium 4 mobile app
The Following User Says Thank You to kuma82 For This Useful Post: [ View ] Gift kuma82 Ad-Free
8th March 2014, 11:46 PM |#10  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by kuma82

Reboot phone

Sent from my LGMS769 using XDA Premium 4 mobile app

ah oke its work, flashable zip right ur script isn't work make a bootloop but if I type its work
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes