Hello Jorgo500exc,
Thanks for using the Apple Support Communities!
I understand that you are attempting to restore your iPad mini, but are receiving errors 4013 and 4005. I see that you have completed some fantastic troubleshooting as well. We know how frustrating situations like this can be, but we are here to help!
To continue the troubleshooting process, I suggest working through the suggested steps in the following article. I know you have completed most of these already, but please work though the complete list again as suggested.
When you try to update or restore your iPhone, iPad, or iPod touch, you might see one of these messages in iTunes.
If your iOS device disconnects during the update or restore or if iTunes couldn't tell the device to restore, you might see one of these messages:
- The iPhone [device name] could not be restored. An unknown error occurred (9).
- The iPhone [device name] could not be restored. An unknown error occurred (4005).
- The iPhone [device name] could not be restored. An unknown error occurred (4013).
- The iPhone [device name] could not be restored. An unknown error occurred (4014).
Try these steps to restore your iOS device:
- Install the latest version of iTunes.
- Restart your computer.
- Check for updates to your Mac or PC. If you restart your computer for an update, check for updates again after you restart.
- Try to restore your device using another USB cable.
- Try to restore your device on another computer.
- Force your device to restart.
If you continue to see error 4005, 4013, or 4014 when you try to restore your iPhone, iPad, or iPod touch, contact us.
If you see error 9, 4005, 4013, or 4014 when you restore your iOS device - Apple Support
Cheers!