How to turn the screen on Xiaomi upside down: instructions for smartphones and TV

Why Xiaomiโ€™s screen can be displayed upside down?

An inverted image on Xiaomi devices is not uncommon, especially if you actively use automatic screen rotation or connect the gadget to external displays.

Failure of the orientation sensor (accelometer/gyroscope), which incorrectly determines the position of the device, is relevant for Redmi, POCO or Mi smartphones after drops or MIUI updates.

For example, on Xiaomi Mi TV or Redmi Smart TV, a screen flip can occur after resetting to factory settings or connecting via HDMI-CEC.

Software glitches in games or applications that force a change of orientation (for example, TikTok, YouTube in immersive browsing mode) In 90% of cases, the problem is solved without going to the service center โ€“ just know where to look for the right options.

Method 1: Use the screen rotation gesture (for smartphones)

The fastest method for Xiaomi phones is forced rotation through the notification panel. It works on all models with MIUI 12-15 (including Redmi Note 12, POCO X5, Mi 11):

โ˜‘๏ธ How to turn the screen with a gesture

0

If the gesture doesn't work:

  • ๐Ÿ”„ Check if the autoturn is enabled: go to Settings โ†’ Display. โ†’ Autoturn and activate the slider.
  • ๐Ÿ“ฑ Calibrate the sensors: enter the code ##6484## in the Phone app, then select Test Sensor and follow the instructions.
  • ๐Ÿ”ง Reset sensor settings: in Settings โ†’ The phone. โ†’ Tap all specifications 5 times on the kernel, then select Sensor Test โ†’ Reset.

๐Ÿ’ก

If after calibrating the sensors, the screen still flips spontaneously, try turning off the โ€œRaise to wake upโ€ function in Settings โ†’ Display โ†’ Lock and Protection.

Method 2: Display settings in MIUI (for phones and tablets)

On some MIUI firmware, the screen flip can be fixed through hidden display settings, a technique suitable for devices without a physical orientation sensor (e.g., Xiaomi Pad 6) or after resetting:

  1. Open the Settings โ†’ Display.
  2. Scroll down and select the resolution and refresh rate.
  3. Slip on Additional Settings (or Special Features on older versions).
  4. Find the screen orientation and select Auto, Portrait or Album.

If the screen orientation is not:

  • ๐Ÿ” Use the search in the settings (the magnifying glass icon at the top) and enter "orientation".
  • ๐Ÿ› ๏ธ In some models (POCO F5, Redmi K60) option hidden in Settings โ†’ Special facilities โ†’ System settings โ†’ Screen rotation.
What to do if there is no "Screen orientation" item?

Method 3: Turn the screen on Xiaomi TVs (Mi TV, Redmi Smart TV)

On Xiaomi TVs, the inverted image most often occurs after:

  • ๐Ÿ”Œ Connections through HDMI-CEC receiver or sound panel.
  • ๐Ÿ“บ Firmware updates (especially relevant for Mi) TV 4S, Redmi Smart TV X).
  • ๐ŸŽฎ Use of game consoles (PlayStation, Xbox) with non-standard resolutions.

To fix the problem:

  1. On Xiaomi remote, press Menu โ†’ Settings (โš™๏ธ) โ†’ Image and sound.
  2. Select Screen Mode (or Rotate Image on New Models).
  3. Set the value of 0ยฐ (standard position) or Auto.
  4. If the option is missing, reset the image settings: Settings โ†’ Reset โ†’ Reset the image settings.
Model TV setPathway to turn settingsAdditional action
Mi TV 4A/4S (2018โ€“2020)Settings โ†’ Display and sound โ†’ Screen modeTurn off HDMI-CEC in Settings โ†’ Connections
Redmi Smart TV X (2021โ€“2023)Settings โ†’ Image โ†’ TurnUpdate the firmware to PatchWall 4.0+
Mi TV Q1/Q2 (2022โ€“2026)Settings โ†’ Device โ†’ Screen โ†’ OrientationReset the app cache to Settings โ†’ Apps

๐Ÿ’ก

On Xiaomi TVs with Android TV 11+ (Like Mi. TV Q2 2023) Screen rotation may be blocked DRM-Protection when watching Netflix or Disney+. In this case, only reset to factory settings will help.

Method 4: ADB-commands for forced rotation (advanced method)

If standard settings do not help, you can force the screen to set the orientation through Android Debug Bridge (ADB). This method is suitable for smartphones, tablets and Xiaomi TVs with unlocked USB-debugging.

You'll need:

  • ๐Ÿ’ป Computer with ADB-tools installed.
  • ๐Ÿ“ฑ Included debugging by USB on the device (Settings) โ†’ The phone. โ†’ Version. MIUI โ†’ 7 times tap the version, then go back to Settings โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB).
  • ๐Ÿ”Œ USB-TypeC Cable (for modern models).

