I had this issue as well and I was about to report to Samsung because I just got the device, but my problem was I had like smears on the lens and also if you have a case like a LifeProof for example that covers the lens this will happen. I took my phone out of the case and wiped the lense and it was good to go👍👍👍
Got this issue too!
I was going to go through the warranty as I assumed the camera module had gone faulty.
If I switch to 2x zoom, the picture flickers and the buzzing camera vibrates the whole device.
If I shake it while it's doing it, it'll stop and I can use the camera normally.
Just follow the steps in the accepted solution and we'll be happy to help.