How to check the proximity sensor on Xiaomi Redmi Note 9S

Xiaomi Redmi Note 9S is a popular smartphone with excellent value for money, but even it is not immune to hardware problems. One of the frequent malfunctions is the malfunction of the proximity sensor, which is responsible for turning off the screen during a conversation. If the screen does not go out during a call, accidentally press buttons or, conversely, the screen does not turn on after the call is completed, this sensor is to blame.

In this article, you will learn how to check the proximity sensor on the Redmi Note 9S without visiting the service center. We will look at all the methods available, from built-in tests to using third-party applications, and also understand when the problem is software (and it can be fixed yourself) and when it is hardware (and needs repair).

Why you need a proximity sensor and how it works

The proximity sensor in the Redmi Note 9S is located next to the front camera and is an infrared sensor, whose main task is to detect when the phone is brought to the ear during a call, and when it is triggered, the sensor sends a signal to the system, and the screen goes out to:

  • πŸ“΅ Prevent accidental tapping of the cheek or ear
  • πŸ”‹ Save battery power
  • 🎧 Automatically switch to speaker when the phone is moving away from the ear

The principle is simple: the sensor emits infrared beams and analyzes the reflected signal. If the obstacle (for example, the ear) is too close, the sensor works. The Redmi Note 9S uses the STK3338 sensor (or its analogue), which is integrated into one module with the light sensor.

If the sensor fails, users face the following problems:

  • πŸ“± The screen does not go out during the call.
  • πŸ”„ The screen is not turned on after the call is complete.
  • 🀯 Accidental taps during a conversation (call reset, hands-free switching on)
  • πŸ”¦ Automatic brightness control is not working correctly (light sensor is connected to the proximity sensor)
πŸ“Š Have you experienced a failure of the proximity sensor?
Yes, the screen doesn't go out during the call.
Yes, the screen doesn't turn on after the call.
No, but I want to know how to check.
I don't know if there's a problem.

Signs of malfunction of the proximity sensor

Before you check the sensor, make sure it's the one that's the problem.

