When talking on the phone, the xiaomi buttons are pressed. How to calibrate and configure the proximity sensor on Xiaomi

Every year, smartphones become more and more complex and are constantly updated with new features. In particular, MIUI 8 gadgets are equipped with various sensors that help in operation. For example, the light (proximity) sensor is responsible for correctly adjusting the automatic brightness of the display and turning it off during a telephone conversation. Sometimes problems arise in its operation due to incorrect calibration: for example, if the sensor does not turn off the display during calls, the user may accidentally press something wrong with his ear. There can be many reasons for incorrect calibration. If simply rebooting your smartphone does not fix the problem, let's explore the reasons for this.

  1. The proximity sensor of Xiaomi Redmi 3 is disabled. Turning it on is quite simple (take the Xiaomi Redmi3s smartphone as an example): open the dialer, then hold down the menu and select the item in the list "Incoming calls". There you will see "Proximity sensor" It needs to be turned on. Due to the fact that Xiaomi has a huge variety of phone models and their firmware, it is impossible to indicate the exact location of this point. If this setting is missing, it may be worth looking elsewhere.
  2. Also, a very common cause of errors in the operation of the touch sensor on Mi Max or Redmi Note may be the running gadget lock function, which does not allow it to turn on when the phone is in your pocket. Because of this, the Xiaomi 3S proximity sensor very often lags and glitches. To disable it, you need to go to "Settings - Calls - Incoming calls", where you will see a slider that must be moved to turn off the function.
  3. In addition, the cause of a poorly functioning sensor on Redmi Note may be physical obstacles, such as protective glass or film. Check whether there are special holes on the film for this sensor, and if not, change the protection or make these holes yourself. Most often, the sensor is located close to the earpiece and front camera. A similar problem is most often created by universal or simply low-quality glass and films, and therefore we recommend that before purchasing you carefully check whether all holes are present.

Xiaomi Redmi Proximity Sensor Calibration

What to do if the proximity sensor still does not work on your Redmi Note 3? You need to calibrate the sensor - this method is one of the most common. To do this, first check whether the sensor works at all: enter the code in the call menu *#*#6484#*#* (without pressing the call button). You will see an engineering menu (we tested this method on Xiaomi Redmi 4 Pro and Xiaomi Redmi 3 Pro, if it didn’t work, read the article on how to get to the engineering menu) with five buttons. You need to click on the top right with the inscription Single Item Test. Next, find the inscription below Proximity Sensor and click on it, you will be taken to the testing menu. “Near” or “Far” should appear here when you cover the sensor with your finger. If the sensor does not respond, it means it is broken, and if the test is successful, you can calibrate the Xiaomi Redmi 3s proximity sensor:

  • Disconnect the device;
  • Press the Volume+ button and then the Power button. After vibration, release the buttons;
  • You will see a Chinese menu. Click on the 中文 button at the bottom right of the Download模式 button. The language will become English;
  • Press PCBA Test at the top and we see the engineering menu. Let's go to proximity sensor;
  • Place the phone on a smooth horizontal surface, after wiping the light sensor with a soft cloth;
  • Avoid exposure to bright light on your smartphone;
  • Press Calibration and wait while the sensor is calibrated;
  • When finished you will see the message Successfully- the sensor has been successfully calibrated.

To check the correct operation, cover the sensor with something opaque (for example, your finger) - the one on the screen should change to zero. After completing the test, press the button Pass, after which we get to the engineering menu and click Finish - Power OFF. Then you need to turn on the smartphone again as usual and check that the sensor is working correctly: when making a call, when you bring the phone to your ear, you need the sensor to turn off the display.

Give gifts

External battery Xiaomi Mi Power Bank 2i 10000 mAh

Silicone Case For a present

More details

External battery Xiaomi Mi Power Bank 2C 20000 mAh

Silicone Case For a present

Every modern smartphone based on Android or iOS has many interesting features. Every year, devices are equipped with more and more complex functions that make working with the phone easier. One of the features of smartphones is sensors, of which there are more than a dozen. Xiaomi also has a lot of these.

Long-term use of the device leads to disruption of the sensors. Because of this, the automatic brightness of the screen may not be adjusted correctly at different times of the day, and there will be problems when pressing the screen, since touches are detected incorrectly.

As for smartphones, calibrating the Xiaomi proximity sensor will help fix the problem. This procedure allows you to configure the sensor responses to the correct response, also with other types of sensors. It is worth noting that devices from other companies do not have this function.

How to calibrate the proximity sensor on xiaomi

