5,597,501 Members 31,833 Now Online
XDA Developers Android and Mobile Development Forum

[SCRIPT] LED Controller

Tip us?
 
Sahaab
Old
(Last edited by Sahaab; 9th January 2014 at 09:54 PM.)
#1  
Sahaab's Avatar
Recognized Contributor - OP
Thanks Meter 2749
Posts: 3,130
Join Date: May 2013
Location: Islamabad

 
DONATE TO ME
Default [SCRIPT] LED Controller


This is a small LED controller script
There are many better APPS out there which will probably be better then this script
I just made this script because i wanted to be able to control every single LED differently

Advantages of this script:
- Can control all 3 LEDs differently
- Can edit brightness of all the LEDs

Disadvantages:
- Editing LED colors is slow
- LEDs stay on even after closing screen
- Requires various testing to get different colors according to the 3 base colors ( Blue , Green , Red )
- Can Sometimes Change LED color of some other stuff according to what u have set ( For Example, if you have low battery, and you set the right and left LEDs to red, then these LEDs also blink ) ( Another Example, I set Middle LED to orange and then Increased its Brightness, Now Charging LED Brightness is a Little More )
- Everything is Reset After Boot

Credits:
- @DooMLoRD

There Are 2 Scripts, I recommend to download both
1st is LED_Controller ( The Main Script )
2nd is LED_off ( To stop all the modifications and reset LEDs to 0 )

Instructions:
- Just Download both zips and run using Script Manager and follow the instructions told

LED Controller
LED Off

Please Press Thank You If I Helped You Out
No SHARING Of My Work Is Allowed, Thank You


My Contributions
The Following 4 Users Say Thank You to Sahaab For This Useful Post: [ Click to Expand ]
 
Sahaab
Old
#2  
Sahaab's Avatar
Recognized Contributor - OP
Thanks Meter 2749
Posts: 3,130
Join Date: May 2013
Location: Islamabad

 
DONATE TO ME
I Have Told You In Previous Post That There Are Better Apps Out There, So Please Do Not Say That This And That Is Better
Thank You
Please Press Thank You If I Helped You Out
No SHARING Of My Work Is Allowed, Thank You


My Contributions
The Following User Says Thank You to Sahaab For This Useful Post: [ Click to Expand ]
 
RuchRha
Old
#3  
RuchRha's Avatar
Senior Member
Thanks Meter 930
Posts: 494
Join Date: Aug 2013
Location: New Delhi
Great work man! Glad to see you here in SP forum
Devices I use/Develop For : Note 3, LG G2, XPERIA Z1 , XPERIA SP, Lumia 1520,

Useful Guides For Newbies : [GUIDE]New User XDA / [GUIDE]How-To Get Moderator's Help

The Following User Says Thank You to RuchRha For This Useful Post: [ Click to Expand ]
 
Sahaab
Old
#4  
Sahaab's Avatar
Recognized Contributor - OP
Thanks Meter 2749
Posts: 3,130
Join Date: May 2013
Location: Islamabad

 
DONATE TO ME
Ya just recently bought a xperia SP
But its sim locked
Might be making a rom when 4.3 is released

Sent from my C5306 using xda app-developers app
Please Press Thank You If I Helped You Out
No SHARING Of My Work Is Allowed, Thank You


My Contributions
The Following User Says Thank You to Sahaab For This Useful Post: [ Click to Expand ]
 
s.bluedreams
Old
#5  
s.bluedreams's Avatar
Senior Member
Thanks Meter 125
Posts: 190
Join Date: Jan 2013
Location: ZHD
Quote:
Originally Posted by Sahaab View Post

This is a small LED controller script
There are many better APPS out there which will probably be better then this script
I just made this script because i wanted to be able to control every single LED differently

Advantages of this script:
- Can control all 3 LEDs differently
- Can edit brightness of all the LEDs

Disadvantages:
- Editing LED colors is slow
- LEDs stay on even after closing screen
- Requires various testing to get different colors according to the 3 base colors ( Blue , Green , Red )
- Can Sometimes Change LED color of some other stuff according to what u have set ( For Example, if you have low battery, and you set the right and left LEDs to red, then these LEDs also blink ) ( Another Example, I set Middle LED to orange and then Increased its Brightness, Now Charging LED Brightness is a Little More )
- Everything is Reset After Boot

Credits:
- @DooMLoRD

There Are 2 Scripts, I recommend to download both
1st is LED_Controller ( The Main Script )
2nd is LED_off ( To stop all the modifications and reset LEDs to 0 )

Instructions:
- Just Download both zips and run using Script Manager and follow the instructions told

LED Controller
LED Off

ooh very good my bro, exelent
The Following User Says Thank You to s.bluedreams For This Useful Post: [ Click to Expand ]
 
STONEMF2
Old
#6  
STONEMF2's Avatar
Member
Thanks Meter 5
Posts: 87
Join Date: Nov 2010
Location: delhi
hi the, bro i have high hopes from you. i have been using this phone for quite long....but i m unable to come across any app which can set my led control to police strobe light for missed call notification i.e when i get a missed call my phone should flash like police strobe light (red white blue). let me know if its possible with your script and how?
Thanx
 
Sahaab
Old
#7  
Sahaab's Avatar
Recognized Contributor - OP
Thanks Meter 2749
Posts: 3,130
Join Date: May 2013
Location: Islamabad

 
DONATE TO ME
Quote:
Originally Posted by STONEMF2 View Post
hi the, bro i have high hopes from you. i have been using this phone for quite long....but i m unable to come across any app which can set my led control to police strobe light for missed call notification i.e when i get a missed call my phone should flash like police strobe light (red white blue). let me know if its possible with your script and how?
Thanx
with my script, sorry it will not be possible
Please Press Thank You If I Helped You Out
No SHARING Of My Work Is Allowed, Thank You


My Contributions
 
flopezm
Old
#8  
Member
Thanks Meter 12
Posts: 55
Join Date: Dec 2012
Dowloading

Enviado desde mi XT530 usando Tapatalk 2
 
pa_abu88
Old
#9  
pa_abu88's Avatar
Junior Member
Thanks Meter 1
Posts: 17
Join Date: Nov 2013
Location: Shah Alam
Can i make my led flashlight as a torchlight after using this scripts?

Sent from my XT530 using xda premium
 
Sahaab
Old
#10  
Sahaab's Avatar
Recognized Contributor - OP
Thanks Meter 2749
Posts: 3,130
Join Date: May 2013
Location: Islamabad

 
DONATE TO ME
Quote:
Originally Posted by pa_abu88 View Post
Can i make my led flashlight as a torchlight after using this scripts?

Sent from my XT530 using xda premium
this is not for the LED flashlight sorry

but for the torchlight u shud have the small app? if u dont download from play store
Please Press Thank You If I Helped You Out
No SHARING Of My Work Is Allowed, Thank You


My Contributions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes