[How-To] Turn off - Softkey light - keeps off after reboot - [17/3]

ColanderBrain

Senior Member
Feb 27, 2013
62
44
0
Tuernitz
I wrote a little Script to turn off the Softkeylight for our O3D because the Apps i could find doing so don't keep the settings after a reboot.

I'm not responsible for any damage on your Phone using this Script.

Just copy the file inside the .zip("softkeylight") with a file manager, eg. Root Explorer,..., to "system/etc/init.d" reboot and enjoy.:)

If you wanna get back the Softkeylight, then simply remove the file("softkeylight") from "system/etc/init.d" and reboot.

For everyone who uses a stock Kernel then follow this Thread for enabling init.d support.(You'll need at least the device rootet and busybox being installed).
 

Attachments

Last edited:

ColanderBrain

Senior Member
Feb 27, 2013
62
44
0
Tuernitz
what exactly does this Script do does it turn of the Led buttons ? and does it work on CM10.1
Yes, it simply turns off the Backlight of the Softkeyleduttons on boot. Yes it works on CM10.1 :)

(It actually pushes the value 0 to the file "/sys/devices/platform/keypad_led/leds/button-backlight/brightness" gives permissions to it, because when you change the value inside manually, it will not stay after reboot. The Script does this on every boot.)
 
Last edited:

OS_Hacking

Senior Member
Sep 10, 2012
529
957
0
Re: [How-To] Turn off - Softkey light - keeps off after reboot

This won't work on any ROM without init.d enabled or custom kernel with init.d enabled .
Init.d scripts (as yours) is just a Unix commands that will be exaused on every reboot .
You can make it as a flashable zip with the needed files for init.d (you can find them for any android) .
However , Thanks , will be useful .


Sent From My LG-P880 (O4X) .
By Pressing "THANKS" You Will Help Me .
 
Last edited:

ColanderBrain

Senior Member
Feb 27, 2013
62
44
0
Tuernitz
This won't work on any ROM without init.d enabled or custom kernel with init.d enabled .
Init.d scripts (as yours) is just a Unix commands that will be exaused on every reboot .
You can make it as a flashable zip with the needed files for init.d (you can find them for any android) .
However , Thanks , will be useful .
.
Thanks for the suggestion, but i put a link inside post#1 to a good Thread for enabling init.d support instead because you'll need the device rooted and busybox installed and there're too many threads here on xda for this. Am not gonna make another one. I just wanted to share what i've found out and couldn't find anywhere. It's not that difficcult to move a file manually.:)
 
Last edited: