Disabling the proximity sensor on Xiaomi Redmi Note 8T with MIUI 12: the full guide

Why users want to disable the proximity sensor and when it is justified

The proximity sensor in the Xiaomi Redmi Note 8T is a small but important element that automatically turns off the screen during phone conversations. This prevents accidental tapping of the cheek or ear. However, in some situations the function does not work correctly: the screen goes off too early, does not respond to the phone’s withdrawal from the ear or, conversely, does not turn off at all, which leads to the pressing of buttons during the call.

Sensor problems often occur after upgrading to MIUI 12, when energy-saving or optimization algorithms start to conflict with hardware sensors. For example, owners of the Redmi Note 8T complain that after firmware, the screen stops turning on when the phone is taken away from their face, although the conversation continues, in which cases, temporarily turning off the sensor may be the only way to return the device to work.

But there are other reasons:

  • πŸ”§ Testing the device after repair (e.g., replacing the display or plume) when the sensor is temporarily unconnected.
  • 🎧 Using a headset with an external microphone, where automatic screen shutdown interferes with player control.
  • πŸ“± Working with applications where the sensor falsely triggers (e.g., in games or when watching video in horizontal mode).

It's important to understand that turning off the proximity sensor is not the solution, it's a workaround. If the sensor fails, it needs to be repaired or calibrated, but it's a good idea to do a temporary fix or a diagnosis.

πŸ“Š Have you ever experienced a mishandling of the proximity sensor?
Yes, the screen doesn't go out during the call.
The screen does not turn on after the phone is removed.
No, the sensor's working fine.
I don't know what that is.

Where is the proximity sensor in the Redmi Note 8T and how does it work?

In the Xiaomi Redmi Note 8T, the proximity sensor is located at the top of the screen, next to the speaker and the front camera. It's an infrared sensor that emits and picks up the reflected signal. When you bring the phone to your ear, the sensor picks up the obstacle and sends a command to the system to turn off the screen and touch buttons.

In normal mode, the sensor looks like this:

  1. You start the call and hold the phone to your ear.
  2. The sensor detects the approach of the object (your head) at a distance of ~ 5 cm.
  3. The screen goes out and touch buttons are locked to avoid accidental taps.
  4. When the phone is removed from the ear, the sensor again detects the absence of an obstacle, and the screen turns on.

On MIUI 12, the logic of the sensor can vary depending on the energy saving settings, for example, in Ultra-Economic mode, the system can ignore the sensor signals to reduce battery consumption, and problems arise if the phone has a protective glass or a film with a metallized coating, they can shield the infrared signal.

Symptoms.Possible causeDecision
The screen does not go out during the call.Sensor contamination, plume damage, software failureSensor cleaning, reboot, reset settings
The screen does not turn on after the phone is withdrawn.Incorrect calibration, conflict with the shell MIUIDisconnecting / turning on the sensor, updating the firmware
False positives in games or videosSensitivity of the sensor is overstatedReduced sensitivity or disconnected

⚠️ Warning: If the sensor stops working after the phone falls or moisture gets in, turning it off won't solve the problem, and then you need to be diagnosed at the service center because the plume or the sensor itself may have been damaged.

Method 1: Disable the proximity sensor through the engineering menu (without root)

The most reliable way to disable the proximity sensor on the Redmi Note 8T is to use an engineering menu, which does not require superuser rights and works on most versions of MIUI 12. However, beware: improper actions on the engineering menu can disrupt the phone.

Step instructions:

  1. Open the Phone app and type the combination: ##6484## (or #4636## on some firmware).
  2. You will be taken to the Testing menu. Select Hardware Testing (or Sensor Test).
  3. Find the Proximity Sensor section.
  4. Click on it and select the Disable option.
  5. Confirm the action and restart the phone.

