Why Xiaomiโ€™s screen doesnโ€™t lock during a conversation โ€“ and how to fix it

Have you ever noticed that during a phone conversation, your Xiaomi screen stays on, although logically it should lock? It's not just a trifle โ€” a constantly burning display drains the battery, casual touches interrupt the call, and in some cases even create discomfort for the interlocutor (for example, when the microphone switches to speaker due to pressing the screen). In this article, we will examine all possible reasons why the smartphone does not extinguish the screen when it is brought to the ear, from banal settings to hardware malfunctions.

The problem is common in most Xiaomi, Redmi and POCO models, but it is especially common on devices with MIUI 12/13/14 and older. Interestingly, sometimes the screen locks 5-10 seconds after the conversation starts, and sometimes it doesnโ€™t go out at all. We tested the solutions on Xiaomi 13 Pro, Redmi Note 12 and POCO X5 โ€” and are ready to share working methods.

Now, the important thing to understand is that if things used to work normally, and now the screen is no longer locked, it's probably the software that's to blame, and if the problem was out of the box, maybe the proximity sensor or the firmware is faulty, and then we'll go through both scenarios.

1. Approximation sensor: how it works and why it may fail

The main culprit of the non-switching screen is the proximity sensor, a small sensor located next to the front camera (usually to the right or left of it), whose task is to detect when you hold the phone to your ear, and send a signal to the system to lock the screen, and if the sensor does not work, the screen remains active.

Xiaomi uses two types of sensors:

  • ๐Ÿ”น Infrared (IR) โ€” It emits and picks up the reflected signal, more reliable, but sensitive to pollution.
  • ๐Ÿ”น Capacitive: responds to changes in the electric field, less accurate, can fail in wet weather or with gloves on.

Causes of sensor failure:

  • ๐Ÿงด Pollution โ€“ dust, greasy skin marks or protective film/glass covering the sensor.
  • ๐Ÿ’ฅ Fall or impact โ€“ even a minor mechanical impact can displace the sensor.
  • ๐Ÿ”„ Firmware failure - after update MIUI The sensor driver may not work properly.
  • ๐Ÿ”‹ Energy savings โ€“ some battery modes turn off โ€˜unnecessaryโ€™ sensors.

To check if the sensor is to blame, use the test mode:

  1. Open the Phone app and type ##6484## (some models run #4636##).
  2. Select the Test Proximity Sensor (or similar).
  3. Close the sensor with your finger, the screen should go out. If there is no reaction, the sensor is defective.
๐Ÿ“Š What kind of smartphone you Xiaomi?
Redmi Note
POCO
Xiaomi (flagship)
Redmi (budget)
Other

2. MIUI settings: What could have gone wrong

Sometimes the problem is not hardware, but software settings, and MIUI has several parameters that can interfere with automatic screen locking:

๐Ÿ”ง Main points of verification:

  • ๐Ÿ“ฑ In your pocket mode - if it's activated, the system can ignore the proximity sensor. โ†’ Display. โ†’ โ€œIn the pocketโ€ modeยป.
  • ๐Ÿ”„ Adaptive brightness -- sometimes conflicting with the sensor. Try turning it off in Settings. โ†’ Display. โ†’ Adaptive brightness.
  • ๐Ÿ›ก๏ธ Random press protection - if enabled, can block the response to the sensor.Path:Settings โ†’ Memory and productivity โ†’ Protection against accidental pressing.
  • ๐Ÿ”• Do Not Disturb Mode - in some firmware it turns off the sensor. Check in Settings โ†’ Sound and vibration โ†’ Don't disturb.

You should also check out the special call settings:

  1. Open Settings โ†’ Applications โ†’ Phone โ†’ Call settings.
  2. Find the Lock screen option during the call (or similar) and make sure it is turned on.
  3. Check if the tick opposite Use the default speaker connection - it may interfere with the sensor.

๐Ÿ’ก

If the settings do not include a clause about locking the screen, try resetting the settings of the Phone application to factory: Settings โ†’ Apps โ†’ Phone โ†’ Storage โ†’ Reset settings.

3. Firmware and updates: when the software is to blame

