Unable to restore my iPhone 4

April 2018

I want to restore my iPhone 4, but I'm getting the following error message:the iPhone could not be restored an unknown error occurred (1013)


  • On your Computer, go to:
  • C:\Windows\System32\drivers\etc
  • Open the file named "hosts" with notepad or wordpad
  • Before the line that contains "gs.apple.com" you add "#" to disable
  • Save the file and try to restore your device again (via iTunes)
  • If you have the "access denied" message upon saving the file, right click > give security rights to the user.

Thanks to elfeone for this tip.
Published by aakai1056. Latest update on August 1, 2011 at 10:37 AM by aakai1056.
This document, titled "Unable to restore my iPhone 4," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).
iPhone - Recover a (message) draft
iPhone - - view the chat history of Yahoo! Messenger