Hi, this happened to me recently. I tried all the solutions I found online but none of them worked! Then I went to my local phone store and all they did was open my phone and found out a tiny connector came loose. They connected it really quickly and I didn't have to pay for anything because the cable was just loose. Now it works perfectly fine! So if you've tried everything, just open your phone up and see if the connection from the camera to the phone is connect! Hope this help!