Reflash your phone, and probably it will solve the problem. But after reflashing the phone, and if the error persists, then it is a hardware problem.