How to make a Xiaomi phone diagnosis at home: from battery to sensors

Your Xiaomi is slowing down, running out, or acting weird? Don't rush it to the service center -- most problems can be detected by using built-in tools and simple tests. In this article, we'll look at how to check all the key components of a smartphone, from the battery to the NFC module, without having to disassemble the device.

Diagnostics at home will save time and money, and give a clear understanding of what is wrong with your Redmi, POCO or Mi. We will look at both standard methods (hidden menus, USSD codes) and third-party applications with detailed reports.

All instructions are valid for MIUI 12-14 and HyperOS devices, including the 2020-2026 models. If your phone is released earlier, some menu items may differ - but the overall logic of the check remains the same.

1. Quick check through secret USSD codes

The easiest way to get basic information about the condition of the phone is to use engineering codes, which work on all Xiaomi smartphones without installing additional programs, just open the Phone app and type in the combination as if you were calling.

Here are the basic codes and what they show:

  • ๐Ÿ“ฑ ##4636## - information about battery, network usage, Wi-Fi statistics. MIUI This code may be blocked.
  • ๐Ÿ”‹ ##2846579## โ†’ ProjectMenu โ†’ Background setting โ†’ Battery log - detailed battery discharge statistics (only for some models).
  • ๐Ÿ“ก ##232338## โ€” MAC-Wi-Fi address, connection information.
  • ๐Ÿ“ž ##2663## - The touchscreen firmware version (useful if the screen does not respond well to touches).

If nothing happens after you enter the code, Xiaomi has blocked this method for your model, in which case move on to the next section with alternative methods.

๐Ÿ“Š What code did you use before for diagnosis?
##4636##
##2846579##
Other codes
Never used it.
I don't know those codes.

