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. Check USB connections and try again.
 * Potential NAND Fault during restore, NAND replacement may be necessary.
 * Earpiece Speaker module may be defective, check with known good part.
 * If the Device is an iPhone 7/7 Plus this may be a result of baseband failure. Hardware repair is necessary in this case.
 * Potential Fault of CPU Power Supply/Input, check input rails or CPU soldering for damage/pseudo soldering.