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

How useful was this app for you?

  • Extremely useful, I loved it

    Votes: 3 100.0%
  • Very useful

    Votes: 0 0.0%
  • Not much

    Votes: 0 0.0%
  • Useless

    Votes: 0 0.0%

  • Total voters
    3
  • Poll closed .

KDB223

Senior Member
Aug 15, 2013
525
211
0
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

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
:D
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. :good:
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 :
 

Attachments

Last edited:

KDB223

Senior Member
Aug 15, 2013
525
211
0
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
 
Last edited:
  • Like
Reactions: Strife89

aroel_gitoe

Member
Dec 16, 2011
8
5
23
29
Banjarmasin
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
 

Paul L.

Senior Member
Nov 22, 2011
950
3,870
123
30
Mendoza
@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.
 
  • Like
Reactions: KDB223

KDB223

Senior Member
Aug 15, 2013
525
211
0
@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 :)
 

boros2222

Senior Member
Sep 29, 2012
168
26
0
I am a bit confused. Does Moto G have 2 LEDs? One for charging and one for notifications? If so, why is the second LED disabled by default?