Symptoms.Probable causeCan I correct myself?
The screen does not go out during the call.The sensor fails to work or is blocked by a protective film.Yeah (cleaning, calibration, reset)
The screen will not turn on after the call.Sensor "wilted" in the state of "close" or software failureYes (reset, reset)
Accidental taps during a conversationThe screen is not locked due to a faulty sensorPartially (you can turn off the sensor, but that's not the solution)
Automatic brightness is not working properlyProblem with the light sensor (often combined with the proximity sensor)Yeah (calibration, glass change)

If you see any of these symptoms, the proximity sensor needs a diagnosis, but don't rush to take your phone apart, because 60 percent of the time, it's software-based.

⚠️ Warning: If the sensor stops working after a phone drop or moisture hits, there is a high probability of physical damage, in which case a self-check may not work, and a diagnosis will be required at the service center.

Method 1: Checking through the engineering menu (test codes)

The most reliable way to diagnose is to use a hidden engineering menu, which allows you to test the sensor in real time without third-party applications.

Instructions:

  1. Open the Phone app.
  2. Enter the combination: ##6484## (or #4636## β†’ Equipment Testing).
  3. Select Proximity Sensor (Proximity Sensor).
  4. Cover the sensor with your hand or hold the phone to your ear.

Result:

  • 🟒 0 (or Far) - the sensor is working, no obstructions.
  • πŸ”΄ 1 (or Near) - The sensor is activated, an obstacle is detected.
  • ❌ No response - the sensor is faulty.

If the values do not change when covering the sensor, the problem may be:

  • 🧹 Sensor contamination (dust, fat, protective film)
  • πŸ”§ Damage to the plume or the sensor itself
  • πŸ–₯️ Firmware failure (solved by resetting or flashing)

Make sure there is no protective film on the sensor | Clear the sensor area of dust and dirt |Close all background applications |Check that the battery is at least 20%-->

Method 2: Diagnostics through applications (without root)

If the engineering menu is not available or does not show data, use third-party utilities.

  • πŸ“± Phone Doctor Plus – shows the sensor status in real time and tests other sensors.
  • πŸ” Sensor Box for Android – displays the sensor’s schedule (useful for β€œwatering” analysis).
  • πŸ› οΈ CPU-Z β€” In the Sensors section, the proximity sensor data (if supported) is displayed.

How to check with Sensor Box:

  1. Install the app from Google Play.
  2. Open the Proximity tab.
  3. Watch the chart: when the sensor is covered, the line should rise sharply (or change color).

If the schedule does not respond to obstacles, the problem may be:

  • πŸ”Œ Disabled sensor at OS level (check call settings).
  • πŸ› οΈ Damaged plume (disassembly required).
  • πŸ“± Failure in the firmware (will help reset to factory settings).

⚠️ Warning: Some apps (e.g., AIDA64) may not show proximity sensor data on Xiaomi due to limitations MIUI In this case, use Phone Doctor Plus – it works stably.

πŸ’‘

If the sensor is running with a delay (1-2 seconds), try calibrating it through the engineering menu (#6484## β†’ Calibrate Proximity Sensor).

Method 3: Visual inspection of the sensor

Sometimes the problem isn't with the sensor itself, but with the physical lock. Look at the top of the Redmi Note 9S screen (near the front camera):

  • πŸ” Check if the sensor is covered with a protective film or glass (especially if a new one has been recently glued).
  • 🧴 Make sure there is no layer of dirt, grease or glue residue on the sensor.
  • πŸ’‘ Light up with a flashlight: the sensor should look like a small black hole (sometimes with a white dot).

If the sensor is blocked, clean it carefully:

  1. Use a soft brush or compressed air (a canister for cleaning equipment).
  2. Wipe the sensor area with an alcohol tampon (do not pour liquid directly onto the phone!).
  3. If the problem is in the film, gently tuck it with a plastic card and remove the extra layer.

On the Redmi Note 9S, the proximity sensor often stops working after changing the glass or display. If you have recently repaired the screen, check if the new module is installed correctly and if the sensor plume is damaged.

What if the sensor is contaminated from the inside?
If the sensor doesn't work after cleaning, it may have been under the glass, which requires disassembly of the phone and professional cleaning, and it's not recommended to remove the glass yourself, because there's a high risk of damaging the plumes or the display.

Method 4: Verification through call settings

Sometimes the sensor is functional, but it's locked at the setting level. There are hidden parameters in MIUI that can affect the sensor.

How to check:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find the Phone app and open its settings.
  3. Select Permissions and make sure the application has access to Sensors.
  4. Return to Settings β†’ System settings β†’ Additional β†’ Special features.
  5. Check if the Autoturn option is disabled during the call (sometimes conflicts with the sensor).

If the settings don’t help, try resetting your network settings:

  1. Go to Settings. β†’ SIM-maps and mobile networks.
  2. Select Network Resetting.
  3. Confirm the action and restart the phone.

⚠️ Warning: Once the network is reset, you have to re-enter Wi-Fi passwords and adjust mobile internet settings, which helps if the problem is caused by a failure in the communication module.

Method 5: Hardware verification (for experienced users)

If software methods didn't work, the problem might be physical damage to the sensor or its plume, and the diagnosis would require a partial disassembly of the phone.

What to check:

  • πŸ”Œ The sensor plume -- it goes from the top of the display to the motherboard, often departs after falls.
  • πŸ› οΈ The sensor itself β€” check it for cracks or oxidation of the contacts.
  • πŸ”‹ Contacts on the board - sometimes oxidized or soldered off.

To disassemble the Redmi Note 9S, you will need:

  • πŸ”§ Plastic mediators (to remove the back cover).
  • ⚑ Screwdriver T3 and T5 (for screws).
  • 🧲 Screen removal suction cup (optional).

If you're not sure about your skills, don't take your phone apart on your own, call the service. Damage to the plume of the display or motherboard can result in expensive repairs.

πŸ’‘

If the proximity sensor does not work after the display is replaced, 90% of the time the problem is with the wrong plume or damaged sensor on the new module.

What to do if the sensor is faulty

If the diagnosis confirmed a sensor malfunction, you have several options:

OptionCostDifficultyEfficiency
Cleaning the sensor0 β‚½Low.High (if the problem is pollution)
Calibration through the Engineering Menu0 β‚½MediumMedium (helps with software failures)
Replacement of protective glass/film300–1000 β‚½Low.High (if the sensor is blocked)
Repair in the service (replacement of the sensor or plume)1000–2500 β‚½Tall.High (Guaranty 1-6 months)
Disabling the sensor in the settings0 β‚½Low.Low (not solving the problem)

If you want to repair your phone yourself, consider:

  • πŸ”§ The Redmi Note approximation sensor 9S often comes in the same module as the light sensor, and you'll have to change both when you replace it.
  • πŸ“¦ Parts are best bought in trusted stores (e.g. AliExpress with a seller rating above 98%).
  • πŸ”‹ After the sensor is replaced, calibration may be required through the engineering menu.

FAQ: Frequent questions about the proximity sensor

Can I use my phone if the proximity sensor is not working?
Yes, but it's inconvenient: during calls, the screen won't lock, and you can accidentally hit the buttons with your cheek, a temporary solution is to use headphones or turn on speakerphone.
Why does the sensor work again?
This can be caused by: πŸ”Œ Bad plume contact (need disassembly). πŸ“± Failure in the firmware (reset or flashing will help). 🧹 Sensor contamination (clean it).
How to turn off the proximity sensor if it interferes?
There is no direct option to turn off MIUI, but you can: Use the Sensor Disabler app (root required); turn on the plane mode during calls (inconvenient); turn off automatic screen lock in call settings (if there is such an option); note that turning off the sensor will make calls less convenient.
How much does it cost to replace the proximity sensor in the service?
Cost depends on the region and service: πŸ™οΈ Moscow/SPb: 1200–2000 β‚½ (with spare parts). 🌍 Regions: 800–1500 β‚½. πŸ“¦ Self-replacement: 300–800 β‚½ (the cost of the sensor on AliExpress). Repair time is from 30 minutes to 2 hours.
Can the MIUI update fix the sensor problem?
Yes, if the problem is software. Before you upgrade: Back up your data. Check that the battery is 50 percent+. Update via Settings β†’ About your phone β†’ System Update. If the sensor went live after the upgrade, the problem was the firmware bug.