Xiaomi Factory Test: What It Is, How to Launch and Decipher Results

You just unpacked the new Xiaomi, Redmi or POCO, And the manual mentions a mysterious Factory Test Mode, or maybe your machine is slowing down and the service center is asked to give you the results of that test before repairing it, and what is the mode, why is it needed, and how to use it properly, let's go through the details.

The factory test is a built-in diagnostic tool that checks the hardware of the smartphone during production and after repair, which allows you to detect malfunctions of the display, sensors, speakers, microphones, battery and other components without installing additional applications. Unlike popular benchmarks like AnTuTu or Geekbench, the factory test works at the firmware level and gives objective data on the state of the hardware.

In this article you will find:

  • πŸ” What is Factory Test Mode and how is it different from the Engineering Menu?
  • πŸ“± Launch methods on different Xiaomi models (including hidden combinations)
  • πŸ“Š Decoding Results: What Parameters Are Verified and What Errors Mean
  • ⚠️ What to do if the test does not start or shows failures

πŸ“Š Have you ever run a factory test on your Xiaomi?
Yeah, I checked before I bought it.
Yes, on the advice of the service center.
No, but I heard about it.
No, and I don't know why.

1 Factory Test Mode – What it is and why it is needed

Factory Test Mode (Factory Test Mode) CIT β€” Customer Interface Test is a hidden diagnostic mode built into the firmware of all Xiaomi smartphones:

  • 🏭 Quality control in production (checking each device before packaging)
  • πŸ”§ Diagnostics of malfunctions in service centers
  • πŸ›’ Checking used phones before buying (identifying hidden defects)
  • πŸ“‰ Monitoring the wear of components (for example, battery capacity)

Unlike the engineering menu (#4636###), which shows network and battery data, Factory Test Mode tests physical components: display, cameras, speakers, sensors, buttons and even a vibrator, and results are displayed as color indicators (green is good, red is bad) or numerical values (such as antenna signal level).

It's important to understand that this test doesn't repair the device, it only detects problems. If it shows an error, it's a reason to contact the service - especially if the phone is warranty. For example, a red indicator next to the Touch Panel can mean a malfunction of the touch layer of the screen, and an error in the Main Camera - a failure of the main camera module.

πŸ’‘

If you buy a used Xiaomi smartphone, be sure to run a factory test before payment, which will help to identify hidden defects that the seller may not notice (or concealed).

2.How to run a factory test on Xiaomi: all ways

How to run Factory Test Mode depends on the smartphone model and firmware version MIUI. Below are current methods for devices of 2018-2026 release.

Method 1: Using USSD code (for most models)

The most universal method is to enter the service code in the application "Phone":

  1. Open the phone application (green handset).
  2. Enter the combination: ##4636## or ##6484###.
  3. Press the call button (green tube).
  4. In the menu, select Factory Test or CIT.

If the code doesn’t work, try alternatives:

  • ##64663## (For older models of Redmi Note 3/4)
  • #284## (battery test)
  • #36446337## (Sensor check)

Method 2: Through the engineering menu (for firmware based on Android 10)+)

On new devices (Xiaomi) 12/13/14, Redmi Note 11/12, POCO F4/F5) The factory test can be hidden deeper:

  1. Enter the code on your phone: ##4636##.
  2. Go to the Testing section (or the Engineering menu).
  3. Choose the Single Test or All Test.

Method 3: Through the "Settings" application (for MIUI 14)

