Supported LED Colors


Jul 24, 2011
465
234
65
#1
I have installed Stock Adnroid from Xiaomi and am trying to set up lightflow to change the color of the notification led. How can i know what colors are actually supported by the Mi2? Any app that will probe and tell me or can someone just tell me what options are available in MIUI settings. Thank you.
 

M1cha

Members
May 29, 2011
1,747
2,839
297
#4
The phone has three led's: red, green and blue.
By mixing them you can set any color which is inside the RGB colorspace.
 
Jul 24, 2011
465
234
65
#5
even tho that might be the case all colours do not work when testing with LightFlow...Maybe it's the app and the phone not being fully compatible...
 

M1cha

Members
May 29, 2011
1,747
2,839
297
#6
If you have the option to gain root you can use /sys/class/leds/
But normally the framework should support using the led's you can take a look at framework how it does set the colours.