Blocking screen orientation on Xiaomi: a complete guide to setting up a turnaround

Have you ever faced a situation where Xiaomiโ€™s screen suddenly flips at the most inopportune moment, or vice versa, stubbornly stays in a horizontal position when you need to read a message vertically? These problems are directly related to blocking the orientation of the screen, a function that often doesnโ€™t work as the user expects. In this article, weโ€™ll look at what autorotating is, how itโ€™s implemented in firmware. MIUI, Why Smartphone Sensors Sometimes Start to โ€œGunยป.

Orientation blocking is not just a convenience, it's a necessary tool for comfortable smartphone use, such as when reading books or browsing the web in your browser, vertical fixation prevents random screen turns. On the other hand, in games or when watching videos, horizontal mode allows you to maximize the use of the display, POCO Or is Mi ignoring your settings.

What is orientation blocking and why is it necessary

Orientation locking (or screen fixing) is a software feature that forcibly sets the position of the image on the display, ignoring signals from the accelerometer and gyroscope. In Xiaomi smartphones, it works at the system level. MIUI and can be controlled manually or automatically for individual applications.

Main use cases:

  • ๐Ÿ“ฑ Reading text โ€“ prevents the screen from turning when the phone is tilted.
  • ๐ŸŽฎ Games โ€“ fixes a horizontal position for convenient gameplay.
  • ๐Ÿ“บ Video viewing โ€“ automatically switches to landscape mode.
  • ๐Ÿ›๏ธ Supine position โ€“ blocks random response of the sensor.

On Xiaomi smartphones, the lock is implemented through a combination of hardware sensors and software algorithms. The accelerometer sensor detects the device's position in space, and the gyroscope tracks the angles of inclination. If this data conflicts (for example, due to magnetic interference or mechanical damage), false autorotation triggers occur.

๐Ÿ“Š How often do you use the screen autoturn?
Constantly.
Video and gaming only
Shut it off completely.
I used to use (a) but there were problems.

How to turn on or off orientation lock on Xiaomi

Control of screen fixation in MIUI It depends on the firmware version and the smartphone model. Let's look at two main ways: through the notification panel and system settings.

Method 1: Quick control through the curtain

  1. Swipe your finger down to open the notification panel.
  2. Find the โ€œAutoporateโ€ icon** (usually depicted as a circular-arrow phone).
  3. Tap the icon to turn on or off the autorotor. Blue is active, gray is off.

Method 2: System settings

  1. Go to Settings. โ†’ Screen.
  2. Select the Autoturn screen option.
  3. Activate or deactivate the switch.

In some models (for example, POCO F5 Or the Redmi Note 12 Pro.+) Additional options are available on this menu:

  • ๐Ÿ”„ Autoturn for home screen - allows you to fix the position only on the desktop.
  • ๐Ÿ“ฑ Ignore sensors โ€“ forced locking regardless of the position of the phone.

โ˜‘๏ธ Checking the operation of the autoturn

Done: 0 / 4

If the autoturn icon is missing in the curtain, it can be added:

  1. Open the notification panel and tap on โš™๏ธ (Edit).
  2. Find it in the Autoturn list and drag it to the active area.

๐Ÿ’ก

On some models (for example, Xiaomi 13 Ultra) autorotation can be enabled by voice through Google Assistant command "Switch on autorotation".

Auto-turning problems: Why the screen doesn't turn or turn itself

If the orientation lock is not working properly, the reasons may be both software and hardware, and consider the most common scenarios and their solutions.

Problem.Possible causeDecision
The screen does not turn when tilted.Turn off autoturn in the curtain or settingsEnable the function through the notification panel or Settings โ†’ Screen.
Spontaneous screen turnsSensor failure or application conflictCalibrate the sensors or reset the settings (see below)
Autoturn only works in some applicationsApplication settings redefine systemCheck the settings of a particular app (e.g. YouTube or Chrome)
The screen is โ€œfrozenโ€ in a horizontal position.Software glitch or sensor damageRestart your phone or check the sensors through the engineering menu

