Post Reply

[SCRIPT] Permanent disabling hardkeys backlight

24th February 2011, 08:00 AM   |  #1  
m0narx's Avatar
OP Recognized Developer
Flag Moscow
Thanks Meter: 6,979
 
254 posts
Join Date:Joined: Jun 2008
Donate to Me
More
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, 697 views)
File Type: txt 54DisableKeybLight.txt - [Click for QR Code] (244 Bytes, 555 views)
The Following 5 Users Say Thank You to m0narx For This Useful Post: [ View ]
24th February 2011, 10:18 PM   |  #2  
juniorxdb's Avatar
Senior Member
Flag Rio de Janeiro
Thanks Meter: 8
 
250 posts
Join Date:Joined: Jul 2010
More
Do nothing with starburst rom...
24th February 2011, 10:33 PM   |  #3  
vnvman's Avatar
Senior Member
Flag Alba
Thanks Meter: 210
 
2,000 posts
Join Date:Joined: Oct 2009
More
Quote:
Originally Posted by m0narx

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?
24th February 2011, 10:56 PM   |  #4  
Sylde's Avatar
Member
Thanks Meter: 14
 
88 posts
Join Date:Joined: 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 ?
24th February 2011, 10:57 PM   |  #5  
Ninolina's Avatar
Senior Member
Flag Beograd
Thanks Meter: 1,154
 
1,240 posts
Join Date:Joined: Dec 2009
More
Quote:
Originally Posted by vnvman

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.
25th February 2011, 06:57 AM   |  #6  
feenty's Avatar
Senior Member
Flag Budapest
Thanks Meter: 13
 
194 posts
Join Date:Joined: Jan 2009
More
Works with aura 8.4 (the zip)
Thx!

Sent from my HTC Desire using XDA App
25th February 2011, 07:19 AM   |  #7  
wings400's Avatar
Senior Member
Flag With Alice in Wonderland
Thanks Meter: 8
 
119 posts
Join Date:Joined: Dec 2010
More
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
25th February 2011, 07:24 AM   |  #8  
feenty's Avatar
Senior Member
Flag Budapest
Thanks Meter: 13
 
194 posts
Join Date:Joined: Jan 2009
More
Quote:
Originally Posted by wings400

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
13th April 2011, 09:32 AM   |  #9  
Bingley's Avatar
Senior Member
Flag Netherfield
Thanks Meter: 56
 
535 posts
Join Date:Joined: Jan 2011
More
Smile
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, 314 views)
File Type: txt 54DisableKeybLight.txt - [Click for QR Code] (226 Bytes, 186 views)
Last edited by Bingley; 12th May 2011 at 07:36 PM. Reason: reattach files
The Following 2 Users Say Thank You to Bingley For This Useful Post: [ View ]
16th April 2011, 02:30 PM   |  #10  
eddiehk6's Avatar
Senior Member
Flag London
Thanks Meter: 582
 
1,375 posts
Join Date:Joined: Dec 2010
More
exactly what i was looking for, zip flashed in recovery, works on Leedroid 2.4!

Thanks!

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes


Top Threads in Desire Android Development by ThreadRank