Hello, I was jailbroken on an iPhone 4 running iOS 4.1, but I wanted to unjailbrake the phone and upgrade to iOS 4.2, so I just plugged my phone into iTunes and tried to restore, but got the 1031 error message. Tried restoring several more times without luck, and tried this http://www.maclife.com/article/howtos/iphone_4_update_ios_421_gone_sour_how_fix_itunes_error_1013 guide where you use terminal to edit the host files, but that didn't work either. (Btw, not sure if I was doing it right, on step 6 of the link above, where you enter the # key, is all you do enter it in front of that bunch of numbers? That seemed to work, and so did pressing CONTROL+O to save, but then when I pressed CONTROL+X it didn't seem to do anything.. Am I doing something wrong? Sorry for being such a noob at this. Any help is much appreciated. Thanks, Michael.