Back up important files before any big step such as a reset or restore. Don't download 'repair' programs suggested online; use only official tools from Microsoft, Apple, Google or your device maker. On work or school devices, ask your IT admin first.
Likely causes
- Network problems while downloading or verifying
- The phone's current version is very old
- A manually chosen package that is not official for the model
- A rooted or modified system
Steps you can try
Did that fix it?
Great! If the code comes back, repeat the same steps from the start.
If the steps didn't help, don't push further. See the help section below.
When to get help
If updates keep failing, take the phone to a Xiaomi authorised service centre, where official software can be reinstalled. Do not unlock the bootloader or use flashing tools yourself.
Differences between versions
On HyperOS the update screen is under Settings > About phone > HyperOS version; on MIUI under Settings > About phone > MIUI version. Xiaomi notes that a rooted system can block updates. Before any reset, back up (cloud sync is recommended) and make sure you know the Mi Account and Google passwords.
Sources
This page is based on official sources from Microsoft, Apple, Google and other makers, written in our own words. Code meanings can differ between versions.