Why Xiaomi screen doesnโ€™t lock when talking: 7 reasons and how to fix it

Youโ€™re having an important conversation on the phone, but Xiaomiโ€™s screen persists in being active โ€” casual touches interrupt a call, turn on speakerphone, or even complete a call โ€” a problem familiar to many smartphone owners, and itโ€™s found on both the budget Redmi Note and Xiaomi flagships. 13/14. V 80% In some cases, the proximity sensor is to blame, but there are other reasons - from firmware bugs to mechanical damage.

In this article, we will look at all possible scenarios for why the screen does not go out during a call, and give step-by-step diagnostic instructions, from simple checks to deep settings. 2022โ€“2026 In the past, the problem is often associated with optimization. MIUI 14/15 And the hardware features of the new sensors, if you've tried to reboot your phone or clean the cache, you'll find solutions that go deeper.

1.How does screen locking work during a call

Before you look for the cause of the failure, it is important to understand the mechanism. In Xiaomi smartphones, the answer for locking the screen when talking is:

  • ๐Ÿ”น The proximity sensor is an infrared sensor that detects when the phone is held to the ear, usually next to the speaker (top of the screen).
  • ๐Ÿ”น software processor in MIUI โ€” analyzes sensor signals and sends a command to turn off the display.
  • ๐Ÿ”น Android kernel โ€“ manages process priorities (e.g., prevents third-party applications from blocking sensors).

Activation algorithm:

  1. You start the call. โ†’ system activates the approximation sensor.
  2. Phone reaches your ear โ†’ The sensor detects the obstacle and sends a signal to the MIUI.
  3. MIUI locks the screen and disables touch input (except volume buttons).
  4. After the phone is removed, the sensor is activated again. โ†’ screen unlock.

A critical feature of Xiaomiโ€™s 2023-2026 models is that proximity sensors are often combined with a light sensor in one module, and damage to one sensor can affect the operation of another.

๐Ÿ“Š Which Xiaomi model you have a problem with?
Redmi Note 10/11/12
Redmi 9/10/11
Xiaomi 12/13/14
POCO F3/F4/F5
Another model

Proximation sensor: diagnostics and cleaning

In 60 percent of cases, the sensor is the problem, and you can check it without disassembling the phone.

Method 1: Testing through the Engineering Menu

In the application Phone combination:

##6484##

The Manual Test Menu will open โ†’ Select Proximity Sensor. Put your hand to the top of the screen:

  • โœ… If the value changes from 5 (no obstacle) to 0 (there is an obstacle), the sensor works.
  • โŒ If the value is always 5 or 0, the sensor is faulty.

Method 2: Visual inspection

Take a flashlight and shine it on the top of the screen (near the speaker).

  • ๐Ÿ”ฆ Dust or dirt under glass โ€“ sensor may fail due to pollution.
  • ๐Ÿ’ง Moisture traces - oxidation of contacts (relevant after water ingress).
  • ๐Ÿ•ณ๏ธ Cracks on glass above sensor โ€“ light signal scatters.

How to clean the sensor:

  1. Turn off the phone.
  2. Take a soft toothbrush (new!) and walk gently through the sensor area.
  3. For persistent contamination, use alcohol wipes (at least 70% alcohol).
  4. Donโ€™t blow on the sensor โ€“ it can drive the dust deeper!

โ˜‘๏ธ Checklist before cleaning the sensor

Done: 0 / 4

โš ๏ธ Attention: On Xiaomi models 12T Redmi Note 12 Pro+ The sensor is closed with an extra layer of protection, aggressive cleaning can damage it, if after cleaning the problem remains, contact the service.

3. Software failures: from cache to firmware

If the sensor is good, but the screen is still not locked, it's the software's fault.

Phone app malfunction

Appendix com.android.dialer (or com.miui.dialer in MIUI) It can be buggy after updates:

  • ๐Ÿ”„ Cache cleanup: Settings โ†’ Annexes โ†’ Application management โ†’ Phone. โ†’ Warehouse โ†’ Clear the cache.
  • ๐Ÿ“ฅ Reset application settings: In the same menu, click Reset settings (calling data will be saved).
  • ๐Ÿ”™ Reverse updates: If the problem appeared after the update โ€“ in the menu of the application click โ‹ฎ โ†’ Remove updates.