One of the most common bugs is when the autorotor is on but it doesn't work.

  • ๐Ÿ”ง shell conflict (for example, after updating) MIUI).
  • ๐Ÿ“ฑ Damage to sensors after falling or getting moisture.
  • ๐Ÿ› ๏ธ Incorrect calibration of the gyroscope/accelometer.
How to check the performance of sensors?
Open the engineering menu by dialing in the phone app ##6484## (on some models ##4636##). In the Sensor Test section, check the accelerometer and gyroscope response to the phone's tilts. If the values don't change, the sensor is faulty.

Another common problem is that the autorotation only works in one direction (e.g., turns left but not right).

  • ๐Ÿงฒ Magnetic interference (for example, if a magnet case is lying nearby).
  • ๐Ÿ“‰ Incorrect calibration โ€“ sensor reset is required.

โš ๏ธ Warning: If the turnaround stopped working after the phone fell, don't try to disassemble the device yourself. At Xiaomi, orientation sensors are often integrated into the motherboard, and replacing them requires soldering work.

Calibration of orientation sensors on Xiaomi

If the auto-rotation is unpredictable, the first thing you need to do is calibrate the sensors. MIUI There are built-in tools for this, but some models may require third-party software.

Method 1: Through the Engineering Menu

  1. Open the Phone app and enter the combination ##6484##.
  2. Choose the Sensor Test โ†’ Accelerometer Sensor.
  3. Put your phone on a flat surface and press Calibrate.
  4. Pick up the phone and repeat the test โ€“ the values should change when tilting.

Method 2: Using the application GPS Status & Toolbox

  1. Install the app from Google Play.
  2. Open the Compass Calibration section.
  3. Follow the instructions on the screen (usually you need to rotate the phone in the shape of an eight).

Method 3: Resetting sensor settings

If the calibration does not help, reset:

  1. Go to Settings โ†’ About the phone โ†’ All specs.
  2. Tap 5 times on the item Core (or Version) MIUI), activate the developer mode.
  3. Back to Settings โ†’ Additionally. โ†’ For developers.
  4. Find the option Reset sensor calibration and confirm the action.

โš ๏ธ Note: After resetting the sensors, you may need to reconfigure the compass and gyroscope in applications such as Google Maps or Pokรฉmon GO. Some games, for example, PUBG Mobile may also require recalibration of the joystick.

๐Ÿ’ก

If the problem persists after calibration, check the phone for magnetic interference (such as from magnet cases or wireless charging).

Set up autorotation for individual applications

V MIUI It allows you to flexibly adjust autorotation for each application separately, which is useful if you want the screen to be fixed in some programs (for example, in a browser), but rotate freely in others (for example, in YouTube).

How to set up:

  1. Go to Settings. โ†’ Screen. โ†’ Screen reversal.
  2. Select Settings for applications (on some models this item may be called Exceptions).
  3. In the list of applications, mark those for which you want to turn off the autoturn.

Examples of useful settings:

  • ๐ŸŒ Browser โ€“ fix vertical position for easy reading.
  • ๐Ÿ“น Camera - Allow autoturn for shooting in landscape orientation.
  • ๐ŸŽต Music apps โ€“ block the turn so playlists donโ€™t get knocked down.

On some firmware (e.g, MIUI 14 for Xiaomi 13) the Smart Autopivot option is available** โ€“ the system itself determines when to turn the screen based on the context (for example, when watching a video, but not when typing).

If the desired application is not in the list of exceptions, you can use third-party utilities:

  • ๐Ÿ”ง Rotation Control โ€“ allows you to forcibly fix orientation for any program.

๐Ÿ’ก

To quickly switch the orientation in games, add the Rotation Control widget to the main screen, which eliminates the need to open the curtain every time.

What to do if the orientation lock does not work

If none of the above methods worked, the problem could go deeper. Consider radical solutions, but remember: they can affect other phone features.

1. Reset all settings

This will delete all your personal settings, but save files:

  1. Go to Settings โ†’ About the phone โ†’ Reset settings.
  2. Choose Resetting (not to be confused with Resetting to Factory!).
  3. Confirm the action and restart the phone.

2. Update or roll back firmware

