Chosen Solution

My iPhone 6 suddenly turn off itself just yesterday. When i force restart the phone, it just appears dim light. I have tried the recovery mode with iTunes serval times but it always show error 4005, 4013 & 4014 while the process is stuck at “waiting for iPhone” So what should I do? Am I able to fix it by my own? Please help

The best would be to try to restore it with new parts. Mainly the proximity sensor causes many strange problems. My advice is that open up the phone, hook on a new charging port and a proximity sensor, run it through iTunes and then go from there.