FORUMS
Remove All Ads from XDA

 View Poll Results: How useful was this app for you?

Extremely useful, I loved it
 
3 Vote(s)
100.00%
Very useful
 
0 Vote(s)
0%
Not much
 
0 Vote(s)
0%
Useless
 
0 Vote(s)
0%

[4.3+][APP][ROOT] LED Control 1.3 - for Motorola Devices (MULTI-COLOR SUPPORT!)

500 posts
Thanks Meter: 179
 
By KDB223, Senior Member on 21st February 2015, 05:26 PM
Post Reply Email Thread
Hey people!
UPDATE: Now supports MULTIPLE LED COLORS!
Go ahead and give it a try!


To the world, I proudly present my first ever Android app
LED Control Banner
LED Control

So what does it do?
Lets the user select kernel specific "charging triggers" for the device's LED which will make it light up when plugged in depending on the specific "charging triggers"

Why this app?
Well all of these triggers can be set from the command line, but I found it to be very cumbersome and tedious. Motivated by my laziness, I created this app. Although it was intended for the Moto G, I discovered that it would also work on Moto X, E and Nexus 6 too, theoretically on any device which has a "charging" LED.
Features:
  • Clean and simple UI (I have tried my best to make it Material Design compliant)
  • Brightness Slider: Control your 'charging' LED's brightness while charging, if your device supports it. Currently works only on Moto X and Nexus 6.
  • Set On Boot [PRO only] : Automatically sets the last chosen trigger on a reboot, since the values are reset each time the kernel restarts. Available in Pro version only.
  • LED Color [PRO only] NEW : Choose between 3 LED colors if your device supports it (Nexus 6, Moto X, Droid Ultra). Available in Pro version only. (Read NOTE below)
  • Available triggers: (You may not see all in your device)
    • While Charging
    • While Charging through Adapter
    • Battery Full
    • While Charging or Battery Full
    • While Charging (Blnking) or Battery Full
    • While connected to USB
    • When Display is on
    • On Internal Storage I/O Activity
    • On External Storage I/O Activity
    • When flashlight (rear LED) is on
    • When camera flash (rear LED) is on
    • When Bluetooth is enabled
    • Always on
* ROOT ACCESS IS REQUIRED *
Instructions:
  1. Grant Root access on first run
  2. Enable the Master Switch
  3. Select a trigger and optionally choose brightness.
  4. Plug in your charger and see the magic

There are different triggers for different devices, so try experimenting

Screenshots: (from Pro Version) (Screenshots are outdated; will update soon. Till then I recommend viewing them on Play Store itself)








NOTE:
  1. This will 'enable' the hidden LED on your Moto X/Nexus 6. This app cannot set it to be used for notifications; it can only use it as a charging indicator.
  2. The Brightness slider will not work on devices where there's a kernel limitation on setting the brightness- specifically the Moto G and Moto E.
  3. Moto G and Moto X in this whole post refer to 2013 models only, I have not tested on 2014 models.
  4. The app is tested and confirmed working on Nexus 6, Moto G, E, X and Droid Ultra/MAXX. However, it may also work on a Motorola phone other than the above, so give it a try, can't hurt
  5. The newly added LED Color implementation is still in development and is not perfect, so you may encounter bugs. If so, kindly let me know. Thanks!
Downloads:
P.S: Since I'm utterly new to Android/Java programming this app took me several hours spanned over several weeks to build. But it was an awesome experience and I had a heck of a time coding it.
I look forward to making more apps in 2015.
Reporting Compatibility: If this app works on your device, and its not among the ones mentioned above, please reply to this thread with your device's details or send me a PM.

Source: This app is open source too! Grab it on Github here. Feel free to take a look and suggest fixes to imperfections, if any.

WARNING
This app has the potential of blocking your notification LED if you use a Moto G/ Moto E (a separate LED blinks just beside the dedicated charging LED but you might not notice it).
Please be aware that I (KDB223), nor XDA nor anyone but you yourself are responsible for the consequences of you missing an important notification due to this app.


Credits :
The Following 14 Users Say Thank You to KDB223 For This Useful Post: [ View ] Gift KDB223 Ad-Free
 
 
21st February 2015, 05:41 PM |#2  
KDB223's Avatar
OP Senior Member
Flag Liberty City
Thanks Meter: 179
 
