Here are a few steps on how to fix focus on the camera:
1- Check the lens to see if its cracked or scratched:
- if this the case then replacing the lens is your only option.
2- Check for moisture between the camera and the lens:
- open the phone to access the rear camera, using a clean , lint free rag , clean off all moisture.
please refer to our guide on how to replace the camera.
3- If the above steps do not work, the replacing the camera is the solution.