Have you ruled out any potential software errors? Try reinstalling your device firmware to make sure that the loss of auto-focus isn't software related. You may also want to try checking the settings in your camera app. If an auto-focus setting is present, make sure it's checked. If none of that helps, then sadly, the camera in your device is broken, and will need to be [guide|32201|replaced].