Restore Errors/40xx

Error 4005

 * Miscellaneous peripheral fault. Check Earpiece speaker, charging port, front/rear camera, anything disconnect-able.

Error 4010

 * Linked to hosts file blocking of Apple services or problems with Firewall/Antivirus.

Error 4013

 * Connection to device is lost after the "Preparing iPhone for Restore" step but before the phone is actually wiped causing it to boot normally. Try switching the cable or USB port (if on a tower, use the port on the back)
 * This is also commonly general hardware failure. Common culprits are NAND, earpiece speaker, and faulty CPU power. If it's an iPhone 7/7 Plus, it can also be dead baseband.
 * Faulty NAND, CPU power, and baseband require a logic board repair or replacement. To check other components, switch it into another housing if you can.

Error 4014

 * Inconclusive error, can be triggered as a result of tether downgrading an iOS device and being stuck in LLB.