upgrading iphone 4 to iOS 5 I updated my iPhone 4 from iOS 4 to iOS 5 a while back. Now I am trying to update my wife's iPhone 4 without jumping all the way to iOS 6, so how do I determine what model I need?

5.0.1 (3GS): iPhone2,1_5.0.1_9A405_Restore.ipsw
5.0.1 (4 GSM): iPhone3,1_5.0.1_9A405_Restore.ipsw
5.0.1 (4 CDMA): iPhone3,3_5.0.1_9A405_Restore.ipsw
5.0.1 (4S): iPhone4,1_5.0.1_9A405_Restore.ipsw


My phone version is listed as 5.0.1 (9A405). Can you help me understand which restore file is the right one? And will these files restore my phone or simply upgrade to the next OS?
The kind folks behind http://iossupportmatrix.com have done the work to catalog all model identifiers (and also list the minimum and maximum versions of iOS for each model).

In your case, the iPhone 4 needs iPhone3,1_xxxx.ipsw



If you use a restore image, it wipes the device and loads that version of iOS. At that point, you could restore from an older or equivalent level OS backup or set things up newly by syncing content.