You want your capacitive buttons more dim, but don't want to go through the trouble of flashing a kernel? Fear not! Team Xposed has you covered.
It's a very simple process actually. (Thank you to joe85 and mwalt2 for their sources!)
There are three ways to achieve this.
-One of them requires init.d (the script will change the value upon boot)
-Second of them can be inserted into the kernel ramdisk
-Third of them can be done manually.
Let's start with the easiest, which is manually. With your phone connected to ADB, OR in a terminal emulator, simply type this in:
echo 2 > /sys/devices/platform/leds-pm8058/leds/button-backlight/currents
After tinkering for a bit, I've found that 2 is the dimmest it'll go. 1 turns them off, or makes them so dim that I can't tell between them being turned off or not. I don't know what the largest value is that you can use either, but this is for dimming, so who cares how bright you can do?
I've taken the steps to insert it into my kernel ramdisk, and you can too. Just insert that line in bootcomplete.rc or where ever you feel comfortable in ramdisk.
Now, for those who want to use it as an init.d script, I've attached a flashable zip at the bottom, or you can do it yourself by using root explorer to edit any current scripts in your /system/etc/init.d folder and placing the same line in there.
I'd tinker with values in ADB first to find a value that fits you best. The flashable zip I'm attaching has the value set at 2.
NOTE: Make sure your kernel supports init.d if you choose to flash the zip. (Most of them do, it's just a disclaimer to cover my ass for the "it doesn't work" replies)
It's a very simple process actually. (Thank you to joe85 and mwalt2 for their sources!)
There are three ways to achieve this.
-One of them requires init.d (the script will change the value upon boot)
-Second of them can be inserted into the kernel ramdisk
-Third of them can be done manually.
Let's start with the easiest, which is manually. With your phone connected to ADB, OR in a terminal emulator, simply type this in:
echo 2 > /sys/devices/platform/leds-pm8058/leds/button-backlight/currents
After tinkering for a bit, I've found that 2 is the dimmest it'll go. 1 turns them off, or makes them so dim that I can't tell between them being turned off or not. I don't know what the largest value is that you can use either, but this is for dimming, so who cares how bright you can do?
I've taken the steps to insert it into my kernel ramdisk, and you can too. Just insert that line in bootcomplete.rc or where ever you feel comfortable in ramdisk.
Now, for those who want to use it as an init.d script, I've attached a flashable zip at the bottom, or you can do it yourself by using root explorer to edit any current scripts in your /system/etc/init.d folder and placing the same line in there.
I'd tinker with values in ADB first to find a value that fits you best. The flashable zip I'm attaching has the value set at 2.
NOTE: Make sure your kernel supports init.d if you choose to flash the zip. (Most of them do, it's just a disclaimer to cover my ass for the "it doesn't work" replies)