Chosen Solution
i bought this iphone 3 years ago and till 1 week ago it worked perfectly so the problem is that the phone shutsoff randomly about 1 time an hour after that it is stuck on boot loop even if i force shut it off it is stuck untill it randomly turns on. some times it takes 5 to 20 minutes to turn on and some times it goes up to 6 hours without turning off so here are the things that i tried: changed the battery fully restore with and without backup cleaned the ports and the phone generally still no luck, and ideas what i may be dealing with ?? thanks.
Boot looping can be caused by a lot of issues. Try these things (if you haven’t already) to see if anything helps: Try a hard reset (Home & Power button for 10 secs)Use a genuine Apple Lightning connectorUse a genuine Apple charging brick and let it charge overnightTry to connect it to different computers (mac/pc if possible) with an updated iTunesPut the phone in recovery mode (search DFU Mode). Careful, this can reset your data Use 3uTools for putting it in and out of Recovery ModeUse 3uTools to flash the firmware (you can’t downgrade)Check the condition of all the flexes (with magnification)Disconnect the Front Camera Ribbon from the logic board and reboot your phoneDisconnect the screen assembly completely and see if iTunes will recognize the phone. Otherwise, you may have a logic board issue. If you are uncomfortable doing these steps, consider finding a repair shop to do the troubleshooting. A shop that also does micro-soldering can go deeper if the problem is not modular in nature.