@repairedit, I have to respectfully disagree that the panic logs aren't needed; indeed, there are many problems being submitted to this site that could only be solved using the panic logs; I've personally fixed my grandson's iPhone X when the panic log correctly pointed me to the lightning port assembly being bad.
@joaodiogo, Please take a screenshot or download of any panic logs you have present on your phone; the first page of each is usually sufficient, but full logs won't hurt. Add them to your question and we'll help you track down the issue. That three minute reboot cycle is a key piece of information, as that's exactly how often the iPhone scans its sensors, so at the very least we should be able to get your reboot problem fixed, and hopefully the false overheat issue as well.
[guide|21499|Adding images to an existing question - iFixit Repair Guide|new_window=true]
+
+
Here's a page showing how to use a couple of different tools to read phone status and panic logs; I'm not familiar with the first one listed but have used 3uTools.
+
+
[link|https://www.iboardrepair.com/post/how-to-fix-an-iphone-that-keeps-restarting|How to fix an iPhone that keeps restarting - Panic Log and iDeviceLogAnalyzer|new_window=true]
@repairedit, I have to respectfully disagree that the panic logs aren't needed; indeed, there are many problems being submitted to this site that could only be solved using the panic logs; I've personally fixed my grandson's iPhone X when the panic log correctly pointed me to the lightning port assembly being bad.
@joaodiogo, Please take a screenshot or download of any panic logs you have present on your phone; the first page of each is usually sufficient, but full logs won't hurt. Add them to your question and we'll help you track down the issue. That three minute reboot cycle is a key piece of information, as that's exactly how often the iPhone scans its sensors, so at the very least we should be able to get your reboot problem fixed, and hopefully the false overheat issue as well.
[guide|21499|Adding images to an existing question - iFixit Repair Guide|new_window=true]