Calibration of components in Xiaomi smartphones. Calibrating the proximity sensor on Xiaomi How to disable call hold on xiaomi

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

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

Is the sensor turned on?

Check first if 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 the menu items may differ slightly.

Disable the lock function in the pocket

Activation of this function is one of the reasons for sensor failures. Again, it can turn off in different ways on different models. First of all, we 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 disable it.

Removing physical barriers

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 the earpiece. There should be a hole in this place, if not, then you need to change the film or cut it yourself.

Proximity Sensor Calibration

If the above methods did not help, it is worth calibrating the proximity sensor, but first, check if 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 item "Single item Test", open it and in a new window look for the item "Proximity Sensor"

A test will open, where when the sensor is overlapped with a finger, the inscription "Close" should appear. If you remove your finger, the inscription "Far" will appear. If the sensor does not respond, you need to carry the smartphone to the service center, and if everything is working properly, you can start calibration.

Step-by-step instruction:

After completing the process, you will need to check the sensor for performance. Cover it with your finger or an opaque object: if the number "1" on the screen has changed to "0", then everything is in order. Now click on the "Pass" item to return to the engineering menu, and then - "Finish", after which the smartphone will turn off.

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

If the calibration did not help

There are times when calibration doesn't help. The reasons may be as follows:

  • Problems with the firmware, to fix which it is worth reflashing the device
  • Perhaps after the repair, the display was replaced by a non-original one
  • A banal marriage - in this case, you need to go to the service center or to the seller

Phones are evolving from year to year, becoming an increasingly complex device that has on board a dozen of all kinds of sensors. Each of them is responsible for certain functions. For example, the proximity sensor is responsible for adjusting the auto brightness of the screen and turning it off during a conversation, it is also called a light or illumination sensor. Calibrating the proximity sensor on xiaomi redmi or note devices will help to correct the sensor malfunctioning, 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 the malfunction. If a banal reboot of the device does not help you, then let's consider the reasons according to their degree of complexity.

Turn on the light sensor

Your sensor might just be turned off. To enable it, you need to do a few steps, consider the example of xiaomi redmi 3s.
We open the application "phone" (dialer in common people)
Long press on the menu
In the list that opens, select "incoming calls"
Then we find the "proximity sensor" in the list and turn it on if it is disabled

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

Disable "harmful" functions

The most common reason for an incorrectly working sensor is the included "lock in pocket" function, the meaning of which is to prevent the screen from turning on when the smartphone is in your pocket. Due to this option, the light sensor often does not work correctly.

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

What can interfere with the sensor

One of the reasons for an incorrectly working proximity sensor is physical interference in its operation, namely a protective film or glass. For example, this proximity sensor does not work for our employee on xiaomi redmi note 3 pro for this very 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 the earpiece. This problem is usually caused by low-quality or universal films. Therefore, before purchasing a protective cover, be sure to check for all the holes.

We test and calibrate the light sensor

Light sensor test

A fairly popular solution is to calibrate the proximity sensor of xiaomi devices. First, you need to check the performance of the sensor in the phone, for this we 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 on 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 screen will display the inscription "far" or "close", closing and opening the light sensor (for example, with a finger), the inscription should change. If this does not happen, then this module is faulty.
After this text, you can try to do the calibration.

Light sensor calibration

Let's take a look at the calibration using the example of a xiaomi redmi 3s smartphone.

We turn off the smartphone completely.

We hold down the volume + (volume up) button, and without releasing it, we also press the power button. Your device should vibrate, then 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 in the bottom line to the right of the "download 模式" button. After that, the menu language will be changed to English.


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


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

Place your phone horizontally on a flat surface.

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

Make sure the phone is not exposed to strong light.

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

After that, the inscription "Successfully" should appear, it means that the calibration has been successfully completed.

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

After that, 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.

We turn on the phone and check the operation of the sensor. When you call, the screen should go out only when you bring the phone to your ear.
In our personal experience, the correct operation of the proximity sensor xiaomi redmi 3 was completely restored in this way.

Incorrect device firmware

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

Other reasons

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

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

