Xiaomi Redmi 7
screen orientation
Redmi 7
Redmi 7 features accelerometer and gyroscope to determine position in space. These sensors can diverge over time in calibration, especially after drops or firmware updates. MIUI also has a flexible orientation control system that allows you to block rotation for individual applications or completely turn off autorotation. If you notice that the screen is not behaving properly, it is not always a hardware problem. 80% of cases are due to settings or software failures that are easy to fix yourself.
Before you start settings, make sure your Redmi 7 is running the current version of MIUI. To check, go to Settings โ About Phone โ MIUI Version. If the version is older than MIUI 12, we recommend updating โ new firmware has improved processing of sensor data. Also check if third-party orientation management applications (such as Rotation Control or Set Orientation) are installed that may conflict with system settings.
What is the screen orientation and how does it work on the Redmi 7?
Screen orientation is a feature that determines how content will be displayed on a smartphone display: in portrait (vertical) or landscape (horizontal) mode. On the Xiaomi Redmi 7, two key components are responsible for this:
- ๐ The accelerometer measures acceleration and determines the angle of the device, and it detects when you turn the phone from vertical to horizontal.
- ๐ The gyroscope complements the accelerometer by tracking rotation along three axes, which allows you to more accurately determine the position in space, for example, when playing or using a game. AR-applications.
The sensor data is processed by MIUI, which decides on the rules to turn the screen, for example, in most applications (messengers, browsers), autorotation is turned off by default to avoid accidental activations, and in video players or games, it is activated automatically.
The Redmi 7 has three main orientation modes:
- Autoturn โ the screen rotates depending on the position of the phone.
- Portrait lock โ the screen always stays vertical, even if you rotate the device.
- Forced Landscape Mode โ The screen is fixed in a horizontal position (not available in all versions of MIUI).
Fun fact: The Redmi 7 uses a Bosch BMI160 sensor that combines an accelerometer and a gyroscope in a single chip, which reduces power consumption compared to individual sensors, but sometimes leads to calibration conflicts.
๐ก
If you use your phone horizontally frequently (for example, for reading or playing), turn on the developer settings to โDo not turn off the screen when chargingโ and this will prevent the display from accidentally turning off during prolonged use.
How to turn on or off the screen autoturn
The basic orientation setting for Redmi 7 is done through the Quick Settings Panel or the settings menu.
- Unlock your phone and swipe down from top to bottom to open the notification panel.
- Find the Autoturn icon (usually depicted as a circular-arrow phone) and if it's not, swipe down again to open the full panel.
- Tap the icon to turn the function on or off. Active mode is highlighted in blue.
If the icon is not on the panel, it can be added:
- Click on the pencil icon (โ๏ธ) at the top right corner of the notification panel.
- Find it in the Autoturn list and drag it to the active area.
- Save the changes by clicking on the checkmark or the Ready button.
An alternative way is through system settings:
- Go to Settings. โ Screen.
- Select the Autoturn screen option.
- Activate or deactivate the switch.
Some versions of MIUI (e.g. MIUI 12.5) offer advanced autorotation settings for individual applications.
- Open the Settings. โ Special facilities.
- Select Screen Autoturn.
- Activate the option to control the rotation for applications.
- In the list, select the applications for which you want to block or allow autoturn.
Notifications Panel โ Autoturn icon turned on
Settings โ Screen โ Autoturn activated
No conflicting applications (e.g. Rotation Locker)
Sensors are not blocked by a cover or magnet-->
Why the autoturn does not work: diagnosis of problems
If the Redmi 7 screen doesn't turn when the phone changes position, the reasons could be both software and hardware.
1. Programmatic failures
- ๐ Application conflict: Some programs (such as launchers or optimizers) may block autoturn. Try restarting your phone in Safe Mode (press the power button). โ Safe Mode. If the autorotor is working, delete the recently installed apps.
- ๐ฑ Failure MIUI: After the firmware update, the sensor settings may be lost. Try resetting the screen settings: โ System system โ Resetting settings โ Reset the screen settings.
- ๐ ๏ธ Calibration error: sensors may differ in the parameters. To recalibrate, follow the steps in the next section.
Hardware problems
- ๐งฒ Magnets: If you use a magnetic lock case or hold your phone near powerful magnets (like in a car), the sensors may lock. remove the magnetic field source and reboot the device.
- ๐ฅ Sensor damage: After falls or impacts, the accelerometer/gyroscope may fail. Check their operation through the engineering menu (instruction below).
- ๐ Low battery charge: at a charge level below 15% MIUI It can limit the sensors to save energy. Connect the charger and check again.
3. Features of MIUI
โ ๏ธ Note: In some versions MIUI For Redmi 7, autorotate automatically if the phone is on a flat surface (like a table) to prevent accidental triggers.
For quick diagnosis, use built-in sensor testing:
- In the phone app, type the code ##6484## (or #4636## โ Testing).
- Select Sensor Test or Sensors.
- Check the response of the Accelerometer and the Gyroscope when you turn your phone. If the values don't change, the sensors are faulty.
What to do if the engineering menu is not opened?
Calibration of orientation sensors: step-by-step instructions
If the Redmi 7 sensors are not working properly (for example, the screen is turning late or in the wrong direction), they can be recalibrated, which resets the current settings and forces the system to re-determine the "zero" position of the device.
Method 1: Through the Engineering Menu
- Open the phone app and enter the code: ##6484##.
- Select Sensor Calibration or Sensor Calibration.
- Follow the instructions on the screen: usually put the phone on a flat surface and then turn it in different directions.
- Once completed, restart the device.
Method 2: Through the Compass application
Method 3: Manual calibration via ADB (for advanced users)
If standard methods donโt work, you can reset the sensors via ADB:
adb shell
su
echo 1 > /sys/class/sensors/accelerometer/calibration
echo 1 > /sys/class/sensors/gyroscope/calibration
rebootโ ๏ธ Note: This method requires root rights and enabled debugging USB. The wrong commands can cause the system to fail. Use only if you are confident in your actions!
After calibration, check the autorotation in different applications, and if the problem persists, the sensors may be physically damaged and need to be replaced.
๐ก
Calibration of sensors is recommended after each major update MIUI or mechanical impact on the phone (falls, bumps).
How to Block Orientation for Individual Applications
MIUI has a useful feature that allows you to flexibly adjust auto-turn for each application separately, for example, you can block a turn on WhatsApp, but keep it active on YouTube.
Step 1: Enable advanced autoturn settings
- Go to Settings. โ Special facilities.
- Select Screen Autoturn.
- Activate the option to turn control for applications (in some versions of MIUI it is called Individual turn settings).
Step 2: Set up rules for applications
- In the same menu, click on the Apps List.
- Select an app from a list (like Chrome).
- Set one of three values: ๐ Follow system settings (a global autoturn mode is used). ๐ Portrait Mode (always vertically). ๐บ Turning (allowing a turn).
Repeat for other applications as needed.
If the application is not in the list:
- Open this app.
- Pull the notification bar down and hold the Autoturn icon.
- In the menu that appears, select Block Turn for this application.
Example of settings for popular applications:
| Annex | Recommended treatment | Reason. |
|---|---|---|
| YouTube | Crash-turn | It is convenient to watch videos in horizontal mode. |
| Portrait | Prevents accidental turns when typing. | |
| Google Maps | Crash-turn | It is necessary to correctly display the map when turning. |
| Chrome | Follow the system | It is convenient to read articles in the album mode, but not necessarily. |
| Games (PUBG, Call of Duty) | Crash-turn | Most games require horizontal orientation. |
Solving Orientation Problems After MIUI Update
Firmware updates often cause sensor malfunctions, because newer versions of MIUI can change the algorithms for processing data from the accelerometer and gyroscope. If the autorotor stopped working after the update, try the following steps:
1. Resetting screen settings
- Go to Settings โ System โ Resetting settings.
- Select Reset screen settings (not to be confused with a full reset!).
- Confirm the action and restart the phone.
2. Cleaning the cache of system services
- Open Settings โ Applications โ Application Management.
- Press three points (โฎ) in the upper right corner and select Show System Processes.
- Find Sensor Service and System UI.
- For each of them, click the Warehouse โ Clear the cache.
- Reset the device.
3. rollback to the previous version of MIUI
If the problem has occurred after the update and is not solved in other ways, you can return the previous firmware.
To install these applications:
- Download. APK-file from the official website or Google Play.
- If the installation is blocked, allow installation from unknown sources: Settings โ Security โ Unknown sources.
- Launch the application and provide the necessary permissions (access to special features).
- Configure the orientation rules according to the instructions in the application.
Important: When using third-party orientation management apps, disable the built-in autorotation function in MIUI to avoid conflicts.
If you prefer not to install additional programs, you can use the developer mode to force the change of orientation:
- Activate Developer Mode: Settings โ About Phone โ MIUI version (click 7 times).
- Back to Settings โ Additionally. โ For developers.
- Find the option Forced orientation and select the desired position.