iPhone 5s stuck in dfu / itunes error 40

Hello, iPhone 5s is stuck in dfu mode loop and I can not restore it because when I try to do so, iTunes says error 40.

I ha tried with 2 mac?s and with a windows computer. I don?t know what else to do because in my country there is no Apple Store for the warranty.

Any help?? thank you very much in advance and excuse me for my poor english.
:yes:
Was you jail broken ?


Sent from my iPhone using Tapatalk
Was you jail broken ?


Sent from my iPhone using Tapatalk

Yes it was. Any idea/help?
Did it happen when you installed a tweak? Or it just randomly happened? Also was your phone working fine before that happened ?


Sent from my iPhone using Tapatalk
Did it happen when you installed a tweak? Or it just randomly happened? Also was your phone working fine before that happened ?


Sent from my iPhone using Tapatalk

Just ramdoly during the night. Phone was working fine before. Thank you.
Check out the information via the following link:

Resolve issues between iTunes and security software
Check out the information via the following link:

Resolve issues between iTunes and security software

Yes, I have tried in 2 different mac?s and 1 windows pc. :-(

Original thread: https://forums.imore.com/threads/iphone-5s-stuck-in-dfu-itunes-error-40.281606/