iPhone 4 - Camera flash stays lit even when the phone is off
This is definitely a hardware problem. It comes from the flash not being properly connected or the connectors on the board being damaged. Normally reseating the connection fixes the issue. He was probably a little heavy handed when he put the phone back together or the board has suffered ESD damage. 

As well as this being annoying, it will drain the battery.