iPhone X stuck on a boot loop
My iPhone X is stuck in a boot loop. The device shows the Apple logo for 15-25 seconds, then the screen goes black for about 5 seconds, then it repeats. Non stop until it dies and gets power again. I have tried entering recovery mode and DFU mode through PC and the device itself but no luck. When I plug the phone into my computer, nothing happens. iTunes doesn't detect a connection, nor does any third party applications (3uTools, etc). There are no issues with my computer ports or the computer itself. And I am using a genuine USB cable.
And what started this problem is when I just simply restarted the phone because YouTube would keep crashing. So I thought that would fix it. But instead it put itself in a boot loop. The second I saw the phone get into the boot screen for the second time, I instantly knew fixing this problem was going to be a pain. So I am thinking about trading in my iPhone X for a new iPhone X. Unless I can try to fix the problem myself. The device is in good condition besides from a small crack at the top of the screen. The back of the phone has no scratches.
So what should I do here???
iPhone X, iOS 13