Accidental tapping of the screen during a phone conversation is a common problem of users Xiaomi Redmi 9. the application βPhoneβ in MIUI does not always correctly lock the sensor when holding the smartphone to the ear, which can inadvertently end the call, enable speakerphone or activate other functions, especially for owners of devices with large displays, where the risk of touch increases.
In this article, weβll look at all the working ways to lock your screen on Redmi 9 while youβre calling, from standard MIUI features to hidden settings and third-party apps, how to set up automatic proximity sensor lock, use gestures or physical buttons, and what to do if the sensor stops responding to touch, and instructions are suitable for all firmware versions, including MIUI 12/13/14.
Why the screen doesnβt automatically lock when you call
On the Xiaomi Redmi 9, the proximity sensor, a small sensor next to the front camera, detects when you hold your phone to your ear and turns off the touch screen. If the lock doesn't work, the reasons may be as follows:
- πΉ Sensor contamination: dust, protective glass or film block the signal.
- πΉ Firmware damage: failure after update MIUI or.
- πΉ Disabled function in phone settings (for example, after resetting to factory settings).
- πΉ Application conflict: Some programs (such as launchers or optimizers) may block the sensor from working.
Before you configure alternative locking methods, check the sensor.
- Open the Phone app and dial ##6484## (sensor test).
- Cover the area next to the front camera with your hand β the screen should go out.
- If there is no reaction, clean the sensor with a soft cloth or reset the settings of the Phone application in Settings β Apps β Application Management β Phone β Storage β Clear the data.
Method 1: Power button lock (most reliable method)
The most versatile and all versions of MIUI are manual power button locks, which are independent of sensors or firmware settings, so they are suitable even if the proximity sensor is broken.
How it works:
- During the call, briefly press the power button (located on the right end of Redmi 9).
- The screen will go out, but the call will continue - the sensor will be locked until the next press.
- To unlock, press the power button again and swipe your finger across the screen (if the pattern lock or PIN is configured).
β οΈ Warning: If you have Double-click to wake up (Settings) β Screen. β Double tap to wake up, casual touch of the screen can unlock your phone. Turn it off if you plan to lock the screen frequently with a button.
Check that the power button does not stick and works clearly |
Turn off double tap to wake up |
Make sure the button is not pressed by the case|
Set up a lock without a lock. PIN-code (if you need to quickly unlock)-->
Method 2: Configure the proximity sensor in MIUI
If the proximity sensor is working but the lock is delayed or unstable, it can be reconfigured via hidden MIUI menus.This method requires care, as improper changes can lead to failures.
Instructions:
- Open the Phone app and enter the code: ##6484## The sensor testing menu will open.
- Find the Proximity Sensor and click on it.
- Cover the sensor with your hand, the value should change from 5.00 to 0.00. If there is no reaction, the sensor is defective.
- To calibrate, enter the code ##2664## and follow the instructions on the screen.
If the sensor is working, but the lock does not work, check the settings:
- π± Go to Settings. β Annexes β Application management β Phone. β Permits.
- π§ Make sure the app has access to sensors and phone.
- π Reboot your phone after the changes.
What if the sensor does not respond to calibration?
Method 3: Using gestures to lock the screen
MIUI 12 and later introduced a gesture feature to lock the screen, which allows you to lock the smartphone with a double touch on the screen without pressing the power button, which is useful if the physical button broke or it is not convenient to reach it during a call.
How to turn on:
- Go to Settings β Screen β Screen Lock and Password.
- Find the option Double-Tap to lock (or Lock Gestures in newer versions of MIUI).
- Activate the switch and confirm the action.
Now, when you call, you just need to touch the screen twice (not by icons!) to block it. To unlock, use the power button or double tap (if enabled).
β οΈ Note: Double-touch gestures may interfere with the functions of certain applications (e.g. games or instant messengers).If the locking is triggered accidentally, disable this option.
| Method of blocking | Pluses | Cons | Does it work during the call? |
|---|---|---|---|
| Power button | It's safe, it works all the time. | You need to press the physical button. | Yes. |
| Approximation sensor | Automatically, without user action | It may fail, depending on the cleanness of the sensor. | Yes. |
| Double touch. | Convenient, no need to reach for the button | Could be an accident. | Yes. |
| Party of annex | Additional functions (e.g. lock timer) | Battery consumption, possible conflicts | Yes. |
Method 4: Third-party applications for forced blocking
If standard methods donβt work, you can use specialized apps from Google Play that offer advanced features, such as:
- π Locking the screen by timer (for example, 5 seconds after the start of the call).
- π± Automatically shutting down the sensor when holding the phone to the ear (alternative to the proximity sensor).
- π§ Set up exceptions for certain contacts.
The best apps for Xiaomi Redmi 9:
- Proximity Service -- emulates the proximity sensor if it breaks, requires ADB rights to work properly.
- Gravity Screen β locks the screen when you change your phoneβs position (for example, when you put it on the table).
- Call Lock is a specialized application for locking the screen during calls with customizable gestures.
β οΈ Note: Screen locking applications require permission Special features (Settings) β Special facilities β Special features services: Do not install programs from unverified sources, they may collect call data.
π‘
Before installing a third-party app, check the user reviews of Xiaomi Redmi 9 β some programs may not work correctly on devices with MIUI.
Method 5: Blocking through the settings of the Phone application
Recent versions of MIUI have introduced hidden phone settings that force the screen to lock during a call, which are not always visible in the main menu, but can be activated through the developer settings or the engineering menu.
Step-by-step:
- Activate Developer Mode: Go to Settings β About Phone. 7 times click on MIUI Version. Return to Settings β Additional β For Developers.
USB debugging
Phone.
##4636##Usage statistics β Phone information
Proximity sensor calibration
Phone.
Locking the screen during the call
After calibrating the sensor through the engineering menu, the screen lock during the call should be triggered instantly - without the delays characteristic of standard firmware.
What to do if nothing helps: hardware solutions
If the software methods do not work, the problem may lie in the hardware of the Xiaomi Redmi 9.
- π οΈ Approximation Sensor: Check it for damage. If it moves away from the board or is covered with glue (a common problem after screen repairs), the lock will not work.
- π Screen plume: When the phone falls or breaks down, the plume may have been damaged, which causes the sensor and sensors to malfunction.
- π Firmware: If the problem has occurred after the update MIUI, Try to roll back to the previous version or install custom firmware (e.g. Pixel Experience).
For the diagnosis of hardware malfunctions:
- Connect your phone to your PC and check the sensor logs via ADB: adb shell dumpsys sensorservice In the output, find the proximity bar β if the values do not change when the sensor is closed, it is faulty.
- Try to temporarily turn off the security glass β sometimes it blocks the signal.
- If the phone falls, check the integrity of the screen plume (disassembly is required).
β οΈ Attention: Self-repair of the proximity sensor or the screen plume without experience can lead to a breakdown of the Redmi 9. If you are not sure of your abilities, contact the service center. The cost of replacing the sensor is from 500 rubles, the plume - from 1500 rubles.
π‘
If the locking of the screen stopped working after the screen was replaced, in 90% of cases, a faulty plume or an incorrectly connected proximity sensor is to blame.