How to disable the proximity sensor on Xiaomi Redmi 9C NFC: the complete guide

The proximity sensor in Xiaomi Redmi 9C NFC is a useful feature that automatically turns off the screen during a phone conversation when you bring the device to your ear. However, sometimes this sensor starts to malfunction: the screen goes out for no reason, does not respond to touch or, conversely, does not turn off during the call, which leads to accidental pressing. If you encounter such problems, completely disabling the sensor can be a temporary solution.

In this article, we will discuss in detail all possible ways to deactivate the proximity sensor on the Redmi 9C NFC, from standard settings to hidden engineering menus and ADB commands. You will learn how to check the sensor’s performance before turning off, what risks exist, and what to do if the screen stopped responding to touch after manipulation. Importantly, some methods require super-user rights (root), so evaluate your technical capabilities in advance.

Why to turn off the proximity sensor and when it is dangerous

The main reason for the sensor deactivation is the incorrect operation during calls.

  • πŸ“΅ The screen goes out when you talk, even if the phone is not pressed to your ear.
  • πŸ”„ The sensor does not turn back on after the call is completed (black screen)
  • 🀯 Accidental taps on the screen during a conversation due to lack of locking
  • πŸ”‹ Increased battery consumption due to constant sensor activity

However, before disabling, consider the potential risks:

  • ⚑ Accidental taps during a call (such as turning off the microphone or ending a call)
  • πŸ”‹ Quick battery drain as the screen stays active
  • πŸ› οΈ Loss of warranty if you use informal methods (root, modified firmware)

⚠️ Warning: If the sensor is software-disabled and the black screen problem persists, the cause may be a hardware malfunction (damaged plume, disconnected contact) in which case a diagnosis is required at the service center.

πŸ“Š How often do you have problems with the proximity sensor?
Always, every time you call.
Sometimes 1-2 times a week
Nearby, but not critically.
Never had a problem.

Method 1: Disconnect via standard settings (without root)

The easiest method is to use the built-in MIUI options. Unfortunately, there is no direct β€œDisable Proximity Sensor” button in the Redmi 9C NFC, but you can get around this limitation through the special features settings.

Instructions:

  1. Open the Settings. β†’ Special facilities.
  2. Go to the Physical Opportunities section β†’ Gesture management.
  3. Activate the option to Ignore the proximity sensor (may be called Disable the sensor when calling depending on the version of MIUI).
  4. Restart your phone to apply the changes.

If you don’t have this option, try an alternative route:

  1. Go to Settings β†’ System and device β†’ Additional settings.
  2. Select Security and Privacy β†’ Application Permissions.
  3. Find the Phone app, open its permissions and disable access to the Sensors.

⚠️ Note: Disabling permissions for the Phone application may cause calls to crash (e.g., no subscriber number will be determined) This method is recommended only for temporary testing.

β˜‘οΈ Preparation for sensor shutdown

Done: 0 / 4

Method 2: Engineering menu (codes and hidden settings)

If standard methods don’t work, you can use Xiaomi’s engineering menu, which doesn’t require root rights, but it requires caution – incorrect settings can disrupt your phone.

Steps to enter the engineering menu:

  1. Open the Phone app.
  2. Enter the combination: ##6484## (to test sensors) or #4636## (total engineering menu).
  3. Select Hardware Testing β†’ Sensor from the menu.
  4. Find the Proximity Sensor string and click on it.
  5. In the window that opens, select Disable or uncheck Enable.

If the combinations don't work, try the alternative code: ##36446337## (for hardware testing). In some Redmi 9C NFC firmware, the engineering menu may be blocked, in which case you will need to unlock the bootloader.

Engineering menu codeAppointmentIt's working on the Redmi 9C NFC?
##4636##General information and testsβœ… Yes.
##6484##Sensor testingβœ… Yes (most of the firmware)
##36446337##Test equipment (including sensors)⚠️ Partially (depending on version) MIUI)
##225##Signal level verification and calibration❌ No.
What to do if the engineering menu is not opened?
If nothing happens after you enter the code, check: 1. Enter correct (no spaces, with register in mind). 2. MIUI version - on some custom firmware, the engineering menu is disabled. 3. System updates are available (sometimes codes stop working after updates). If the menu is still unavailable, only the ADB method remains (see next section).

Method 3: Disconnect via ADB (for power users)

If previous methods have failed, you can use Android Debug Bridge (ADB), a tool for debugging Android devices, which requires a computer and basic command line knowledge.

Step-by-step:

  1. Download and install ADB Tools on your computer.
  2. Turn on Settings β†’ About Phone β†’ MIUI version (click 7 times to activate developer mode).
  3. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  4. Connect the phone to your computer and confirm the debugging permission.
  5. Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell settings put global proximity_sensor_disabled 1

To return the sensor to operating condition, use:

adb shell settings put global proximity_sensor_disabled 0

If the command fails, try an alternative method by changing the configuration file:

adb shell


su




echo "ro.vendor.proximity.disable=1" >> /vendor/build.prop




