Setting up the proximity sensor Xiaomi Redmi 9A

Owners of budget smartphones often face a situation where the screen does not go out during a phone conversation, which leads to accidental cheek pressing. Xiaomi Redmi 9A model was no exception, as it uses a classic physical sensor located on the top of the case next to the speaker. The improper operation of this component can turn comfortable communication into a continuous inconvenience, requiring immediate intervention in the software settings of the device.

Fortunately, MIUI provides users with advanced self-diagnosing and troubleshooting capabilities, so you don’t have to bring your device to the service center if you have a software failure or calibration failure, and in this article, we’ll explore effective ways to get your device back to the right logic when you put it in your ear.

Before you start to do complex manipulations, you need to understand the way the sensor works: it emits infrared light and analyzes the reflected signal from a foreign object, calibration is necessary to let the system know exactly how far away the object is, and if that threshold is knocked down, the phone can "think" what is on the table, even when you hold it to your ear.

The main reasons for the incorrect operation of the sensor

Before setting up, it is important to eliminate physical obstacles that can block the sensor. Often users do not even realize that the problem is solved by simply replacing accessories or cleaning the case. In the Redmi 9A model, the sensor is quite compact, making it sensitive to any contamination.

One of the most common reasons is the use of poor-quality protective glass or film, if the glass has a black frame that covers the area above the speaker, or is simply glued to a curve, it is guaranteed to cause failures, and it is also worth checking whether there is a protective film on the screen with a factory cutout that does not coincide with the location of the sensors of your particular device.

⚠️ Warning: Before calibration, be sure to remove the protective glass and thoroughly wipe the top face of the smartphone with a soft cloth to exclude the effect of fat and dust on the IR ray.

Software conflicts also play an important role: Third-party call management applications or smart blockers can intercept the sensor's control, and the system cache may contain faulty data that interferes with the module's proper operation, and in rare cases static electricity accumulated on the body surface is the culprit.

Engineering menu for diagnosis and reset

The fastest and most efficient way to check the state of the sensor is to use the built-in engineering menu, which allows you to test equipment without installing third-party software. To access it, the Xiaomi Redmi 9A uses a standard set of commands running at the firmware level.

Open the Phone app and enter the combination ##6484##. If the menu doesn't open, try the alternative code ##4636##, although the former is more universal for MIUI. In the list that opens, select Proximity Sensor or Approximation Sensor. Here you will see the current readings and can do a manual test.

β˜‘οΈ Checking in the engineering menu

Done: 0 / 5

During the test, close the top of the screen with your palm. The indicator on the screen should change its state (for example, from Far to Near or from 0.0 to 1.0). If there is no reaction or it is late, you need to recalibrate. Press Calibration or Reset, then follow the instructions on the screen: you usually need to close and open the sensor several times in a row.

Once the procedure is completed, the system will retain the new sensitivity settings. Remember to restart the device to make the changes effective. If the test shows stable menu performance but problems persist in normal call mode, then third-party software is in conflict.

Setup through the developer menu

If standard methods don't work, you can use Android's hidden settings. The developer menu contains parameters that affect how the system processes sensor data. However, be careful, as changing some values can affect the overall stability of the interface.

To activate the hidden menu, go to Settings β†’ About Phone and quickly click on the MIUI version seven times. Once you have become a developer, go back to the main settings menu. Find the "Additional" or "Extended Settings" section and select "Developers".

In the list of parameters, scroll down to the drawing or input block. We are interested in an option that can be called "Disable the proximity sensor during a conversation" (although it is often hidden in new versions of MIUI), or touchscreen sensitivity settings. In some cases, the "Show Touch" option helps to enable visual tracking of whether the screen registers the multi-touch gestures of the cheek as false presses.

⚠️ Warning: Do not change the values in the developer menu unless you are sure of their purpose. This can lead to unstable operation of the touchscreen or interface.

It is worth noting that in the Redmi 9A model with a MediaTek processor, the developer menu can be limited compared to the models on Snapdragon. The main focus here should be on calibration through the engineering menu described above, as it gives the most predictable result for this hardware.

