How to turn a photo on Xiaomi: correction of orientation

The situation when a picture is turned upside down or turned 90 degrees, familiar to every smartphone owner. Especially often this happens with Xiaomi devices, where the camera interface can sometimes behave unpredictable due to the peculiarities of the accelerometer. Instead of looking for third-party applications or downloading heavy editors, it is worthwhile to understand the system settings, which are often hidden from the eyes of the average user.

In this article, we will discuss in detail how Xiaomi can turn a photo using only standard MIUI or the new HyperOS. You will learn not only to correct already taken frames, but also to adjust the behavior of the screen so that such problems do not arise again, this will save your time and nerves when processing important images.

Often the problem is not the photo itself, but how the system reads the gyroscope data at the time of shooting, and understanding this mechanism allows you to instantly correct orientation errors, and we'll look at all the methods available, from simple editing in the gallery to deep calibration of sensors.

The most obvious and quick way to fix a picture is to use a built-in editor. The standard Gallery app on Xiaomi smartphones has powerful functionality that is often underestimated. To begin with, just open the image and find the edit button, which usually looks like a pencil or a slider.

In the tool menu that opens, you'll need to find the "Capacity" or "Pruning" section, and that's where the turn buttons are, and by clicking on the curved arrow icon, you can turn the image 90 degrees to the right or left until it's vertical or horizontal as intended.

It's important to note that you need to save the changes after you turn, and the system can suggest you create a copy of the file so you don't overwrite the original, which is good practice, and if you want to just turn the picture upside down, use the same function, but twice.

  • πŸ“Έ Open the photo in the Gallery app and click the "Edit" buttonΒ».
  • πŸ”„ Select the β€œCadration” tool and use the turn button.
  • πŸ’Ύ Click Save to capture the new image orientation.

⚠️ Note: When saving the edited version, make sure there is enough disk space if the system creates a duplicate file instead of replacing the original.

Setting up the screen autoturn and locking

Often users wonder why the photo is displayed incorrectly immediately after shooting, and this is directly related to the autorotation function of the screen. On Xiaomi devices, this function is put in the β€œcurtain” of notifications, but its operation can be unstable.

To turn the screen correctly, you need to activate Autopivot mode. To do this, swipe from top to bottom to open the control center, and find the corresponding icon. If the lock is on, the screen is fixed in the current orientation, which can lead to errors when shooting a video or photo in a non-standard position.

However, if the autorotation is on and the screen is still not responding, it may have occurred at the system services level, in which case it helps to simply restart the device or re-enable and turn off the function in the settings, and it is also worth checking whether Panorama mode or a special shooting mode that ignores the position of the smartphone is turned on.

πŸ“Š How often do you get your screen orientation confused?
Constantly.
Sometimes.
Rarely.
Never.

To fine-tune it, you can use the special features menu. Customization path β†’ Additional settings β†’ Special features allow you to control the behavior of the interface. Here you can find settings that affect how applications respond to the device's rotation.

Using Google Photos for batch processing

If you have to flip multiple photos taken on Xiaomi, the built-in gallery may not be as convenient as Google Photos. This app is pre-installed on most modern models and syncs with the cloud. Its algorithms often automatically determine the correct orientation and suggest fixing it.

The editing process is as simple as possible. When you open an image, click on Change and select the "Capture and Rotate" tool, you can move your finger to not only turn, but also level the horizon, which is critical for landscape images.

A unique feature is the ability to apply settings to multiple photos at once if you use the PC version or certain scripts, but even in the mobile version, the speed is faster than in the standard MIUI gallery.

  • πŸ–ΌοΈ Launch the Google Photos app and select the image you want.
  • ✏️ Click β€œChange” and go to the framing tools tab.
  • πŸ”„ Use a slider or turn button to change the angle of inclination.

⚠️ Note: Changes to Google Photos are saved in the cloud. Make sure you have an internet connection to sync the corrected version.

