How to completely disable the motion sensor on the Xiaomi phone: 5 proven ways

The motion sensor (accelerometer and gyroscope) in Xiaomi smartphones is responsible for automatic screen rotation, control gestures and fitness tracking functions. However, many users want to turn it off - whether to save battery power, eliminate false positives or solve problems with games / applications where the sensor interferes. In this article, we will discuss all possible ways of deactivation, including hidden MIUI settings and alternative methods for different models (Redmi Note 12, POCO X5, Xiaomi 13T, etc.).

It's important to understand that completely disabling motion sensors can affect some functions, from automatically rotating the screen to pedometering in Mi Fitness. But if you're ready for that, read on. We'll also show you how to selectively disable only individual sensor functions without affecting others.

1. Standard shutdown via MIUI settings

The easiest way is to use the built-in options, which is suitable for most MIUI 12-14 models and does not require superuser rights.

  1. Open the Settings โ†’ Display.
  2. Find the Autoturn (or Screen Turn) item and turn off the slider. โš ๏ธ Warning: This only turns off the automatic screen rotation, but does not deactivate the sensor itself).
  3. To completely disable, go to Settings โ†’ Additional โ†’ Special features โ†’ Sensors (the item may be missing on some firmware).

If there is no Sensor on the menu, then your version of MIUI does not support manual disabling through the interface, in which case move on to the following methods.

๐Ÿ“Š Why you want to turn off the motion sensor on Xiaomi?
Battery savings
Interfering with false positives
Conflict with games/apps
No need for auto-turn function
Other

2. Disconnection through Developer Mode

Hidden MIUI settings allow the sensors to be deactivated at the software level.

  1. Activate Developer Mode: Go to Settings โ†’ About Phone. Press 7 times on MIUI Version (you will be notified "You are a developer").

Settings

For developers

Entering

  • ๐Ÿ”„ Disable the accelerometer sensor (if any).
  • ๐Ÿ”„ Turn off the gyroscope sensor.
  • ๐Ÿ”„ Disable the proximity sensor (not related to movement, but often search together).

Important: Some firmware may not have these options or be blocked, in which case only disabling through ADB will help (see next section).

๐Ÿ’ก

If the device starts to glittle after the sensors are turned off in developer mode, restart it. Some functions (such as navigation gestures) may require restarting the system.

3. Disconnect sensors via ADB (for power users)

This method requires connecting your phone to your computer and using Android Debug Bridge (ADB), which works on all Xiaomi models, but irreversibly turns off the sensors until the next flash. If you're not sure about what you're doing, skip this section.

Step-by-step:

  1. Install ADB: Download Platform Tools from Android. Unpack the archive into any folder on your PC.

Connect the phone:

  • Enable USB Debugging in Settings โ†’ For Developers.
  • Connect Xiaomi to your computer via USB-cable.
  • In the Platform Tools folder, open the command line (Shift + PCM โ†’ Open the PowerShell window here).
  • Follow the commands: adb shell su pm disable com.android.sensorprivacy โš ๏ธ Warning: Su command requires root rights. If they don't exist, use the alternative command: adb shell settings put global. sensor_blacklist "accelerometer,gyroscope It temporarily locks sensors until reboot.

Install Platform Tools on PC|

Enable debugging over USB on your phone |

Connect the phone with the original cable |

Make a backup copy of the data |

Check for root rights (if necessary)-->

Selective shutdown of sensor functions

If you only need to turn off individual sensor functions (such as autorotating or gestures), but leave the pedometer running, use these methods:

FunctionHow to turn offEffects of consequences
Screen reversalSettings โ†’ Display โ†’ AutoturnThe screen will not rotate when you turn the phone.
"Lift to unlock" gesturesSettings โ†’ Screen lock โ†’ GesturesThe phone will not turn on when lifting.
Shagomer (Mi Fitness)Settings โ†’ Applications โ†’ Mi Fitness โ†’ Rights โ†’ Physical activityThe number of steps will no longer be counted
Vibration when movingSettings โ†’ Sound and vibration โ†’ Vibration when touchedTactile responses will be shut down.

Note: Some features (such as Game Turbo in games) may automatically enable motion sensors. To avoid this, disable Game Improvements in the settings of the respective app.

5. Disconnect sensors through third-party applications

