Many users of Xiaomi, Redmi and Poco smartphones experience a situation where the device locks immediately after being touched to the ear or when in the bag, even if you do not make calls. This phenomenon is known as βpocket modeβ, which is activated by the proximity sensor to prevent accidental taps. However, improper sensor operation or too high sensitivity can turn a useful feature into a real problem, making the phone temporarily unusable.
Understanding how to turn off the mode in Xiaomiβs pocket is not only necessary for comfortable use, but also for diagnosing hardware malfunctions. Often users confuse a sensor software failure with a screen breakdown, although the solution lies in interface settings or system calibration. In this article, we will discuss in detail all methods of deactivating the function, from standard menus to engineering codes.
Itβs worth noting that in the latest versions of the MIUI shell and the new HyperOS, the location of the switches may change, and some options become hidden. Weβll look at the current ways for different versions of the firmware so that you can quickly regain control of your gadget. If your smartphone stopped responding to touches in your pocket or, conversely, goes out for no reason, this guide will help you fix the situation.
What is a mode in the pocket and why it is needed
Pocket Mode is a hardware-software suite designed to protect the user from random action with a smartphone when he is in a confined space, such as in a trouser or bag. The basic mechanism is based on data from the proximity sensor, which is located at the top of the display, usually next to the speaker. When the object closes the sensor, the system locks the screen and touch screen, ignoring any touch.
The main purpose of this feature is to prevent pocket calls and accidental application launches. Without this protection, a phone in a narrow pocket could constantly wake up, heat up and drain the battery due to background activity. However, if the sensor is downed or there is pollution on the security glass, the phone may think that it is in his pocket, even lying on the table.
β οΈ Warning: Disabling the feature completely increases the risk of random dialing or activation of the voice assistant when the phone is lying down on a soft surface.
In some cases, users are specifically looking for a way to remove the mode in their pocket on Xiaomi, so that they can answer calls swiping in any position or use the phone in specific conditions where the sensor is closed all the time.
Standard disconnection through phone settings
The easiest and safest way to deactivate the feature is to use the built-in settings menu. In most Xiaomi models, this option is located in the section responsible for locking the screen. The algorithm for actions may vary slightly depending on the version of Android and the MIUI shell.
To start, unlock the device and go to the main app menu, find the Settings icon and open it. Next, you'll need to find the section associated with the lock screen. In older versions of the firmware, it could be simply called "lock screen", in new versions it could be integrated into "Always on screen and lock screen".
βοΈ Algorithm of search settings
Inside the menu, find Pocket Mode or Pocket Mode, next to which is a switch switching switch, if it's on blue or green, the function is active, click on it to be inactive (gray). After that, the changes take effect instantly, no reboot is required.
If you can't find that switch in that location, try searching by settings. At the top of the settings menu, there's a search bar -- type in the word "pocket" or "mode" and the system will highlight the menu item, which is especially true for HyperOS models, where the menu structure has been significantly redesigned.
Configure through the Security app
In the Xiaomi ecosystem, many system functions, including sensor management, are brought to a separate system application Security.This is a proprietary utility from the developers of MIUI, which often duplicates the settings available in the main menu, but with deeper access to hardware modules.
To check the settings through this path, look for the green shield icon app on your desktop, run it and wait for the automatic system check to be completed. In the menu that opens, select the Battery and Performance section or scroll down to the Tools block. In some versions of the firmware, the desired switch is in the Antivirus section or additional tools.
Why can the settings be different?
There may also be a partition inside a security application that's associated with optimization or blockers. Look for a subsection that mentions "Pocket Mode." If the switch is active there, turn it off. It's important to understand that turning it off here can affect other power saving functions that rely on proximity sensor data.
Use of the Engineering Menu for Calibration
If a standard shutdown doesn't work, or if the sensor doesn't behave properly (the screen goes off when you just hold the phone to your ear, but not in your pocket), you need a deep setup. It uses an engineering menu available through a special code. It's a professional method that requires caution.
Open the Phone app and type in the combination ##6484##. The CIT menu will appear on the screen. Here is a list of all the hardware modules of your device.
Inside the test, you'll see the current sensor readings. Close the top of the screen with your hand - the value should change (usually from 5.0 to 0.0 or vice versa, depending on the type of sensor). If the values don't change, it's possible that the sensor is contaminated or physically defective. This menu often has a Calibrate or Pass/Fail button to reset the calibration.
| Parameter | Normal condition | Status of lockdown | Action. |
|---|---|---|---|
| Distance (Distance) | 5.0 cm (approximately) | 0.0cm | Testing the reaction |
| Raw Data | Changes when you're lifting. | It doesn't change. | Calibration required |
| Status | Far (far away) | Near (Close) | Resetting settings |
| Color | Green (Pass) | Red (Fail) | Repair or replacement |
π‘
Before entering the engineering menu, make sure that the battery is above 20% so that the device does not turn off during the testing process.
Solving proximity sensor problems
Often, the desire to turn off the pocket mode is due to false positives. Before completely disabling a function, it is worth trying to eliminate the cause. The main cause of failure is a protective film or glass that overlaps the sensor. Even a thin film can distort the infrared radiation that the sensor uses.
The second common problem is software conflict. Once the MIUI is updated, sensor drivers may not work properly, in which case cleaning the cache of system applications helps. Go to Settings β Applications β All applications, search the list for Services and Feedback or System Components and clean the data.
- π§Ό Clean the speaker: Gently wipe the top of the screen with a microfiber, paying attention to the area of the conversational speaker where the sensor is hidden.
- π‘οΈ Accessories check: Remove the security glass and see if the problem has gone away. If so, replace the glass with a better one with a sensor cutout.
- π Resetting: In extreme cases, reset all settings to factory, pre-save backup data.
If the software isn't working, the sensor plume may have failed, which is a common problem after falls or moisture, and then turning off the mode in your pocket is the only way to use the phone, albeit with restrictions.
Hidden settings and ADB commands
For advanced users who have a menu item hidden by the manufacturer (often found in Chinese versions of firmware), there is a way to disable via USB debugging and ADB commands.
First, activate the Developer Mode. Go to About Phone and quickly click on MIUI 7 times. Then, in the advanced settings, turn on USB Debugging. Connect the phone to your PC and type a command to change the global settings.
adb shell settings put global pocket_mode 0This command compels you to set the mode in your pocket to "0" (off). If the standard menu path doesn't work, this method is the most effective. However, use it with caution, as interference with system settings can affect the stability of other services.
β οΈ Attention: Use ADB-commands require a device driver installed on the computer. Inexperienced users are better off limiting themselves to standard settings.
Influence of accessories and covers
Keep in mind that the pocket mode can be activated not only by software failures, but also by external factors. Smart Cover magnetic cases use magnets to lock the screen. If the case is damaged or the magnets are not properly positioned, the phone will think it is closed.
There are pocket mode cases that have a window or a dense texture, and if you use a tight leather case, it can shield the sensor, and try to remove the case and check the phone's performance in the naked form, and if the problem is gone, it's the accessory.
π‘
Quality accessories designed specifically for your model rarely cause conflicts with sensors, unlike versatile cheap cases.
In some cases, users stick extra protective films on the camera or speaker without realizing they are blocking the sensors. Always check that the protective glasses are compatible with your Xiaomi design, especially if you have a model with an on-screen camera or a complex sensor system.