Akash is on the right track with his diagnosis. I'm afraid your title statement is incorrect, because this is indeed a hardware problem. I'll see if I can explain the situation and what's going on for you.
iOS has a set time frame when it scans through the sensors on the phone and updates the readings from them. That time interval is exactly three minutes. What happens is the phone encounters a problem reading a sensor. A sensor failure is considered to be an unrecoverable error, so the system is set up to generate what's called a system panic. That panic logs the error in the panic log you found, then reboots the system in the hopes that restarting will clear up the error.
Unfortunately, since it's a permanent hardware error, the next time it scans the sensors - three minutes after it boots - it sees the same error again and goes through the reboot procedure again. Sorry to say, but computers are actually stupid and don't learn from their mistakes so it's going to just go ahead and repeat that entire scenario to infinity and beyond.
-
Okay, so once you've go the panic log, you need to understand what it's telling you. Fortunately we have a very talented former Apple repair technician named Alisha ( @flannelist ) who has written up our definitive guide to kernel panics.
+
Okay, so once you've got the panic log, you need to understand what it's telling you. Fortunately we have a very talented former Apple repair technician named Alisha ( @flannelist ) who has written up our definitive guide to kernel panics.
PRS0 - Barometer On the Charge Port Assembly Charge Port Assembly or its connector on the Logic Board[/quote]
+
[quote|format=featured]
+
***Missing Sensor Location Likely Issue***[br]
+
PRS0 - Barometer On the Charge Port Assembly Charge Port Assembly or its connector on the Logic Board
+
[/quote]
I've run into this exact same error on an iPhone X and replacing the charging port flex cable assembly as suggested fixed the issue. I'd say there's an excellent chance that making that same repair on your phone will fix the problem with it. Here's the guide you'll need to do the job.
You can buy the part you need right here on iFixit and support their repair efforts, or it's readily available several places like Amazon, eBay and AliExpress. I'd suggest a couple of sheets of precut adhesive for gluing the screen back on once you're done; if you're not used to using them they're easy to mess up if you don't get them on exactly right the first time. They're not at all forgiving so you can't reposition them; what you end up with is a ball of tangled glue - trust me I've done that enough myself that I generally pick up more than one so I don't have to wait to reorder if I screw up the first one.
Hopefully that's everything you need to know; the source of the problem, how to figure it out and how to fix it. Feel free to ask if you have more questions, but hopefully I've covered everything.
Hi Arthur,
Akash is on the right track with his diagnosis. I'm afraid your title statement is incorrect, because this is indeed a hardware problem. I'll see if I can explain the situation and what's going on for you.
iOS has a set time frame when it scans through the sensors on the phone and updates the readings from them. That time interval is exactly three minutes. What happens is the phone encounters a problem reading a sensor. A sensor failure is considered to be an unrecoverable error, so the system is set up to generate what's called a system panic. That panic logs the error in the panic log you found, then reboots the system in the hopes that restarting will clear up the error.
Unfortunately, since it's a permanent hardware error, the next time it scans the sensors - three minutes after it boots - it sees the same error again and goes through the reboot procedure again. Sorry to say, but computers are actually stupid and don't learn from their mistakes so it's going to just go ahead and repeat that entire scenario to infinity and beyond.
Okay, so once you've go the panic log, you need to understand what it's telling you. Fortunately we have a very talented former Apple repair technician named Alisha ( @flannelist ) who has written up our definitive guide to kernel panics.
[[iPhone Kernel Panics|iPhone Kernel Panics - iFixit|new_window=true]]
Reading through it, you'll find the secret to your panic log is in this line here:
[quote|format=featured]Missing sensor(s): Prs0[/quote]
Prs0 is a pressure sensor that's attached to the barometric vent at the bottom of the phone. Here's what the wiki page has to say about that.
[quote|format=featured]***Missing Sensor Location Likely Issue***[br]
PRS0 - Barometer On the Charge Port Assembly Charge Port Assembly or its connector on the Logic Board[/quote]
I've run into this exact same error on an iPhone X and replacing the charging port flex cable assembly as suggested fixed the issue. I'd say there's an excellent chance that making that same repair on your phone will fix the problem with it. Here's the guide you'll need to do the job.
[guide|128676|iPhone 11 Lightning Connector Assembly Replacement - iFixit Repair Guide|new_window=true]
You can buy the part you need right here on iFixit and support their repair efforts, or it's readily available several places like Amazon, eBay and AliExpress. I'd suggest a couple of sheets of precut adhesive for gluing the screen back on once you're done; if you're not used to using them they're easy to mess up if you don't get them on exactly right the first time. They're not at all forgiving so you can't reposition them; what you end up with is a ball of tangled glue - trust me I've done that enough myself that I generally pick up more than one so I don't have to wait to reorder if I screw up the first one.
Hopefully that's everything you need to know; the source of the problem, how to figure it out and how to fix it. Feel free to ask if you have more questions, but hopefully I've covered everything.
Good luck; let us know how it goes!