If the standard methods didn't work, you can use apps from Google Play.

  • ๐Ÿ“ฑ Sensor Disabler โ€“ allows you to disable individual sensors without root rights (does not work on all Xiaomi models).
  • ๐Ÿ”ง MacroDroid โ€“ Creates rules for automatically disabling sensors in certain conditions (e.g. when you start a game).
  • ๐Ÿ› ๏ธ Tasker โ€“ Advanced tool for controlling sensors through scripts (requires customization).

โš ๏ธ Note: Applications to disable sensors may conflict with MIUI Before using, back up your data and check the reviews for compatibility with your model.

What happens if you turn off all the motion sensors?
Completely disabling the accelerometer and gyroscope will lead to the following consequences: - The automatic rotation of the screen will not work. - Control gestures will turn off (for example, "shake to mix music"). - Games using the gyroscope (PUBG, Genshin Impact, etc.) - The stepmer and fitness trackers (Mi Band) will lose some data. - Some system functions (for example, determining the position of the phone in space) can malfunction. - Vibration when moving (for example, in navigators) can only be switched off through the sensor.

Hardware shutdown (extreme case)

If the software fails, you have to physically shut down the sensors, which is an irreversible process that requires disassembling the phone and can lead to a loss of warranty, and we don't recommend using this method unless absolutely necessary.

How it works:

  • ๐Ÿ”ง Motion sensors (accelerometer/gyroscope) are located on the motherboard next to the processor.
  • ๐Ÿ”ง They can be turned off by cutting the appropriate tracks or removing the chip (sweeping station is required).
  • ๐Ÿ”ง On some models (Redmi) 9A, POCO M3) sensors are combined with other sensors โ€“ their disabling can disable the camera or microphone.

Alternative: If the problem is false positives, try recalibrating the sensors via the engineering menu (type ##6484## or #4636## and select Sensor Test).

7. Frequent problems and their solutions

When you turn off the motion sensors, Xiaomi users encounter typical errors. Here's how to fix them:

  • ๐Ÿ”„ Sensors turn on again after reboot: This happens due to system services MIUI, Solution: Use it. ADB for permanent shutdown (see Section 3) or Sensor Disabler with autostart option.
  • ๐ŸŽฎ Games don't run without a gyroscope: Some games (like Genshin Impact) require working sensors.Solution: turn off sensors selectively (only auto-rotate) or use a gyroscope emulator via Mock Locations.
  • ๐Ÿ”‹ Battery consumption increased after shutdown: Paradoxically, some users are seeing an increase in energy consumption. Reason: the system is constantly trying to initialize the sensors that are disabled. Solution: return the standard settings or update the firmware.

๐Ÿ’ก

If the phone brakes or overheats after the sensors are turned off, return the standard settings immediately, which is a sign of conflict with MIUI system services.

Can the motion sensor be turned off for specific applications only?
Yes, but only with third-party tools like MacroDroid or Tasker. Create a rule that will turn off sensors when you run a selected application (like a game) and turn them back on after you close. Tasker example: Create a task with Sensor Off (requires a SecureTask plugin). Specify the trigger to launch the target application. Add the backup of Sensor On when you close the application.
Why did the NFC stop working after the sensors were turned off?
This is a rare but possible problem on some models (Xiaomi 12 Pro, Redmi K50). Reason: motion sensors and NFC can use common system services. Solution: Return sensor settings to their original state. Update the firmware to the latest version of MIUI. If the problem persists, reset (Settings โ†’ Phone โ†’ Reset).
How to check if the sensors are turned off?
Use the Sensor Test app (available on Google Play) to show the status of all sensors in real time. Alternatively, the engineering menu: Enter in the dial ##6484##. Select Sensor Test. Check the Accelerometer and Gyroscope values - if they are zero, the sensors are disabled.
Will Google Fit work after the sensors are turned off?
No, Google Fit and other fitness trackers (Mi Fitness, S Health) will no longer receive data on steps, running and activity, but you can: Use external trackers (such as the Mi Band), manually enter training data, disable only the pedometer, leaving the rest of the sensor functions (see section 4).
Can I turn off the sensors on the always locked boot loader?
Yes, but with limitations: Methods through Settings and Developer Mode work without unlocking. ADB-commands without root are also available, but their action may reset after the update. TWRP and modified firmware (e.g., Xiaomi.eu).