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 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
- Swipe your finger down to open the notification panel.
- Find the โAutoporateโ icon** (usually depicted as a circular-arrow phone).
- Tap the icon to turn on or off the autorotor. Blue is active, gray is off.
Method 2: System settings
- Go to Settings. โ Screen.
- Select the Autoturn screen option.
- 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
If the autoturn icon is missing in the curtain, it can be added:
- Open the notification panel and tap on โ๏ธ (Edit).
- 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 cause | Decision |
|---|---|---|
| The screen does not turn when tilted. | Turn off autoturn in the curtain or settings | Enable the function through the notification panel or Settings โ Screen. |
| Spontaneous screen turns | Sensor failure or application conflict | Calibrate the sensors or reset the settings (see below) |
| Autoturn only works in some applications | Application settings redefine system | Check the settings of a particular app (e.g. YouTube or Chrome) |
| The screen is โfrozenโ in a horizontal position. | Software glitch or sensor damage | Restart 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?
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
- Open the Phone app and enter the combination ##6484##.
- Choose the Sensor Test โ Accelerometer Sensor.
- Put your phone on a flat surface and press Calibrate.
- Pick up the phone and repeat the test โ the values should change when tilting.
Method 2: Using the application GPS Status & Toolbox
- Install the app from Google Play.
- Open the Compass Calibration section.
- 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:
- Go to Settings โ About the phone โ All specs.
- Tap 5 times on the item Core (or Version) MIUI), activate the developer mode.
- Back to Settings โ Additionally. โ For developers.
- 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:
- Go to Settings. โ Screen. โ Screen reversal.
- Select Settings for applications (on some models this item may be called Exceptions).
- 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:
- Go to Settings โ About the phone โ Reset settings.
- Choose Resetting (not to be confused with Resetting to Factory!).
- 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:
- Activate the Developer Mode (see above).
- Go to Settings โ Additional โ For developers.
- 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:
- Press your finger on the home screen and select Home Screen Settings.
- 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:
- Go to Settings. โ Additionally. โ Gestures.
- 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.