โš ๏ธ Warning: Do not enter codes found on questionable forums - some combinations (e.g. ##7780##) can reset your phone to factory settings.

2. Battery check: capacity, wear and charging speed

The battery is the weakest component of a smartphone, and even if a new, incorrect charge or overheating can shorten its lifespan, to check the battery status on Xiaomi, do the following:

  1. Go to Settings โ†’ Battery and Performance โ†’ Battery status. This shows the current capacity (e.g., "3900 mAh out of 4000 mAh"). If the difference is greater than 10%, the battery is worn out.
  2. Install the AccuBattery app (free on Google Play) and it will show the wear rate, the temperature during charging and the actual charge rate.
  3. Check how fast the phone is running on standby: Charge to 100%. Turn off mobile data, Wi-Fi, Bluetooth. Leave for 8 hours. Normal consumption is no more than 5% per night.

If the battery is discharged too quickly, the reasons may be different:

Symptoms.Possible causeDecision
Discharge >10% per nightBackground processes, poor MIUI optimizationTurn off auto-run applications in Settings โ†’ Apps โ†’ Permissions โ†’ Auto-run
The phone gets hot when chargingFaulty power supply or cableTry the original Xiaomi charger (20W/33W)
Capacity <80% of the originalNatural wear of lithium-ion batteryBattery replacement (in the service center or on your own)
Charging is interrupted by 80-90%The function "Optimized charging" is enabledTurn off the settings โ†’ Battery โ†’ Battery settings

๐Ÿ’ก

If the phone turns off at 10-20% charge, calibrate the battery: discharge to 0%, charge to 100% without interruptions, repeat 2-3 times.

3. Screen testing: dead pixels, color reproduction, touchscreen

Xiaomiโ€™s screen problems range from broken pixels to โ€œghostโ€ touches. To check the display, follow these steps:

  1. Visual examination: ๐Ÿ” Turn on a white background (open notes or a browser with a blank page). Light up with a flashlight at an angle so you can see scratches and stains better. ๐ŸŽจ Check the color rendering: open the image with a gradient (for example, the Lagom test.
  2. The broken pixel test: Use the Screen Test app (or Dead Pixel Test) to alternately color the screen in different colors, so you see the dots that are not working.
  3. Touch screen check: Open Settings โ†’ About Phone โ†’ MIUI version and quickly press 5 times on the Core (CTS menu will appear). Select Touch Screen Test - draw lines throughout the screen. If the lines are interrupted, the sensor is faulty.

Typical Xiaomi screen problems and their causes:

  • ๐Ÿ–ฅ๏ธ Yellow color: often found on the AMOLED-screens (Redmi) K50, POCO F4). It is a feature of the matrix, not marriage.
  • โœ‹ "Ghost" touches: caused by a plume damage or moisture ingress.
  • ๐Ÿ”„ Screen flicker: maybe because of automatic brightness. Turn it off in Settings โ†’ Display. โ†’ Automatic brightness.
How to distinguish a broken pixel from dirt on the screen?
The broken pixel is always visible against any background (even black), while dirt or dust disappears when you change the picture, and the pixel can be red, green or blue - dirt is usually gray / black.

4. Diagnostics of speakers, microphone and connectors

Xiaomi's audio problems fall into two categories: software (settings, drivers) and hardware (damaging speakers, microphones or audio chips).

  1. Dynamics: ๐Ÿ”Š Turn the music on at maximum volume. The sound should be clear, without wheezing. Check both speakers (top and bottom) if there are any. ๐ŸŽต Use a bass test file (e.g. audiocheck.net) If the bass is missing, the speaker is damaged.
  2. Microphone: ๐ŸŽค Write down a voice message on WhatsApp or a voice recorder. Listen, your voice needs to be clear, no noise. ๐Ÿ“ž Call another phone and check how you can be heard.
  3. Connector. Type-C/3.5 mm: ๐Ÿ”Œ If the sound is interrupted or missing in one ear, the problem is the connector or plug. ๐Ÿ”‹ Check charging through this connector โ€“ if the phone isnโ€™t charging, the contacts are contaminated or damaged.

If there's no sound at all:

โš ๏ธ Note: Some Xiaomi models (Redmi Note 11, POCO X3 Pro) after the update, the sound in the speaker disappears. This is treated by resetting the settings โ†’ System system โ†’ Resetting settings โ†’ Reset all settings (data will not be deleted).

For a deep diagnosis, install Phone Doctor Plus, which will test all audio components and show if each one works.

5. Camera check: focus, stabilization, sensors

Xiaomi cameras are known for their quality, but they can also fail. Frequent problems: blurry images, artifacts in the photo, broken stabilization.

  1. Main camera test: ๐Ÿ“ธ Take a picture of text from 30 cm away. All letters should be clear. If the text is blurred, it's a problem with focus. ๐ŸŒƒ Take a picture of a dark room. The picture should not have green/purple spots (this is a matrix defect).
  2. Front camera: ๐Ÿคณ Take a selfie with Beauty on and off (in camera settings). If you don't have filters, your face is blurry, the camera is defocused.
  3. Additional modules (ultrashir, macro, telephoto): ๐Ÿ” Switch to macro mode and take a picture of a small object (like a coin. ๐Ÿ”๏ธ In ultra-wide mode, check if there are any distortions at the edges (this is the norm for cheap models, but not for flagships).

If the camera is not focusing:

  • ๐Ÿ› ๏ธ Clean the lens with a soft napkin (sometimes it is enough to remove dirt).
  • ๐Ÿ”„ Restart your phone โ€“ sometimes the camera driver crash fixes this way.
  • ๐Ÿ“ฑ Install the Manual Camera (from Google Play) and try to manually adjust the focus. If it doesn't work, the module is faulty.

The camera doesn't work at all?|There are physical injuries (cracks, dents)?|The problem is evident in all applications (not just in the standard camera)?|You tried resetting the camera settings?-->

6. Testing of sensors: gyroscope, accelerometer, NFC

Xiaomi has a lot of sensors on its smartphones that make games, navigation and contactless payments work, and check them in order:

  1. Gyroscope and accelerometer: ๐ŸŽฎ Install the Sensor Test (or AndroSensor) and check the Gyroscope and Accelerometer. ๐Ÿ“ฑ Turn Level on in the standard Compass app. Put your phone on a flat surface, and the bubble should be centered.
  2. Approximation sensor: ๐Ÿ“ž When you call, put your hand up to the top of the screen, the display should go out. If it doesn't, the sensor is defective or contaminated.
  3. NFC: ๐Ÿ’ณ Turn it on. NFC In Settings โ†’ Connection and sharing โ†’ NFC. ๐Ÿฆ Try to pay something through Google Pay or a bank app. If the payment doesn't pass, the chip NFC damaged.
  4. Light sensor: โ˜€๏ธ Turn on automatic brightness and cover the sensor (near the front camera) with your finger.

On the POCO F3 and Redmi K40, there is often a problem with the gyroscope after falls - the phone starts to "twitch" in games (for example, in PUBG Mobile), this is treated only by replacing the motherboard.

7. Check the network and communication modules (Wi-Fi, Bluetooth, GPS)

If your Xiaomi is not catching the network well, loses the connection to Wi-Fi or does not find GPS satellites, the problem can be both in settings and in hardware.

  1. Mobile network (4G/5G): ๐Ÿ“ถ Go to Settings. โ†’ SIM-maps and mobile networks โ†’ Network type. Just choose. 4G (preferably 5G (if maintained). ๐Ÿ“Š Check the speed of the Internet through Speedtest. 10 Mbps with a good signal โ€“ a problem with the operator or antenna of the phone.
  2. Wi-Fi: ๐Ÿ“ถ Connect to a 5GHz network (if the router supports it) If the phone can't see it, the Wi-Fi module runs in a reduced mode. ๐Ÿ”„ Forget the network (Settings) โ†’ Wi-Fi โ†’ [tap the net] โ†’ Remove) and reconnect.
  3. Bluetooth: ๐ŸŽง Connect your headphones or speaker. If the sound is interrupted, update your firmware or reset your Bluetooth settings (Settings) โ†’ Connection and sharing โ†’ Bluetooth โ†’ โš™๏ธ โ†’ Resetting settings).
  4. GPS: ๐Ÿ“ Install. GPS Status & Toolbox and check how many satellites the phone finds โ€” 8โ€“12, open-air โ€” 15+. ๐Ÿ—บ๏ธ Include High Accuracy in Settings โ†’ Location โ†’ Regime.

If the phone doesnโ€™t catch the network at all:

  • ๐Ÿ”ง Check if it's inserted. SIM-slot-card SIM 2 (only in some models it works with the 2G).
  • ๐Ÿ“ฑ Restart your phone in Safe Mode (press the power button) โ†’ Safe Mode: If the network is on, it's the third-party app's fault.

๐Ÿ’ก

If after the update the mobile network disappeared, reset the settings APN: Settings โ†’ SIM-maps and mobile networks โ†’ Access points (APN) โ†’ Reset to factory.

8. Full diagnostics through the engineering menu (MTK/Qualcomm)

For a deep analysis of hardware, you can use an engineering menu, the method depends on the processor of your Xiaomi:

  • ๐Ÿ”ง For Qualcomm processors (Snapdragon): Enter the code ##225## or ##4636##. โ†’ Check all items (especially Audio, Sensors, Battery).
  • ๐Ÿ› ๏ธ For MediaTek processors (Helio, Dimensity): Enter #36446337## (or #4636## โ†’ Engineering Mode. Go to Hardware Testing โ†’ Single Item Test and select the desired component.

The engineering menu can:

  • ๐Ÿ“Š See the actual battery voltage (normal 3.7โ€“4.2V).
  • ๐Ÿ”Š Check the signal quality (Network item) โ†’ Serving Cell Info. Meaning RSRP should be higher -100 dBm.
  • ๐Ÿ“ก Identify problems with antennas (if you have a problem with the antennas) RX Level is constantly changing, perhaps the plume has gone away).