How to change the color of the status bar on Xiaomi smartphones: 5 working methods

Introduction: Why Change the Color of the Status Line and What It Does

The status bar is the top screen bar on Xiaomi, which displays notification icons, battery level, time and network signal. It's usually white or black by default, but many users want to personalize it to their own style. Changing the color of this panel not only improves the visual experience of the interface, but also helps to better distinguish between notifications on light or dark wallpaper.

Depending on the version MIUI Smartphone models (Redmi Note 12, Poco) X5, Xiaomi 13 et al.) color changes may vary, some devices allow you to do this through standard settings, others require the use of a color change. ADB-In this article, we'll look at all the current methods, including the nuances for different versions of firmware. MIUI 12 to MIUI 14.

Itโ€™s important to keep in mind that not all models support flexible status bar settings. For example, budget devices (Redmi 10A, Poco M4) often lack this feature in the standard interface, while flagships (Xiaomi 14, Mix Fold 3) offer more customization options.

๐Ÿ“Š What version? MIUI you use?
MIUI 12 or older
MIUI 13
MIUI 14
HyperOS
I don't know.

Method 1: Color change through MIUI theme (the easiest way)

If your smartphone is running MIUI 12.5 or later, the fastest way to change the color of the status bar is to use embedded themes, which doesnโ€™t require root rights or technical skills, but doesnโ€™t work on all devices.

Here's how to do it:

  • ๐Ÿ“ฑ Open the Themes app (icon with brush).
  • ๐Ÿ” In the search bar, enter the request โ€œstatus barโ€ or โ€œtransparent panelยป.
  • ๐ŸŽจ Choose your favorite theme with the color of the top bar changed. Pay attention to reviews - some themes may not display icons correctly.
  • ๐Ÿ’พ Click Apply and Confirm Changes.

If the desired color is not in the standard themes, try downloading custom ones from the "Online" section, for example, themes marked with a tag ยซAMOLED Black often offers a dark status bar that saves battery life on devices with a AMOLED-screen.

Make sure you have the latest version of the Themes app | Check your Internet connection (to download the online theme) | Back up your current theme (Settings โ†’ Additional โ†’ Backup) |Reboot your smartphone after applying the new theme

-->

โš ๏ธ Note: On some devices (Redmi) 9A, Poco C31) After changing the theme, the color of the status bar may reset after rebooting.

Method 2: Use of the ADB-Teams (for advanced users)

If standard themes donโ€™t work, you can use ADB (Android Debug Bridge), which works on most Xiaomi devices, but requires a computer connection and developer mode.

Step-by-step:

  1. Turn on Developer Mode: Go to Settings โ†’ About Phone โ†’ MIUI version and tap it 7 times.
  2. Return to Settings โ†’ Additional โ†’ For developers and activate Debugging over USB.
  3. Connect your smartphone to your PC, install ADB drivers (if necessary) and open the command line.
  4. Enter the command to check the connection: adb devices If the device is displayed, proceed to the next step.
  5. Use one of the commands to change the color (replace #FF0000 fittingly HEX-code): adb shell settings put global status_bar_color #FF0000 For Transparent Status Bar: Adb shell settings put global status_bar_transparent 1

On devices with MIUI 14 and HyperOS, the transparency command may not work due to changes in the system architecture, in which case, try an alternative method through the Activity Launcher app.

ColourHEX-codeADB Team Team
Black.#000000adb shell settings put global status_bar_color #000000
White#FFFFFFadb shell settings put global status_bar_color #FFFFFF
Blue (MIUI)#3E6FCFadb shell settings put global status_bar_color #3E6FCF
Transparentโ€”adb shell settings put global status_bar_transparent 1

โš ๏ธ Attention: After update MIUI setting ADB They can also be reset on some devices (Xiaomi). 12T, Redmi K50) The color of the status line automatically adjusts to the wallpaper, ignoring manual settings.

Method 3: Applications for customization (without root)

If you don't want to mess with ADB, you can use third-party apps. They don't require root rights, but they're functionally dependent on the Android and MIUI versions.

Top.-3 Appendices to Change the Color of the Status Bar:

  • ๐ŸŽจ Nacho Notch -- not only does it change color, it also hides the cutout in the screen. MIUI 12โ€“14, but may conflict with some launchers.
  • ๐Ÿ”ง Status Bar Color Changer is a simple preview tool. Supports gradients and dynamic colors (on Android 12)+).
  • ๐Ÿ–Œ๏ธ Hex Installer is an advanced customization tool that includes status bar settings. ADB (once-only).

Example of settings in Nacho Notch:

  1. Download the app from Google Play or APKMirror.
  2. Grant permission to overlay over other windows (Settings โ†’ Applications โ†’ Special Access โ†’ Overlay).
  3. Select the Status Bar Color menu and select the desired shade.
  4. Activate the switch in the upper right corner.
