Have you accidentally flipped your screen on Xiaomi and everything is now upside down? Or do you want to turn it on automatically for easy video viewing? In this article, weβll look at all the possible ways to turn the screen, from standard settings to hidden features for power users. No matter what model you have: Redmi Note 12, POCO X5 or Xiaomi 14 flagship, instructions will be suitable for all MIUI-based smartphones (including global and Chinese versions of firmware).
An inverted screen problem often occurs after accidentally pressing a button combination, a phone drop, or a sensor-orientation malfunction, and 90 percent of the time, it can be solved in 30 seconds without rebooting the device, but if standard methods don't work, don't panic: there's a section in the paper that has advanced solutions, including resetting sensor settings and manually controlling orientation through ADB.
Before you start, check whether your phone is running a screen turnaround. Open the Notification Panel and find the phone and arrow icon (or "Spring"). If it's active (lit), but the screen still doesn't turn, the problem is deeper, and you'll need methods from sections 3-5.
1. Quickly rotate the screen through the notification panel
The easiest way to get the screen back to normal is to use a control center, which works on all Xiaomi models, regardless of the MIUI version:
- Swipe your finger down the screen to open the notification bar.
- Find the Autoporot icon (usually a handset or a "Turn" sign) and if it's not, swipe down again to turn the panel around.
- Tap the icon once to turn off the autorotation (it will turn grey). Then click on it again to turn it on.
- Turn the phone horizontally, the screen should turn automatically.
If the image remains inverted after these actions, try to force the orientation to block:
- π Open the notification panel and hold the icon "Autoporov" 2-3 seconds.
- π± In the menu that appears, select Portrait Orientation (Vertical Lock).
- π Return to the main menu and turn on the autoturn again.
Why does it work? Sometimes the orientation sensor (accelerometer) will slug and pick up the wrong position of the phone, and forced shutdown/turn on autorotation resets its current readings.
β οΈ Note: On some models POCO And Black Shark, the autorotation icon can be hidden. To return it, go to Settings. β Notification panel β Edit and add it to active elements.
2. Turn the screen through the system settings
If the notification bar didnβt work, try manual orientation settings in the phoneβs menu, a method that is suitable for devices where autorotation is disabled at the system level (for example, in some firmware for Xiaomi Pad):
- Open Settings (the gear icon on the main screen).
- Go to the Screen section (or Display in older versions of MIUI).
- Find Autoturn or Screen Orientation.
- Make sure the slider is on (blue). If it's gray, move it to the right.
On some models (e.g. Redmi 10A or POCO M4 Pro) the path may be different:
- π± Settings β Additional settings β Special facilities β Crash-turn
- π§ Settings β System system β Gestures β Screen rotation
Autoturn is included in the notification panel
The "Cross" item is activated in the screen settings
Sensors are not locked in special features
The phone is not in Do Not Disturb mode (can block the turn)-->
If you don't have a "Spring" item on the menu, your firmware is hiding it, so try an alternative method.
- Open any video on YouTube or gallery.
- Turn the phone horizontally β if the video unfolds and the rest of the interface doesnβt, the problem is with the MIUI settings, not the sensors.
Resetting the orientation sensor (if the screen is constantly flipped)
If the screen is constantly displayed upside down even after rebooting, the problem may be in the failure of the orientation sensor (accelometer or gyroscope), in which case calibration of the sensors will help:
Method 1: Engineering menu (works on 80% of Xiaomi models):
- Open the phone app and enter the combination: ##6484###
- You'll be taken to the Sensor Test menu, and you'll find the Accelerometer Sensor.
- Place the phone on a flat surface with the screen up.
- Press Calibration and wait for the process to be completed.
- Reboot the phone.
Method 2: Developer settings (if the engineering menu is not available):
- π§ Enable Developer Mode: Go to Settings β The phone. β Version. MIUI And press it 7 times.
- π± Back to Settings β Additionally. β For developers.
- π Find the item Disable Absolute Orientation and activate it.
- π§ Reboot the phone.
β οΈ Warning: If the sensor gets worse after calibration (for example, the screen turns spontaneously), go back to the engineering menu and select Clear Calibration (reset calibration).
What if you donβt have access to the engineering menu?
4. Forced reversal through gestures (for MIUI 12β14)
Recent versions of MIUI have introduced a gesture orientation control feature that allows you to unfold the screen without autorotating, which is useful if the sensors are not working correctly, but you need to urgently return the normal display:
Activation of the gesture:
- Go to Settings β Screen β Screen gestures.
- Find the Turn of the screen by gesture and turn it on.
- Now, to turn the screen around, swipe your finger from the bottom up on the right or left side of the screen (depending on the settings).
Important: This method only works on horizontally-oriented applications (e.g. YouTube, Chrome, Gallery) and in the main menu and some system applications, the gesture may not work.
If the gesture doesn't work,
- π§ Check if Allow gestures in horizontal orientation in the same settings is enabled.
- π± Make sure that the app where youβre trying to deploy the screen doesnβt block orientation (e.g. Instagram videos are always vertical).
π‘
If the screen is turned around but the touch control is not working properly (pressings are not recorded where you touch), this is a sign of a failure in the sensor driver. Try calibrating it through the engineering menu (#7284##) or resetting the phone to the factory settings (section 6).
5 Advanced Methods: ADB and Manual Orientation Control
If the standard methods didn't work, and the screen still flipped, we'd have to use tools for developers, which requires connecting the phone to a computer, but is guaranteed to work even if the sensors fail.
Step 1: Preparation
- π₯οΈ Install Platform Tools on PC (part of Android) SDK) or download the archive from ADB.
- π± Turn on the phone to debug. USB: Settings β The phone. β Version. MIUI (7 times) β For developers β Debugging by USB.
- π Connect your phone to your computer and confirm access in a pop-up window.
Step 2: Commands to Turn the Screen
Open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with ADB and type:
adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0
adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0These teams:
- π Disable the binding to the orientation sensor (accelerometer_rotation=0).
- π± Resetting user orientation (user_rotation=0).
If you need to force the portrait orientation (even if the sensors fail), use:
adb shell settings put system user_rotation 0For horizontal orientation (album):
adb shell settings put system user_rotation 1β οΈ Attention: After use ADB Some system applications (such as Camera or Gallery) may not behave properly. To return automatic rotation, follow the command: adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:1
π‘
If so, ADB-The problem is that the sensor is damaged by hardware, and only the service center will help, because self-repair can lead to loss of warranty.
Extreme measures: resetting and checking for hardware faults
If none of these methods work, there are radical solutions that should only be used if the screen is constantly flipped and other functions of the phone are unstable.
Resetting to factory settings (deletes all data!):
- Back up important data via Settings β Google β Backup or Mi Cloud.
- Go to Settings β About the phone β Reset settings.
- Select Reset all settings (does not delete files) or Delete all data (complete cleanup).
- Confirm the action and wait for the reboot.
Checking hardware malfunctions
If the reset did not help, the following problems may occur:
| Symptoms. | Possible cause | Decision |
|---|---|---|
| Screen upside down, touch doesn't work properly | Display plume damaged | Replacement of the plume in the service center |
| The autopivot works, but the screen is upside down | Sensor firmware failure | Fastboot flashing through Fastboot |
| The screen is turned spontaneously | Pollution or damage to the accelerometer | Cleaning or replacing the sensor |
| The problem arose after a fall/hit | Mechanical damage to the board | Diagnostics in the service |
If the phone was in high humidity or was subjected to mechanical stress, do not try to disassemble it yourself - this can lead to a short circuit.