HTC One M7 Keeps Restarting Itself I have recently bought a new HTC One M7.
Since the moment I turned it on it's performing random reboots. At the begining it was every few minutes but now its every time I unlock the screen.
I've performed 3 factory resets - didn't help (I think that even made it worse)
I've entered "safe mode" - still rebooting
I've tried to enter recovery mode but the phone got stuck on the loading screen (exclamation point icon)

Anyone might have an idea what's going on?
Is the phone defective? Might it be a hardware issue?

As I said, the phone is new, so no custom ROMs or strange apps installed

Thanks
At the end the problem was with the internal thermostat.
Had to replace the device.

Thanks for all the answers!