LED Color Changes by Screen Type

cristianpark

Senior Member
What ROM are you on sir?

If you have adb shell root access can you try this in adb shell?

echo 255 > /sys/class/leds/purple/blink

Thanks
Great thread, I don't know how to chek the code name of my device but I think it's MAG138 since it's Global Version.
I have LineageOS Unofficial (10/29 build) and with this command I can see the LED blinking purple and green (after I locked the phone), there is no way to change white LED notification though, every color I choose in settings end up in white LED notification
 
Last edited:
  • Like
Reactions: onestoploser

Usr666

Member
Nov 11, 2017
14
5
0
Great thread, I don't know how to chek the code name of my device but I think it's MAG138 since it's Global Version.
I have LineageOS Unofficial (10/29 build) and with this command I can see the LED blinking purple and green (after I locked the phone), there is no way to change white LED notification though, every color I choose in settings end up in white LED notification
You should try Tasker for RGB LED.
I think you can find some methods with Tasker at this forum.
 
  • Like
Reactions: cristianpark

leechseed

Senior Member
Jun 27, 2012
874
221
0
I got two MAG138 here both on Xiaomi.eu latest Dev/Beta 7.11.16. One (the old one) is capable of multi color led, one (the new one) isnt.

The only difference i´ve seen is the Display - both EBBG but the newer one is called EBBGDJN.
Also the PCBA SN is different so i guess its a different board. (new VL...Y....... ; old .....F........ - the Dots are Numbers)

You can check it in engineering mode *#*#66#*#*

They also differ from the imprint on the back. Old is clearly readable the new one is almost invinsible.

Old came with EU plug, new one with UK.
 

Attachments

Last edited:

cristianpark

Senior Member
I got two MAG138 here. One (the old one) is capable of multi color led, one (the new one) isnt.

The only difference i´ve seen is the Display - both EBBG but the newer one is called EBBGDJN.
Also the PCBA SN is different so i guess its a different board. (Old VL...Y....... ; New .....F........ - the Dots are Numbers)

You can check it in engineering mode *#*#66#*#*

They also differ from the imprint on the back. Old is clearly readable the new one is almost invinsible.
Are you using MIUI? the code doesn't work for me on DotOS which I think support pure Android codes