Home/ Blog/ Verify a firmware download

How to Verify a Motorola Firmware Download (SHA-256 and ZIP Test)

Dec 2026 How-to Windows PC

Motorola firmware files are large, often 4 GB to 8 GB, and a download that drops or stalls can leave a damaged ZIP. A damaged file can cause failed flashes and errors such as "Image not signed or corrupt" or "Invalid sparse file format". Checking the file before you flash takes a couple of minutes and avoids that.

This guide shows three quick checks on Windows: the file size, the SHA-256 hash, and a ZIP integrity test.

Step by step

Compare the file size

Check the size of the downloaded file against the size shown on the download page or mirror. Mirror listings round the size to one decimal in GB, so expect a small difference, but a file that is far smaller means the download was cut off.

Calculate the SHA-256 hash

Open Command Prompt or PowerShell in the folder with the ZIP and run one of these commands. Replace the file name with yours.

certutil -hashfile "firmware.zip" SHA256
# or in PowerShell:
Get-FileHash "firmware.zip" -Algorithm SHA256

Large files take a minute or two to hash.

Compare it with the published hash

If the page lists a SHA-256 value, compare it with your result. Case does not matter. In PowerShell you can let it compare for you, and it prints True when they match:

(Get-FileHash ".\firmware.zip").Hash -eq "PUBLISHED_SHA256_HASH"

If there is no published hash, download it twice

Many mirrors do not publish checksums. Download the file a second time and compare the two hashes. If they match, the transfer was not corrupted. It does not prove the file is official, because the hash only matches itself.

Test the ZIP before you extract it

In 7-Zip, right-click the ZIP and choose 7-Zip > Test archive, or run the command below. It reports an error if the archive is damaged.

7z t firmware.zip

Extract to a short path

Extract to a folder with a short path and no spaces, such as C:\moto-firmware, then follow the flashing guide.

Common problems

  • The hash does not match: the file is damaged or a different file. Delete it and download again, ideally on a stable connection
  • The ZIP will not open or the test reports errors: the download was interrupted. Download it again
  • certutil says the file cannot be found: run the command from the folder that holds the ZIP, or put the full path in quotes
  • A fastboot flash fails on one image: re-extract the ZIP, check the model and build match your phone, and see Motorola fastboot errors and fixes

Frequently asked

Does a matching SHA-256 prove the file is official? +

No. It only proves your copy matches the hash someone published. It is as trustworthy as the place that published it.

Is the SHA-256 check case sensitive? +

No. Upper and lower case letters compare as equal.

Why does my downloaded file show a slightly different size? +

Mirror listings round sizes to one decimal in GB, and Windows may show a different unit. A small difference is normal.

Do I need to verify every download? +

It is worth doing for large files, especially after a slow or interrupted download.