Try sending images through watsapp to a group or individual. It would fail to send and watsapp will freeze for sometime and then crash. Try doing this few times forcefully. You will notice that the camera would have started functioning now. Also, flashlight should also work! This trick worked for me.