THE QUICK SHAKE fixes it for me! Samsung Note 4 on Tmobile, CM12 nightly ...
It was always opening completely blurry (just not autofocusing) on the main camera, and crystal clear on the selfie camera ... I'd noticed though that sometimes it went away and then would focus after that, so I...