How to check the camera on a Xiaomi smartphone: from basic test to hidden codes

Camera in smartphones Xiaomi, Redmi or POCO β€” One of the key modules that determines the quality of photos, videos and even the operation of some applications (for example, scanners). QR-But how do you know if the camera is working correctly? You may notice artifacts in the pictures, you may have got stuck while shooting, or you suspect that the module is damaged after falling. In this article, we will analyze 7 ways of checking – from visual inspection to hidden engineering menus that will help to identify both software and hardware malfunctions.

It is important to consider that camera problems can be caused by various reasons: from banal lens contamination to firmware failure or physical damage to the plume. We won’t be limited to superficial tips like β€œreset your phone” – instead, we’ll offer specific tests, including autofocus, stabilization, color rendering, and even diagnostics through the phone. ADB. Whether you’re planning to buy a used smartphone or just want to make sure your camera is 100% up, this guide will help you avoid mistakes.

1. Visual inspection of the camera: what should alert

Before you dive into the settings, examine the camera physically, and many of the problems are visible to the naked eye, but they are often ignored.

  • πŸ” Lenses: They should not be scratched, chipped or cloudy (especially for smartphones that wear without a cover.
  • πŸ“± The body around the camera: if it is deformed or moving away, it may indicate a fall, after which the internal modules have shifted.
  • πŸ’‘ Flash: Check if it's covered in dust or dirt. A polluted flash gives dim or uneven light.
  • πŸ”„ Moving elements: Some models (such as the Xiaomi Mi 11 Ultra) have a retractable secondary camera – make sure it moves freely.

Pay special attention to multi-module cameras (for example, in the Redmi Note 12 Pro).+ or POCO F5 Pro. It's often the wide-angle or macro lens that gets damaged because it's less protected. If you notice one of the modules not focusing or giving a blurry image when you switch, that's a reason for a deeper diagnosis.

⚠️ Warning: Do not try to clean the lens with alcohol or aggressive liquids - this can damage the protective coating. Use only a microfiber wipe (as for glasses) or special wet wipes for optics.

2. Basic test through the standard application "Camera"

The easiest way to test the camera is to run the camera app and take some test shots, but it's not just about pressing a button, it's about systematically evaluating the key parameters.

  1. Autofocus: Point the camera at an object (e.g., text 20 to 30 cm away) and tap the screen to focus. Normally, the image should become clear in 1-2 seconds. If the focus is floating or not fixed, there is a problem with the module or firmware.
  2. Exposition: Take a shot in a dark and bright room. HDR You should see the details in the shadows and in the bright areas, and if the image is too dark or over-lit, the light sensor may fail.
  3. Color rendering: Take a picture of a colored object (like a green plant or a red book) and the colors should be saturated but natural, and a greenish or bluish shade indicates a matrix malfunction.
  4. Stabilization: Take a motion video (e.g., walk around a room) If the image twitches strongly despite the stabilization enabled, the gyroscope may be damaged or the software is not processing data correctly.

Don’t forget to switch between modules:

  • πŸ“· Main camera (wide-angle)
  • πŸŒ„ Ultra-wide-angle (if any)
  • πŸ”Ž Macro lens (for close-range shooting)
  • πŸ‘€ Front (selfie camera)

πŸ“Š Which camera do you check more often?
Basic
Frontal
Ultra-wide-angle
Macro
Not checking.

If one of the modules produces a blurry image, a soap (a lot of loss of detail) or artifacts in the form of stripes, this is an excuse for a deeper diagnosis, in some cases, helps resetting the camera settings to the factory (more on this below).

3. Check the camera through the engineering menu (#4636##)

The hidden engineering menu allows you to get technical information about the camera that the standard app won't show.

  1. Open the Phone app.
  2. Enter the combination: ##4636## (some models may not work, then use the alternative codes in the next section).
  3. Select Phone Information (or Hardware Testing on some firmware).
  4. Scroll down to the Camera block.

Here you'll see:

  • πŸ“Š Camera status: if written OK β€” If you have Failed or Unknown, you have a hardware malfunction.
  • πŸ”’ Resolution: Must match the stated resolution for your model (e.g. 50 MP for the main camera Redmi Note 13 Pro)+).
  • πŸ”„ Focal distance: If the value is very different from the expected, there may be a problem with optics.

⚠️ Note: Not all Xiaomi models support this code. MIUI 14+ The engineering menu may be blocked, in which case use alternative methods (see next section).

If the engineering menu is not available, try installing the app. MTK Engineering Mode (for MediaTek processors) or Qualcomm EngineerMode (for Snapdragon) are tools that provide advanced diagnostic access, but require caution β€” don't change settings unless you're sure they're there.

4.Alternative codes for camera diagnostics

If the standard code didn’t work, try these combinations (enter Phone as a number in the app):

Code.AppointmentSupported models
##6484##Camera test (MTK)Redmi 9/10, POCO M3/M4, Old models on MediaTek
##64663##Information on camera modulesXiaomi Mi 10/11, Redmi K40/K50
##0*##Test LCD and cameras (on some firmware)POCO F3/F4, Redmi Note 11/12
##44336##Diagnostics of hardware componentsModels on Snapdragon 8xx

Once you enter the code, you will be taken to the test menu, for example, code ##6484## allows you to:

  • πŸ“Έ Check the autofocus operation in manual mode.
  • πŸ”¦ Test the flash at different brightness levels.
  • πŸŽ₯ Run a stress test video to check for overheating.

If nothing happens after entering the code, it means:

  • 🚫 The code is not supported by your firmware (relevant to the MIUI Global or HyperOS).
  • πŸ”’ Manufacturer blocked access (often on the firmware of the whale).
  • πŸ› οΈ Developer Mode needs to be enabled (see Section 6).

Enable the developer mode

Try another code from the table

Install a diagnostic application (for example, CPU-Z)

Update the firmware to the latest version

Reset the camera settings-->

5. Checking the camera through ADB (for advanced users)

If standard methods do not work, you can use them. ADB (Android Debug Bridge for deep diagnostics: This requires a computer and basic command line knowledge, but it allows you to get data that is not available through the interface.

Steps to verify:

  1. Install ADB on PC (download from the official website).
  2. Turn on the debugging. USB on a smartphone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times press to activate the developer mode, then Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB).
  3. Connect the phone to your PC and type in the command line: Adb devices Make sure the device is defined.
  4. Run the command to check the camera: adb shell dumpsys media.camera In the output look for lines with status=ACTIVE error=0. If there are errors (e.g., error)=-19), This indicates a hardware problem.

