The auto-turning of the screen on Xiaomi smartphones is a feature that is both pleasing and infuriating. One moment you lie on the couch trying to read the article, and the screen stubbornly turns into a landscape orientation. The other is playing Genshin Impact, and the sensor refuses to fix the horizontal position. The manufacturer hid the direct settings of the autoturn deep in the menu, and in new versions MIUI 14-15 This article will help you understand how to completely disable autorotation (including forced landscape mode in games) or adjust it to your needs, from basic methods to hidden ones. ADB-team.
We tested all methods on current firmware (June 2026) on Redmi Note 12 Pro+, POCO F5, Xiaomi 13 Ultra and Black Shark 5 Pro. Note: some methods require an unlocked bootloader or root rights โ we will warn you about this in advance. If you need to turn off autorotation only in individual applications (for example, in YouTube or TikTok), skip the first two sections and go straight to the settings for specific programs.
1. Standard turn off of the auto turn in MIUI
The most obvious way is to use built-in settings MIUI. In the latest versions of the slate (beginning with the MIUI 13) The way to these settings has changed, and in some regional assemblies, the option is not at all. MIUI 14/15:
- Open the settings (cog icon on the desktop).
- Go to the Screen (or Display in English).
- Scroll down and find Auto-rotate, and if you don't have one, tap the three dots in the top right corner and select Show all settings.
- Turn off the slider next to Autoturn. Some devices (such as the POCO X5) will have a separate switch for Forced Landscape Mode in games.
If you don't have Autoturn on your menu, the manufacturer has hidden it for your region, and then use the Quick Settings Panel:
- ๐ฑ Swipe your finger down to open the notification curtain.
- ๐ Find the Autoturn icon (usually a circular-arrow phone) and if it's not there, click on the pencil and add it manually.
- ๐ Slip the icon to turn off the function. Grey is off, blue is on.
๐ก
On some models (like the Redmi Note 11) after turning off the auto-turn through the curtain, the function still works in games. To fix this, you need to use the ADB method.
2. disable autorotation through the hidden menu of engineering settings
If the standard methods donโt work, you can use the engineering menu (#4636##.#) This method works on most Xiaomi devices, but you need to be careful โ donโt change the other options in this menu unless you know what they are for!
Instructions:
- Open the Phone app and type the combination: ##4636##. The Testing menu should open.
- Select the Usage statistics tab.
- At the top of the screen, find the drop-down menu and select Sensor as Orientation.
- Turn off the Enable slider. Reset the device.
Important: After disabling the orientation sensor through the engineering menu, some applications (such as Google Camera or ARCore) may not work properly. If you need these features, use alternative methods from the following sections.
What to do if the engineering menu is not opened?
3.Use of ADB to force autoturn off
If previous methods failed, youโll have to connect to the device via ADB (Android Debug Bridge), a method that is suitable for power users and requires a computer with Xiaomi drivers installed, but it is guaranteed to turn off autorotation at the system level, including forced landscape mode in games.
What you need:
- ๐ฅ๏ธ Computer with Windows/macOS/Linux
- ๐ฑ USB-cable (preferably original)
- ๐ง Included Debugging by USB phone-on
- ๐ ๏ธ Platform Tools (download from Google website)
Step-by-step:
- Turn on USB Debugging on your phone: Settings โ About Phone โ MIUI version (stick 7 times until you say โYouโre a developerโ). Then go back to Settings โ Additional โ Developer and enable debugging.
- Connect the phone to the computer and confirm trust in the device (a pop-up window will appear on the smartphone screen).
- Open the command line (or Terminal) macOS/Linux) In the Platform Tools folder, type: adb shell settings put system accelerometer_rotation 0 adb shell settings put system user_rotation 0
- Reboot the device. The autorotor will be disabled at the system level.
๐น Make sure the debugging is done USB included
๐น Use the original cable (not all cables support data transmission)
๐น Check that Xiaomi drivers are installed (there should be no exclamation points in Device Manager)
๐น Make a backup copy of the data (in case of failure)
-->
To return the auto turn back, use the commands:
adb shell settings put system accelerometer_rotation 1
adb shell settings put system user_rotation 1Standard settings of MIUI
Engineering menu (#4636###)
ADB-team
Apps from Google Play
I haven't tried it yet.-->
4. Autoturn control applications
If you don't want to go through the settings or use ADB, you can install a third-party app, and we tested 5 popular utilities and selected the two most reliable ones:
| Annex | Functions | Cons | Reference |
|---|---|---|---|
| Rotation Control | Forced orientation for individual applications Autoturn locking in Widget games for quick control | Requires availability-service (may conflict with MIUI) | Google Play |
| Set Orientation | Portrait/Album Mode Fixing Works Without Root Support for Automatic Rules | Advertising in the free version | Google Play |
How to set up Rotation Control:
- Install the application and provide all the permissions requested (including Overlay on top of other applications).
- In the main menu, select Per-App Settings.
- Add apps that you want to block autoturn (like Chrome or Instagram).
- Choose a fixed orientation: Portrait (portrait) or Landscape (album).
๐ก
Third-party apps may conflict with optimizing MIUI for games (like Game Turbo), and if after installing the utility, you start to slow down the game, turn it off for gaming applications.
5. Disabling Autoturn for Individual Applications
Sometimes you only need to turn off autorotation in specific programs, such as YouTube or Google Maps. In MIUI 14/15, this can be done without third-party utilities:
Method 1: Through application settings
- Open Settings โ Applications โ Application Management.
- Select the application you want (such as TikTok).
- Slip the permissions and find the screen orientation.
- Choose Fixed (Portrait) or Fixed (Album).
Method 2: Game Turbo (for games)
- ๐ฎ Open the Settings. โ Special facilities โ Game Turbo.
- ๐ Select a game from the list (for example, Call of Duty Mobile).
- ๐ Turn off the autoturn slider in the game.
- ๐ Enable orientation lock and select portrait.
๐ก
For YouTube and Netflix, it's better to use the Sensor Imitation mode in Rotation Control, which allows you to view videos in landscape mode, but block random turns.
Radical methods: disabling the accelerometer sensor
If you need to permanently turn off the autorotor (for example, due to a faulty sensor), you can do it at the system level. Note: these methods require root rights or unlocked bootloader!
Method 1: Magisk (for rooted devices)
- Install the Disable Accelerometer Rotation module from the Magisk repository.
- Reset the device.
- Check the work โ the auto turn should be turned off at the system level.
Method 2: Editing build.prop
For power users: You can manually edit the build.prop file by adding a line:
ro.sf.hwrotation=0But this method is fraught with loss of warranty and possible failures in the operation of the camera or AR-applications.
๐ก
Before editing build.prop, make sure to back up the file! a syntax error can lead to bootloop (a looped device reboot).
7. Frequent problems and their solutions
Even after turning off the auto-turn, Xiaomi users face a number of problems, and here are the most common ways to solve them:
| Problem. | Reason. | Decision |
|---|---|---|
| The turn is turned off, but in games the screen still turns. | Game Turbo Redefined System Settings | Turn off Autoturn in the game in Game Turbo settings or use ADB-Section 3 teams |
| After the MIUI update, the autoturn turned on again | Resetting settings after update | Repeat the shutdown via ADB or engineering menu |
| Apps (like Google Maps) donโt turn into landscape mode | Fixed orientation in application settings | Set the Auto application in Rotation Control or MIUI settings |
If nothing helps:
- ๐ Try resetting to factory settings (Settings) โ The phone. โ Resetting settings).
- ๐ฅ Install custom firmware (such as Xiaomi.eu or Pixel Experience) where autorotation settings are more flexible.
- ๐ ๏ธ Contact the service center - the accelerometer sensor may be defective.
๐ก
On MIUI devices for POCO (e.g., POCO F4 GT), autorotation is controlled separately through Settings โ Special Features โ Additional settings โ Autorotation Lock.