Why can applications not work?
Some customization apps are blocked MIUI If the function doesn't activate after installation, try it: 1. Disable battery optimization for the application. 2. Reboot your smartphone. 3. Use it. ADB-Command to grant additional permits: adb shell pm grant com.app.package android.permission.WRITE_SECURE_SETTINGS (Replace com.app.package with a real application package).

Method 4: Manual editing of system files (root only)

If your device has root access, you can manually change the system files that display the status bar, which is the most flexible, but also the most risky method โ€“ incorrect actions can lead to a bootloop.

Instructions for experienced users:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/framework/framework-res.apk/res/values/colors.xml
  3. Find the lines with the parameters: <color name="status_bar_color">#FFXXXXXX</color> change HEX-code.
  4. Save the file, set the correct rights (644) and restart the device.

For devices on MIUI 13/14, the path may be different:

/product/overlay/FrameworkResOverlay.apk

In this case, decompilation will be required. APK-file using APKTool.

๐Ÿ’ก

Before editing system files, back up the /system partition via TWRP or other custom recap to restore the device to work in case of an error.

Method 5: Use of custom firmware (for enthusiasts)

If you want maximum control over the interface, consider installing custom firmware such as LineageOS, Pixel Experience or Evolution X. These firmwares offer flexible status bar settings, including:

  • ๐ŸŽจ Color change and transparency.
  • ๐Ÿ”„ Dynamic wallpaper adjustment.
  • ๐Ÿ“ฑ Hiding unnecessary icons (such as an indicator) NFC).
  • โšก Optimization for AMOLED-screens (true black color).

The process of installing custom firmware includes:

  1. Unlock the bootloader through the official Xiaomi Unlock Tool.
  2. Installation of custom recavery (TWRP or OrangeFox).
  3. Flash (firmware) of the selected custom firmware and GApps (if you need Google services).

Examples of firmware with better support for status bar customization:

FirmwareXiaomi supportFeatures of the status bar
Pixel ExperienceRedmi Note 10 Pro, Poco F3Dynamic colors, transparency, customization of icons
LineageOSXiaomi Mi A2, Mi 9 SEMinimalist design, manual color adjustment
Evolution XXiaomi 11T, Redmi K40Advanced themes, animations, cutout support

โš ๏ธ Note: Installing custom firmware voids warranty and can lead to data loss. On HyperOS devices (such as Xiaomi 14), the process of unlocking the bootloader is complicated - it requires waiting 168 hours after the account is linked.

๐Ÿ’ก

Custom firmware gives you maximum customization freedom, but it requires technical skills. If you only want visual changes, you'd better limit yourself to 1-3 methods.

Frequent problems and their solutions

When you change the color of the status bar, users often encounter common errors, and here are the most common ones and ways to fix them:

Problem 1: Color is reset after rebooting.

  • ๐Ÿ”„ Check if settings are reset due to battery optimization for applications (e.g. Nacho Notch).
  • ๐Ÿ“ฑ Nana MIUI 14 Try to disable the โ€œAdaptive Colorsโ€ feature in wallpaper settings.
  • ๐Ÿ’ป If you've used ADB, Reapply the command and add it to the auto-execution script when downloading.

Problem 2: The icons on the status bar have become invisible.

  • ๐ŸŽจ This happens if you choose a color that is too dark on a dark topic (or too light on a light one.
  • ๐Ÿ”ง V MIUI 13+ You can enable โ€œIcon Inversionโ€ in the display settings.

Problem 3: ADB-commands are not applied.

  • ๐Ÿ”Œ Make sure the debugging is done USB included and the drivers installed correctly.
  • ๐Ÿ“‹ Check if the antivirus (e.g. Mi Security) blocks the execution of commands.
  • ๐Ÿ”„ Restart the device and PC, then try again.
How to get back the standard color of a status bar?
If after experiments you want to return the original form, execute one of the commands depending on the method: ADB: adb shell settings delete global status_bar_color - For applications: Remove or deactivate them in the settings. MIUI: Apply the standard theme "Default".

Can I change the color of the status bar to Xiaomi without a computer?
Yes, if your device supports the shift through themes MIUI or third-party applications (e.g. Nacho Notch) for models without such an option (e.g. Redmi) 9C) need ADB root.
Why did the status bar color reset after the MIUI update?
Updates often reset user settings, especially if they were applied through ADB or system files. After the update, you will have to repeat the procedure. To avoid this, use customization applications (they are less susceptible to reset).
Can you make a gradient color of a status string?
On standard MIUI, no. But some custom firmware (e.g. Evolution X) or applications like Hex Installer support gradients, and you can use gradient wallpaper and enable status bar transparency.
Will the method work with ADB on Xiaomi with HyperOS?
Partially, color-change commands (status_bar_color) It works, but the transparency settings are (status_bar_transparent) They can be ignored because of changes in the architecture of the system.
How to hide icons from the status bar (for example, an indicator) NFC)?summary> You need root rights or custom firmware to do that. /system/ui/system_ui_tunables.xml (find the lines with icon_blacklist). In firmware like LineageOS, this option can be found in the interface settings.