Use of third-party applications for calibration

When built-in tools fail, Google Play comes to the rescue, and these apps are designed to fine-tune sensors, often with a more flexible interface than the standard engineering menu, and allow you to visualize the graph of reading changes in real time.

One of the popular solutions is the Proximity Sensor Reset & Calibration app, which, once installed, launch it and put it on a flat surface, asks you to close the sensor and then open it, writing down the minimum and maximum values, and then builds up a new sensitivity profile.

  • πŸ“± Proximity Sensor is a simple tool for quick checking and resetting values.
  • πŸ› οΈ Sensor Test – comprehensive diagnostics of all sensors of the device with graphs.
  • βš™οΈ Calibration Tool - utility for deep setting of threshold values of operation.

After calibrating with third-party software, be sure to perform a full smartphone restart. Some applications require root rights to make changes to system files, but for basic configuration in Xiaomi Redmi 9A, ordinary user rights are usually enough. If the application offers to "fix" the sensor, but does not have feedback or looks suspicious, it is better to refrain from using it.

Do you need Root rights to set up?
For standard calibration of the proximity sensor in Xiaomi Redmi 9A root-rights are not required. built-in features of the engineering menu is enough. Root can only be needed if you replace the physical module with analog from another model, which is a complex hardware modification.

Problems with protective accessories and covers

Don't underestimate the impact of accessories on electronics. Redmi 9A owners often use tight book cases or bumpers with high sides. If the side of the case hangs over the top of the screen, it can create a permanent shadow for the IR sensor, making the phone think it's constantly near the ear.

Check if your case covers the area above the speaker, even a millimeter ledge of plastic can cause false positives, and pay attention to the color of the case: dark and black materials can absorb infrared radiation, causing interference, while transparent or light transmits it better.

Accessory typeProbability of failureRecommendation
Thin filmLow.Leave it if it does not cover the sensor.
Tempered glass with frameTall.Replace with glass without black frame
Book caseMediumCheck the cutouts under the speaker
Silicone bumperMediumMake sure the sides are not above the screen

If you notice that the problem is right after you glue the new glass, it's almost certainly because of it. Try to carefully remove the glass and check the sensor, and 90 percent of the time, it solves the problem without having to go into the settings.

Resetting and system update

In situations where the software failure is profound, a complete reset may be required, a radical method that will return the phone to factory status by removing all user data and applications, and make sure to back up important contacts and photos before doing so.

Go to Settings β†’ About Phone β†’ Settings Reset. Select "Erase all data." Once rebooted, the phone will be as new as it is, and all sensor system configurations will return to factory values. Often this eliminates errors accumulated over long periods of use.

πŸ“Š What most often interferes with the sensor?
Protective glass
Dirty screen
System bug
Cover
Other

Also, don’t forget to check for firmware updates. Xiaomi engineers regularly release patches that fix hardware drivers. Go to Settings β†’ About the phone and click on the MIUI version icon. If an update is available, install it, as newer versions often improve the sensor signal processing algorithm.

πŸ’‘

Before you reset completely, try simply clearing the phone and contact data from the application management menu, which is less radical and often resolves software conflicts.

Frequent Questions and Answers (FAQ)

Why is the sensor not calibrated in the engineering menu?
This could mean a hardware malfunction of the module itself or a plume break, and try re-entering the calibration code after rebooting, making sure there are no foreign objects on the screen.
Can the virus affect the sensor?
Theoretically, yes, malware can intercept sensor control, check the device with antivirus or reset the settings to factory.
Does temperature affect the proximity sensor?
Yes, if you heat up or hypothermia Xiaomi Redmi 9A sensor readings can be temporarily distorted.
What to do if the screen goes out in your pocket?
This is the reverse problem: the sensor is too sensitive. Try using a magnetic clasp case or disable the Pocket Mode feature in the lock settings if this option is available in your version of MIUI.

πŸ’‘

In most cases, the problem is solved by removing the protective glass or simply calibrating through the engineering code, without the need to visit the service.