The glass protector I was using was covering the sensors (no cut out) and the phone thought I was holding it to my head all the time (which caused to black screen) . I removed the protector and everything worked fine.
Posted via the Android Central App