Sometimes bugs with autoturn appear after the update MIUI. Check it out:

  • ๐Ÿ”„ Is there a new version of the firmware in Settings โ†’ Updating the system.
  • ๐Ÿ“‰ If the problem appeared after the update, you can roll back to the previous version via the Mi Flash Tool (requires an unlocked bootloader).

3. Virus testing

Some malicious apps can block the sensors.Scan with Google Play Protect or Malwarebytes.

4. Diagnostics in the service center

If none of these things work, you might have a motherboard or sensor plume that's damaged, and only professional repairs can help, and you might notice the following symptoms that indicate hardware failure:

  • ๐Ÿ”ด The car does not work even after the reset.
  • ๐Ÿ”ด Sensors do not respond in the engineering menu.
  • ๐Ÿ”ด The phone is overheating or discharged quickly.

โš ๏ธ Attention: On models POCO X3, Redmi Note 10 and others with liquid cooling malfunction of orientation sensors can be associated with corrosion of contacts due to moisture, in which case repairs will cost more because of the need to replace the cooling system.

Hidden functions of auto-turning in MIUI

Firmware MIUI It contains a few hidden features that are related to the orientation of the screen, and you can activate them through the developer mode or special commands.

1. Forced orientation for all applications

If you want the screen to always stay vertical or horizontal, regardless of the application:

  1. Activate the Developer Mode (see above).
  2. Go to Settings โ†’ Additional โ†’ For developers.
  3. Find the option Forced Orientation and select the desired mode.

2. Turning off autoturn for home screen

On some models (e.g. Xiaomi) 12T) You can only block the turn on the desktop:

  1. Press your finger on the home screen and select Home Screen Settings.
  2. Activate the option to fix orientation.

3. Control of auto-turn through gestures

V MIUI 13/14 there is a hidden function that allows you to switch orientation with a double tap on the back panel:

  1. Go to Settings. โ†’ Additionally. โ†’ Gestures.
  2. Select Double Touch and assign the action to Turn the Auto Turn.

4. Scheduled auto-turn

Using the Tasker or MacroDroid app, you can set auto-turning/turning off depending on time or location.

  • ๐Ÿ•’ Turn off the car at night.
  • ๐Ÿ“ Only turn it on at home.
How to turn on the hidden sensor menu?
Type #4636##, then select Usage statistics. โ†’ Sensor test: You can check all the sensors, including the accelerometer and the gyroscope, and see their current values in real time.

FAQ: Frequent questions about blocking targeting Xiaomi

โ“ Why the autoturn doesnโ€™t work on YouTube, even though itโ€™s all included in the settings?
Youtube itself has a separate auto-turn setting. Open the video, tap the screen and click on the "Castle" iconยป** (๐Ÿ”’) If the lock is active (lit), the autorotor is blocked at the application level.
โ“ Can you configure the autoturn so that it works only at a large angle of inclination?
Yeah, in MIUI There's a hidden sensor sensitivity setting. To activate it, turn on developer mode. Go to Settings. โ†’ Additionally. โ†’ For developers, find the Auto Turn Threshold and set it to 30.ยฐ 90ยฐ (The higher the false positives are lower, and some models may not have this option, so Rotation Manager will help.
โ“ After the phone fell, the autoturn stopped working?
Most likely, an accelerometer or a gyroscope is damaged. Diagnose: Dial ##6484## and check the sensor response. If the values do not change when tilting, contact the service center. Self-repair is not recommended - orientation sensors are often soldered into the motherboard.
โ“ How to turn off autoturn only for a specific application?
V MIUI It's done like this: Open the settings. โ†’ Screen. โ†’ Screen reversal โ†’ Settings for apps. Select an app from the list and turn it off. If the app you want isn't on the list, use Rotation Control from Google Play.
โ“ Why the screen turns on its own, even when the phone is on the table?
The reasons may be as follows: ๐Ÿงฒ Magnetic interference from cover or accessories. ๐Ÿ”ง Failure to calibrate sensors - perform reset (see above). ๐Ÿ“ฑ Application conflict โ€“ check if a program (e.g. Lux Auto Brightness) is blocking autorotation. Also try to disable the Smart Auto Rotate option in the screen settings.