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.
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.
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 SHA256Large files take a minute or two to 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"
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.
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 folder with a short path and no spaces, such as C:\moto-firmware, then follow the flashing guide.
No. It only proves your copy matches the hash someone published. It is as trustworthy as the place that published it.
No. Upper and lower case letters compare as equal.
Mirror listings round sizes to one decimal in GB, and Windows may show a different unit. A small difference is normal.
It is worth doing for large files, especially after a slow or interrupted download.
Looking for firmware? Browse the Motorola stock ROM library.