Camera [Q] night picture or picture in the dark

I dont know if this is a Rom issue , kernel or am doing something wrong.am using Viper S 5.2.1 But wen i take pictures at night they dont come out nice at all. I have tried using the toggle flashlight feature but the light is not bright enough to illuminate properly. And if the light i use e camera flash the light is bright enough but because the picture is taken so quickly the camera doesn't focus properly.