I had that problem on another type of phone. It was hardware. You've already factory reset and changed the OS. The only other thing I can think of is to pull the battery (and you probably don't want to do this yourself). Good luck. I would send the phone in for warranty repair, if you can.
If I helped, click Thanks!