Battery charge of at least 50%|Make a backup copy of important data|Remember the combination to return to the engineering menu (#6484##)|Do not interrupt the reboot process.-->

If #6484### does not work, try an alternative method:

  1. Install Activity Launcher from Google Play.
  2. Open it and find it in the Engineering Mode list (or MTK Engineer Mode for MediaTek-powered phones).
  3. Start the Hardware Testing section and follow the steps described above.

⚠️ Note: Do not change other settings on the engineering menu unless you are sure of their purpose, such as changing the settings. RF Band or Network Mode can cause network loss.

Method 2: Use of the ADB-Teams (for experienced users)

If the engineering menu is not available or has not worked, you can turn off the proximity sensor via ADB (Android Debug Bridge), which requires connecting the phone to a computer and basic knowledge of working with the command line.

What you need:

  • πŸ–₯️ Computer with installed Xiaomi drivers and package ADB Tools.
  • πŸ“± Included debugging by USB on the phone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times press to activate the developer mode, then Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ Cable USB (preferably original).

Step-by-step:

  1. Connect the Redmi Note 8T to your computer and confirm the debugging permission.
  2. Open the command line (or terminal) and type:

adb shell


settings put system proximity_delay 2500




settings put system proximity_check_enabled 0

Where:

  • proximity_delay 2500 β€” The sensor's latency (in milliseconds) setting a high value actually shuts it down.
  • proximity_check_enabled 0 β€” shutdown.

Once you've done the commands, restart your phone. To get it back, use:

adb shell settings put system proximity_check_enabled 1

πŸ’‘

If ADB does not recognize the device, try reinstalling the drivers via the Mi Unlock Tool or using the Mi PC Suite program.

Method 3: Disconnect via MIUI settings (if available)

Some MIUI 12 builds for the Redmi Note 8T have a hidden option to disable the proximity sensor right in the settings, but it is not always active and depends on regional firmware.

How to check:

  1. Go to Settings β†’ System β†’ Additional β†’ Special features.
  2. Find the Call Management (or Call Settings) section.
  3. If there is a point Sensor approach, move the slider to the position Off.

If there is no such item, try an alternative path:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find the Phone app and select Permissions.
  3. Turn off the resolution of the body sensors (if it is on the list).

What if the sensor is turned off, but the screen is still turned off?
In some cases, not only the proximity sensor but also the accelerometer (which determines the position of the phone) is responsible for turning off the screen. To check this, turn off the option of Autoturning the screen in the notification curtain. If the problem persists, try resetting the sensors through the Sensor Calibration menu.

Possible problems after disconnecting the sensor and how to avoid them

Disabling the proximity sensor can lead to several side effects, the most obvious being random taps during a call: you may accidentally tap the screen with your cheek or ear, leading to the call being completed, the hands-free switch on or other unwanted actions.

Other possible problems:

  • πŸ”‹ Increased battery consumption – the screen stays on during the conversation, which increases power consumption.
  • πŸ“ž Discomfort when using a headset – if the sensor is turned off, the phone will not automatically switch to the speaker when taken away from the ear.
  • πŸ”„ Application conflicts – some messengers (such as WhatsApp or Viber) may not properly handle the lack of a signal from the sensor.

To minimize the risks:

  • Use the mode on the plane or do not disturb during important calls to avoid accidental pressing.
  • Install an app to lock the screen during calls (e.g. Proximity Sensor Fix).
  • Check the sensor regularly through the engineering menu (#6484###).

πŸ’‘

Disabling the proximity sensor is a temporary solution, and if the problem is related to a hardware malfunction (the plume or the sensor itself is damaged), other failures, such as a broken speaker or microphone, may occur over time.

How to return the proximity sensor to working condition

If you have temporarily disabled the sensor and now want to activate it again, do the following:

For the engineering menu:

  1. Enter the combination ##6484##.
  2. Go to Proximity Sensor and select Enable.
  3. Reboot the phone.

For ADB:

  1. Connect your phone to your computer and enter commands:

adb shell


settings put system proximity_check_enabled 1




settings put system proximity_delay 500

If the sensor is not switched on or is not working smoothly, try recalibrating it:

  1. In the engineering menu, select Sensor Calibration.
  2. Find the Proximity Sensor and start the calibration process.
  3. Follow the instructions on the screen (usually you need to bring and move the phone away from your ear several times).

⚠️ Warning: If after all the manipulations, the sensor has not worked, check its physical condition. Light the flashlight in the sensor area (near the front camera) - if you see damage from a certain angle (cracks, chips), the sensor needs to be replaced.

Frequently asked questions

Can I turn off the proximity sensor without an engineering menu?
There are two alternative ways: ADB-With third-party applications such as Proximity Sensor Reset (available on Google Play), however, such applications require superuser rights (root).
Why does the screen go off when the sensor is turned off?
This can happen for two reasons: In your firmware, not only the proximity sensor but also the accelerometer (determines the position of the phone) is responsible for turning off the screen. In the phone application settings, the option Auto Shutdown is enabled. Check the Call Settings section.
Is it safe to use a phone with the sensor turned off all the time?
Technically, it's safe for the device, but it's not convenient in everyday use. Main risks: Accidental termination of calls, turn on speakerphone or other functions when touching the screen, faster battery discharge (the screen does not turn off), It's recommended to turn off the sensor only for diagnosis or temporary solution of the problem.
How to check if the proximity sensor is working on the Redmi Note 8T?
There are two ways: Enter the engineering menu: type ##6484##, select Proximity Sensor, and look at the graph. When you get your hand close to the sensor, the values should change from 5 (far) to 0 (close) using the Sensor Test app from Google Play, which shows the status of all sensors in real time.
Can the sensor be turned off for specific applications only?
No, proximity sensor system settings are global. However, some applications (e.g. Tasker) allow you to emulate the sensor shutdown for individual tasks. This requires: Create a profile in Tasker for the target application. Add Secure Settings β†’ Proximity Sensor (requires the SecureTask plugin). Set the Disabled value when you start the application and Enabled when you exit. This method is complex and requires automation skills.