Modern smartphones have long since ceased to be just callers, becoming universal multimedia centers, where the orientation in the phone is critical to usability. When you turn the device in your hand, the image on the display must instantly respond, adjusting from vertical to horizontal and vice versa. This is a basic feature of the Android operating system, which in the shell of MIUI or HyperOS is implemented with a number of unique features and additional settings.
Many users face situations where the screen turns on its own or refuses to change position when watching a video. Understanding how the accelerometer and software algorithms work helps to quickly solve such problems. In this article, we will discuss in detail all aspects of how the screen rotates, from physical sensors to hidden interface settings.
You don't have to be an engineer to understand how this function works, but knowing the basic mechanisms will help you avoid annoying situations. We'll look at which applications take priority, how sensor calibration affects, and why automatic rotation can sometimes work incorrectly, and this knowledge will be useful to every owner of a brand device.
The principle of operation of sensors and software processing
The automatic rotating function is based on a complex set of hardware and software components, and the main element is an accelerometer, a miniature sensor that measures the acceleration of the device in three planes, and it tells the system whether the phone is in a vertical, horizontal or at an angle.
But an accelerometer is often not enough to accurately determine position in space. In current models like the Xiaomi Redmi Note or the flagship Xiaomi 14, the data is supplemented by gyroscope readings. The gyroscope tracks the angular speed of rotation, allowing the system to smoothly animate the rotation of the picture, rather than just switch the frame abruptly.
๐ก
For accurate sensor performance, avoid using too heavy or magnetic covers that can distort sensor readings.
The data is processed by a system service that makes a decision to change orientation, and if you hold your phone at a 45-degree angle, the system may not respond, waiting for a clearer signal, and this is done to prevent accidental switching, where you just tilt your head or change the grip of the device in your hands.
- ๐ The accelerometer determines the gravitational attraction and static position of the body.
- ๐ The gyroscope tracks the dynamics of rotation and helps in games or VR-annexes.
- ๐ง The system algorithm filters the noise and makes the final decision about changing the frame.
It is important to understand that the software part may have bugs or conflict with installed applications. Sometimes after updating the firmware, the calibration of the sensors can get lost, which requires user intervention, in such cases, simple restarting or using the engineering menu to check the equipment helps.
Control through the curtain and quick settings
The fastest way to change the behavior of the screen is to use the control panel. In the MIUI shell and the new HyperOS, access to the orientation switch is prominently displayed, and you just swipe down from the top edge of the display to open the notification curtain.
Here you'll find an icon that usually looks like a circular arrow lock or just a turn icon. If the icon is blue or white (depending on the topic), the function is active. If it's gray or crossed, the turn is blocked. Pressing on this element instantly changes the status of the function.
Some firmware versions may have different locations, and if you don't find the right switch in the front row, try swiping left or pressing the edit button (usually three dots or a pencil) to add it to a prominent place, which is especially useful if you often watch videos in different positions.
It's worth noting that forced orientation locking in the curtain takes precedence over system settings. Even if the menu allows autorotation, activated lock in the curtain will prevent the screen from rotating, which is done for the convenience of users so that they can quickly capture the picture, for example, when reading lying down.
- ๐ฑ Swipe down from the top right or left corner of the screen.
- ๐ Find an icon with a picture of the lock or arrows.
- ๐ Press once to change state (on/off).
Sometimes users complain that the icon in the curtain is not responsive to pressing, this can be a sign of a temporary freeze of the system interface, in this situation, helps reboot the graphics shell or a complete reboot of the smartphone, do not ignore such signals, as they can indicate deeper memory problems of the device.
Settings in the system menu and special features
A deeper orientation setting is available through the phone's main settings menu. Here you can find options that affect not only the instant turn, but also the behavior of the interface as a whole. The path to these settings is usually: Settings โ Screen โ Orientation or Settings โ Additional settings.
The Accessibility section often hides important switches, such as the Screen Autoturn function that controls the global resolution to change orientation, and shutting down this item completely blocks the accelerometer from doing so, regardless of what you do in the curtain.
| Parameter | Location. | Function | Impact on the system |
|---|---|---|---|
| Crash-turn | Curtain/Settings | Allows rotation. | High. |
| Screen fixing | Security | Locks the exit. | Critical |
| side panel | Supplemental settings | Adding buttons | Average. |
| One-hand mode | Supplemental settings | Changing the scale | Low. |
Hidden Developer Settings
The app fix feature is particularly noteworthy, which allows you to lock the screen in the current position and prevent you from leaving the app without a special combination of buttons, which is useful when you give your child a phone to watch cartoons and want to avoid being confused by random touches.
To activate the fixing, you need to press the menu button or swipe from the bottom up and hold your finger (depending on the type of navigation), then press the lock icon. To exit this mode, you usually need to press the volume and power buttons simultaneously. Be careful, as this can lead to accidental locking of the device if you do not know the unlock combination.
Screen rotation in specific apps and games
The behavior of the screen depends on which application is running at the moment. Software developers determine what orientation their program should be in, for example, instant messengers like Telegram or WhatsApp by default only work in vertical mode, and you can not flip them horizontally, even if the sensors are good.
Meanwhile, video players (YouTube, VLC, Gallery) and browsers support both modes. When watching full-screen video, the app often ignores the system lock and forcibly rotates the image if you flip the phone over, which is for convenience, but sometimes annoys if you lie on your side.
โ๏ธ Verification of the work in the annexes
In games, the situation is even more specific. Many projects are designed exclusively for landscape mode (horizontal), and the interface simply does not appear in portrait mode. Others, on the contrary, require vertical. If the game does not flip, check its settings inside the application itself โ often there is its own orientation switch.
There are also special utilities that allow you to force the change of orientation for any application, they can be useful for running old games or specific software on tablets and large screens of smartphones Redmi Note series. However, the use of such programs requires the issuance of special permissions through a computer or ADB.
- ๐ฎ Games often have a rigid reference to the horizontal mode.
- ๐บ Video players can ignore lock in full screen mode.
- ๐ฌ Messengers usually support only vertical orientation.
If the orientation is not working properly in a particular application (for example, the image is upside down), try closing the application completely through the Task Manager and opening it again.
Diagnostics and calibration of sensors
If you notice that the screen is turning too slowly, with a delay, or, conversely, twitching at the slightest movement, perhaps the sensors need calibration. Xiaomi smartphones have a built-in engineering menu for testing equipment. To get there, open the Phone app and type in the code # # # #6484##.
In the CIT (Customer Integration Test) menu that opens, you need to find the item associated with the accelerometer or gyroscope (usually called the Accelometer or Gyroscope). Follow the instructions on the screen: most often you need to put the phone on a flat horizontal surface and press the calibration button. The system will determine the zero values.
โ ๏ธ Warning: Do not calibrate your phone with your hands or on an uneven surface, which will cause sensors to malfunction in the future, and the screen will float or misplace position.
After successful calibration, be sure to restart the device, which will allow the system to apply new values and reset the cache of old data. If the orientation problem persists even after calibration, it may be that the sensor is physically damaged (for example, after a fall) or the plume has moved away.
๐ก
Calibrating sensors through an engineering menu is the first step for any auto-rotation issues before carrying the phone to the service.
It's also worth checking if the proximity or illumination sensor is covered by a low-quality protective glass. Although they are responsible for other functions, complex distortion of the data from the front panel can also affect the work of neighboring sensors. Replacing the glass with the original one often solves the problem.
Use of widgets and third-party utilities
For advanced users who lack standard functionality, there are various widgets and applications. On the Xiaomi desktop, you can place the Orientation Switch widget if it is available in your version of the launcher, which allows you to change the mode with a single touch without opening the curtain.
In the app store, you can find tools like Rotation Control that give you full control of the sensors, so you can force your phone to tablet, landscape, or portrait mode for each app, and this is especially true for owners of Xiaomi Pad tablets or smartphones with large screens.
Some users create automation through apps like Tasker or MacroDroid, for example, you can set a script: "If you run YouTube, you let it turn, if you run Instagram, you block it," which takes time to learn, but gives you maximum flexibility.
- ๐ Rotation Control โ a powerful application for sensor management.
- ๐ฑ Widgets MIUI โ Quick access to settings on the desktop.
- โ๏ธ Automation โ Creating complex scenarios of system behavior.
When installing third-party applications that require access to system settings, be careful of permissions. Some may request access to usage data or over other windows. Use only proven high-ranking programs to ensure that the system is stable.
Frequent problems and ways to solve them
One of the most common problems is the "sticking" of orientation. The screen can stay horizontal even if you hold the phone upright. Often this is because the app didn't send the system a signal to finish in landscape mode. The solution is simple: lock the screen with a power button and unlock again.
Another problem is that you turn yourself when you're sitting down, and the accelerometer responds to your heartbeat or breathing if your phone is on your chest, and in this case, it's best to use software locking through the curtain before you take a comfortable position.
โ ๏ธ Warning: If the screen starts jumping randomly between modes without your actions, it may be a sign of battery drain or problems with the display plume.
Also worth mentioning is the problem with banging or camera cutout in some models. In some applications, the interface can be overlaid on the camera area when you turn. To fix this, go to Settings โ Screen โ Cutout Management and select hiding the cutout or resizing it for a particular application.
In rare cases, the cause of the failure is a crowded cache of the system application โGoogle Play Servicesโ or the interface MIUI. Clearing the cache through the application menu can restore normal operation of the sensors without the need to reset all settings.