This got me thinking and some time on google, looks like this is a common problem.
But, i never had this problem before my screen got damaged, and i replaced it. And the phone never feels warm when it restarts, it is actually cold.
So, maybe there is a faulty sensor in the phone causing it to think that it is overheating. Anyone know anything about this? If i can find the sensor, maybe i could just.. Remove it?