FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

[init.d SCRIPT] Turn OFF touch key light!!!

1,490 posts
Thanks Meter: 179
 
By pyronia, Senior Member on 31st January 2012, 01:50 PM
Post Reply Subscribe to Thread Email Thread
First of all thanks to ketut.kumajaya for finding this

This for kernel that support init.d only, if u on stock please flash CF-ROOT

Its just a simple script to turn off touch key light (the 2 touch key on left and right of your home button)

It save battery when the light is off-forever :P
It can be turn on again when u remove the script...

I'm not a dev, so i just share here the script without cwm zip, i try to make a flashable zip but i cant change the permission...it always goes rwx--r--r when i flash it...sorry

Here the script -> TOUCH KEY LIGHT OFF

Copy it to system/etc/init.d folder then set permission to rwxr-xr-r like below picture...
Click image for larger version

Name:	uploadfromtaptalk1328017715746.png
Views:	2286
Size:	32.0 KB
ID:	880978
Then reboot!

Done! No more back light on the 2 button...like iphone :P (if u admire iphone)


Terminal emulator method:

Put the script to sdcard.
Run terminal then type;
--
su
push 98button-backlight /system/etc/init.d/
--

then..
--
su
chmod 755 /system/etc/init.d/98button-backlight
--

Reboot!

Update: if u download the script via PC and it became notepad file with .txt extention, dont panic dude just put it in your sd then rename the script by remove the ".txt".


Original thread about the script can be found HERE



regards,
γяύs ργяσ
Last edited by pyronia; 5th February 2012 at 03:28 PM.
The Following 11 Users Say Thank You to pyronia For This Useful Post: [ View ]
 
 
31st January 2012, 01:53 PM |#2  
evil_penguin's Avatar
Senior Member
Thanks Meter: 700
 
More
Cool
Will test it
31st January 2012, 01:56 PM |#3  
pyronia's Avatar
OP Senior Member
Flag Puchong
Thanks Meter: 179
 
More
Quote:
Originally Posted by Ayushbhatiapro

Cool
Will test it

Ya...now i can focus on the screen, not the button below...hehe

regards,
γяύs ργяσ
31st January 2012, 02:35 PM |#4  
Member
Thanks Meter: 3
 
Donate to Me
More
Is this script safe to use on the stock rom? I have DXKPB
31st January 2012, 02:39 PM |#5  
pyronia's Avatar
OP Senior Member
Flag Puchong
Thanks Meter: 179
 
More
Quote:
Originally Posted by virtualstefan13

Is this script safe to use on the stock rom? I have DXKPB

Yes, but u do u have init.d support? I use stock rom also with cf-root kernel that support init.d folder..

regards,
γяύs ργяσ
The Following User Says Thank You to pyronia For This Useful Post: [ View ]
31st January 2012, 02:42 PM |#6  
Member
Thanks Meter: 3
 
Donate to Me
More
hmm.. this is just the stock rom.. as in from Samsung... so I dont think I have CF-Root. Thanks for the info. I'll check for CF-Root roms
31st January 2012, 02:45 PM |#7  
pyronia's Avatar
OP Senior Member
Flag Puchong
Thanks Meter: 179
 
More
Quote:
Originally Posted by virtualstefan13

hmm.. this is just the stock rom.. as in from Samsung... so I dont think I have CF-Root. Thanks for the info. I'll check for CF-Root roms

I update 1st post...u can find cf-root above...

regards,
γяύs ργяσ
The Following User Says Thank You to pyronia For This Useful Post: [ View ]
31st January 2012, 02:48 PM |#8  
Member
Thanks Meter: 3
 
Donate to Me
More
Quote:
Originally Posted by pyronia

I update 1st post...u can find cf-root above...

regards,
γяύs ργяσ

Thanks! Thanks! Thanks! (wouldn't let me post below 10 Characters)
31st January 2012, 02:50 PM |#9  
pyronia's Avatar
OP Senior Member
Flag Puchong
Thanks Meter: 179
 
More
Quote:
Originally Posted by virtualstefan13

Thanks! Thanks! Thanks! (wouldn't let me post below 10 Characters)

Your welcome it works wonder on my ace...

regards,
γяύs ργяσ
31st January 2012, 03:06 PM |#10  
KcLKcL's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 303
 
Donate to Me
More
Quote:
Originally Posted by virtualstefan13

hmm.. this is just the stock rom.. as in from Samsung... so I dont think I have CF-Root. Thanks for the info. I'll check for CF-Root roms

CF-Root is a kernel, you can flash CF-Root on a stock DXKPB.
31st January 2012, 03:08 PM |#11  
Recognized Developer
Flag Bekasi
Thanks Meter: 9,601
 
Donate to Me
More
There's alot of update.zip file around here, from CF-Root for an example. Use it as a reference! To disable a script, you can change script permissions to 644 (rw-r--r--) from 755 (rwxr-xr-x).

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes