Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: iTunes Error Code 21is a discussion within the
Generalforums, a part of the
Jailbreak / Downgrading / Upgradingsection;
Im trying to restore my iPhone 4 back to the iOS 5.0.1 downloaded iPSW from here at modmyi.com however im getting the Error code 21. THe iOS its running right...
01-04-2012, 12:31 AM #1iTunes Error Code 21
Im trying to restore my iPhone 4 back to the iOS 5.0.1 downloaded iPSW from here at modmyi.com however im getting the Error code 21. THe iOS its running right now is jailbroken. I tried DFU but it gave me error code 1600 any ideas on how to resolve the error code?
01-04-2012, 12:37 AM #2
Describe the process of your update to 5.0.1. You should be restoring from Homescreen or recovery mode.
01-04-2012, 12:39 AM #3
Connected iPhone while its on to Macbook
Downloaded the IPSW from Modmyi.com (iPhone 5.0.1 9A405)
Clicked Option + Restore and selected the IPSW
iTunes extracts the IPSW Software
Itunes Verifies the IPSW with Apple
ITunes prepares iPhone for restore (Recovery Mode)
iTunes reports unknown Error code 21
01-04-2012, 12:44 AM #4
Have you checked your hosts file is not pointed towards cydia ?
01-04-2012, 12:45 AM #5
01-04-2012, 12:48 AM #6
Do you have tiny umbrella installed ?
01-04-2012, 12:49 AM #7
01-04-2012, 12:52 AM #8
Go to advance tab in TU and uncheck : set hosts file to cydia and close TU. This is to make sure you are letting apple verify your restore.
01-04-2012, 12:56 AM #9
Ok so I went to TU and unchecked the box. Closed TU connected the iPhone again to iTunes and did the whole process but I still got error code 21. I went back to TU and the box was still unchecked
01-04-2012, 01:00 AM #10
Did you close itunes and reopen it or do a reboot to see if it works.
01-04-2012, 01:08 AM #11
Ok so I closed down iTunes and reopened it as well as rebooted the iPhone and tried to restore it and still got the error code 21.
01-04-2012, 01:11 AM #12
Try it on a pc if you have one.
01-04-2012, 01:13 AM #13
Should I also just try using the stock restore IPSW iTunes offers or should I just keep choosing the IPSW I downloaded from Modmyi?
01-04-2012, 01:21 AM #14
Redownload your stock ipsw from any source like apple or iclarified firmware. Do you have the latest 10.5 itunes installed ?
The Following User Says Thank You to iYeow For This Useful Post:
01-04-2012, 01:23 AM #15
Lol ok, so here's what just happened. I tried it once again and it gave me Error Code 21. However, I always noticed how iTunes left my iPhone on Recovery mode and every time iTune would leave it like that I would use TU to kick it out of Recovery Mode. So after another attempt that iTunes left me with error code 21 and the iPhone in Recovery Mode I decided not to use TU to kick it out of Recovery Mode and just disconnected and reconnected the iPhone back in. iTunes identified the iPhone in recovery mode and I did the restore again, this time it worked (and I had also left "SHSH Cydia" option unchecked, even though at first it still gave me the 21 error code before I tried it agan and it worked with iPhone in Recovery Mode). I could have sworn that I had already tried restoring the iPhone while it was in recovery mode by doing the same process and still giving me the error code 21, but then again I am really tired and tried so many times that everything is a blur right now lol but I guess thats the way to by pass error code 21? lol
Thanks a lot for staying along and helping me brainstorm a bit iYeow
I guess the question now is should I jailbreak now and then Restore to the old backup?
Last edited by SK4DJ; 01-04-2012 at 01:37 AM.
01-04-2012, 10:51 AM #16
Setting as a new iphone is recommended although backup restore will work too. Glad you are got it working.