This fixed my iPhone 4013 error!
Channel: Andy Haslam
Date: 2020-07-14

tldr; The issue was the proximity sensor. I opened the iPhone X, disconnected it, and the iPhone worked (without Face ID). I hope this can help others who have the same problem.

I didn't cover this in the video, but I used this product to get my iPhone out of recovery mode. It's a paid product, but the part you need to get out of recovery mode is free: https://www.youtube.com/watch?v=hOrgmADvaVc
Video I used to open my iPhone X: https://www.youtube.com/watch?v=w9gB17hOB2U
This video put me onto the proximity sensor issue (thanks!): https://www.youtube.com/watch?v=Tqmy6bmHjRY
Some videos that may help with Face ID fix (I haven't investigated these): https://www.youtube.com/results?search_query=iphone+x+proximity+sensor+repair

#iphonex4013