Chosen Solution

Hello I tried to turn my iPhone X into DFU mode after a while, it stopped responding and only gave me a black screen. I tried to reset it, but my MacBook doesn’t even recognise my iPhone. I also attempted to charge it, but this doesn’t seem to work either. Does anyone have a solution for me?

You could try opening up the phone and disconnecting the battery for a moment to do a power cycle which should kick it out of DFU mode