Black bezels at the edges of the screen on Xiaomi smartphones are a common problem that users face after updating firmware, changing the shell or incorrect display settings. These stripes not only spoil the appearance, but also reduce the usable area of the display, especially on models with curved edges (Mi 11 Ultra, Redmi K50 Pro, POCO F5). 80% of the time frames appear due to the wrong zoom mode, permission conflict or a failure in the graphics driver.
Many people mistakenly think that removing the frames requires unlocking the bootloader or root right, but in fact, in most cases, standard tools are enough. MIUI But there are deeper methods, from editing configuration files to using them. ADB-In this article, we will analyze all working methods, including hidden developer settings, which Xiaomi does not advertise in the official documentation.
If you only see black bars in certain applications (like games or videos), the problem is with their settings, not with the system, and we've also made some recommendations for these cases.
1. Check the basic display settings
Before you start to do complex manipulations, make sure that the problem is not solved by standard means, starting with checking the screen scaling mode, the most common reason for frames.
Go to Settings β Screen β Screen size and text. Here you will see three options:
- π± Standard - basic aspect ratio, can cut edges.
- π Enlarged β often adds black stripes to the sides.
- π― Default (recommended) β the best option for most models.
If you select Enlarged, change it to Standard or Default and restart the device. On some models (Redmi Note 12 Pro+, Xiaomi 13T) after the scale change, a forced restart is required (press the power button for 10 seconds).
β οΈ Note: On HyperOS devices (e.g. Xiaomi 14), the path to settings may be different: β Display. β Scope and text β Screen size. Also check the Special Opportunities section. β Font size and display β sometimes there are duplicated scaling parameters.
If you have the frames left, go to the next step, which is to check the aspect ratio. In the same Settings β Screen, find the aspect ratio (or screen format). Set Auto or Default. Some firmware may have a hidden Full Screen Display setting, turn it on.
2. Developer settings: hidden display parameters
If the basic settings didnβt work, itβs time to activate the developer mode, which contains advanced options that Xiaomi hides from ordinary users.
To activate the developer mode:
- Go to Settings. β The phone.
- Find the MIUI Version (or HyperOS Version) string and tap it 7 times in a row.
- Enter the screen unlock password if required.
Now in the main settings menu will appear a new section β For developers (or additionally). β For developers on HyperOS. Here we're interested in three things:
- π§ Enforcement of use GPU-rendering β enable if frames appear in games or 3D-annexes.
- π Minimum width (dp) β set a value of 360 or 411 (standard for most Xiaomis).
- π₯οΈ Debugging by USB β Turn it on if you plan to use it. ADB (We'll talk about it later).
Pay special attention to the Force full screen display option. Some firmware calls it Force desktop mode. Turn it on and restart the phone. If that option is missing, your model doesn't support software-based hidden frames without ADB.
What to do if you donβt have a βForce Full Screenβ display?
π‘
If after changing the settings in the developer mode, the screen began to flicker or artifacts appeared, reset the settings to factory through Settings β System β Reset settings by selecting Reset all settings (without deleting data).
3. Problems with specific applications
Black boxes can appear selectively, only in individual games, video players or instant messengers, in which case the settings of the application, not the system, are to blame.
For example, on YouTube or Netflix, the frames often arise because of:
- π¬ Incorrectly selected video resolution (install the car or the maximum available video).
- π Traffic saving mode enabled (limits flow quality).
- πΊ Settings of the aspect ratio in the player (try "Stretch" or "Trune").
In games (e.g. PUBG Mobile, Genshin Impact) check out:
- Graphics settings β Set Full HD or Ultra HD (if supported).
- Display mode β select Full Screen (not Windowed).
- Frame rate β sometimes frames appear at 120 Hz, try changing to 60 Hz.
For apps that donβt have built-in display settings (like TikTok or Instagram), try:
- π Forced to close the application through Settings β Annexes β [Name of name] β Stop it.
- ποΈ Clear cache and data (in the same menu).
- π₯ Reinstall the application.
β οΈ Note: On some models (POCO X5 Pro, Redmi K60) In games, you get frames because of the manufacturer's limitations. Xiaomi artificially lowers the resolution in the background to save charge. To turn that off, go to Settings. β Battery β Performance mode and select High Performance.
| Annex | Possible reason for the framework | Decision |
|---|---|---|
| YouTube | Default quality limitation | Set the 1080p or 1440p video settings |
| PUBG Mobile | Balance or Low Quality mode | Select HDR + Ultra HD in the graphics settings |
| TikTok | Cache with broken display data | Clear the cache through Settings β Apps |
| Google Chrome | Forced page scaling | Turn off the default scale in browser settings |
4.Use of ADB for Forced Full-screen Mode
If previous methods have not worked, itβs time to move on to advanced tools.ADB (Android Debug Bridge) lets you manually set display options that are not available through the GUI.
This will require:
- π₯οΈ Computer with Windows, macOS or Linux.
- π Installed Xiaomi drivers (download from the official website).
- π Cable USB Type-C (preferably original).
- π οΈ Utility. ADB (You can download from Android SDK).
Step-by-step:
- Enable USB debugging in the developer settings (see Section 2).
- Connect the phone to your computer and select File Transfer mode.
- Open the command prompt (cmd on Windows or Terminal on macOS/Linux) and go to the folder with ADB.
- Type in the command: adb devices If the device appears in the list, go further. If not, check the drivers.
- Execute the command for forced full screen mode: adb shell settings put global force_fullscreen true
- Reboot the phone.
If the frames remain, try the alternative command:
adb shell wm overscan 0,0,0,0This command resets the indentations of the screen. If the image is cropped, return the standard values:
adb shell wm overscan resetInstall Xiaomi | Download Platform Tools | Enable debugging by USB| Connect the original cable | Check device visibility in ADB-->
β οΈ Note: Some models (Xiaomi 12 Pro, Redmi) K40 Gaming commands wm overscan can cause a piece of the interface to be lost (e.g., hidden in the notification bar). If this happens, reset: adb shell wm overscan reset.
On the team's HyperOS firmware ADB If you see a "Permission denied" error, first do: adb shell pm grant com.android.setting android.permission.WRITE_SECURE_SETTINGS
5. Edit build.prop (power users only)
If ADB doesnβt help, the last method is to edit the system file build.prop. This method requires root rights or custom recovery (TWRP), so it is only suitable for advanced users.
Warning: Incorrect changes to build.prop can lead to bootloop or loss of warranty.If you are unsure of your actions, skip this section.
Instructions for devices with TWRP:
- Back up your current build.prop through TWRP (Backup section).
- Open /system/build.prop file in a text editor (e.g., via Root Explorer or Mixplorer with root access).
- Add the following lines to the end of the file: persist.sys.qcom.overscan.left=0 persist.sys.qcom.overscan.right=0 persist.sys.qcom.overscan.top=0 persist.sys.qcom.overscan.bottom=0 debug.egl.hw=1 debug.composition.type=gpu debug.force_rgb=1
- Save the changes and restart the device.
If the phone doesnβt boot after editing, return the original build.prop via TWRP.
π‘
Editing build.prop is the riskiest method, only use it if all other methods have failed and you have a backup.
6. Hardware reasons: when it is not the fault of software
If none of the software methods helped, the problem may lie in the hardware:
- π§ Display plume is damaged, a common problem after falling or replacing the screen on its own, and the frames only appear on part of the screen (e.g., top or bottom).
- π A graphics chip malfunction is common in devices that have overheated or been exposed to moisture, and the frames can blink or change size.
- π± Marriage matrix β some batches of screens for Xiaomi (especially Redmi Note 10 Pro, POCO X3 Pro) had a defect with incomplete filling of the display area.
How to check for hardware malfunction:
- Connect your phone to an external monitor via USB-C β HDMI adapter. If there is no frame on the external screen, the problem is in the smartphone matrix.
- Run the display test in the engineering menu: ##6484## or ##283## (codes may vary depending on the model).
- Check the phone for physical damage: battery bloating, traces of oxidation on the board, cracks on the screen.
If you suspect a hardware malfunction, the best solution is to go to a service center. Self-repair without experience can aggravate the problem. The average cost of diagnosis in official Xiaomi services is from 500 to 1500 rubles.
β οΈ Attention: On models with AMOLED-screens (Xiaomi 13 Ultra, Redmi) K60 Pro) black bezels sometimes appear because of a matrix burnout. It's irredeemable, it requires a change of display. Check the screen for the uniformity of the backlight in a dark room: if you see dark spots on the edges, the matrix degrades.
7. Update firmware and reset settings
If the frames appeared after the system update, there is a high probability that the fault in the firmware. Xiaomi regularly releases patches for such problems, so first of all check for updates:
Go to Settings β About Phone β System Update and click Check Updates. If a new version is available, install it. After the update, reset the cache:
- Turn off the phone.
- Press the Power button + Volume up until the Mi logo appears.
- In the recovery menu, select Wipe Cache (not Wipe Data!).
- Reset the device.
If there are no updates or they did not help, reset to factory settings:
- Make a backup of the data through Settings β Additional β Backup.
- Go to Settings β About the phone β Reset settings.
- Choose Reset all settings (no deletion of files) or Remove all (full reset).
After resetting, set the phone as new and check if the frames are still there, if so, the problem is more hardware or requires manual intervention through ADB/root.
π‘
Before reset, write down your device's IMEI (type *#06#). In rare cases, it may reset and have to be restored through an engineering menu.