iPhone 4 (GSM)

Download iOS 4.0.2 (8A400) for iPhone 4 (GSM)

Released
August 11, 2010
Version
iOS 4.0.2
Build
8A400
Identifier
iPhone3,1
Filename
iPhone3,1_4.0.2_8A400_Restore.ipsw
File size
607.38 MB
SHA256
d40c05cbd5d503130ac121963163bb57d9eddbb18bd6f5c9bff8b8966ed640cf
SHA1
19eb071cdb9f1601b106825d0a16b1449c6eef8c
Download607.38 MB
4.0.2
8A400
✗
August 11, 2010 607.38 MB
4.0.1
8A306
✗
July 15, 2010 607.38 MB
4.0
4.0
8A293
✗
June 21, 2010 607.36 MB

Verify the IPSW file

Compare the checksum of your downloaded file with the value below to make sure it is complete and unmodified.

SHA256
d40c05cbd5d503130ac121963163bb57d9eddbb18bd6f5c9bff8b8966ed640cf
SHA1
19eb071cdb9f1601b106825d0a16b1449c6eef8c
  1. Open Terminal (Mac, Linux) or PowerShell (Windows) in the folder that holds the IPSW file, for example cd ~/Downloads.
  2. Run the command for your system below. It already includes this file's name.
  3. Compare the result with the SHA256 value. Letter case doesn't matter. If they match, the file is complete and unmodified. If not, download it again.
  • macOS
    Terminal
    shasum -a 256 "iPhone3,1_4.0.2_8A400_Restore.ipsw"
  • Windows
    PowerShell
    certutil -hashfile "iPhone3,1_4.0.2_8A400_Restore.ipsw" SHA256
  • Linux
    Terminal
    sha256sum "iPhone3,1_4.0.2_8A400_Restore.ipsw"

Installation Instructions

This firmware is not signed. This means you cannot restore to it in Finder, Apple Devices app, iTunes, or idevicerestore. The instructions below are included for reference only.

Always back up your device before installing beta software. You can back up your iPhone or iPad using iCloud or your computer.

macOS

  1. Plug your iPhone 4 (GSM) in to your Mac.
  2. Navigate to your iPhone 4 (GSM) in Finder.
  3. Hold the Option or Alt key on your keyboard, and click the "Check for Update" button.
  4. Select the iPhone3,1_4.0.2_8A400_Restore.ipsw file that you downloaded.
  5. Wait for the restore to complete, and the iPhone 4 (GSM) to reboot.

Windows

  1. Install the latest version of Apple Devices from the Microsoft Store.
  2. Plug your iPhone 4 (GSM) in to your PC.
  3. Open Apple Devices, and navigate to your iPhone 4 (GSM).
  4. Hold the Shift key on your keyboard, and click the "Check for Update" button.
  5. Select the iPhone3,1_4.0.2_8A400_Restore.ipsw file that you downloaded.
  6. Wait for the update process to complete, and the iPhone 4 (GSM) to reboot.

Linux

  1. Install idevicerestore.
  2. Plug your iPhone 4 (GSM) in to your PC.
  3. Open a terminal, and navigate to the IPSW file that you downloaded, e.g. cd ~/Downloads
  4. To perform a full erase restore, type idevicerestore -e iPhone3,1_4.0.2_8A400_Restore.ipsw and press enter.
  5. Wait for the restore to complete, and the iPhone 4 (GSM) to reboot.