iPhone 5S (GSM)

Download iOS 12.5.1 (16H22) for iPhone 5S (GSM)

Released
January 11, 2021
Version
iOS 12.5.1
Build
16H22
Identifier
iPhone6,1
Filename
iPhone_4.0_64bit_12.5.1_16H22_Restore.ipsw
File size
3.02 GB
SHA256
5ed8d4d1cacc41c11ffb186a8d78cbc2602461da9887b8599b098f3b84c80966
SHA1
a2ba4d5423ead583b31392d6555085ef1af3d310
Download3.02 GB
12.5.8
16H88
✓
January 26, 2026 3.02 GB
12.5.7
16H81
✗
January 23, 2023 3.01 GB
12.5.6
16H71
✗
August 31, 2022 3.01 GB
12.5.5
16H62
✗
September 23, 2021 3.02 GB
12.5.4
16H50
✗
June 14, 2021 3.02 GB
12.5.3
16H41
✗
May 3, 2021 3.02 GB
12.5.2
16H30
✗
March 26, 2021 3.02 GB
12.5.1
16H22
✗
January 11, 2021 3.02 GB
12.5
16H20
✗
December 14, 2020 3.02 GB

Verify the IPSW file

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

SHA256
5ed8d4d1cacc41c11ffb186a8d78cbc2602461da9887b8599b098f3b84c80966
SHA1
a2ba4d5423ead583b31392d6555085ef1af3d310
  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 "iPhone_4.0_64bit_12.5.1_16H22_Restore.ipsw"
  • Windows
    PowerShell
    certutil -hashfile "iPhone_4.0_64bit_12.5.1_16H22_Restore.ipsw" SHA256
  • Linux
    Terminal
    sha256sum "iPhone_4.0_64bit_12.5.1_16H22_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 5S (GSM) in to your Mac.
  2. Navigate to your iPhone 5S (GSM) in Finder.
  3. Hold the Option or Alt key on your keyboard, and click the "Check for Update" button.
  4. Select the iPhone_4.0_64bit_12.5.1_16H22_Restore.ipsw file that you downloaded.
  5. Wait for the restore to complete, and the iPhone 5S (GSM) to reboot.

Windows

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

Linux

  1. Install idevicerestore.
  2. Plug your iPhone 5S (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 iPhone_4.0_64bit_12.5.1_16H22_Restore.ipsw and press enter.
  5. Wait for the restore to complete, and the iPhone 5S (GSM) to reboot.