I know I’m late to the party, but I discovered that a lot of times it was a problem with the ribbon cable where it attaches to the camera module.
Undo the cable from the camera and look at the contacts to see if they are covered with rubber contact cement or glue. It will be black or grey.
If so, gently clean them off with your finger nail or some IPA.
All of mine started working normally after that.