Did you miss an important call because you couldn't quickly unlock Xiaomi? Or does the screen go out during a conversation, causing you to constantly touch the display? The problem is familiar to most smartphone owners of the brand - by default MIUI locks the screen when you call in, which is not always convenient. This is especially annoying in situations where you need to answer urgently, but the proximity sensor is not working correctly or you use headphones.
In this article, we will discuss 5 proven ways to remove the lock screen when calling β from standard MIUI settings to hidden features for power users. The methods work on all modern models: Xiaomi 13/14, Redmi Note 12/13, POCO F5/X5 and others running MIUI 12-14 based on Android 11-14.
Why does Xiaomi block the screen while calling?
The automatic screen lock feature, when called, was introduced in early versions of MIUI as part of a system of energy saving and protection against accidental pressing.
- π Battery savings β turning off the display reduces energy consumption during a conversation.
- π Preventing false touches β when the phone is pressed against the ear, the screen can respond to accidental touches with the cheek or hair.
- π± Optimizing the proximity sensor β the system assumes that if you hold the phone to your head, the screen can be turned off.
- π Security β locking prevents access to other apps during a call (for example, if someone tries to take your phone).
However, in practice, this function often works incorrectly: the screen goes out when you hold the phone in your hand, or does not unlock when you take it away from the ear. AMOLED-screens and aggressive proximity sensor settings (e.g. Xiaomi) 12T or Redmi K50).
β οΈ Note: Some firmware (especially global versions) MIUI Europe) the option to disable the screen lock may be hidden due to the requirements of local data protection legislation.
Method 1: Disconnect via MIUI settings (official method)
The easiest and safest way is to use the built-in MIUI settings, which are suitable for most models, but may not be available on some regional firmware.
Instructions:
- Open the Settings app (cog icon).
- Go to the Appendix section β Application management.
- In the upper right corner, click on three dots and select Special Access.
- Slip on the item Battery Optimization.
- In the list, find the Phone app (or Contacts on some firmware).
- Choose No Limits and confirm the action.
- Return to Settings β Calls and find the option to Lock the screen during the call (may be called Autolock or Energy Saving when calling).
If the Lock screen option is not on the menu during the call, try an alternative path:
Settings β Display β Additional β Autolock when callingMake sure the proximity sensor is working correctly (test in ##6484###)
Check out the MIUI version (Settings β About the phone)
Turn off the power saving mode (Settings β Battery)
Make a backup of settings (Settings) β Additionally. β Backup)-->
Method 2: Using a Hidden Menu of Engineering Settings
If standard settings don't work, you can use the Engineering Mode, which has advanced sensor settings, which requires caution, as improper changes can disrupt the phone.
Step-by-step:
- Open the Phone app and type the combination: ##6484## (some models may run ##4636## β Phone information β Sensor Check).
- In the menu that opens, select Proximity Sensor.
- Check the current values: Value - should change from 0 (far) to 1 (close) when you raise your hand. Threshold - trigger threshold (usually 5).
Calibrate
Auto Screen Off During Call
Disable
| Xiaomi model | Engineering menu code | The path to sensor settings |
|---|---|---|
| Xiaomi 13/14, Redmi Note 12 | ##6484## | Proximity Sensor β Auto Screen Off |
| POCO F5/X5, Redmi K60 | ##4636## | Testing β Proximity Sensor |
| Xiaomi 12T, Redmi 11 | ##36446337## | Hardware Testing β Proximity |
β οΈ Attention: Some firmwares reset the engineering menu after restarting. To secure the result, after disabling the autolock, immediately make a test call and restart the phone.
π‘
If the engineering menu doesnβt open, try entering the code through the Calculator app: type a sequence of numbers and press =. This works on some custom firmware.
Method 3: Configure via ADB (for power users)
If previous methods have not worked, you can use USB debugging and ADB command. This method requires a computer and basic knowledge of working with the console, but gives 100% result.
What you need:
- π₯οΈ A computer with installed Xiaomi drivers and ADB Tools.
- π± Included debugging by USB on the phone (Settings) β The phone. β Version. MIUI β 7 times tap to unlock the developer mode, then additionally β For developers β Debugging by USB).
- π USB-cable (preferably original).
Instructions:
- Connect the phone to the PC and confirm the debugging permission.
- Open the command line (Win + R β cmd) and type: Adb devices Make sure your phone appears in the list.
- Execute the command to disable autolock: adb shell settings put global proximity_delay 0 (This sets the screen lock delay in 0 MS, effectively shutting it down).
- For models with MIUI 13+ Additional commands may be required: adb shell settings put global proximity_screen_off_delay -1
- Reboot the phone.
To return the standard settings, use:
adb shell settings delete global proximity_delayWhat if the ADB canβt see the device?
Method 4: Install a third-party call management application
If you don't want to go through the settings, you can use third-party apps that take control of the screen during the call.
- π Truecaller β has a built-in option to Do not lock the screen when calling in the notification settings.
- π Call Screen Off Delay β a specialized application to disable autolock (requires permission Special access).
- π οΈ MacroDroid β allows you to create an automatic rule to unlock the screen when an incoming call.
Example of settings in MacroDroid:
- Create a new macro.
- As a trigger, select the phone β incoming call.
- Add the Display action β Unlock the screen.
- Set a time limit (for example, 30 seconds after the start of the call).
- Save and activate the macro.
β οΈ Note: Apps like Truecaller or MacroDroid require access to call logs and notifications. β Annexes β Permits.
Standard settings of MIUI
Engineering menu
ADB-team
Party of annex
Another option-->
Method 5: Manually disabling the proximity sensor (extreme case)
If the proximity sensor is not working properly and no settings are working, it can be physically disabled, a radical method that will result in constant screen activity during calls (including accidental taps), only use it if other methods have not worked.
Outage options:
- Software shutdown through ADB: adb shell settings put global proximity_sensor_enabled 0 To return: adb shell settings put global proximity_sensor_enabled 1
- Physical Disconnection (power users only!): Disassemble the phone and unplug the sensor plume (requires repair skills). Stick opaque tape onto the sensor (less reliable, but easier).
After the sensor is turned off:
- β The screen will not be locked during the call.
- β Increases the risk of accidental tapping (such as turning off the microphone or ending the cheek ringing).
- β Sensor-related gestures may stop working (for example, automatically turning on the screen when you bring the phone to your face).
π‘
Turning off the proximity sensor is a last resort, and before you do it, try all the other ways and check the sensor's performance in the engineering menu.
What to do if the screen lock is returned?
Many users find that after updating MIUI or rebooting the phone, the lock screen when calling is turned on again.
| Problem. | Reason. | Decision |
|---|---|---|
| Settings are reset after the update | MIUI Rewrites User Settings | Repeat the settings via ADB or engineering menu |
| The lock will return in a few days. | Battery optimization for the Phone app works | Add the phone to exceptions (Settings β Battery β Battery Optimization) |
| The screen only goes out in headphones. | Conflict with Bluetooth settings | Turn off the automatic screen shutdown in headphone settings |
If the problem is repeated, try:
- Set custom recovery (e.g. TWRP) and edit /system/build.prop by adding the line: ro.proximity.delay=25000 (this will increase the lock delay to 25 seconds).
- Use Magisk modules like the Disable Proximity Sensor (requires root).
- Reverse to an older version of MIUI where the problem didn't manifest.