baga MIUI 14/15

In the firmware MIUI 14.0.4.0 and 15.0.2.0 detected bugs with the sensor signal processing:

  1. Version MIUI: Settings โ†’ About the phone โ†’ version of MIUI.
  2. If the version is older than 14.0.6.0 or 15.0.3.0, update via Settings. โ†’ Updating the system.
  3. If there are no updates, install the beta version through the official website (for power users only!).

Alternative solution: Turn on Developer Mode and turn off Windows animation (sometimes conflicting with sensor processing). โ†’ The phone. โ†’ Version. MIUI (press 7 times) โ†’ return to โ†’ For developers โ†’ Window animation = Off..

๐Ÿ’ก

After the update MIUI problem remained, try resetting the network settings: Settings โ†’ SIM-maps and mobile networks โ†’ Network resets. This often helps with communication module/sensor conflicts.

4. Conflicts with protective glass and covers

Few people know, but metal-layered protective glass (e.g., "hardened" or "armored") can block the infrared signal of the proximity sensor, as can cases with magnetic fasteners or metal inserts.

Accessory typeImpact on the sensorDecision
Metal-coated glassBlocks the IR signal.Replace with ordinary glass (without the "mirror" effect)
Magnet caseIt's jamming the sensor.Use a case without magnets or remove it during a call
Gel glass (silicone)Can scatter lightCheck the density of the fitting, replace with a thin glass
Book case with windowThe window can close the sensorCut the sensor hole or remove the cover

How to check the effect of the cover:

  1. Remove the cover and the safety glass.
  2. Call your phone and check the screen lock.
  3. If the problem has disappeared, the accessory is to blame.

โš ๏ธ Note: Xiaomi 13 Ultra and Redmi models K60 Pro proximity sensor is located under the display (not above it, as usual). Here even thin glass can interfere! Use only glass with a cutout for the sensor.

5. Hardware damage: what breaks most often

If the software methods didn't work, the problem might be the hardware.

1. Damage to the sensor plume

When the phone falls or breaks down, it often leaves the plume connecting the sensor to the motherboard.

  • ๐Ÿ“ต The sensor does not respond to anything (the test is always 5).
  • ๐Ÿ”Š Problems with the speaker (wheezing, quiet sound) โ€“ the plume often goes along with the audio module.

Solution: Disassembly and soldering/replacement of the service plume, average cost of repairs: 1,500-3,000 โ‚ฝ.

Contact oxidation

If the phone was in the rain or in the bathroom, the sensor contacts could oxidize.

  • ๐Ÿ’ฆ The sensor will work once (it works, then it does not).
  • ๐Ÿ”‹ Fast battery discharge โ€“ oxidation increases resistance.

Diagnostics: Light a flashlight on the motherboard (if you have any experience in parsing), oxidized contacts will be green or white.

What to do if the phone is sinking?
If Xiaomi has been in contact with water, DO NOT dry it with a hair dryer or on a battery! this will accelerate corrosion.Right steps: 1. Turn off the phone and remove SIM-2. Place it in a silica gel bag (out of a shoe box) for 24 hours. 3. Do not turn it on until you make sure there is no moisture (check moisture indicators - red dots in the tray) SIM-If the sensor does not work after drying, bring the service for ultrasonic cleaning.

Damage to the sensor itself

The sensor may fail after:

  • ๐Ÿ”จ Blows to the top of the phone (for example, a drop from the screen down).
  • โšก Voltage changes (non-original charges).
  • ๐Ÿ”ฅ Overheating (using the phone in direct sunlight).

How to confirm: If the sensor on the engineering menu is 0, even when the phone is lying on the table, it's defective. It'll cost 800 to 2000 to replace it. โ‚ฝ (model-wise).

6. Alternative solutions: if nothing helps

If youโ€™ve tried everything but the screen still doesnโ€™t lock, here are some radical methods:

1. Forced blocking through settings

V MIUI There is a hidden function of forced shutdown of the screen during the call:

  1. Open the Settings. โ†’ Special facilities โ†’ Management convenience.
  2. Turn on the option to automatically lock the screen when calling (some firmware called Lock during a call).
  3. If there is no option, use it. ADB-Adb shell settings put global auto_lock_screen_during_call 1

2.Installation of a third-party call app

Apps like Google Phone or Truecaller have their own sensor processing algorithms.

  1. Install Google Phone from the Play Market.
  2. Make it the default app: Settings โ†’ Annexes โ†’ By default. โ†’ Phone.
  3. In the Google Phone settings, enable Screen Lock during the call.

3.Rollback to factory firmware

If the problem occurs after the update MIUI, Go back to the previous version:

  • ๐Ÿ“ฅ Download the fastboot firmware version from Xiaomifirmwareupdater.com.
  • ๐Ÿ–ฅ๏ธ Use the Mi Flash Tool for firmware (instructions on the Xiaomi forum).

โš ๏ธ Attention: Firmware rollback will reset all data! pre-reverse through Settings โ†’ Additionally. โ†’ Backup and reset on models with locked bootloader (Xiaomi) 12/13/14) You will need to unlock the Bootloader.

๐Ÿ’ก

If you're not sure about your firmware skills, you should go to a service center, and if you don't do the right thing, you can turn your phone into a brick.

7 Prevention: How to avoid problems in the future

To ensure that the Xiaomi screen is always locked during a call, follow these rules:

  • ๐Ÿ›ก๏ธ Use quality accessories: only original or certified glass/cases without metal inserts.
  • ๐Ÿ”‹ Avoid overheating: Do not leave your phone under the sun or charging while playing.
  • ๐Ÿšฟ Protect from moisture: even if the model has protection IP53, Long-term exposure to moisture damages sensors.
  • ๐Ÿ”„ Regularly update the software: in new versions MIUI Often fix sensor bugs.
  • ๐Ÿงน Clean the sensor: once a month wipe the top of the screen with an alcohol wipe.

If you drop your phone frequently, consider models with an ultrasonic proximity sensor (e.g. Xiaomi). 13T They are less sensitive to mechanical damage because they have no moving parts.

FAQ: Frequent questions

Can I replace the proximity sensor myself?
Technically, yes, but it requires microelectronics soldering experience, the sensor is soldered to the motherboard, and if you replace it carelessly, you can damage neighboring components (such as a microphone or speaker โ€” 1 200โ€“2 500 โ‚ฝ (depending on the model. for Xiaomi 12/13/14 We recommend you to contact authorized centers โ€“ here the sensor is often combined with other sensors.
The problem came after the MIUI update. How do you roll back?
A rollback is possible, but requires unlocking the bootloader. Steps: Unlock Bootloader through the official Xiaomi website (you need a Mi Account and wait 7-30 days). Download the fastboot firmware of the desired version from xiaomifirmwareupdater.com. Run the phone through Mi Flash Tool (select the clean all option). Important: rollback will reset all data!
The screen locks, but it's 2-3 seconds late. Is that normal?
No, the delay indicates a sensor problem or a software conflict. Causes: Sensor is contaminated or partially defective. Too heavy (e.g., too heavy) shell, MIUI Conflict with overlay applications (e.g. Facebook Messenger or banking apps) Solution: clear the sensor, disable overlays in special features settings, or reset the settings to factory settings.
There's custom firmware on the phone, like the Pixel Experience. Could it be the reason?
Yes, 90 percent of the time. Custom firmware often has incorrect sensor drivers, especially for new Xiaomi models.Solution: Update the firmware to the latest version. Check the forums (e.g., for example, XDA) For patches for the proximity sensor, go back to the official MIUI, Tip: Before installing custom firmware, always check if it supports all the sensors of your model.
After the screen was replaced, the sensor stopped working.
It's a problem after unqualified repairs: ๐Ÿ”Œ The sensor plume is not connected (or is connected incorrectly). ๐Ÿ› ๏ธ Installed non-original screen without a cutout under the sensor. ๐Ÿ”ฅ The motherboard is damaged when soldering the plume, solution: go back to the service where the screen was changed. Under the Consumer Protection Act (Article 18), you have the right to free correction of defects during the warranty period (usually 6-12 months.