Hi, I had exactly the same issue as yours. It's not a software problem, it's a camera connector issue (at least in my case).
You need to turn off your phone, remove back cover (screw out two small boots at the bottom of your phone first). After that you need to remove plastic protective shield...