How to turn off the proximity sensor on Xiaomi Redmi 9C: a complete guide with risks and alternatives

The proximity sensor in the Xiaomi Redmi 9C is a small but important element that is responsible for turning off the screen during a phone conversation when you hold the device to your ear. However, many users face situations where this sensor does not work correctly: the screen does not go out when you call, buttons are accidentally pressed or, conversely, the display turns off for no reason. In such cases, it seems logical to turn off the sensor completely, but it is important to understand the nuances of this process.

Redmi 9C

M2006C3LG

MIUI

πŸ“Š Why you want to turn off the proximity sensor on Redmi 9C?
The screen does not go out during the call.
Accidental tapping when talking
The sensor is activated for no reason.
I want to test my job without him.
Another reason.

Reasons for incorrect operation of the proximity sensor

Before you turn off the sensor, you need to understand why it might not function properly, and most often, the problem is due to one of the following factors:

  • πŸ”„ Sensor contamination: dust, greasy traces, or protective film/glass can block the infrared signal. Try gently wipe the sensor area with alcohol solution.
  • πŸ“± Programmatic failures MIUI: After updating or resetting the sensor may not work stable, in which case it helps to clean the cache of the application Phone.
  • πŸ› οΈ Damage after repair: if the smartphone fell or disassembled, the sensor plume or its contacts could be damaged.
  • πŸ”‹ Energy saving: Aggressive battery modes (such as Ultra mode) sometimes turn off sensors to save charge.

If the sensor started to glittle after installing custom firmware or root rights, the problem may lie in the incompatibility of the software. In this case, disabling through system settings may not work, and you will need to use ADB or engineering menus.

⚠️ Warning: Before you turn off the sensor, check it through the test menu. To do this, type ##6484## in the phone app and select Proximity Sensor. If the sensor does not respond to the approach of the hand, the problem is hardware, and turning it off will not solve it.

Method 1: Disconnect via MIUI settings (without root)

The easiest and safest method is to use built-in MIUI options. Unfortunately, in the standard settings of the Redmi 9C there is no direct option to disable the proximity sensor, but you can get around this limitation through special features settings:

  1. Open Settings β†’ Special Opportunities β†’ Physical Opportunities β†’ Gesture Management.
  2. Activate the option to automatically turn off the screen during the call (if you have one in your version of MIUI).
  3. If there is no item, go to Settings β†’ Applications β†’ Application Management β†’ Phone β†’ Permissions and disable access to sensors.

On some firmware (e.g. MIUI 12.5 and later), this method may not work due to system limitations, and alternative methods may be required.

⚠️ Warning: Disabling permissions for the Phone app may cause calls to crash, including the inability to use hands-free or record conversations.

β˜‘οΈ Preparation for sensor shutdown

Done: 0 / 4

Method 2: Engineering menu (hidden settings)

For power users, a method of disabling through an engineering menu is available, which does not require root rights, but requires caution - incorrect changes can disrupt the smartphone.

Instructions:

  1. Open the Phone app and dial ##36446337## (or #4636## for older versions of MIUI).
  2. Select Hardware Testing β†’ Sensor β†’ Proximity Sensor.
  3. Here you will see the current sensor readings. To turn it off, look for the Disable Proximity option (the name may vary).
  4. Confirm the changes and restart the smartphone.

If you don't have a shutdown option, try the alternative code: ##6484## β†’ Manual Test β†’ Proximity Sensor. In some firmware, you can manually set the threshold for a sensor to actuate (for example, set the value of 255 so that it is always considered "far away").

Engineering menu codeDescriptionWorks for MIUI.
##36446337##Main engineering menu11–14
##4636##Sensor testing menu9–12.5
##6484##Approximation sensor testAll versions.
##2664##Test of display and sensors12 and newer

What to do if the engineering menu is not opened?
If nothing happens after you enter the code, check: 1. Enter correct (no spaces or symbols). 2. MIUI version - some firmware has blocked the engineering menu. 3. System updates. In extreme cases, use applications like MTK Engineering Mode (for MediaTek processors) or Short Master to access hidden settings.

Method 3: Disconnect via ADB (for advanced users)

If standard methods don’t work, you can use Android Debug Bridge (ADB), which requires connecting your smartphone to your computer and basic command line knowledge.

Step-by-step:

  1. Install ADB and Fastboot Tools on PC.
  2. Turn on Redmi 9C Developer Mode: Settings β†’ About Phone β†’ MIUI Version (click 7 times).
  3. Activate USB Debugging in Settings β†’ Additional β†’ For developers.
  4. Connect your smartphone to your PC and execute in the command line: adb shell settings put system proximity_delay 255 adb shell settings put system proximity_offset 0 These commands set the maximum delay of the sensor, effectively turning it off.
  5. Reset the device.

