Where is the proximity sensor on Xiaomi Redmi 9: location and instructions

Budget smartphone owners often face nuances of touch systems that are not solved in expensive models. If you're looking for where the Xiaomi Redmi 9 approximation sensor is, you should know that it's not in a separate hole on the front panel, as in classic smartphones of the past. Xiaomi engineers integrated the sensor directly into the top speaker area, hiding it under the mesh of the conversational speaker.

This design, known as a virtual sensor, allows you to increase the usable area of the screen and make the design more modern by removing the black bezels. However, this feature is often the cause of confusion when users try to find a physical window or do not understand why the screen does not go out when you lift it to the ear.

In this article, we will discuss the design features of the Redmi 9 module, explain why it can fail, and provide step-by-step instructions for software calibration. You do not need special tools, since most procedures are performed through the engineering menu of the smartphone itself. We will consider both standard methods for solving problems and deeper system settings.

Design features and location of the sensor

As mentioned, the proximity sensor in the Xiaomi Redmi 9 (model M2004J19G) is located at the top of the screen, directly below the speaker grid. Visually, you will not see any separate round or oval hole typical of older models.

It's based on the reflection of infrared rays from objects. When you hold the phone to your head, the beam bounces off your cheek and hits the receiver, which tells the system to extinguish the display. If the speaker has accumulated dust, fat, or a poor protective film on the grid, it can block the signal, causing false positives or no positives. The cleanliness of the top face is critical for proper operation.

⚠️ Attention: Using thick protective glasses with a black frame covering the area of the top speaker often results in complete sensor inoperability.

It is also worth noting that some versions of MIUI firmware can have software conflicts that cause the system to ignore the sensor readings. Unlike hardware failures, such failures are easily fixed by software calibration. It is important to understand the difference between a physical beam lock and a software error.

πŸ“Š How your approach sensor behaves?
The screen doesn't go out when you ring.
The screen goes off immediately after the start of the set
It works perfectly.
Sometimes it goes out, sometimes it doesn't.

Diagnostics of work through the engineering menu

Before you start to make complex manipulations, you need to determine exactly whether the system sees the sensor itself and what data it transmits. There is a hidden engineering menu in the MIUI shell, accessible through a standard dialer, and this is the most reliable way to initial diagnostics without installing third-party software.

To enter the test mode, open the Phone app and enter the combination ##6484##. If the menu does not open, try ##4636##, although the first code is the primary one for the test mode. CIT-In the list of parameters that you have opened, you need to find the item associated with the Proximity Sensor or the Approximation SensorΒ».

Inside the test, you'll see a screen with numerical values, which usually shows two indicators: distance in centimeters and status (Near/Far or 0/1).

  • πŸ“ If the numbers change (for example, from 5.0 cm to 0.0 cm), and the status is switched, then the hardware is good.
  • 🚫 If the values do not change at all, it is possible that the sensor is disabled at the driver level or the train is physically damaged.
  • πŸ‘οΈ If the value shows 0 cm constantly, even when there is nothing in front of the screen, this indicates β€œsticking” or severe contamination.

When conducting a diagnosis, make sure that the finger does not close the speaker area itself constantly, otherwise you will not see the system's reaction.

πŸ’‘

If the sensor does not respond to hand movements in the engineering menu, software calibration will not help - a plume check or a module replacement is required.

Procedure for calibration of the proximity sensor

If the diagnostics show that the sensor is responding but not working properly (e.g., it is turning off the screen too soon or too late), it needs calibration. This procedure "trains" the controller to correctly interpret distances. On Redmi 9, this can be done in two ways: through the same engineering menu or using a special application.

Let us consider the method through CIT-When you enter the Proximity Sensor test (as described above), click the Calibration button if it is available in your version. MIUI. The screen may go out β€” remove all items from the phone and click on the screen to confirm completion.

An alternative and often more effective method for Xiaomi

  1. Press the "Calibrate" button.
  2. Close the sensor with your hand (the screen will go out).
  3. Remove your hand (the screen will light up).
  4. Press "Pass" or "Save."

After a successful calibration, be sure to restart your smartphone. Without a reboot, the new settings may not apply to Android. Check the performance during a real call, not just in test mode.

β˜‘οΈ Checklist before calibration

Done: 0 / 4

Program conflicts and MIUI settings

Often the problem is not with the sensor itself, but with how the operating system processes its signals. There are features in MIUI that can conflict with the proximity sensor, primarily in pocket mode and various energy saving options.