For a more detailed diagnosis, you can use the command:

adb shell dumpsys media.camera --check-hal

It will check if it works correctly. HAL (Hardware Abstraction Layer is the layer that handles the interaction between software and hardware. If there is a failed or unavailable response, you will likely need to flash or repair it.

⚠️ Attention: Teams ADB It can vary depending on the Android version and firmware. Misuse can cause crashes - do not change settings unless you are sure of their purpose.

πŸ’‘

If ADB does not recognize the device, try reinstalling drivers or using another USB-cable (preferably original).

6. Testing the camera with third-party applications

Xiaomi’s standard Camera app doesn’t always show the real state of the module, as it uses post-processing algorithms. To get raw data, install one of these apps:

  • πŸ“± Camera MX: allows you to manually adjust ISO, It's good for checking the matrix under different conditions.
  • πŸ” Open Camera: Open source software with support RAW-It'll help you identify hardware defects that the camera is hiding.
  • πŸ› οΈ Phone Doctor Plus: Conducts comprehensive diagnostics, including autofocus, flash and proximity sensor tests.
  • πŸ“Š CPU-Z: shows the technical characteristics of the camera (resolution, aperture, pixel size) and compares them with the stated.

When testing, pay attention to:

  • πŸ”Ž Noise in pictures: if in good lighting the photo is "grainy", a malfunction of the matrix or plume is possible.
  • 🎯 Focus speed: In third-party applications, it can be slower, but should not freeze".
  • 🌈 Distortions at the edges: on an ultra-wide-angle camera, a slight curvature is permissible, but a strong "barrel" indicates a defect in optics.

If you are in an Open Camera or Camera MX The camera refuses to start with the Failed to open camera error, this almost always indicates a hardware problem (damaged plume or the camera itself).

What if the camera is not detected in third-party applications?
1.Reboot the phone. 2. Clear the cache and data of the Camera application (Settings) β†’ Annexes β†’ Camera. β†’ Warehouse β†’ Clear the cache. 3. Check if the camera is disabled in the security settings (Settings) β†’ Confidentiality β†’ Permits β†’ Camera). 4 If nothing helps, hardware malfunction (requires repairs).

