Rotating the screen on Android is a seemingly elementary function, but even it can cause a headache. Either the application refuses to rotate in horizontal mode, then the gyroscope sensor glitches after the phone falls, or the system stubbornly blocks auto-rotation in instant messengers. In this article we will look at all possible ways to control screen orientation - from standard settings to hidden commands for developers and bypassing restrictions in games.
We will pay special attention Android 12-14where Google has radically redesigned the auto-rotate logic by adding adaptive mode and integration with gestures. We will also consider unique problems of smartphones Samsung, Xiaomi i Realmewhere manufacturers override the standard behavior of Android. If your phone stubbornly ignores turns or, on the contrary, rotates spontaneously, here you will find a solution.
1. Standard auto-rotate setting via the notification curtain
The most obvious way is to use the quick settings panel. On most smartphones, the auto-rotate icon (๐) is located in the first row. But there are nuances:
- ๐ฑ Stock Android (Pixel, Motorola): swipe down twice โ tap on
Auto-rotate. In Android 13+ the icon can be hidden underโฏ(expand the panel). - ๐ค Samsung One UI: swipe down โ find
Portrait/Auto(sometimes signed asScreen mode). On Galaxy S23 and newer, the icon may blink if the sensor is blocked. - ๐งฉ Xiaomi/Redmi/POCO: swipe down โ
Auto-rotateorRotation. On MIUI 14+ added "Adaptive rotation" mode (works only in supported applications).
If the icon is not in curtain:
- Expand the panel completely (swipe down + another swipe).
- Click
โ๏ธ Edit(orโ๏ธ). - Find
Auto-rotatein the list of inactive ones and drag it to the top.
โ ๏ธ Attention: On some smartphones Huawei (EMUI 12+) auto-rotate is disabled by default to save battery. Turn it on. data-i="74">Settings โ Battery โ Performance mode Settings โ Battery โ Performance Mode.
2. Setting rotation in the system menu (for all versions of Android)
If quick settings do not work, check system parameters. The path may differ depending on the shell:
| Manufacturer | Path to settings | Features |
|---|---|---|
| Stock Android | Settings โ Display โ Auto-rotate screen | In Android 14 a switch has been added for "Allow rotation in landscape mode for the home screen." |
| Samsung One UI | Settings โ Screen โ Auto-rotate screen | There is a separate toggle switch for game mode (Settings โ Device care โ Games). |
| Xiaomi MIUI | Settings โ Screen โ Auto-rotate | In MIUI 14+ there is an option "Adaptive rotation" (works only in YouTube, Chrome i etc.). |
| Realme/Oppo ColorOS | Settings โ Convenience โ Auto-rotate screen | Can be configured exceptions for applications (for example, block rotation in WhatsApp). |
On Android 10-11 Some firmware has a hidden option Rotate by 180ยฐ (inverted screen). To enable it:
Settings โ System โ Gestures โ Screen rotation โ Enable "Allow rotation by". 180 degrees"
โ ๏ธ Attention: On smartphones Sony Xperia with an aspect ratio21:9auto-rotate may not work correctly in some games (for example PUBG Mobile). The solution is to force rotation throughDeveloper settings.
3. Forced screen rotation through developer mode
If the gyroscope sensor is broken or the system ignores rotations, you can force orientation through the developer menu This method works even on rooted ones (root) devices.
First activate developer mode:
- Go to
Settings โ About phone. - Find
Build numberand tap on it 7 times (a notification โYou have become a developerโ will appear). - Return to the main settings menu โ a new section will appear
For developers.
Now set the orientation to fixed:
- ๐ง Open
Settings โ System โ For Developers. - ๐ฑ Scroll to block
GesturesorEnter. - ๐ Find the option
Forced screen rotation(orFixed orientation). - ๐ฏ Select the desired mode:
Landscape(horizontal),Portrait(vertical) orReverse landscape(upside down).
Activate developer mode (7 taps by build number)
Disable auto-rotate in the notification shade
Select fixed orientation in settings developer
Reboot the phone to apply the changes-->
This method is useful for:
- ๐ฎ Games that do not support auto-rotation (for example Genshin Impact in portrait mode).
- ๐บ Watching videos in applications without landscape mode (for example, TikTok).
- ๐ง Testing the application interface in different orientations.
โ ๏ธ Attention: On some smartphones Huawei (Kirin 9000+), forced rotation may cause graphics artifacts in games with support HDR. In this case, return the settings to their original state.
4. Screen rotation in individual applications (YouTube, games, instant messengers)
For example, Instagram and WhatsApp fix the vertical orientation, and YouTube can ignore rotations in the mini-player. Here's how to get around the restrictions:
๐ฅ YouTube (forced landscape mode)
If the video does not expand to full screen:
- Start the video.
- Expand it to full screen (tap on the icon
โก). - Do double tap across the screen while simultaneously rotating the phone.
- If it doesnโt work, turn on
Auto-rotatein the curtain after starting the video.
๐ฎ Games (PUBG, Call of Duty, Genshin Impact)
In mobile games, auto-rotation is often disabled for gameplay stability. Solutions:
- ๐น๏ธ In the game settings, find the section
Controls โ Screen Orientation(for example, in PUBG Mobile thisSettings โ General โ Auto-rotate). - ๐ฑ For Genshin Impact: go to
Settings โ Graphics โ Allow screen rotation. - ๐ง If there is no option, use forced rotation through developer mode (see section 3).
๐ฌ Messengers (WhatsApp, Telegram, Viber)
In messengers, auto-rotation is usually blocked for ease of typing. Workarounds:
- ๐ฑ V Telegram: open any video or photo โ screen rotation will be unlocked.
- ๐ V WhatsApp: enable
Auto-rotateafter opening the chat (sometimes you need to restart the application). - ๐ ๏ธ For Viber: use rotate gesture โ hold the phone horizontally and swipe up from the bottom edge.
Why do messengers block auto-rotation?
Most messengers (WhatsApp, Viber, Messenger) fix the vertical orientation in two reasons:
1. Ease of typing โ the keyboard takes up half the screen in landscape mode, which is inconvenient for long dialogues.
2. Optimization interface โin landscape mode it is more difficult to place a list of chats, action buttons and media attachments.
The exception is Telegram, where rotation is unlocked when viewing media files.
5. Solving problems with the rotation sensor (if the screen does not rotate)
If auto-rotate is turned on, but the screen does not respond to rotations, the problem may be:
- ๐ง Software failure (for example, after an update).
- ๐ฑ Physical breakdown of the sensor (after a fall or hit moisture).
- ๐ ๏ธ Application conflict (for example, Tasker or Nova Launcher blocking rotation).
Diagnostics and solutions:
| Problem | Cause | Solution |
|---|---|---|
| The screen does not rotate at all | The gyroscope sensor is disabled or broken | Check through #0# (sensor test) or use CPU-Z for diagnostics. |
| Rotation only works in some applications | Conflict with application settings | Clear cache of the problematic application (Settings โ Applications โ [Application] โ Memory โ Clear cache). |
| The screen rotates spontaneously | Sensor calibration failure | Calibrate the sensor through the engineering menu (##4636## โ Testing sensors). |
| Turning only works in one direction | Damage to the sensor cable | The device must be disassembled and the cable replaced (contact the service center). |
If the sensor is physically functional, but the rotation does not work:
- Reboot the phone in safe mode (hold the power button โ
Safe Mode). If the rotation works, the third-party application is to blame. - Reset settings only for applications (
Settings โ System โ Reset โ Reset application settings). - Update firmware via
Settings โ System โ Software update.
If auto-rotation stops working after you drop the phone, but the other sensors (accelerometer, compass) are working, the problem is most likely in software calibrationTry to calibrate the sensors through the app Sensor Test (available on Google). Play).
6. Rotating the screen via ADB (for advanced users)
If standard methods do not help, you can force orientation via Android Debug Bridge (ADB). devices (for example, in kiosk mode).
Instructions for Windows:
- Download ADB Tools and extract to a folder
C:\adb. - Enable USB debugging on your phone (
Settings โ For developers โ USB debugging). - Connect your phone to the PC and open
Command linein the folderadb. - Enter the commands one by one:
adb devices(your device should appear)
adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:1(enables auto-rotate)
adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1(locks landscape orientation)
To return standard behavior, run:
adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0
Additional commands for controlling rotation:
adb shell settings put system accelerometer_rotation 1โ enable auto-rotation.adb shell settings put system user_rotation 3โ fix the inverted mode (180ยฐ).adb shell settings get system user_rotationโ check the current orientation.
โ ๏ธ Attention: ADB commands may conflict with manufacturer settings (for example, on Samsung or XiaomiAfter using ADB, check the operation of the sensors via #0#.
ADB allows you to bypass firmware restrictions, but changes are reset after. reboot.For a permanent effect, use Tasker or MacroDroid to automatically execute commands when the system starts.
7. Applications for controlling screen rotation
If you need to flexibly configure rotation for individual applications or automate the process, use third-party utilities. options:
- ๐ Rotation Control (free, without root):
- Allows fix orientation for each application separately.
- Supports reverse rotation (180ยฐ).
- Works through Accessibility Service (does not require superuser rights).
- ๐ฑ Set Orientation (requires root):
- Forces orientation for any process.
- Can emulate a rotation sensor (useful if the gyroscope breaks down).
- ๐ค Tasker + Plugin "AutoInput" (for automation):
- For example, you can configure automatic rotation in YouTube and blocking in messengers.
- Requires configuration, but gives maximum flexibility.
How to configure Rotation Control:
- Download the application from Google Play.
- Open the application and grant access to Accessibility.
- In the main menu, select
Per-App Settings. - Find the application you need (for example, Chrome) and set the rotation mode (
Auto-rotate,Portrait,Landscape). - Activate the service in the notification shade (an icon will appear
๐).
How to trick applications that block rotation?
Some applications (for example, Netflix or banking clients) programmatically block landscape mode. To get around this:
1. Use Rotation Control with the "Force rotation" option.
2. Enable developer mode and activate "Do not block orientation" (Settings โ For developers โ Do not block screen orientation).
3. For rootdevices: edit the file /data/data/[package_name]/shared_prefs/[package_name]_preferences.xml, find the parameter screen_orientation and change its value to sensor.
8. Common errors and their solutions
Let's look at typical problems and specific solutions for them:
| Error | Possible reason | Solution |
|---|---|---|
| The screen rotates on its own | Sensor failure or application conflict | Calibrate the sensor via #0# or remove recently installed applications. |
| Rotation only works in one direction | The gyroscope cable is damaged | Contact the service center (repair costs 1,500โ3,000 rubles). |
| The screen does not rotate in games | Game settings or firmware restrictions | Use Forced rotation via ADB or developer settings. |
| After the update, rotation stopped working | Reset settings sensor | Reset settings via Settings โ System โ Reset โ Reset settings (does not delete data!). |
| In YouTube video not unfolds | Application limitation or cache failure | Clear the cache YouTube or use the browser version (Chrome in "For PC" mode). |
If none of the methods helped, check:
- ๐ง Launcher settings: some shells (for example, Nova Launcher) block home screen rotation.
- ๐ฑ Power saving mode: on Samsung and Huawei it can disable sensors.
- ๐ ๏ธ Antivirus or optimizer: Clean Master, DU Speed Booster and similar applications sometimes block system services.
On smartphones Google Pixel s Android 14 there is a hidden function "Adaptive rotation" - it automatically detects when you need to rotate the screen (for example, when watching a video, but not in instant messengers). To enable it, go to Settings โ Display โ Auto-rotate โ Adaptive rotation.
FAQ: Frequently asked questions about rotating the screen on Android
๐ Why does auto-rotate not work in a specific application (for example, Instagram)?
Many applications (including Instagram, WhatsApp, TikTok) programmatically block rotation for user convenience. Solutions:
- Use Rotation Control to force unlock.
- Enable developer mode and activate the option
Not lock screen orientation. - For Instagram: open the story (story) - in this mode, rotation is unlocked.
๐ฑ How to enable 180 degree rotation (upside down screen)?
On most smartphones, this function is disabled by default. To activate it:
- Enable developer mode (7 taps by build number).
- Go to
Settings โ System โ For developers. - Find the option
Allow 180ยฐ rotationorReverse landscape orientation. - If there is no option, use the ADB command:
adb shell settings put system user_rotation 2(where
2is reverse landscape orientation).
On Samsung this function can be called Rotate 180 degrees and located in Settings โ Screen โ Advanced.
๐ง Is it possible to configure auto-rotation only for some applications?
Yes, they are suitable for this:
- Rotation Control โ allows you to set rules for each application separately.
- Tasker โ create a task that enables auto-rotation when opening a specific application.
- On Xiaomi (MIUI) and Oppo (ColorOS) there is a built-in function
Exceptions for auto-rotation.
Example of setting in Rotation Control:
- Open the application and grant access to accessibility features.
- Go to
Per-App Settings. - Select the application (for example, Google Maps) and install
Auto-rotate. - For WhatsApp install
Portrait(rotation lock).
๐ฎ How to make the game (PUBG, Genshin Impact) work in horizontal mode?
If the game ignores auto-rotation:
- Check the game settings: usually there is an option
Screen orientationin the sectionManagementorGraphics. - Use force rotation through developer mode (see section 3).
- For Genshin Impact: go to
Settings โ Graphics โ Allow screen rotation. - If the game still does not rotate, try Rotation Control with the option
Force landscape.
On Samsung check additionally Settings โ Device care โ Games โ Game mode - there may be a separate toggle switch for orientation.
โ ๏ธ After the phone fell, auto-rotation stopped working. What to do?
Most likely, gyroscope or its cable is damaged. Diagnostics:
- Check the operation of the sensor through the engineering menu:
- Dial
#0#โ selectSensor. - If the sensor does not respond to turns, it broken.
- Dial
Accelerometer and Gyroscope.- Contact the service center (replacing the gyroscope costs 2 000โ5,000 โฝ).
- Temporarily use Set Orientation (requires root) to emulate rotation.
If the sensor works, but rotation does not turn on:
- Reset settings via
Settings โ System โ Reset โ Reset all settings. - Update the firmware (a crash may have damaged the system files after the crash).