Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

nathanschafer

macrumors member
Original poster
Feb 9, 2011
67
0
Australia
Hey,

I tried jailbreaking my iphone 4 (redsn0w 4.1.3 tethered). An error came up in itunes, and it did not let me be jailbroken. I then tried to restore with normal 4.1.3 by clicking restore on itunes (no custom ipsw). It is coming up with errors in itunes. Will apple be able to tell the phone was tried to be jailbroken? I am taking it in on tuesday. Thanks so much for your help.
 
It is itunes error 1013, doesn't seem to have anything to do with jailbreak. Should I just take it into apple and ask them to reset it? I dont want to fiddle around with my itunes code or whatever it is....
 
Did you google the error code's meaning?
You can still try my suggestions. :rolleyes:
You can't mess up iTunes. Besides, weren't you trying to jb? That sounds like fiddling to me.
 
that error means your hosts.txt file is preventing itunes from contacting apple's servers to verify the device and software match.


you would have learned this by googling the error number or using apple's support site search.
 
Don't jailbreak.

Not helpful so why post it?:cool:

Did you try DFU? Or kicking out of recovery with tiny umbrella?

It is itunes error 1013, doesn't seem to have anything to do with jailbreak. Should I just take it into apple and ask them to reset it? I dont want to fiddle around with my itunes code or whatever it is....

OP, I second using tiny umbrella to kick out of recovery to fix your issue as eastercat suggests
 
Your iPhone isn't bricked. Yesterday I was upgrading my jailbroken iPhone 4 on 4.2.1 to 4.3.1 so that I could apply the new jailbreak to it. But during the process of restoring it, while the iPhone displayed the Apple logo with the progress bar beneath it, it would keep stopping 3/4ths of the way through, and I would get that 1013 error message in iTunes saying that the iPhone couldn't be restored. My iPhone would show the USB cord saying that I needed to plug it into iTunes, but it would be stuck in recovery mode and I couldn't do anything unless I restored it, which I couldn't do.

But I looked online at an Apple Discussion forum post and found this:

On Mac:
* Open Finder
* Hold down COMMAND + SHIFT keys and press 'G'
* Enter "/private/etc/" in the field and press "Go"
* Find "hosts" file in the directory
* Drag the file to your desktop
* Open it in text editor
* Remove the line that has gs.apple.com entirely or put a # at the beginning of it to comment it out
* Save the file
* Drag it back to the /private/etc/ folder.
* You'd need to enter your username and password to authenticate the move

On Windows:

Locate the hosts file in one of the following directories:
Windows 95/98/Me c:\windows\hosts
Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts
Windows XP, Vista, 7 c:\windows\system32\drivers\etc\hosts
Right click and click on "Open With..." and then click on "Notepad" on the list.
* Remove the line that has gs.apple.com completely and save the file.

I used the Mac method, and it worked perfectly for me.
 
Also, I had TinyUmbrella and tried kicking it out of restore mode and clicking the button to Fix the recovery, but they didn't work and just ended up putting my iPhone back into the 1013 error. The above method worked great though.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.