Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,629 Members 41,250 Now Online
XDA Developers Android and Mobile Development Forum

[SCRIPT] Permanent disabling hardkeys backlight

Tip us?
 
m0narx
Old
#1  
m0narx's Avatar
Recognized Developer - OP
Thanks Meter 6957
Posts: 254
Join Date: Jun 2008
Location: Moscow

 
DONATE TO ME
Wink [SCRIPT] Permanent disabling hardkeys backlight

This is a simple init.d script for permanent disabling hardkeys backlight on any desire rom, without additional software.
Just
rename 54DisableKeybLight.txt in 54DisableKeybLight
adb push 54DisableKeybLight /system/etc/init.d/
adb shell chmod 755 /system/etc/init.d/54DisableKeybLight
OR
flash zip
Attached Files
File Type: zip DisableKeybLight.zip - [Click for QR Code] (4.2 KB, 696 views)
File Type: txt 54DisableKeybLight.txt - [Click for QR Code] (244 Bytes, 554 views)
The Following 5 Users Say Thank You to m0narx For This Useful Post: [ Click to Expand ]
 
juniorxdb
Old
#2  
juniorxdb's Avatar
Senior Member
Thanks Meter 8
Posts: 250
Join Date: Jul 2010
Location: Rio de Janeiro
Do nothing with starburst rom...
 
vnvman
Old
#3  
vnvman's Avatar
Senior Member
Thanks Meter 210
Posts: 2,000
Join Date: Oct 2009
Location: Alba
Quote:
Originally Posted by m0narx View Post
This is a simple init.d script for permanent disabling hardkeys backlight on any desire rom, without additional software.
Just
rename 54DisableKeybLight.txt in 54DisableKeybLight
adb push 54DisableKeybLight /system/etc/init.d/
adb shell chmod 755 /system/etc/init.d/54DisableKeybLight
OR
flash zip
Nice, i'm pretty interested
Which roms has it been tested with?
My toys:
Google Nexus 5
Nokia Lumia 920 White
Samsung Ativ S
Asus Transformer TF300T
Cowon J3 16 GB
 
Sylde
Old
#4  
Sylde's Avatar
Member
Thanks Meter 14
Posts: 87
Join Date: Jul 2010
Don't work on Redux 1.0.0

Edit: but I guess it depends on the kernel, isn't that aimed to sense kernel ?
 
Ninolina
Old
#5  
Ninolina's Avatar
Senior Member
Thanks Meter 1153
Posts: 1,233
Join Date: Dec 2009
Location: Beograd
Quote:
Originally Posted by vnvman View Post
Nice, i'm pretty interested
Which roms has it been tested with?
I am using LeeDroid v2.3d and it's WORKING.. I used flashable zip file.
 
feenty
Old
#6  
feenty's Avatar
Senior Member
Thanks Meter 13
Posts: 193
Join Date: Jan 2009
Location: Budapest
Works with aura 8.4 (the zip)
Thx!

Sent from my HTC Desire using XDA App
... E65 > Kaiser > Diamond> Raphael > Rhodium > Dream > Hero > Bravo > Vision > Ace > Pyramid > Endeavor > M7 > ???
 
wings400
Old
#7  
wings400's Avatar
Senior Member
Thanks Meter 8
Posts: 119
Join Date: Dec 2010
Location: With Alice in Wonderland
Does nothing on latest stock rom.now do i need to flash something or will my phone be ok after i flashed this and it is not working?

Sent from my HTC Desire using Tapatalk
LG G2 4.2.2 stock non root
Samsung Galaxy S+ for fun and music
iPad 2 iOS 7
MBP 13
 
feenty
Old
#8  
feenty's Avatar
Senior Member
Thanks Meter 13
Posts: 193
Join Date: Jan 2009
Location: Budapest
Quote:
Originally Posted by wings400 View Post
Does nothing on latest stock rom.now do i need to flash something or will my phone be ok after i flashed this and it is not working?

Sent from my HTC Desire using Tapatalk
Your rom have to support init.d...
Just flash the zip like roms


Sent from my HTC Desire using XDA App
... E65 > Kaiser > Diamond> Raphael > Rhodium > Dream > Hero > Bravo > Vision > Ace > Pyramid > Endeavor > M7 > ???
 
Bingley
Old
(Last edited by Bingley; 12th May 2011 at 07:36 PM.) Reason: reattach files
#9  
Bingley's Avatar
Senior Member
Thanks Meter 53
Posts: 490
Join Date: Jan 2011
Location: Netherfield
Changed to '/sys/devices/i2c-0/0-0066/leds/button-backlight/brightness' and works on Oxygen & Redux gb roms

attached gb/oxygen 54DisableKeybLight.txt &.zip - follow instructions in OP.

Thank if works; reply/pm if not! I'd love to know if it works or not on which rom.


Reattached files, should work 100% fine now.
Attached Files
File Type: zip DisableKeybLight.zip - [Click for QR Code] (4.2 KB, 313 views)
File Type: txt 54DisableKeybLight.txt - [Click for QR Code] (226 Bytes, 185 views)
The Following 2 Users Say Thank You to Bingley For This Useful Post: [ Click to Expand ]
 
eddiehk6
Old
#10  
eddiehk6's Avatar
Senior Member
Thanks Meter 549
Posts: 1,302
Join Date: Dec 2010
Location: London
exactly what i was looking for, zip flashed in recovery, works on Leedroid 2.4!

Thanks!

Tags
hardkeys backlight
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes