Blocking screen orientation on Xiaomi: the full guide

Many Xiaomi smartphone owners often face a situation where when you turn the device, the image on the display remains in an upright position, although the content is clearly designed for horizontal viewing. This behavior is caused by the activated position fixing function, which in the menu can be called differently, but the essence of it is unified - forced retention of the interface in a given position. Understanding what it means to lock orientation, allows you not only to use media conveniently, but also to solve problems with incorrect display of elements in applications.

In the MIUI ecosystem and the new HyperOS, screen rotation is controlled through the accelerometer and gyroscope system services. When you activate the lock, the software ignores sensor signals about the physical change in position of the body in space, which is useful not only for watching videos, but also for people with disabilities or when using the phone in specific conditions, such as in a car or on a stationary bike, where shaking can cause chaotic interface surges.

In this article, we will discuss in detail how autorotating works, how it is forced to fix it, and how to solve problems when the screen sticks in an unnecessary position. You will learn about the hidden settings and features of specific applications that can intercept the control of sensors.

The principle of operation of sensors and system logic

The basis for determining the position of the smartphone is a bunch of hardware sensors, the main of which is the accelerometer. This microelectronic component measures the acceleration acting on the device, and allows the system to understand where the “bottom” is relative to the body of the gadget.

Not all apps support layout change, for example, most social networks like Instagram or TikTok are originally vertical, and even if you block them off, they don't flip horizontally, but video players, browsers and gallery are completely dependent on the system's rotation settings.

⚠️ Attention: Calibration of sensors may be lost after the device falls.If the screen turns spontaneously or does not respond to tilts even when unlocked orientation, try calibrating the gyroscope through an engineering menu or calendar apps.

In modern Xiaomi shells, the processing of sensor data is optimized to save battery power. The system can less often poll sensors in background applications, which sometimes creates the illusion of sticking to the screen when a sharp turn. A delay in the reaction to turn up to 2-3 seconds is the normal behavior of the energy saving system in low performance mode.

Technical details of the accelerometer
The accelerometer in the smartphone Xiaomi is MEMS-Micro-Electro-Mechanical Systems, inside a microscopic camera, there's a moving mass that's shifted by gravity, and the change in capacitor capacity is captured and converted into a digital signal that's interpreted by the Android driver.

The main ways to control the turn of the screen

Control of display orientation on Xiaomi devices is as simple as possible and brought to the attention of the user. The standard and fastest way is to use the notification curtain where the corresponding icon is located. Depending on the version of the MIUI shell, it can be called “Orientation”, “Autoturn” or “Block”.

If the standard path doesn't work for you or the control is removed from quick access, you can use alternative methods through basic system settings, which is especially true for users who prefer deep customization.

  • 📱 Notification curtain: swipe from top to bottom and find a button with the image of the lock or arrows in the circle.
  • ⚙️ System settings: go to the Screen or Additional section where the screen autoturn switch is located».
  • 🎮 Game mode: The sidebar of the Game Turbo often has a separate lock switch, independent of the system.
  • 🗣️ Voice control: Google turn on autoturn also works on most devices.

It's important to distinguish between "locked" and "unlocked" states: When a function is active (lock icon is closed or illuminated), the screen is locked. When the function is turned off (icon is open or inactive), autorotation is turned on, and users often confuse these states, thinking that turning on the function allows a turn, when in fact it forbids it.

💡

Add the orientation control button to the lock screen. To do this, go to Settings → Lock screen → Lock screen elements on the lock screen and activate the Autoturn button switch. This will allow you to change orientation without unlocking the phone.

Where to find settings in MIUI and HyperOS

Xiaomi’s shell interface changes with each update, and the location of key switches may differ. In current versions of HyperOS, the logic of settings grouping has become more stringent, but finding the right parameter can still take time for an inexperienced user.

To find the function accurately, it is recommended to use the built-in search by settings. Just type the word “Orientation” or “Turn” in the search bar in the main settings menu, and the system will redirect you to the desired section.

☑️ Algorithm of search settings

Done: 0 / 4

In the classic version of the menu, the path is usually: Settings → Screen → Screen Autoturn. In some regions and firmware versions, this item can be hidden in the Settings submenu → Additional settings → Language and input, although this is increasingly rare. If you can't find the switch, it may have been removed by the manufacturer for minimalism, and control is only left through the curtain.

Shell versionSwitch locationName of functionFeatures
MIUI 12/13Curtain/Screen settingsOrientationTwo states: portrait/album
MIUI 14Curtain/SettingsCrash-turnAdded orientation choice
HyperOS 1.0Centre for controlLockdownIntegration with widgets
Android StockQuick setupsAuto-rotateStandard behavior

Note that in some CN ROM builds, item names may differ from global versions. If you have a Chinese version of a phone with a global language installed, some terms may be mistranslated or missing.

Problems with autoturn and methods of their solution

When the screen stops responding to the device's rotation, it is one of the most common complaints of users. Most often, the reason is not a hardware failure, but a software failure or application conflict. Orientation locking can stick at the system level, requiring a reboot of interface services.

The first step in diagnostics should always be a banal reboot of the device, which clears the RAM and restarts all system processes, including sensor drivers, and if the problem persists, it is worth checking whether Do Not Disturb mode or special features that can block the turn are on.

  • 🔄 Reboot: Turn off and turn on the smartphone completely.
  • 🧹 Cache Clearing: Delete temporary files through the Security menu».
  • 📱 Safe Mode: Launch your phone in Safe Mode to eliminate the impact of third-party launchers.
  • 🔧 Resetting: in extreme cases, reset to factory settings (backup required).

⚠️ Note: If the screen only turns to certain apps (like YouTube), the problem may be on the app’s side.

It’s also worth checking if there’s a low-quality protective glass or a cover that covers the proximity sensors. Although the light sensor and accelerometer are usually located in different places, mechanical pressure on the body or shielding the top of the smartphone can interfere with the sensors.

📊 Have you ever had a problem with “sticking” the screen?
Yeah, all the time.
It's rare.
Never had.
Only after the update

Features of work in applications and games

App developers take priority over system orientation settings, which means that if the Android application manifest is rigidly portrait orientation, no system switches will make it turn, which is common in banking applications, instant messengers and some games.

In games, the situation is reversed: many titles force the device to landscape mode and block the return to portrait before leaving the game. MIUI and HyperOS have a game mode (Game Turbo), which can intercept the control of sensors to prevent accidental taps or turns during intense play.

For video players like VLC or MX Player, there are custom internal rotation settings that work independently of the system. If you don't have autorotation in a particular player, look for the "Lock screen orientation" or "Force landscape" setting in the app's menu itself.

Interestingly, some book-reading apps allow you to block orientation separately from the system so that a random turn doesn't knock down the layout of the page, an example of how third-level software can ignore or complement system commands.

💡

Orientation Management Priority: App > Game Mode > System Settings > Hardware Sensors.

Additional functions and automation

Modern Xiaomi smartphones allow you to automate the process of controlling the orientation of scenarios. Using the built-in Scenarios app (or third-party analogues like Tasker), you can configure the rule: “If you run the YouTube app, turn on autoturn”, and “If you run Instagram, block”.

And this automation eliminates the need to constantly curtain notifications, so you create a behavior profile for each situation, and the phone itself adapts to your actions, which is especially useful for people with motor impairments or those who use the phone in specific working conditions.

Also worth mentioning is the "Turn on Raising" feature, which is found in some launchers, which uses a front-facing camera or proximity sensor to understand that you're looking at your phone and rotate the screen even if the accelerometer hasn't picked up a strong tilt. However, on Xiaomi stock firmware, this feature is rare and more often the lot of custom launchers.

How to enable hidden orientation settings through ADB?
For advanced users, a method of controlling through a debugging bridge is available ADB. Settings put system command accelerometer_rotation 1 It'll turn on the auto-turn, 0 — You can also force the orientation with wm size or through emulation of input, but this requires root rights or special permissions.
Why doesn’t the screen turn on the home screen?
The standard MIUI launcher does not support horizontal desktop mode by default. To implement this, you need to install a third-party launcher (for example, Nova Launcher) and allow it to work in landscape mode in the screen settings.
Does the “In Pocket” mode affect the lock?
Yes, the proximity sensor that controls the In-Pack mode can conflict with the accelerometer, so if the sensor is contaminated or closed with film, the phone can think what's in the pocket and block any action, including turning the screen.
Can I set up different locks for different applications?
You can’t do that with Xiaomi’s system tools. You’ll need to install third-party automation software like Tasker or MacroDroid that can track the active window and change system settings on the fly.
What to do if after updating the firmware lost the autoturn?
After major updates (such as MIUI on HyperOS), calibrations are often confused. Try resetting all settings (not data) or using the engineering menu codes to recalibrate the sensors.