On some models (for example, Xiaomi 13 Ultra or Redmi). K60) The test is available through standard settings:

  1. Open the Settings. β†’ The phone.
  2. 5 times quickly tap on the item Version MIUI (A notice will appear, You have become a developer").
  3. Return to the main settings menu and select Additional β†’ Special facilities β†’ Factory Test.

Charge your phone at least 50%|Turn off all apps in the background|Connect to stable Wi-Fi (for some tests)|Prepare paper to record the results-->

Method 4: Through Fastboot (for "bricks")

If the smartphone does not turn on (the so-called β€œbrick”), but reacts to the connection to the PC, you can run the test via Fastboot:

fastboot oem testmode

This command only works on devices with an unlocked bootloader and requires Xiaomi drivers installed.

What do I do if the codes don't work?
If none of the codes opens Factory Test Mode, it is possible: 1. MIUI (This is true for global firmware. 2. The device is in "Anti-Rollback" mode. 3. The phone is released for a specific region (for example, China) where the test is hidden (TWRP) and run the test through it. - Use third-party applications like MTK Engineering Mode (for devices running MediaTek processors).

3.What the factory test checks: a complete list of parameters

Depending on the model, the Factory Test Mode can include 10 to 30 different checks, and below is a transcript of the main items that you will see on the test menu.

Test itemChecksNormal values
LCD TestColors and screen backlight (check for broken pixels, uneven backlight)All colors (red, green, blue, black, white) are displayed evenly.
Touch PanelThe ability of the sensor layer (multi-touch, reaction to touch)All points on the screen respond to touch, no dead zones.
Main CameraThe main camera module (autofocus, matrix, flash)Image clear, no artifacts, autofocus works
BatteryBattery capacity and voltageVoltage: 3.7–4.4V, capacity not less than 80% of the declared
VibrationPerformance of the vibrator motorVibration is uniform, without stuttering

A complete list of tests may also include:

  • πŸ”Š Speaker – speakers (top and bottom)
  • 🎀 Microphones (main and noise reduction)
  • πŸ“Ά Network - communication modules (Wi-Fi, Bluetooth, GPS, NFC)
  • πŸ”‹ Charging - Charging ports (USB-C, wireless charging)
  • πŸ“± Sensors – sensors (accelerometer, gyroscope, compass, proximity sensor)

Important: On some models (e.g. Xiaomi) 12S Ultra or Redmi K50 Gaming, the test can show the Thermal, the temperature of the processor and the battery.Β°C in standby mode, this is a sign of overheating or a malfunction of the cooling system.

4. Decoding the results: what colors and errors mean

After the test is completed, you will see a screen with results, where each item is marked with a color:

  • βœ… Green - the component is in good condition.
  • ❌ Red: Fault or error.
  • ⚠️ Yellow/orange: Warning (e.g. low battery charge).

If a red indicator is on next to a point, it can mean:

Mistake.Possible causeRecommendations
Touch Panel FailTouch screen malfunction (cracks, plume detachment)Check the screen for physical damage, and if there's no physical damage, the touch controller is defective.
Main Camera ErrorCamera failure (lens contamination, plume damage, matrix failure)Clean the lens with a soft napkin. If there's a problem, contact the service.
Battery Low CapacityBattery capacity below 60% of nominal valueReplace the battery. Further use may cause sudden blackouts.
No SIM DetectedSlot malfunction SIM-mapTry another one. SIM-If the error persists, the antenna module is the problem.

Some mistakes can be false, GPS Fail sometimes shows up indoors because there's no signal, in which case, repeat the test in an open area.

πŸ’‘

If the factory test shows a red indicator next to the NFC Or Fingerprint, but the features are working fine -- maybe the firmware problem. MIUI last-minute.

Frequent problems and their solutions

Even if you did everything right, it can be difficult to run Factory Test Mode, and here are the most common ones and how to fix them.

Problem 1: The test does not start (codes do not work)

Possible causes and solutions:

  • πŸ“± Global firmware: on some global versions MIUI The test is blocked. The solution is to install EU-firmware.
  • πŸ”’ bootloader blocked: On new devices (Xiaomi) 13T, Redmi Note 12 Pro+) You may need to unlock through the Mi Unlock Tool.
  • πŸ› οΈ Damaged section with tests: If the phone fell or re-flashed, section /factory The solution is to reflash the device through the Mi Flash Tool.

Problem 2: Test starts, but closes immediately

This is a problem for devices with insufficient RAM (for example, Redmi). 9A or POCO C31). Decisions:

  • Close all background applications through Settings β†’ Applications β†’ Launched.
  • Restart your phone in Safe Mode (hold the power button) β†’"Restarting in Safe Mode").
  • If it doesn’t work, run tests one at a time, not all at once.

Problem 3: Test Failed Error without details

If the test ends with a common error but does not indicate which component is faulty:

  1. Run the test again and take a picture of the screen when you make an error.
  2. Check the system logs through the Logcat application (developer rights required).
  3. Please contact the service center with the following clarification: "Factory Test Mode returns a common error without detail".
How do you save the test results?
On most Xiaomi devices, the Factory Test Mode results cannot be saved directly: 1. Photograph the screen with the results. 2. Record video of the testing process. 3. Use the Screen Recorder app (embedded screen recording in the MIUI). 4. Connect your phone to your PC and take a screenshot ADB: adb shell screencap -p /sdcard/factory_test_result.png

6.When to run a factory test

Factory Test Mode is not a tool that you need to use every day, but there are situations where it is necessary to run.

Case 1: Before buying a used smartphone

