Friday, August 15, 2008

iPhones, failed updates, and md5sums

Today I got the dreaded
"The iPhone “iPhone” could not be restored. An unknown error occurred (6)."
error message while upgrading my iPhone to 2.0.1. Long story short, the software update was corrupted:
bash-3.2# md5 "/Users/alpha/Library/iTunes/iPhone Software Updates/"*
MD5 (/Users/alpha/Library/iTunes/iPhone Software Updates/iPhone1,1_2.0.1_5B108_Restore.ipsw) = abc314729d23d9073b64706e9e24335e
bash-3.2# md5 "/Users/lambda/Library/iTunes/iPhone Software Updates/"*
MD5 (/Users/lambda/Library/iTunes/iPhone Software Updates/iPhone1,1_2.0.1_5B108_Restore.ipsw) = 5c5da46c5e758cfd8a2d830cacf37bd7
I created a new user, lambda, iTunes downloaded the new software again, and the iPhone restore completed succesfully. I copied lambda's copy to my main account, and it restored from backup beautifully.


No comments: