My flashlight is not working unless I press it at the back. Is it a software or hardware problem?
It will be best to have it checked. There's obviously loose connections inside your phone that's why flash isn't working properly.