How to make a screen without a bezel on a Xiaomi phone: all the ways to hide black stripes

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.

πŸ“Š What kind of Xiaomi model do you have?
Redmi Note 12/13
POCO F/X
Xiaomi 13/14
Another model

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:

  1. Go to Settings. β†’ The phone.
  2. Find the MIUI Version (or HyperOS Version) string and tap it 7 times in a row.
  3. 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?
This means that your firmware does not support this option at the kernel level, in which case there are two options: 1 Use ADB-commands (section 4 of this article), 2) Install custom recovery and edit the build.prop file manually (requires root).

πŸ’‘

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:

  1. Graphics settings – Set Full HD or Ultra HD (if supported).
  2. Display mode – select Full Screen (not Windowed).
  3. 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.

AnnexPossible reason for the frameworkDecision
YouTubeDefault quality limitationSet the 1080p or 1440p video settings
PUBG MobileBalance or Low Quality modeSelect HDR + Ultra HD in the graphics settings
TikTokCache with broken display dataClear the cache through Settings β†’ Apps
Google ChromeForced page scalingTurn 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:

  1. Enable USB debugging in the developer settings (see Section 2).
  2. Connect the phone to your computer and select File Transfer mode.
  3. Open the command prompt (cmd on Windows or Terminal on macOS/Linux) and go to the folder with ADB.
  4. Type in the command: adb devices If the device appears in the list, go further. If not, check the drivers.
  5. Execute the command for forced full screen mode: adb shell settings put global force_fullscreen true
  6. Reboot the phone.

If the frames remain, try the alternative command:

adb shell wm overscan 0,0,0,0

This command resets the indentations of the screen. If the image is cropped, return the standard values:

adb shell wm overscan reset

Install 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:

  1. Back up your current build.prop through TWRP (Backup section).
  2. Open /system/build.prop file in a text editor (e.g., via Root Explorer or Mixplorer with root access).
  3. 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
  4. 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:

  1. 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.
  2. Run the display test in the engineering menu: ##6484## or ##283## (codes may vary depending on the model).
  3. 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:

  1. Turn off the phone.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. In the recovery menu, select Wipe Cache (not Wipe Data!).
  4. Reset the device.

If there are no updates or they did not help, reset to factory settings:

  1. Make a backup of the data through Settings β†’ Additional β†’ Backup.
  2. Go to Settings β†’ About the phone β†’ Reset settings.
  3. 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.

FAQ: Frequent questions about the frame on the screen Xiaomi

Can the frame appear because of the cover or protective glass?
Yes, but very rarely. Poor-quality cases with metal inserts or too thick glasses (more than 0.5 mm) can interfere with the sensors, which causes the system to misidentify the boundaries of the screen. Try to remove the case and glass, then restart the phone. If the frames are gone, the problem is accessories.
Why do the boxes only appear in some games?
This is due to optimizing the game for specific models. Developers sometimes limit the resolution for devices with MediaTek processors (for example, Redmi Note 11, POCO M4 Pro) or artificially lower the graphics settings to save charge. Try: Manually set the maximum resolution in the game settings. Disable the power saving mode in Settings β†’ Battery β†’ Performance Mode. Use Game Turbo (built-in Xiaomi booster) and enable Full Screen Mode in its settings.
How to return the frames if after ADB-The screen was cut off?
Run the indent reset command: adb shell wm overscan reset If that didn't help, try manually setting standard indentations: adb shell wm overscan 0.0.0 Then restart the device. If the problem persists, reset the screen settings through Settings β†’ System β†’ Settings reset β†’ Screen reset.
Can I remove the frames on Xiaomi without root and ADB?
Yes, but only if it's software-based. Try: Change the aspect ratio in the screen settings; disable forced scaling in developer mode; update the firmware to the latest version; reset the screen settings (without losing data); if the frames are left, you can't remove them without ADB or root.
Why did the screen change the frame?
This is a typical problem when using non-original matrices. Cheap Chinese screens often have different resolutions or wrong drivers. Solutions: Return the original matrix (if saved); Update the screen firmware through service software (a special programmer is required); Calibrate the screen through the engineering menu (codes depend on the model); If the screen is replaced in an informal service, return to them with a claim that under the Consumer Protection Act they are obliged to fix the defect or refund the money.