Smartphones are becoming more sophisticated every year and are constantly updated with new features. In particular, gadgets based on MIUI 8 are equipped with various sensors that help in work. For example, the light (proximity) sensor is responsible for the correct adjustment of the automatic brightness of the display and for turning it off during a telephone conversation. Sometimes in its operation there are problems associated with incorrect calibration: for example, if the sensor has not turned off the display during calls, the user may accidentally press something wrong with his ear. There can be many reasons for incorrect calibration. If a simple restart of the smartphone did not fix the problem, let's investigate the reasons for this.

  1. The proximity sensor of Xiaomi Redmi 3 is disabled. Turning it on is quite simple (let's 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 item. If this setting is missing, it might be worth looking elsewhere.
  2. Also, a very common reason for 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, very often the Xiaomi 3S proximity sensor lags and glitches. To disable it, you need to go to "Settings - Calls - Incoming calls", where you will see a slider that you need to move to turn off the function.
  3. In addition, physical obstacles, such as protective glass or film, can be the cause of a poorly working sensor on Redmi Note. Check if there are special holes on the film for this sensor, and if not, change the protection or make these holes with your own hands. Most often, the sensor is located near 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 you carefully check before buying whether all the holes are in stock.

Calibrating the proximity sensor Xiaomi Redmi

What to do if the proximity sensor is still not working on your Redmi Note 3? You need to calibrate the sensor - this method is one of the most common. To do this, first check if the sensor works at all: enter the code in the call menu *#*#6484#*#* (without pressing the call button). You will see the engineering menu (we tested this method on Xiaomi Redmi 4 Pro and Xiaomi Redmi 3 Pro, if it didn't work out - read the article on how to get into the engineering menu) with five buttons. You need to click on the upper 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. Here you should see the inscription "Near" or "Far" when you close the sensor with your finger. If the sensor does not respond, then it is broken, and if the test is successful, you can calibrate the Xiaomi Redmi 3s proximity sensor:

  • Disconnect the device;
  • Hold down the volume + button and then the power button. Release the buttons after vibration;
  • 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 see the engineering menu. Go to Proximity sensor;
  • Place the phone on a smooth horizontal surface after wiping the light sensor with a soft cloth;
  • Exclude bright light from entering your smartphone;
  • Press Calibration and wait while the sensor is calibrating;
  • When finished, you will see the inscription Successfully- the sensor has been successfully calibrated.

To check the correct operation, cover the sensor with something opaque (for example, a finger) - the one on the screen should change to zero. After completing the test, press the key 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 if the sensor is working correctly: when you 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

On this page you will find information on how to enable or disable automatic answer of an incoming call on Xiaomi. You can configure on your smartphone so that when a call comes in, the phone automatically answers the call. Also, many do not know how to turn off auto-answer on Android, it is not necessary that you yourself activated this function, perhaps it happened by accident or the children dig deeper into 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 see how to get into the auto answer settings on Xiaomi Redmi 4X, perhaps the information will be suitable for other Android smartphones and tablets.

Let's see how to enable or disable auto-reply on Xiomi. We open the phone icon and get to where we usually dial the number to call. Click on the touch menu button in the form of three horizontal stripes as shown in the attached screenshot below. (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 to bring up the menu.) Look below at the attached pictures, where the necessary icons are highlighted and buttons.

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

Now you can turn on auto answer on Hiaomi by activating the Auto Answer item (answer calls automatically). If you need to turn off auto answer for an incoming call to Xiaomi, then just turn it off. You can also configure the possible actions of the automatic answer of an incoming call. For example, a delay in answering, so that at first it was possible to cancel an incoming call, or you can set up an auto-answer mode on Xiomi by choosing to always accept an automatically incoming call, only a headset, only Bluetooth, and so on.

  • We will be glad if you add a review or share useful information.
  • Thank you for your responsiveness, additional information and helpful advice !!!

Every modern Android or iOS smartphone has many interesting features. Every year the devices are equipped with more and more sophisticated functions that make it easier to work with the phone. One of the features of smartphones are sensors, of which there are more than a dozen. Xiaomi also has a lot of them.

Prolonged operation of the device leads to malfunction of the sensors and sensors. Because of this, the automatic brightness of the screen may be incorrectly adjusted at different times of the day, there will be problems when pressing the screen, since the touches are detected incorrectly.

As for smartphones, calibration of the Xiaomi proximity sensor will help to fix the problem. This procedure allows you to customize the responses of the sensors to the correct answer, also with other types of sensors. It should be noted 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 has the necessary sensor tests. But first you need to check the proximity sensor activity:

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

Battery Calibration

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

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

The first method of calibration is to fully charge the device when it is turned on and perform the following manipulations:

  • Disconnect the charging cable from the phone;
  • Turn off your phone completely and reconnect the charging cable after a couple of seconds. The LED should be green;
  • Unplug the charger again and turn on the phone. After loading the OS, turn it off again. We do all the actions very quickly;
  • We start charging the switched off phone. As soon as the LED turns green, disconnect the smartphone from charging again.
  • We 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 paragraph of the instructions below:

  • Turn off the smartphone completely and connect it to the charging cable. It is advisable that the adapter is plugged into an outlet.
  • After the device LED turns green, the device must be turned on and wait until the operating system is fully loaded.
  • 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 to delete.
  • We disconnect the charger and use the smartphone until it turns off automatically.
  • We charge the phone up to 100%.

Now the battery of the xiaomi smartphone is fully calibrated and the system "memorized" the exact value of the capacity.

How to calibrate the compass

Almost any Xiaomi firmware has a built-in Compass application. The correct compass calibration is 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;
  • We overload the phone;
  • We are looking for the compass application on the home screen. It is usually located in the "Tools" folder.
  • Launching Compass, we allow access to geodata.
  • We act in accordance with the instructions on the screen (You need to perform a gesture in the form of a figure of eight), 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 touch the screen, the sensor does not respond well, or the touches are detected incorrectly, there is an opportunity to correct the problem. For 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 into the engineering menu by entering the command * # * # 6484 # * # *;
  • Find the "Touchpanel" option;
  • Swipe your fingers across the screen in accordance with 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 considered two ways to calibrate the display. If it does not help, then the problem lies elsewhere.

Other calibrations

There are many more sensors, but one of the most important is the accelerometer, which is responsible for orientation in space. In other words, if your screen rotation is not working properly, you probably have problems with the accelerometer.

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

In the first case, some Xiaomi firmwares have an accelerometer calibration function in the settings. It is located in the "Display" parameters. After that, the built-in feature will automatically configure the sensor.

The second method is to use a 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 on the back of the phone for 2 minutes. It is advisable to put some kind of fabric or paper between the objects. After the procedure, we restart the device and check the performance of the accelerometer.

There is another calibration option using the engineering menu. We 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 twist 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 the message Finished.