On most Xiaomi smartphones you can use the engineering menu, which contains the necessary sensor tests. But first you need to check the activity of the proximity sensor:

  • Open the “Phone” section and click on “Menu” on the left.
  • Go to Settings.
  • Find the item “Incoming calls”.
  • In this section, look at the line “Proximity sensor”; the function should be active.
  • Open the dialing menu and enter the standard engineering menu code: *#*#6484#*#*.
  • We immediately get to the QC test window. Here we find the item “Proximity Sensor”.
  • We try to move our finger closer to the sensor on the top panel of the device. If the “Value” value changes, then the sensor is working.
  • Click the "Calibration" button to calibrate the proximity sensor on your Xiaomi.

Battery calibration

Why do you need to calibrate the battery of Xiaomi smartphones?

During long-term use of the phone, data on the full charge and discharge of the battery may be incorrect, and as a result, the smartphone may not charge correctly. This problem shortens the battery life. To fix this you will need to calibrate the battery.

The first method of calibration is that the device must be fully charged while turned on and the following manipulations must be performed:

  • Disconnect the charging cable from the phone;
  • Turn off your phone completely and after a couple of seconds, reconnect the charging cable. The LED should light green;
  • Unplug the charger again and turn on the phone. After loading the OS, turn it off again. We carry out all actions very quickly;
  • We begin to charge the switched off phone. As soon as the LED turns green, disconnect the smartphone from the charger again.
  • Turn it on and use it.

This was the easiest way to calibrate the battery on xiaomi.

The next method is to use Root rights. To do this, you need to prepare by reading each point of the instructions below:

  • Turn off the smartphone completely and connect it to the charging cable. It is advisable that the adapter be connected to an outlet.
  • After the device LED turns green, the device must be turned on and wait for the operating system to fully load.
  • Further actions will work if you have superuser rights. Download the “Root Explorer” application.
  • Go to the data/system directory and find the batterystats.bin file that we are deleting.
  • We disconnect the charger and use the smartphone until it turns off automatically.
  • We charge the phone up to 100%.

Now the xiaomi smartphone battery is fully calibrated and the system has “remembered” the exact capacity value.

How to calibrate a compass

Almost any Xiaomi firmware has a built-in Compass application. Correct compass calibration proceeds as follows:

  • Go to the smartphone settings and the “Installed applications” section;
  • Find the Compass application;
  • Click the “Clear data” button to clear the cache;
  • Reboot the phone;
  • We are looking for the compass application on the main screen. It is usually located in the Tools folder.
  • By launching Compass, we allow access to geodata.
  • We act in accordance with the instructions on the screen (You need to perform a figure-eight gesture), while the smartphone is placed in a horizontal position.
  • After calibration, vibration will occur and the compass itself will appear.

Screen calibration

If, when you press the screen, the sensor does not respond well, or touches are detected incorrectly, it is possible to correct the problem. To do this, the sensor is calibrated. The process involves the following series of actions:

  • To calibrate the screen, it is advisable to remove the protective film or glass, but this is only a recommendation;
  • We go to the engineering menu by entering the command *#*#6484#*#*;
  • Find the “Touchpanel” option;
  • We move our fingers across the screen according to the instructions.

It is possible to use specialized applications that can be downloaded from the Play Market. These include Touchscreen Calibration, Display Calibration and the like. We use them last.

Thus, we looked at two ways to calibrate the display. If it doesn't help, then the problem is somewhere else.

Other calibrations

There are many more sensors, but one of the important ones is the accelerometer, which is responsible for orientation in space. In other words, if your screen rotation isn't working properly, there's probably a problem with your accelerometer.

Calibration of the accelerometer on a Xiaomi smartphone is carried out using two methods: using standard functions and an ordinary magnet.

In the first case, on some Xiaomi firmware there is an accelerometer calibration function in the settings. It is located in the “Display” parameters. After this, the built-in feature will automatically configure the sensor.

The second method is to use mechanical force on the smartphone using a magnet. The method does not always work and should be used with caution (the magnet should not be highly magnetized).

Take a magnet and run it across the back of the phone for 2 minutes. It is advisable to put some fabric or paper between objects. After the procedure, we restart the device and check the functionality of the accelerometer.

There is another calibration option using the engineering menu. Let's do everything in order:

  • Enter the command *#*#6484#*#* to enter the engineering menu;
  • Find the item “Accelerator” or “Accelerometer sensor”;
  • We tilt the phone in different directions: right, left, forward and backward. As soon as all the arrows appear, press the “Calibration” button;
  • The message “Calibration success” should appear;
  • Click OK;
  • Now you need to rotate the smartphone in a circle to calibrate the Magnetic Sensor. We hold the device in a horizontal or vertical position;
  • We are waiting for the vibration and Finished message.