To return the sensor to working condition, use the commands:

adb shell settings delete system proximity_delay


adb shell settings delete system proximity_offset

⚠️ Attention: Misuse of the right ADB Do not change other parameters unless you are sure of their purpose. For example, the command adb shell settings put system screen_off_timeout 0 Turn off the screen automatically, which will lead to a quick discharge of the battery.

πŸ’‘

If ADB Does not recognize the device, update the drivers Xiaomi USB Drivers or try using another driver USB-cable (preferably original).

What happens after the proximity sensor is turned off?

Turning off the sensor solves some problems, but creates others.

  • πŸ“ž The screen won't go out during a call, which means you can accidentally press buttons with your cheek or ear, such as completing a call or turning on a speakerphone.
  • πŸ”‹ It'll increase battery consumption. It'll stay on longer, especially if you're on the phone a lot.
  • πŸ›‘οΈ The risk of damage to the screen: During long conversations, the display may overheat due to constant backlighting.
  • πŸ”Š Headset problems. Some Bluetooth headphones use the proximity sensor signal to automatically switch the sound.

On Redmi 9C, the Raise to Wake function may stop working after the sensor is turned off, since it is partially tied to the same touch module.

An alternative solution is to use apps to force the screen to turn off during a call, such as:

  • Proximity Sensor Reset (resets sensor settings).
  • Screen Off and Lock (manually switching off the screen)
  • Automate (creating automatic rules for the screen)

How to return the sensor to working condition?

If after the shutdown you are faced with inconvenience or the sensor is still needed, you can restore its operation in the following ways:

  1. Reset: Go to Settings β†’ System β†’ Reset β†’ Reset all settings. This will return all sensor parameters to factory.
  2. MIUI Update: Install the latest firmware version through Settings β†’ System Update. Newer versions often fix sensor bugs.
  3. ADB-Commands: Execute the instructions specified in Method 3, but with the delete parameter instead of put.
  4. Sensor calibration: In the engineering menu (##6484###), select the Calibrate Proximity Sensor and follow the instructions.

If the sensor has been disabled through a change in system files (e.g., after receiving root), it may be necessary to flash the device.

πŸ’‘

Before returning the sensor to working state, check if there are applications on the smartphone that block its operation (for example, Tasker or MacroDroid).

Frequent Mistakes and How to Avoid Them

When disabling the sensor, users often make the following mistakes:

  • πŸ”§ Use of infidels ADB-For example, the adb shell pm disable com.android.server.telecom command will disable phone functions completely, not just the sensor.
  • πŸ“² Change the settings in the engineering menu without backing up. Always write down the original settings to return them if necessary.
  • πŸ”„ Disabling the sensor through root without knowing the consequences, and on some firmware, it could cause service to fail. system_server.
  • πŸ› οΈ Ignoring hardware problems: If the sensor doesn't work because of physical damage, software shutdown won't help -- you'll need repairs.

To minimize the risks:

  1. Always back up through Settings β†’ System β†’ Backup.
  2. Check the changes on the test device (if possible).
  3. Use official Xiaomi tools, not third-party utilities from questionable sources.

How to check if the sensor is working after shutdown?
Install the Sensor Test app from Google Play. In the Proximity section, you will see the current status of the sensor: - FAR (5.0 cm) - the sensor is active and does not detect obstacles. - NEAR (0.0 cm) - the sensor works (for example, when you close it with your hand). If the status does not change after turning off, the sensor is successfully deactivated.

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

Can I turn off the proximity sensor without root?
Yes, in most cases this is possible through an engineering menu or ADB. Root rights are only required for deep changes to system files, such as removing the sensor driver.
Why does the screen not go out during the call, but does not respond to touch?
This may be due to conflict in the MIUI settings. Try disabling the screen lock option while calling Settings β†’ Calls β†’ Additional. Also check if screen locking apps (e.g. Gravity Screen) are installed.
Will Face Unlock work after the proximity sensor is turned off?
Yes, Face Unlock uses a front-facing camera and an infrared projector that doesn't depend on a proximity sensor, but some firmware may show slowing facial recognition.
Can the sensor be turned off for specific applications only?
Standard tools don't. But you can use apps like Tasker or MacroDroid to create rules for automatically turning off the screen for individual programs (like WhatsApp or Telegram only).
How to check if the sensor is physically broken?
Turn on the test menu (##6484##) and look at the sensor's performance: If the values always show 5.0 cm (even when you close the sensor with your hand) - it is defective. If the values jump from 0.0 cm to 5.0 cm without cause - the problem is in the plume or firmware. For accurate diagnosis, contact the service center.