Instructions:

  1. Connect the device to the PC and confirm the debugging permission on the smartphone screen.
  2. Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. Set the orientation of the screen (for example, 0 โ€” standard, 1 โ€” 90ยฐ, 3 โ€” 270ยฐ): adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0
  5. Reboot the device: adb reboot

Note: On Xiaomi TVs with Android TV 12+ (e.g. Mi TV Q2 2023), the command may not work due to manufacturer restrictions.

adb shell settings put system accelerometer_rotation 0


adb shell settings put system user_rotation 0

๐Ÿ“Š What method helped you fix the inverted screen?
Rotational gesture
MIUI settings
Menu of TV
ADB-team
Nothing helped.

Method 5: Reset sensor settings (if the screen flips itself)

If Xiaomi's screen changes orientation arbitrarily without you, the problem is sensor failure, which is especially true for devices after falls or moisture.

  1. Open the Phone app and enter the engineering code: ##6484###
  2. From the Sensor Test menu, select the M-Sensor Test (magnetic sensor) and the G-Sensor Test (accelerometer).
  3. Follow the instructions on the screen for calibration (usually you need to put the device on a flat surface).
  4. After calibration, restart the smartphone.

If the engineering menu is not available:

  • ๐Ÿ”ง Install the Sensor Calibration app from Google Play and auto-configure.
  • ๐Ÿ“ฒ In some models (POCO X3, Redmi Note 10) helps disable Adaptive Brightness in Settings โ†’ Display.

๐Ÿ’ก

After resetting the sensors, check their operation in the CPU-Z app (the Sensors tab). If the accelerometer values do not change when the phone is tilted, the sensor is physically damaged and needs to be replaced.

What do you do if nothing helps?

If all of the above methods did not work, the problem may be related to:

  • ๐Ÿ”„ Software Firmware Failure โ€“ Try Updating MIUI to the latest version or reset through Settings โ†’ The phone. โ†’ Resetting settings.
  • ๐Ÿ› ๏ธ Hardware malfunction - after falls or impacts, the plume of the display or the orientation sensor itself could be damaged.
  • ๐ŸŽฏ Application conflict โ€“ some games (e.g. Genshin Impact, PUBG Mobile) block the standard rotation. Go to the game settings and turn off the forced orientation.

โš ๏ธ Note: On devices with unlocked bootloader (Xiaomi.eu, custom firmware), the screen flip can be caused by incorrect modifications of build.prop. Check the string ro.sf.hwrotation - its value should be 0 or 270 (but not 180).

If you suspect a hardware breakdown, contact Xiaomi's service center.cost of replacing the orientation sensor on models Redmi/POCO form ~1 500โ€“3 000 โ‚ฝ, on flagships (Xiaomi) 13, Mix Fold - before 5 000 โ‚ฝ.

FAQ: Frequent questions about the flipped screen on Xiaomi

Can I turn the screen 180ยฐ without root rights?
Yeah, but not on all devices. MIUI 14+ use ADB-Adb shell settings put system user_rotation 2 On Xiaomi TVs, the turn option on 180ยฐ Available only in the service menu (code) 1999 remote โ†’ Factory Settings โ†’ Screen Rotation).
Why did the screen flip after the MIUI update?
This is a well-known firmware problem with MIUI 13.0.4โ€“13.0.8 and MIUI 14.0.1. Solution: Reverse to the previous version via Settings โ†’ About Phone โ†’ System Update โ†’ Three-point โ†’ Select a service pack. Or wait for a patch (usually released within 1-2 weeks after the release of the problematic update).
How to turn off autoturn for specific applications?
Use the Rotation Manager app (requires Android 10+): Give the app permissions Special Access โ†’ Overlay on top of other apps. In the Rotation Manager settings, blacklist the apps you want. Choose a fixed orientation (like Portrait). On Xiaomi TVs, Settings โ†’ Apps โ†’ Special Access โ†’ Resize windows.
Does the screen flip on Xiaomi foldable smartphones (Mix Fold, Mix Flip)?
On Xiaomi Mix Fold 2/3 and Mix Flip, autorotating works differently because of the flexible display: When unfolded, the screen is always in landscape orientation. When folded, in portrait. Forced rotation is turned off 180ยฐ at the firmware level (because of the risk of damage to the hinge). If the image is displayed incorrectly, update the firmware through Settings โ†’ About Phone โ†’ System Update โ†’ Package Update (select the latest version for foldable devices).
Can you flip the screen on Xiaomi smartwatches (Mi Band, Watch)?
No, on the Mi Band. 7/8 Xiaomi Watch S3 The screen is not able to change the orientation of the screen, but on some models (Xiaomi Watch). 2 Pro) can: Enable left hand mode in the Mi Fitness app (Device profile) โ†’ Display settings: Use third-party firmware (e.g. Amazfit Mod) to unlock additional options. โš ๏ธ Note: Reflashing Xiaomi smart watches deprives of warranty and can lead to loss of functions NFC pulse-meter.