On this page you will find information on how to enable or disable auto answer of an incoming call on Xiaomi. You can configure your smartphone to automatically answer the call when there is an incoming call. Also, many people do not know how to disable auto-reply on Android; it is not necessary that you activated this function yourself, perhaps it happened by accident or the children tinkered with the phone’s settings and turned it on. If necessary, you can select certain settings in the auto answer settings, for example, when using a headset. In our example, we will look at how to get into the auto-response settings on Xiaomi Redmi 4X; perhaps the information will also apply to other Android smartphones and tablets.

Let's see how to enable or disable auto-reply on Xiaomi. Open the phone icon and get to where we usually dial a number to call. Press the menu touch button in the form of three horizontal stripes as shown below in the attached screenshot. (On some Android devices, after opening the phone, you can open the menu with a touch button in the form of three stripes, which will be located under the screen on the left side. This button must be pressed and held a little so that the menu appears.) Below, look at the attached pictures, where the necessary icons are highlighted and buttons.

Now we get to the phone menu on Xiaomi where we need to find and select Auto Answer, after which we see the possible auto answer settings.

Now you can enable auto answer on Xiaomi by activating the Auto answer item (answer calls automatically). If you need to turn off auto answer for an incoming call on Xiaomi, then simply turn it off. You can also configure possible auto-answer actions for an incoming call. For example, delaying the answer so that you can first cancel an incoming call, or you can configure the auto-answer mode on Xiaomi by choosing to always accept an automatically incoming call, only a headset, only Bluetooth, etc.

  • We will be glad if you add feedback or share useful information.
  • Thank you for your responsiveness, additional information and useful tips!!!

The proximity (light) sensor on Xiaomi is responsible for automatically adjusting the brightness, as well as turning off the display during a call. If it malfunctions, it can cause a lot of inconvenience, for example, the display may stop turning off during calls, which will lead to accidental clicks, as well as increased battery consumption. The issue can be resolved by calibrating the proximity sensor.

The reasons for failures can be different, so first of all it’s worth. If this does not help, then let's look at options for solving the problem from the simplest to the most complex:

Is the sensor turned on?

First of all, check whether the sensor is turned on. To do this, open the “Phone” application and hold down the left touch key in the form of three horizontal stripes. In the menu that opens, go to Incoming calls > Turn off the screen during a call(proximity sensor). Depending on the smartphone model and MIUI version, the names of menu items may differ slightly.

Disabling the pocket lock function

Activation of this function is one of the causes of sensor failures. Again, it can turn off differently on different models. First of all, look at the “Incoming calls” menu

If you do not have such an item, then go to Settings > Lock screen and fingerprint > Advanced settings > Pocket mode and turn it off.

Removing physical obstacles

Another reason for sensor malfunctions is non-original protective glass or film on the screen. The sensor itself is located next to the front camera and earpiece. There should be a hole in this place; if there is none, then you need to change the film or cut it out yourself.

Proximity Sensor Calibration

If the methods described above did not help, you should calibrate the proximity sensor, but first check whether it works at all. To do this you need to call . In dialing mode, enter *#*#6484#*#* or *#*#4636#*#* and we see the following picture:

Here we are interested in the “Single item Test” item, open it and in a new window look for the “Proximity Sensor” item

A test will open, where when you cover the sensor with your finger, the text “Close” should appear. If you remove your finger, the message “Far” will appear. If the sensor does not respond, you need to take the smartphone to a service center, and if everything is fine, you can begin calibration.

Step-by-step instruction:

After completing the process, you will need to check the sensor for functionality. Cover it with your finger or an opaque object: if the number “1” on the screen changes to “0,” then everything is fine. Now click on the “Pass” item to return to the engineering menu, and then click “Finish”, after which the smartphone will turn off.

Turn on the device again and check the operation of the sensor by holding the phone to your ear during a call - the display should turn off.

If calibration does not help

There are times when calibration does not help. The reasons may be as follows:

  • Problems with the firmware, to fix which you need to reflash the device
  • Perhaps after repair the display was replaced with a non-original one
  • A banal defect - in this case, you should go to a service center or to the seller

Phones evolve from year to year, becoming more and more complex devices, having a dozen different sensors on board. Each of them is responsible for certain functions. For example, a proximity sensor is responsible for regulating the auto-brightness of the screen and turning it off during a conversation; it is also called a light or ambient light sensor. Calibrating the proximity sensor on xiaomi redmi or note devices will help correct incorrect operation of the sensor, which can cause a lot of problems for the smartphone owner, for example, accidental taps on the screen during a call. There may be several reasons for malfunction. If a banal reboot of the device does not help you, then let's look at the reasons according to their degree of complexity.

Turn on the light sensor

Your sensor may simply be turned off. To enable it you need to take several steps, let’s look at the example of xiaomi redmi 3s.
Open the “phone” application (dialer in common parlance)
Long press on menu
In the list that opens, select “incoming calls”
Then we find “proximity sensor” in the list and turn it on if it is disabled

Some xiaomi models may not have this option or this function will have a different location in the menu. Unfortunately, it is impossible to give a universal menu path due to the wide variety of models and firmware.

Disabling “harmful” functions

The most common reason for a sensor not working correctly is the enabled “pocket lock” function, the purpose of which is to prevent the screen from turning on when the smartphone is in your pocket. Because of this option, the light sensor often does not work correctly.

This problem is relevant on all xiaomi firmwares, for some reason engineers do not want to fix this problem or believe that everything works as it should, however, for some users, this function does not cause problems. To turn off pocket lock, you need to go to settings, then to “calls” and then to “incoming calls”, there you can find a slider that turns off this feature.

What can interfere with the sensor?

One of the reasons for a proximity sensor not working correctly is physical interference in its operation, namely protective film or glass. For example, our employee’s xiaomi redmi note 3 pro does not have this proximity sensor working for this exact reason. If you do not have holes for the light sensor, then you need to either change the film/glass or make this hole yourself. This sensor is usually located above the screen, next to the front camera and earpiece. Low-quality or universal films usually suffer from this problem. Therefore, before purchasing a protective coating, be sure to check the presence of all holes.

Testing and calibrating the light sensor

Checking the light sensor

A fairly popular solution is to calibrate the proximity sensor of xiaomi devices. First, you need to check the functionality of the sensor in your phone, to do this, dial the following numbers *#*#6484#*#* (you do not need to press the call button), thanks to this combination you will be taken to the engineering menu, tested on xiaomi mi4 and xiaomi redmi 3 pro , other ways to get there are described in our article about the engineering menu.
You will see 5 buttons on a black background.

Click on the top right, it should say “Single Item Test”.


In the list of components you need to find and select “Proximity Sensor”; it is usually located almost at the very bottom.


In the test itself, the inscription “far” or “close” will be displayed on the screen; closing and opening the light sensor (for example, with your finger), the inscription should change. If this does not happen, then this module is faulty.
After this text, you can try calibration.

Light sensor calibration

Let's look at calibration using the xiaomi redmi 3s smartphone as an example.

Turn off your smartphone completely.

Press and hold the volume+ button (volume up), and without releasing it, press the power button. Your device should vibrate, after which the buttons can be released.

A menu will open in front of you, in 95% of cases it will be in Chinese (including on xiaomi redmi 3s). You need to click on the “中文” button, it is located in the bottom line to the right of the “download模式” button. After this, the menu language will change to English.


Click on the “PCBA test” button on the top line and the engineering menu opens in front of us.


If the touchscreen does not work, then use the “UP” and “DOWN” buttons to move to the “Proximity sensor” item and go into it.

You need to place the phone horizontally on a flat surface.

The light sensor should not be covered with anything (it is better to wipe it with a cloth).

Make sure your phone is not exposed to bright light.

Click on the “Calibration” button, the sensor will begin to calibrate.

Afterwards the message “Successfully” should appear, it means that the calibration was successfully completed.

Now you need to check the operation of this module, cover the light sensor with an opaque object, on the screen 1 should change to 0 and vice versa.

After this, you may need to press the “Pass” button, you will be taken back to the engineering menu, there we press “Finish”, then “Power Off”, the phone should turn off.

Turn on the phone and check the operation of the sensor. When you make a call, the screen should only go dark when you bring the phone to your ear.
In our personal experience, the correct operation of the xiaomi redmi 3 proximity sensor was completely restored using this method.

Incorrect device firmware

If calibration does not help, then the reason for the incorrect operation of the smartphone may be incorrect flashing; this applies not only to the light sensor. The problem is that the new firmware does not install correctly on the smartphone, receiving the remaining garbage from the old firmware. This problem concerns the update method through standard recovery (bootloader). The transition to new versions should be done via fastboot or with resetting all settings and user data (full wipe). Among the disadvantages of this method, it is worth noting that all your data and applications will be deleted, but all garbage will be deleted along with them.

Other reasons

If the previous methods did not have the desired effect, then replacing the screen with a low-quality one may be the reason. Unfortunately, screen modules for xiaomi phones come with a light sensor. If you have already had your screen replaced at a service center, then it is quite possible that, contrary to all the technician’s beliefs, you were simply given a low-quality screen with a bad sensor. If your smartphone does not work correctly from the very beginning of the purchase, then the reason may be a simple defect. We advise you to contact the seller for further instructions.

We hope these tips helped you, be sure to write in the comments whether this article helped you and what advice helped you.

mob_info