Chosen Solution
I have an iPhone X and it wouldn’t boot. When I try to boot it, the apple logo appears about 7 seconds and disappears for about 5 seconds and the whole loop restarts. When the problem happened, I left it to charge overnight. I tried to put it in recovery mode but it wouldn’t. How can I fix this?
That is called a Boot-Loop and you can restore using DFU mode. While restoring ensure you have sufficient charge