More
Info 2
Changelog:
  • 1.3.2 (added 25/3/15):
    • Hotfix for a bug with root access request wheel on pre-Lollipop devices
  • 1.3.1 (added 25/3/15):
    • Major bugfix for no triggers showing
    • Minor GUI bugfix
    • Added more Material Design for pre-Lollipop devices (root access progress wheel)
    P.S: Sorry for the delay in the update, my laptop was down for a while.
  • 1.3 (added 7/3/15):
    • Introducing multi-color support! Choose between 3 LED Colors!
    • Fixed an FC bug
    • Minor changes to working algorithm
  • 1.2 (added 28/2/15):
    • Added support for more devices! Should now work on many rooted Motorola phones (including 'Droids')! Tested on Droid Ultra/MAXX
    • Added an option to disable notification on boot
    • Increased coding efficiency
    • Many minor bugfixes
  • 1.1.2 (added 25/2/15):
    • Reduced APK file size by 30% (Pro Version)
    • Minor GUI optimization for Lollipop (bug-free ripple)
  • 1.1 (added 24/2/15):
    • Added 4 new triggers (2 each for Moto G and Nexus 6)
    • Optimized app startup
  • 1.0.2 (Added 22/2/15):
    • Fixed all force-close bugs on some devices
  • 1.0 :
    • Initial Release
The Following User Says Thank You to KDB223 For This Useful Post: [ View ] Gift KDB223 Ad-Free
22nd February 2015, 05:49 AM |#3  
Junior Member
Flag Banjarmasin
Thanks Meter: 4
 
More
Unhappy I got FC after installing
Hallo sir.
Thx for creating this application.
After i download and i try to open just got force close.
I try on moto g 2013 (xt 1033) Stock Lollipop 5.0.2 optimized flashable zip + kitkat bootloader + root.
Please fix
22nd February 2015, 06:34 AM |#4  
saramon's Avatar
Senior Member
Flag Salt Lake City
Thanks Meter: 254
 
More
Also immediate force close
The Following User Says Thank You to saramon For This Useful Post: [ View ] Gift saramon Ad-Free
22nd February 2015, 07:25 AM |#5  
KDB223's Avatar
OP Senior Member
Flag Liberty City
Thanks Meter: 179
 
More
Removed.
I'm working on the bugs.
22nd February 2015, 09:18 AM |#6  
KDB223's Avatar
OP Senior Member
Flag Liberty City
Thanks Meter: 179
 
More
Quote:
Originally Posted by saramon

Also immediate force close

Quote:
Originally Posted by aroel_gitoe

After i download and i try to open just got force close.
Please fix

All FC bugs now fixed
The Following User Says Thank You to KDB223 For This Useful Post: [ View ] Gift KDB223 Ad-Free
22nd February 2015, 09:56 PM |#7  
Senior Member
Flag Mendoza
Thanks Meter: 3,931
 
More
@KDB223


If I were you, I'd specify what Moto G/X variants does this runs on. I mean, you have a Moto G 2013 (the XT1033 model), so you tested it on that, but, have you tested it on the 2014 variants? If not it would be a good idea to specify that "this has been tested on the 2013 variants only".

Because there is some people who can be confused with the variants.
The Following User Says Thank You to Paul L. For This Useful Post: [ View ] Gift Paul L. Ad-Free
22nd February 2015, 09:58 PM |#8  
Jrmiller's Avatar
Senior Member
Flag Medina, Ohio
Thanks Meter: 154
 
More
if this works as you say it does then youre a god.
22nd February 2015, 10:41 PM |#9  
TheLoverMan's Avatar
Senior Member
Thanks Meter: 42
 
More
anyone tried on nexus 6 ?


EDIT

works okish, on the paid version do u get more triggers?
23rd February 2015, 12:23 AM |#10  
KDB223's Avatar
OP Senior Member
Flag Liberty City
Thanks Meter: 179
 
More
Quote:
Originally Posted by TheLoverMan

anyone tried on nexus 6 ?


EDIT

works okish, on the paid version do u get more triggers?

No its just the ability to set it on boot automatically and basically donation.
I can look into adding more triggers if possible.
23rd February 2015, 12:24 AM |#11  
KDB223's Avatar
OP Senior Member
Flag Liberty City
Thanks Meter: 179
 
More
Quote:
Originally Posted by Paul L.

@KDB223


If I were you, I'd specify what Moto G/X variants does this runs on. I mean, you have a Moto G 2013 (the XT1033 model), so you tested it on that, but, have you tested it on the 2014 variants? If not it would be a good idea to specify that "this has been tested on the 2013 variants only".

Because there is some people who can be confused with the variants.

It clearly says so in the screenshots but I'll do it anyway
Post Reply Subscribe to Thread

Tags
charging, hardware, led, light, root

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes