Why Xiaomi screen is blocked when you call: a full analysis of the causes and solutions

Introduction: The Problem Millions Face

You call a friend, you bring Xiaomi to your ear, and suddenly the screen goes out, locks or stops responding to touch. The call continues, but you can not control it: you can not turn on speaker, switch to speaker or complete the call. The situation is familiar? According to service centers, this problem is addressed by the owners of one in five Xiaomi smartphones, regardless of the model โ€” whether it is a budget Redmi Note 12 or flagship Xiaomi 14 Ultra.

The reasons for this behavior are diverse, from software failures in the MIUI shell to physical damage to sensors. In this article, we will examine all possible causes of a screen lock during a call, learn how to diagnose the problem and fix it without contacting the service. We will focus on nuances that are not written about in forums - for example, how the impact of cases on the operation of the proximity sensor or why after the MIUI update the problem may worsen.

Important: If the screen doesnโ€™t just go out, but shuts down completely and doesnโ€™t respond to the buttons (even after the call is over), it can indicate a critical board malfunction, in which case self-repair can exacerbate the problem.

1. Approximation sensor: the main reason for blocking

In 80 percent of cases, the culprit is the proximity sensor, which is responsible for turning off the screen when the phone is held to the ear, and if it doesn't work properly, the screen may go out too early, not turn back on, or lock completely, and is usually located at the top of the screen, next to the speaker.

How to check his work:

  • ๐Ÿ” Testing through the engineering menu: enter the phone app code ##6484## (older versions MIUI) or #4636##, then select Sensor Test โ†’ Proximity Sensor. Put your hand to the sensor, the value should change from 5.0 cm to 0.0 cm.
  • ๐Ÿ“ฑ Manual check: during the call, try to close the sensor with your finger - the screen should go out. Remove your finger - the screen should turn on.
  • ๐Ÿ› ๏ธ Visual inspection: often the sensor gets contaminated or covered with film/glass, wipe it with a soft napkin soaked in alcohol.

If the sensor does not respond or shows incorrect values, the problem may be:

  • ๐Ÿงน Pollution (dust, potowows).
  • ๐Ÿ”ง Damage to the plume (for example, after a phone drop).
  • ๐Ÿ”„ Calibration failure (solved by resetting sensor settings).

โš ๏ธ Warning: Don't try to disassemble the phone to clean the sensor without experience! In Xiaomi models, the proximity sensor plume is often combined with the front camera plume - it is easy to damage.

๐Ÿ“Š How often do you lock your screen when you call?
Constantly.
Sometimes.
It used to be, it's not now.
Never.

2. Software failures: MIUI, updates and bugs

The MIUI shell is known for its surprises, and locking the screen during a call is one of them, most often the problem occurs after:

  • ๐Ÿ”„ Updates to MIUI (especially in beta versions).
  • ๐Ÿ“ฑ Install third-party firmware (e.g., Xiaomi.EU or LineageOS).
  • ๐Ÿ—‘๏ธ Clear cache through Settings โ†’ Memory.

How to diagnose a software failure:

  1. Check if the problem appears in safe mode (press the power button โ†’ Safe Mode) and if it works, it's the third-party app's fault.
  2. Reverse to the previous version of MIUI (if the problem appeared after the update). To do this, download the firmware from the official website and swipe through Settings โ†’ About phone โ†’ System Update โ†’ Three points โ†’ Select a firmware file.

Critical information: In MIUI 14 and later, a screen locking bug when calling can be associated with optimizing power consumption. Turn off Adaptive Brightness in Settings โ†’ Display โ†’ Adaptive Brightness โ€“ this sometimes helps.

MIUI versionTypical screen bugsDecision
MIUI 12โ€“12.5The screen goes out and does not turn on until the end of the call.Turn off "Increased Sensitivity Sensor" in the call settings
MIUI 13Screen getting stuck when switching to speakerphoneResetting the settings of the "Phone" application
MIUI 14+The screen is locked at any touch during the call.Disable โ€œGesturies on the lock screenโ€ in the security settings

๐Ÿ’ก

If the problem has occurred after the update, but you donโ€™t want to roll back, try resetting the network settings: Settings โ†’ SIM- Maps and mobile networks โ†’ Resetting the network settings. This often helps with communication bugs.

3. Influence of covers, glass and film

Few people think about it, but cases and protective glasses can block the proximity sensor, causing false positives, especially for models with a monobrav (for example, the Redmi Note 11 Pro), where the sensor is located in a thin frame above the screen.

What to check:

  • ๐Ÿ“ Case thickness: If it covers the top of the phone (where the sensor is located), try calling without the case.
  • ๐Ÿ”ฎ Transparency of glass: Some of the protective glass has a metallized layer that shields the sensor signal. Try removing the glass and testing it.
  • ๐Ÿงฒ Magnetic holders: If you use a magnetic case or holder for a machine, it can affect the sensor.

Test: Call someone, then alternately:

  1. Remove the cover and check the screen reaction.
  2. Remove the protective glass (if any).
  3. Try calling while holding your phone in different positions (for example, from a different angle).

โš ๏ธ Warning: In Xiaomi Poco F5 and Redmi K60 models, the proximity sensor is combined with the light sensor. If after removing the case, the problem persists, but the screen begins to behave nervously (spontaneously change brightness), this is a sign of sensor damage.

How to check the case without a call?
Put your phone on the table with the screen up. Cover the proximity sensor (top of the screen) with your hand, the screen should go out. If that doesn't happen, the case or glass will lock the sensor.

4. App conflict: who is to blame?

Third-party apps can intercept the screen during a call, most often to blame:

  • ๐Ÿ”’ Screen locking applications (e.g. AppLock, Smart AppLock).
  • ๐ŸŽต Music players with auto-disconnect screen (e.g., Poweramp).
  • ๐Ÿ”‹ Battery optimizers (e.g. Greenify, AccuBattery).
  • ๐Ÿ“ž Alternative calls (e.g. Truecaller, Drupe).

How to find the culprit:

  1. Run your phone in Safe Mode (press the power button โ†’ Safe Mode) If the problem has disappeared, the third-party app is to blame.
  2. Turn off applications with Overlay rights on top of other applications (Settings โ†’ Applications โ†’ Permissions โ†’ Overlay).
  3. Check the battery saving settings for the Phone app (Settings โ†’ Battery โ†’ Saving Charge โ†’ Applications). If there is a restriction, remove it.

Pay special attention to applications that request permissions:

  • ๐Ÿ“ฑ Call management
  • ๐Ÿ” Reading call logs
  • ๐Ÿ› ๏ธ Changes to system settings

Remove newly installed applications|Disable battery optimization for "Phone"|Checking the imposition permits|Testing in safe mode-->

5. Hardware malfunctions: when without service can not do

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

  • ๐Ÿ”Œ Damage to the proximity sensor plume (often after a drop or repair of the screen).
  • ๐Ÿ”‹ Battery bloating that presses the motherboard and causes sensor malfunctions.
  • ๐Ÿ’ง Moisture infestation (even if the phone hasnโ€™t sunk, condensation can oxidize contacts).
  • ๐Ÿ”ง Display control chip malfunction (in this case, the screen can be locked not only during the call, but also during other loads).

Signs of hardware malfunction:

  • ๐Ÿ”„ The screen is locked even without a call (e.g., while watching a video).
  • ๐Ÿ”ฅ The phone overheats at the top (where the sensor is located).
  • ๐Ÿ“ต The proximity sensor is not working at all (reacts to nothing).
  • ๐Ÿ”Œ Once the charging is connected, the problem is amplified.

What you can do on your own:

  1. Check the phone for battery bloating, put it on a flat surface and spin it, and if it's walking, the battery is swelling.
  2. Check the charger connector for oxidation (green or white coating).
  3. If the phone falls, check if the screen is moving away from the case (this may indicate damage to the plumes).

โš ๏ธ Warning: If the phone is locked and reboots or shuts down, it may be a sign of a processor malfunction (e.g., in the Snapdragon 8 Gen 1/2 models known for overheating problems).

๐Ÿ’ก

If the screen is locked and the phone vibrates or emits audible signals (like when charging), it is almost guaranteed to be a hardware problem.

6. Energy saving and optimization settings

Aggressive power saving settings in Xiaomi can block sensors during a call, especially for models with a small battery (such as the Xiaomi 13 Lite or Redmi 10C), where MIUI by default limits background activity.

