Screen orientation on Android is a seemingly simple function, but many users encounter problems when changing it. Some people cannot lock the vertical position, some applications refuse to rotate, and on some devices the option is not available in the menu at all. In this article we will look at all possible ways to change orientation - from basic settings to engineering commands for experienced users.
It is important to understand that the behavior of the screen depends not only on the version of Android, but also on shell manufacturer (MIUI, One UI, EMUI, etc.), as well as on iron sensors (accelerometer and gyroscope). If your smartphone does not respond to rotation, the problem may lie in both software limitations and hardware faults. We will consider diagnostics and solutions for all cases.
The article is relevant for devices on Android 8.0 and newer, including the latest versions Android 14. For older gadgets (up to Android 7.0), some methods may not work - in this case, manual editing of system files will be required, which is beyond the scope of this instruction.
1. Standard method: quick settings panel
The most obvious method is to use the notification panel. On most devices, just swipe down from the top edge of the screen and find the "Auto-rotate" icon (usually stylized as a phone with a circular arrow). However, there are nuances here:
- ๐ On Samsung Galaxy (One UI) the icon can be called
Portrait modeand work in reverse logic: when turned on, it fixes the vertical position. - ๐ฑ On Xiaomi (MIUI) in some firmware the option is hidden - you need to add it to the panel manually (press and drag the icon).
- ๐ซ On some tablets (for example, Lenovo Tab) auto-rotate may be blocked by the manufacturer for certain applications.
If the icon is not in the panel:
- Expand the notification panel completely (swipe down twice).
- Click on the pencil icon (โ๏ธ) or โEdit.โ
- Find
Auto-rotate/Orientationin the list of unavailable ones and drag it to the active area.
On devices with Android 12+ you can quickly switch orientation via double tap gesture on the back panel (you need to enable the Settings โ System โ Gestures).
2. System settings: manual orientation fixation
When auto-rotate is not works or does not work correctly, you can manually fix the desired position. This method is especially useful for applications that ignore system settings (for example, some games or banking apps).
Instructions:
- Open
Settings โ Display(on some devices the path may differ:Settings โ Screen and brightness). - Find the section
Screen orientation,Auto-rotateorRotation. - Select one of the values:
Automaticโsensors determine the position.Portraitโfixed vertical orientation.Landscapeโfixed horizontal orientation.Reverse portrait(not available on all devices)โโupside down.โ
On Huawei i Honor (EMUI) the path may look like this: Settings โ Intelligent assistance โ Motion and gestures โ Auto-rotate screen. There is also an option Smart rotationthat ignores random tilts.
What to do if there is no "Orientation" item in the settings?
On some customized firmware (for example, on cheap Chinese smartphones), the manufacturer can remove this section. In this case, try:
Use ADB commands (section 5 of this article).
2. Install a third-party application for orientation control (section 4).
3. Update the firmware to the latest version - sometimes the option returns after the update.
3. Problems with sensors: diagnostics and calibration
If the screen does not rotate despite auto-rotation being turned on, the culprit may be accelerometer or gyroscope. These sensors are responsible for determining the position of the device in space. Their incorrect operation often appears after falls, moisture or system problems. failures.
How to check the sensors:
- Install the application Sensor Box for Android or AndroSensor from Google Play.
- Open the tab
Accelerometer(Accelerometer). - Rotate the device - the values โโon the X, Y, Z axes should change smoothly. If the readings are โfrozenโ or jumping chaotically, the sensor is faulty.
Sensor calibration (does not work) on all devices):
- Enter the engineering code:
##4636##(on some devices Samsung used#0#). - Select
Sensor TestingorSensors. - Find the calibration option (may be called
CalibrateorReset) and follow the instructions. - ๐ง Fix the orientation for individual applications.
- ๐ฑ Force screen rotation even if the sensors are broken.
- โ๏ธ Create automatic rules turn according to schedule.
โ ๏ธ Attention: If calibration did not help, but the sensors show incorrect values - a hardware problem. In this case, the gyroscope/accelerometer needs to be replaced at a service center. The cost of repair varies from 1,500 to 5,000 rubles depending on the model.
4. Third-party applications for orientation control
When system tools do not work, utilities from Google Playcome to the rescue. They allow you to:
Top 3 applications:
| Name | Functions | Features |
|---|---|---|
| Rotation Control | Manual orientation fixation, exceptions for applications | Requires ADB for full access to Android 10+ |
| Set Orientation | Forced rotation by 0ยฐ, 90ยฐ, 180ยฐ, 270ยฐ | Works without root, but requires rights WRITE_SECURE_SETTINGS |
| Ultimate Rotation Control | Flexible rules for each application, rotation timer | Paid version (~200 rubles) unlocks all functions |
How to set up Rotation Control:
- Install the application and open it.
- Click
Enable Serviceand grant access toAccessibility. - In the main menu, select the desired orientation or add exceptions for applications.
โ ๏ธ Attention: Applications like Set Orientation require permissionWRITE_SECURE_SETTINGS, which can only be issued throughADB. Without this, they will not work correctly. Instructions for issuing rights are in the next section.
5. users
If you need force change of orientation at the system level (for example, to test applications or bypass manufacturer restrictions), you can use ADB an Android debugging tool. This method is suitable for Android 7.0 and newer, but requires a connection to a computer.
Step-by-step guide:
- Enable
USB debuggingon your phone:Settings โ About phone โ Build number(tap 7 times), thenSettings โ System โ For developers โ USB debugging. - Connect your phone to the PC and install ADB-drivers (you can download from the site Google Android Developers).
- Open the command line (
Win + R โ cmd) and enter:adb shell settings put system accelerometer_rotation 0where
0โ turns off auto-rotate,1โ includes. - To force orientation fixing, use:
adb shell settings put system user_rotation 0where
0โ portrait,1โ landscape,2โreverse portrait,3โ reverse landscape.
To give an application (for example, Set Orientation) the right to change system settings, do:
adb shell pm grant com.app.package android.permission.WRITE_SECURE_SETTINGS
(replace com.app.package with the real application identifier).
Install ADB drivers to PC
Enable USB debugging on the phone
Connect the phone with the original cable
Check the connection with the command adb devices
Download the utility Platform Tools from Google-->
6. Orientation in individual applications
Some apps (for example, YouTube, Google Maps or banking clients) ignore system orientation settings. In this case, it will help:
- ๐ฎ For games: check the settings of the game itself - often there is a separate rotation switch.
- ๐บ For YouTube: double tap on the video to expand it to full screen, then rotate the device.
- ๐ฆ For banking applications: they often block rotation for security reasons. Try using Rotation Control with exceptions.
If the application does not support landscape orientation default, you can try:
- Install App Settings (required
rootorADB). - Find the desired application in the list and change the parameter
Screen Orientation.
โ ๏ธ Attention: Changing the orientation for system applications (for example, Google Play Services) can lead to failures. Do this only if you understand the consequences.
7. what to do if nothing helps
If none of the methods worked, the problem may be at the hardware or firmware level. Let's consider possible scenarios:
| Symptom | Possible cause | Solution |
|---|---|---|
| The screen does not rotate in any application | The accelerometer/gyroscope is faulty | Replacing the sensor in the service |
| Orientation resets after reboot | Failure in file settings.db |
Resetting settings or flashing |
| Rotation works only in some applications | Manufacturer restrictions (for example, on tablets) | Use ADB or custom firmware |
For devices with root access you can try:
- Install Xposed Framework and module App Settings.
- Edit file
/system/build.prop, adding the line:ro.sf.hwrotation=0(where
0is portrait,90is landscape). - Reboot the device.
If you are not ready for such experiments, there are two options left:
- ๐ Reset the settings to factory settings (
Settings โ System โ Reset). - ๐ ๏ธ Contact a service center to diagnose the sensors.
Before resetting settings or firmware, make a backup copy of the data! On devices with damaged sensors, software methods will not help - repair is required.
FAQ: Frequently asked questions
Why on my Samsung Galaxy there is no auto-rotate option in the settings?
On devices Samsung with One UI the option may be hidden under the name Portrait mode (enables fixing the vertical position). Also check the section Additional functions โ Movements and gestures. If there is no option at all, update the firmware or use ADB.
Is it possible to fix the reverse orientation (screen upside down)?
Yes, but not on all devices. On Google Pixel and some other smartphones this is done via Settings โ System โ Gestures โ System rotation. For the rest you will need Rotation Control or ADB-command:
adb shell settings put system user_rotation 2
After updating Android, the screen stopped rotating. What. what to do?
This is a typical problem after major updates (for example, from Android 11 to Android 12). Try:
- Reset application settings (
Settings โ Applications โ Three dots โ Reset settings). - Clear cache Google Play Services.
- Reset via
Safe Mode(press the power button โSafe Mode).
If that doesnโt help, roll back to previous firmware version or wait for a patch from the manufacturer.
How to enable auto-rotate on a tablet Lenovo Tab?
On many tablets Lenovo auto-rotate is disabled by default for the home screen. To enable:
- Press an empty space on the home screen. โ
Home screen settings. - Find the option
Auto-rotateand activate it. - For individual applications (for example, Chrome) may be required Rotation Control.
Is it possible to control the orientation through Google Assistant?
There is no direct command to rotate the screen, but you can create routine:
- Open Google Assistant โ your profile โ
Routines. - Create a new routine with a voice command (for example, โTurn on auto-rotateโ).
- Add an action
Change device settingsโAuto-rotate.
Does not work on all devices and requires Android 9+.