Calibration of sensors through the engineering menu

When software methods fail and the screen stubbornly refuses to turn, the problem can be in the desynchronization of the accelerometer. On Xiaomi smartphones, there is a hidden engineering menu that allows you to recalibrate the sensors.

To enter this mode, you need to open the Phone app and type a special code. Codes may differ on different versions of MIUI, but most often the combination ##6484## works. Once entered, you will be taken to the CIT (Customer Inspection Test) menu.

In the test list, find the item associated with the Accelerometer or Gyroscope. Follow the instructions on the screen: you usually need to put the phone on a flat surface and press the calibration button. Once the process is completed, the system will overwrite the reference values of the device's position.

Enter dialer: ##6484##


Selection of test: Accelerometer




Action: Calibrate -> Pass

This procedure helps in 90% of cases where the problem is hardware-software in nature, and if the autorotor is not working after calibrating, the sensor may be physically damaged.

What if the code doesn't work?
Some global firmware has closed the engineering menu, so you can try downloading the Phone Info app or similar from Google Play, which has the ability to access hidden tests via ADB or special permissions.

Third-party editing applications

Built-in tools aren’t always enough, especially if you need complex processing or batch modification of many files. Google Play offers dozens of solutions that do the job better than standard tools.

One of the most popular solutions is the Photo & Picture Resizer app, which allows you to not only rotate, but also change the resolution, which is convenient for downloading on social networks. The interface is simple: select a photo, press the turn button and save.

Another powerful tool is Google's Snapseed, which is a professional editor that not only flips a photo, but also corrects perspective, and the Turn tool here works in 90 degrees increments, and also allows for free rotation.

β˜‘οΈ Criteria for the selection of the editor

Done: 0 / 4
AnnexTypePackage processingPrice.
Google PhotoStandard.No.Free of charge.
SnapseedProfessionalNo.Free of charge.
Photo & Picture ResizerUtilitarian.Yes.Freemium
Image ConverterconverterYes.Free of charge.

Problems with EXIF-data and their solution

Sometimes a photo looks upside down, not because the pixel matrix is incorrect, but because of an erroneous tag in the EXIF metadata. The camera takes the image in one position, but the service information indicates a turn. Some viewers ignore this tag, others follow it.

If you sent a photo from Xiaomi to your computer, and there it is displayed upside down, although everything is fine on the phone, then the problem is in reading. EXIF-Orientation tag: You can fix this by "restore" an image without metadata or overwrite it.

There are some EXIF tools, like Metadata Remover, that clean up the service information, and then the image will be displayed as it actually is recorded in the file matrix, which often solves compatibility problems with older TVs or media players.

πŸ’‘

Before you send important photos to the photo lab, always check them on the computer. EXIF-data and can print a vertical picture on a horizontal sheet, cutting the edges.

Frequent Questions and Answers (FAQ)

Why is Xiaomi video being shot in reverse?
This often happens if you were holding your phone outside the box when you started recording, and the sensor didn't have time to pick up the position, and it could be a particular video player that misinterprets the metadata of the video file.
Can you block the turn only in the camera?
There is no separate setting for turning locking in the camera interface alone, but if you capture the orientation of the screen in the curtain (portrait mode), the camera will ignore the phone's turns, but the preview will be recorded.
How to turn a photo on your computer if it came from the phone upside down?
Use the standard Paint editor (Windows) or View (macOS). Open the file, click Turn and save. This overwrites the file with a new orientation, ignoring the old ones. EXIF-tagging.
Does the Android version affect the autoturn?
Yes, newer versions of Android (12, 13, 14) and HyperOS have changed the accelerometer algorithms, which are more sensitive, but can sometimes conflict with older applications.
Does calibration of phone setup sensors reset?
No, the calibration in the engineering menu only affects the sensor parameters (accelerometer, gyroscope, magnetometer) Your personal data, photos and system settings will remain intact.