If you are buying Xiaomi, Redmi or POCO hand, factory test will help to identify:

  • πŸ”‹ Hidden battery wear (if the seller claims that the battery is new").
  • πŸ“Έ Camera malfunctions (such as a broken lens that is not visible from the outside).
  • 🎧 Problems with speakers or microphone (frequent problem after moisture is ingested).
  • πŸ“± Failing sensors (gyroscope, compass – they are difficult to check without special applications).

Case 2: After falling or getting moisture

If the phone falls, gets wet or overheats, the factory test will show which components are affected.

  • Touch Panel – Screen cracks can damage the touch layer.
  • Main Camera and Front Camera – Cameras are sensitive to shocks.
  • Speaker and Microphone – Water often breaks them down.
  • Battery – after a fall, the contact of the battery may be broken.

Case 3: Before selling your phone

If you sell your Xiaomi, giving the factory test results will increase customer confidence, especially if:

  • Phone over 2 years old (buyers are afraid of battery wear).
  • There are scratches on the body (may cause suspicion of falls).
  • You say that β€œeverything works”, but you want to confirm it objectively.

πŸ’‘

If you're selling a phone, take a screenshot of Factory Test Mode results and attach it to the ad, which will increase the chances of a quick sale and allow you to charge a higher price.

7. Alternatives to the factory test: when to use them

If for some reason Factory Test Mode is not available, alternative diagnostic methods can be used.

Mi Diagnostics appendix (official)

Xiaomi has released an official app for checking devices - Mi Diagnostics.

  • πŸ“± It works on all models with MIUI 10+.
  • πŸ“Š Provides more detailed data about the battery (charging cycles, temperature).
  • πŸ”§ Checks the performance of the processor and memory.

You can download it from the Mi App Store.

Third-party annexes

For advanced diagnosis, suitable:

  • πŸ› οΈ CPU-Z β€” detailed information about the processor, memory, sensors.
  • πŸ”‹ AccuBattery – monitoring the status of the battery.
  • πŸ“Έ Camera Test – Checking all camera modules.
  • 🎡 Speaker Test – test speakers at different frequencies.

But remember, third-party apps don't always show hardware problems, like not being able to detect camera plume malfunctions or microscopic cracks on the motherboard.

Engineering menu (MTK/Qualcomm)

If your Xiaomi is running on a MediaTek or Qualcomm Snapdragon processor, you can use the engineering menu:

  • For MediaTek: type ##36446337##.
  • For Snapdragon, type #786##.

The engineering menu includes advanced antenna tests, signal modulation and other low-level parameters.

πŸ’‘

If you are not sure about the results of third-party tests, always give preference to Factory Test Mode, only it gives data at the firmware level, which is recognized in official Xiaomi service centers.

8. FAQ: Answers to frequent questions

❓ Can I reset the factory test results?
No, the test results are temporary data that is not stored in the phone's memory. They are generated anew each time you run, but if you want to reset your test history (for example, before selling), just reboot the device.
❓ Why Xiaomi doesn’t have Factory Test Mode?
There are several reasons: You have a global firmware installed (for example, MIUI Global, where access to the test is limited. The device is released for a specific operator (for example, Xiaomi for the mobile phone). Tele2), And the manufacturer turned off the diagnostics. You're using custom firmware (like LineageOS) where Factory Test Mode isn't implemented. EU-firmware MIUI.
❓ Can a factory test damage your phone?
No, Factory Test Mode is passive diagnostics, it only reads sensors and components, but it doesn't change the system, and the only risk is that the battery will run out to 0% during the test, but that's unlikely because it takes 1-2 minutes.
❓ How to run a test on Xiaomi with a broken screen?
If the display doesn't respond to touch, but the image is visible: Connect your phone to your PC via USB and use the mouse through OTG-Adapter, run the test through ADB: adb shell am start -n com.android.settings/.TestingSettings If the screen is completely black, but the phone is turned on, connect it to an external monitor through the phone. USB-C to HDMI.
❓ What to do if the test shows an error"IMEI Invalid"?
Mistake. IMEI Invalid means that: IMEI-The phone number is erased (for example, after a failed firmware), the device is not original (possible fake). SIM-The card is faulty. Solution: Check. IMEI If you don't have a warranty, you need to restore it. Contact Xiaomi Service Center with a check for your purchase (if you don't have a warranty). IMEI through SN Writer Tool (Authorized Account Required). ⚠️ Attention: Recovery IMEI This can lead to a network shutdown, and in some countries it violates the law.