7 Hardware malfunctions: when repairs are not necessary

If all software tests are done, but the camera is still not working properly, it's probably a hardware problem.

Symptoms.Possible causeDecision
Camera fails, error fails to connect to cameraDamaged plume or connector on the motherboardRepairs in the service center (replacement of the plume) ~1500–3000 β‚½)
Photos with stripes of "broken" pixels or colored spotsFailure of the matrix or partial damageCamera replacement (~3000–8000 β‚½ model-wise)
Autofocus is not working, the image is always blurryFailed focus motor or distance sensorReplacement of the camera module or repair
The camera "twitches" when shooting a videoDamaged gyroscope or failure in stabilizationDiagnostics in the service (may require soldering of the chip)

Frequent causes of hardware breakdowns:

  • πŸ’₯ Falling smartphone (even if there is no damage, could move the plume).
  • πŸ’¦ Moisture intake (oxidation of camera contacts).
  • ⚑ Overheating (for example, after a long video shooting in the 4K).
  • πŸ”§ Poor repairs (if previously disassembled the phone).

If you suspect a hardware malfunction but are not sure, use the free diagnostics at the service center. Many workshops (such as Xiaomi Service or the Tech Repair Center) conduct an initial inspection without payment. The main thing is not to delay the repair: for example, oxidized contacts can eventually disable the motherboard, and then repairs will cost many times more.

πŸ’‘

If the camera stops working after falling or getting moisture, don't try to disassemble the phone yourself - this can aggravate the problem.

FAQ: Frequent questions about camera check on Xiaomi

πŸ”Ή Why Xiaomi Camera is Green or Purple?
This is a typical sign of matrix damage or color processing failure.Try: Reset the camera settings to factory settings (Settings) β†’ Annexes β†’ Camera. β†’ Warehouse β†’ Reset. Test the camera in the Open Camera app β€” if the defect remains, the hardware problem. Contact the service to check the plume and matrix. On some models (for example, the Redmi Note 8 Pro), such a defect occurs due to overheating of the MediaTek Helio processor. G90T. In this case, it will help to replace the heat paste.
πŸ”Ή How to check if the original camera is in Xiaomi?
If you are buying a used smartphone or suspect that the camera was replaced by a non-original one, do the following: Compare the serial number of the matrix (you can see in the image). ADB appendix CPU-Z) You can see the quality of the images, the non-original cameras often give the worst detail, especially in low light conditions. Check autofocus: on non-original modules, it can work slower or with errors. You can also use IMEI.info by entering the service. IMEI Phone – sometimes the original camera features are specified.
πŸ”Ή Xiaomi camera doesn’t focus on what to do?
The causes of blurred images can be both software and hardware: πŸ“± Resetting camera settings (see above). πŸ”„ Cleaning the cache of the "Camera" application". πŸ› οΈ Checking through the engineering menu (code # #6484##). πŸ”§ Replacement of camera glass (if it is cracked or contaminated inside). If nothing helps, possible: Autofocus motor damage. Trail detachment (relevant after falls); Camera firmware failure (solved by flashing the module).
πŸ”Ή Can I replace my camera with Xiaomi?
Theoretically yes, but it is risky for several reasons: πŸ”§ A special tool is required (suction cups, tweezers, hair dryer for peeling off glass). πŸ’₯ High risk of damage to plumes or motherboard. πŸ“± New models (e.g. Xiaomi) 13/14) The cameras are glued to the body, and replacing them without experience almost always leads to dust falling under the lens. If you do, use original parts (for example, with AliExpress on your model's article) and follow the training videos on YouTube (channels like Xiaomi Repair or Fixez).
πŸ”Ή Why Xiaomi’s front-facing camera is worse than the main camera?
This is normal: front-facing cameras usually have lower resolution (for example, 16-32 MP vs. 48-200 MP for the main one) and no telephoto lens or wide-angle module: πŸ” Clean lens (frontal cameras are often contaminated due to close contact with skin). πŸ“± Beauty settings (Camera settings) β†’ Beauty – Sometimes they smooth the image too aggressively). πŸ”„ Software updates (in new versions) MIUI Some models sometimes improve selfie processing algorithms, POCO F5) front-facing camera supports HDR Night mode – turn them on for better quality.