Red light (led) is not working while charging. Green led works fine and light up when phone is fully charged but during charging process no red light. Tried factory reset, rebooting but no luck. Tried the service test function and red light did not work.
You mean the AMBER light during charge?
Are you on custom ROM? Custom kernel? More info is needed?
Mine was very weak after update, I tried these commands and they fixed it:
chmod 0333 /sys/class/leds/amber/brightness; echo 0 > /sys/class/leds/amber/brightness - disables RED LED completely
chmod 0644 /sys/class/leds/amber/brightness - enables it
Enter the commands in a terminal (terminal emulator app), with SU (ROOT).
You're basically changing permissions so the system cannot modify the brightness property of the LEDs. You are then setting the brightness to 0. Until you change the permissions back to 644, your LEDs will be off. No charging light, no LED notification.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?