Chosen Solution
My iPhone X updated overnight to the most recent iOS 13 update, and was working fine for a few hours and then suddenly started turning on and off again, allowing me to use my phone for a solid 10 seconds before completely turning off and constantly flashing the Apple logo. I tried force restarting it as well as recovering it through itunes but to no avail. Im not sure what else to do. Another possibility is that there may have been some water damage as it rained that day, although I really don’t think my phone got wet at all. Help!
watch this video https://youtu.be/Ri25mE6wEoM will help you to fix it