exit




exit




adb reboot

⚠️ Note: Changing the build.prop file can cause the system to run unstable. Before editing, make a backup of the file with the command: adb pull /vendor/build.prop

πŸ’‘

If after disabling the sensor, the screen stopped responding to touch, reset the settings via Settings β†’ System β†’ Reset (without deleting data) This will return the sensor to its original state.

Checking the operability of the sensor before disconnecting

Before you deactivate the sensor, make sure it's the problem.

  1. Open the engineering menu (see Method 2).
  2. Select Sensor. β†’ Proximity Sensor.
  3. Cover the top of the phone (where the sensors are located) with your hand.
  4. If the screen shows Far β†’ Near (far away) β†’ If the values don't change or if the Error shows, the sensor is defective.

Alternative test without an engineering menu:

  1. Install the Sensor Test app from Google Play.
  2. Run the proximity sensor test.
  3. Put your hand to the top of the phone – the value should change from 5.0 cm (maximum distance) to 0.0 cm (close).
Symptoms.Possible causeDecision
The screen goes out for no reason.False sensor responseDisable the sensor or wipe its surface
The screen does not go out during the call.Sensor not responding to approachCheck for dirt/film, test the sensor
Black screen after the call.Failure of the sensor driverResetting or resetting settings
The screen doesn't respond to touch.Conflict after disconnecting the sensorRestore your settings through ADB

πŸ’‘

If the proximity sensor is physically damaged (for example, after a phone crash), turning it off will not solve the problem, in which case the sensor in the service center needs to be replaced.

What to do if the sensor is turned off, but the problem remains

If the screen is still incorrect after the sensor is deactivated, check the following points:

  • πŸ”„ Phone reboot – sometimes changes only apply after a reboot.
  • πŸ“± Update MIUI β€” In new versions of the firmware can be fixed bugs with sensors.
  • πŸ› οΈ Resetting settings (without deleting data) via Settings β†’ System system β†’ Resetting settings.
  • πŸ”§ Virus Checking – Some Apps Can Simulate the Sensor.

If nothing helps, the problem may be:

  • πŸ”‹ Failures of the plume connecting the sensor to the motherboard.
  • πŸ“± Firmware damage (for example, after a failed update).
  • πŸ› οΈ Hardware defect of the screen (for example, detachment of the touch screen).

On the Redmi 9C NFC, the proximity sensor is combined with the light sensor in one module, and if the automatic brightness control stopped working after the shutdown, that's why, and then the only solution is to replace the module in the service.

Alternative solutions: how to use a phone without a proximity sensor

If you have turned off the sensor, but want to avoid accidental pressing during calls, use alternative methods:

  • πŸ”„ Manually lock the screen with the power button before the call.
  • πŸ“± Use of headset (earphones with microphone) – the screen will be locked automatically.
  • πŸ› οΈ Install a third-party call management application (e.g. ExDialer).
  • πŸ”§ Customization of gestures in MIUI to quickly turn off the screen (for example, double touching).

For convenience, you can create a widget for quick access to the screen lock:

  1. Long press on the main screen β†’ Widgets.
  2. Find the screen lock widget or shortcuts.
  3. Drag him to the desk.
πŸ“Š How did you turn off the proximity sensor?
Through standard settings
Engineering menu
ADB-team
In other ways.

FAQ: Frequent questions about the proximity sensor on the Redmi 9C NFC

Can I turn off the proximity sensor without root rights?
Yes, in most cases, standard MIUI settings or engineering menus are sufficient.The methods without root are described in Method 1 and Method 2. However, some firmware may block these options - then ADB will be required (see Method 3).
After the sensor was turned off, the automatic brightness stopped working.
On the Redmi 9C NFC, the proximity and illumination sensors are often combined into one module. If the brightness is no longer adjustable after the shutdown, try: Turn the sensor back on and use alternative locking methods. Calibrate the light sensor through the engineering menu (#6484##). Install an application for manual brightness adjustment (for example, Lux Auto Brightness).
How to return the sensor to working condition, if ADB-Screen commands not responding?
After the teams ADB The screen stopped working, perform the following steps: Connect the phone to your computer and type: adb shell settings put global settings proximity_sensor_disabled 0 If it doesn’t work, reset your settings via adb shell am start. -a android.intent.action.MASTER_CLEAR (In extreme cases, run your phone through the Mi Flash Tool with the official firmware.
Will Face Unlock work after the proximity sensor is turned off?
Yes, Face Unlock uses a front-facing camera and infrared sensor that are not connected to the proximity sensor. However, in rare cases, after manipulation with the sensors, facial recognition may need to be reconfigured in Settings β†’ Screen Lock β†’ Face recognition.
Can I physically turn off the sensor without disassembling the phone?
No, physical shutdown requires disassembling the device and disconnecting the sensor plume, which is a risky procedure that can lead to: loss of warranty, damage to other components (for example, the front camera), irreversible failure of the light sensor. If the sensor interferes, better use the software methods described in the article.