It's more than 6 months I've been facing the same problem. I've tried factory resetting the phone twice but the camera is still unable to focus. The camera has become useless because of Asus's negligence. Asus zenfone 5z is a premium phone and should be treated that way. More users are facing this problem but are not talking about it. Please leave a comment so that Asus comes to know the severity of the problem.