Go to Settings β†’ Lock and Protection β†’ Mode in your pocket. Try turning this feature off. It's designed to prevent accidental taps when the phone is in your bag, but in practice often causes a false screen quenching during a conversation if the sensor is even slightly contaminated. It's also worth checking the call settings.

In the Phone app, click three dots in the corner and select Settings. Find the Incoming Calls section and make sure the Approximation Sensor function is activated. If it's off, the screen won't go out at all. If it is enabled but does not work well, try resetting the call app settings via Settings. β†’ Annexes β†’ All applications β†’ Phone. β†’ Drop it.

Problem.Probable causeDecision
The screen's not going out.Dirt on the sensor or software failureCleaning and calibration
The screen goes out immediately.The film override the sensorReplacement of protective glass
Accidental cheekstrokesToo sensitiveDisable the "In the pocket" mode
Screen blinking when ringingSensor signal unstableFull calibration through the application

Also worth paying attention to system updates. Sometimes Xiaomi releases patches that fix sensor drivers. Check for updates in Settings β†’ About Phone.

Hidden settings through ADB
For advanced users, there is a possibility of resetting calibration through debugging by USB. Adb shell settings put system proximity_sensor_state 0 can force the sensor service to restart, but requires a connected PC and installed drivers ADB.

The impact of protective accessories on work

Statistics from service centers show that more than 60 percent of complaints about a failed proximity sensor on Redmi 9 are due to improperly selected accessories. Because the sensor is hidden under the speaker grid, any foreign body that changes the refractive index of light in this zone will interfere with its operation.

Of particular concern are black-framed protective glass (called "Full Cover"), which manufacturers often make the cutout under the speaker too small or shift it, and the infrared beam bounces off the film itself, and the phone "thinks" it's being pressed against the ear, and the solution is to replace the accessory with a Case Friendly or larger cutout.

High-sided cases can also cause problems. If the side of the case comes into the upper end of the phone, it can partially overlap the sensor's viewing sector. When you talk, you hold the phone in a certain way, but when calm, the case can give a constant "busy" signal.

⚠️ Warning: The Privacy Glass sticker, which darkens the screen at an angle, is strongly discouraged for the Redmi 9. It blocks the sensor's IR rays by almost 100%, making the approximation function useless.

If you're not ready to change your favorite security glass, you can try software bypassing. There are applications that force the sensor to turn off during a call, relying only on software timers, but it's a crutch solution that reduces comfort of use.

πŸ’‘

Useful tip: If you carry a phone in your pocket without a cover, a pile of fabric can clog the speaker's mesh. Once a week, blow the top end with compressed air or gently brush with a soft toothbrush.

Radical measures and resetting settings

When neither calibration, nor cleaning, nor film replacement helps, the final software milestone is a complete reset. This action will delete all your data, so be sure to back up contacts and photos before starting the procedure. Reset will return all drivers and configuration files to factory status.

Resets can be done through the Recovery Mode. Turn off the phone completely. Then press the Volume Up button and the Power button at the same time. Hold them until the Mi logo appears, then release power, while continuing to keep the volume. From the Recovery menu, select Wipe Data β†’ Wipe All Data.

Once the process is complete, the phone will restart. Don't install all the applications in the first minutes of operation. Check the sensor on the clean system. If the sensor is not performing properly after the reset, the probability of hardware failure (waste plume, sensor breakdown, contact oxidation) is more than 90%.

In the case of hardware breakdown, the device needs to be disassembled. On the Redmi 9, the proximity sensor is often soldered on the side button plume or is part of the screen module, depending on the board revision. Self-repair requires soldering iron and microscope skills, so it is better to contact an authorized service.

Frequently Asked Questions (FAQ)

Why doesn’t Redmi 9 have a separate sensor hole?
This is a modern trend in smartphone design, where engineers hide the sensor under the speaker grid to avoid making unnecessary holes in the screen, which increases the strength of the structure and allows you to make the frames thinner.
Can the proximity sensor be completely turned off?
You can't do that with regular MIUI, but you can install an app from the Play Market (like "Proximity Off") that will programmatically block the sensor signal, keeping the screen from going out.
Does the broken screen glass affect the sensor?
Yes, if the crack passes through the top speaker area, shards or changes in the structure of the glass can scatter the infrared beam, causing the sensor to get incorrect distance data.
How to check if the sensor is working without a call?
Use the engineering code ##6484## and select the Proximity Sensor test, and you can also use desktop widgets or special test apps that show the distance to the object in centimeters in real time.
Does the dark interface theme really help the sensor?
No, it's a myth. The color of the interface doesn't affect how the infrared emitter works, but a dark theme can visually hide moments when the screen blinks or malfunctions, creating the illusion of better performance.