What to check:

  • ๐Ÿ”‹ Power saving mode: turn it off in Settings โ†’ Battery โ†’ Power saving mode.
  • โšก Battery Optimization for Phone: Go to Settings โ†’ Battery โ†’ Power Saving โ†’ Applications and select the No Limits option for the Phone app.
  • ๐Ÿ”„ Automatically turn off screen: in Settings โ†’ Display โ†’ Sleep mode set the value Never (for the test).
  • ๐Ÿ› ๏ธ Background optimization MIUI: disable it in Settings โ†’ Permissions โ†’ Autorun for the Phone application.

If the problem occurs after the MIUI update, try resetting the power saving settings:

  1. Go to Settings โ†’ Battery โ†’ Three dots (menu) โ†’ Reset the battery settings.
  2. Confirm the reset and restart the phone.
  3. Test the call.

In some cases, turning off the Adaptive Battery feature (Settings โ†’ Battery โ†’ Adaptive Battery) helps.This feature analyzes your habits and may misinterpret phone use during a call as "simple."

7. Firmware and custom ROM: risks and solutions

If you use custom firmware (e.g. Xiaomi.EU, LineageOS, Pixel Experience), the screen lock problem may be related to:

  • ๐Ÿ”ง Incorrectly assembled core (no proximity sensor support).
  • ๐Ÿ“ฑ Missing drivers for your model.
  • ๐Ÿ”„ Conflict with Magisk modules (e.g., battery optimisation modules).

How to diagnose:

  1. Check the error log through the adb logcat during the call. Look for lines with proximity or sensor.
  2. Install the original firmware via Fastboot and check if the problem persists.
  3. If you use Magisk, disable all modules and test the call.

Solutions for custom firmware:

  • ๐Ÿ”„ Firmware with full data cleanup (wipe data, cache, dalvik).
  • ๐Ÿ“ฅ Install a dedicated core for your model (e.g., FrancoKernel for Poco F3).
  • ๐Ÿ› ๏ธ Manually calibrate the sensor through the engineering menu (code ##6484###).

Example of a command to test the sensor via adb:

adb shell dumpsys sensorservice

โš ๏ธ Warning: On some custom firmware, the proximity sensor may be running backwards -- the screen goes off when you remove the phone from your ear, and turns on when you bring it up. This is only treated by flashing it.

FAQ: Frequent questions about screen locking on Xiaomi

โ“ Why is the screen only locked when calling WhatsApp/Telegram, but normal calls are OK?
This is because messengers use their own call interface, which can conflict with MIUI settings. Solutions: Turn off Charge Savings for WhatsApp/Telegram in the battery settings. In the messenger settings, turn off the "Block Screen During Call" option (if any). Update the messenger to the latest version.
โ“ After the screen was replaced, the proximity sensor stopped working. What do we do?
Most likely, the master did not connect the sensor plume or damaged it. Go back to the service and demand: Check the connection of the sensor plume (it comes with the tail of the front camera). Calibration of the sensor through the engineering menu. If the sensor is damaged, replace it (cost ~ 500-1500 โ‚ฝ depending on the model). โš ๏ธ Don't try to fix yourself - in the new Xiaomi models, the plumes are very fragile!
โ“ The screen locks and doesn't unlock even after the call. How do you get back control?
This is a sign of a major failure. Try: Press the power button for 10-15 seconds to force a reboot. If the phone doesn't respond, plug it into charging, sometimes it helps to wake up the screen. If nothing works, wait until the battery runs out (the phone turns off), then charge and turn it on. If the problem recurs, it's a hardware malfunction (posssibly a display control chip).
โ“ Can I turn off the proximity sensor completely?
Yes, but it's not recommended -- the screen will stay on while you call, which will lead to random taps. If you still need to, install the Sensor Disabler app from Google Play. Select the Proximity Sensor and turn it off. Or use an adb command: adb shell settings put secure doze_always_on 1 โš ๏ธ Once the sensor is turned off, the screen will not go out when the call is made, which will increase battery consumption.
โ“ Why did the problem occur after the MIUI update? How do you roll back?
Newer versions of MIUI often change the logic of the sensors. To roll back: Download the desired firmware version from the official website. Go to Settings โ†’ About Phone โ†’ System Update โ†’ Three points โ†’ Select a firmware file. Select a downloaded file and confirm the rollback. If the rollback option is blocked, use Fastboot (instructions are available on the 4PDA forum).