One of the most common scenarios is a failure after the MIUI update, for example, Redmi Note 10 Pro users complained massively about the problem after switching to MIUI 13, and POCO F3 owners experienced a bug in MIUI 12.5.

  • ๐Ÿ› Bugs in the sensor driver โ€“ the firmware incorrectly processes sensor signals.
  • ๐Ÿ”„ Conflict with the shell - some functions MIUI (For example, Game Turbo can block the sensor.
  • ๐Ÿ“ฆ Damaged system files โ€“ if the update was error-prone.

๐Ÿ”น How to fix it:

  1. Update your firmware to the latest version: Settings โ†’ About Phone โ†’ System Update.
  2. Reverse to stable version โ€“ if the bug appeared after the update, try to return to the previous firmware via Fastboot.
  3. Reset settings (without data loss): Settings โ†’ Additional โ†’ Reset settings โ†’ Reset network/application settings.

If the problem occurred after manually updating through Recovery, it is possible that the firmware was โ€œcurvedโ€ installed, in which case a full flashing through the Mi Flash Tool (instruction below) will help.

Instructions for flashing through Mi Flash Tool
1. Download the official firmware for your model from Xiaomi's website (choose the Fastboot version). 2. Install Mi USB Driver drivers and the Mi Flash Tool program. 3. Turn off the phone, press Volume Down + Power to log in to Fastboot. 4. Connect your smartphone to your PC, in Mi Flash, select the downloaded firmware and press Flash. 5. Once completed, the phone will reboot (the first start can take up to 10 minutes).

Mechanical damage and repair

If the software methods didn't work, the problem could be hardware, and here are the typical "symptoms" of a faulty proximity sensor:

  • ๐Ÿ”ฆ The screen is never locked during a call, even after a reset.
  • ๐Ÿ“ฑ Test mode (#6484##) shows no response to sensor closure.
  • ๐Ÿ”ง After replacing the screen or glass, the sensor stopped working.

๐Ÿ› ๏ธ What do you do:

  • ๐Ÿ” Look at the sensor, maybe it's covered with film, tape, or dirt, and clean it carefully with a cotton swab dipped in alcohol.
  • ๐Ÿ”ง Check the plume - if you recently disassembled the phone, the sensor connector could move away (requires disassembly).
  • ๐Ÿ”„ Replace the sensor โ€“ if it is physically damaged, you will need a soldering station or help from a service center.

โš ๏ธ Note: If you are not sure about your skills, do not try to disassemble your smartphone yourself - the risk of damaging the display plume or motherboard is very high. The average cost of replacing the sensor in the service: 800-1,500 rubles (depending on the model).

Xiaomi modelType of sensorCost of replacement (โ‚ฝ)Difficulty of repair
Redmi Note 11/12Infrared900โ€“1200Medium
POCO X3/X4Capacitive800โ€“1100Low.
Xiaomi 12/13Infrared1200โ€“1500Tall.
Redmi 10ACapacitive700โ€“900Low.

5 Third-party applications and conflicts

Sometimes it's not the system settings that are to blame, but applications from third-party developers, like:

  • ๐Ÿ“ž Alternative calls (Truecaller, Google Phone) โ€“ may conflict with the native phone app.
  • ๐Ÿ›ก๏ธ Clean Master, 360 Security โ€“ Blocks the Sensors.
  • ๐ŸŽฎ Gaming Utilities (Game Turbo, GFX Tools โ€“ Disable sensors to โ€œimprove performanceยป.

๐Ÿ”น How to find the culprit:

  1. Launch your phone in Safe Mode (press the power button โ†’ Safe Mode).
  2. Call someone โ€“ if the screen is blocked, the third-party app is to blame.
  3. Remove suspicious programs to check the results.

๐Ÿ’ก Advice: If the problem occurs after installation MIUI-With those or Magisk modules, try returning a standard theme or disabling root rights.

Make sure the sensor is not covered by a film or cover

Test the sensor through the engineering menu (#6484##)

Update the firmware to the latest version

Reset the settings of the phone application

Try another launcher (like Nova Launcher)

-->

6. Alternative solutions: if nothing helps

If all of the above methods fail, radical measures remain:

๐Ÿ”ง Method 1: Forced screen locking

You can set up automatic screen locking via Tasker or MacroDroid:

  1. Install MacroDroid from Google Play.
  2. Create a new macro command with a trigger Call State โ†’ Incoming/Outgoing.
  3. Add the action of screen lock.
  4. Save and activate the macro.

๐Ÿ”ง Method 2: Disconnect the sensor (if it interferes with the sensor)

If the sensor is too sensitive (e.g., locks the screen when the phone is held normally), it can be turned off via ADB:

adb shell settings put global proximity_delay 2500


adb shell settings put global proximity_wake_lock_enabled 0

๐Ÿ’ก Explanation: One command increases the delay, the other one turns off the lock. To get it back, replace 0 with 1.

โš ๏ธ Warning: Disabling the proximity sensor will result in the screen never locking during calls, which can cause accidental pressing and rapid battery discharge.

๐Ÿ’ก

Before use ADB-Make sure you have the debugging enabled. USB (Settings โ†’ The phone. โ†’ Version. MIUI โ†’ 7 times press โ†’ For developers โ†’ Debugging by USB).

FAQ: Frequent questions

๐Ÿ“ฑ Why the new Xiaomi screen is not locked when you call?
Most likely, the phone has a test or raw firmware installed. Update MIUI to the latest stable version via Settings โ†’ System Update. Also check if the proximity sensor is closed with transport film (this happens on new devices).
๐Ÿ”„ After updating MIUI The screen stopped going out. How to get it back?
If the problem has occurred after the update, try: Reset the Phone application settings (Settings โ†’ Applications โ†’ Phone โ†’ Storage โ†’ Reset). Reverse the previous firmware version via Recovery (instructions are available on the 4PDA forum). Clear the system cache (Settings โ†’ Memory โ†’ Clear cache). If nothing helps, you will have to wait for a patch from Xiaomi or install custom firmware (for example, xiaomi.eu).
๐Ÿ›ก๏ธ Can I replace the proximity sensor myself?
Theoretically, yes, but in practice, it's risky. The sensor is soldered to the motherboard, and you need to replace it with: a soldering station with thermal air; a new sensor (costs 200 to 500 rubles); experience with microelectronics; without skills, you risk damaging the screen plume or the board itself.
๐Ÿ”‹ Does a broken sensor affect the battery?
Yes, and very much. In our tests, a constantly burning screen during a 30-minute call discharges the battery 12-18% faster than normal sensor operation, and the active display warms up, which can lead to the processor trottling.
๐Ÿ“ฒ Are there applications for testing the proximity sensor?
Yes, Google Play has diagnostic tools: Proximity Sensor Reset resets the sensor settings; Sensor Test checks all the sensors on the phone; Phone Doctor Plus is comprehensive diagnostics; but remember, these apps only test the sensor, but they can't fix it.