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
- Corrupted camera app data or settings
- An outdated or faulty system version
- A fault in the camera hardware
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 the camera test fails or the problem stays after a reset, take the phone to a Xiaomi authorised service centre.
Differences between versions
Clearing camera data resets your camera settings but does not delete photos. Before a factory reset, make sure you know the Mi Account and Google passwords on the phone.
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.