How to increase the time of displaying pop-up notifications on Xiaomi: all ways

On the one hand, pop-up notifications on Xiaomi are one of the most controversial elements of the MIUI interface. On the one hand, they allow you to quickly respond to messages and events without opening the application. On the other hand, the standard display time (usually 3-5 seconds) is often not enough to read the text or understand the essence of the notification, especially when long messages in messengers or notifications with a lot of information.

The problem is compounded by the fact that in standard settings MIUI There is no direct setting for changing banner display times, but there are at least 5 working ways to get around this limitation, from hidden firmware features to using the banners. ADB-In this article, we will discuss all the current methods for MIUI 12, 13 and 14, including nuances for different Redmi models, POCO Xiaomi.

It is important to note that some methods require unlocking the bootloader or the rights of the superuser (root), we will separately note such cases and provide alternatives for users without root access, and at the end of the article you will find an FAQ with answers to typical questions on the topic.

1. Method: Configure via "Special Features" (without root)

The easiest and safest method is to use the built-in Notification Time feature in the special features menu, which works on most devices with MIUI 12+ and does not require additional permissions.

Instructions:

  • πŸ“± Open the Settings. β†’ Special facilities.
  • πŸ” Scroll down to System Settings and select Notification Display Time.
  • ⏱️ Set the desired time from the available options (usually 2 to 10 seconds).
  • πŸ”„ Restart the device to apply changes.

Limitations of the method:

  • ❌ Not all models have this item (for example, some models have it). POCO he's missing).
  • ❌ The maximum time is often limited to 10 seconds.
  • ❌ Does not affect notifications from system applications (e.g., Security).
πŸ“Š What time of notifications do you need?
5 seconds.
5-10 seconds
10-20 seconds
No restrictions.

Method: Use of ADB-commands without root)

If your firmware does not have a Special Features option, you can change the notification times via Android Debug Bridge (ADB), a method that does not require root, but requires connecting your smartphone to your computer.

Step-by-step:

  1. Install ADB Tools on your PC.
  2. Activate Developer Mode on your smartphone: go to Settings β†’ About Phone and click on MIUI Version 7 times.
  3. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  4. Connect your phone to your PC and execute in the command line:
adb shell settings put global heads_up_notification_decay 5000

Where 5,000 is millisecond time (5 seconds). For 10 seconds, specify 10,000, for 15-15000, etc.

To return the standard value, do:

adb shell settings delete global heads_up_notification_decay

Install ADB Tools on PC

Enable the developer mode on Xiaomi

Activate debugging over USB

Connect your phone to the original cable

Check the connection of the team `adb devices`-->

Important: On some MIUI firmware, this command may not work due to manufacturer limitations, in which case, try an alternative setting:

adb shell settings put global heads_up_timeout_ms 10000

3. Method: Configure via Engineering Mode (engineering menu)

The hidden engineering menu allows you to change many system settings, including notification times, which works on most Xiaomi/Redmi/POCO devices, but requires caution – incorrect settings can lead to failures.

How to open the Engineering Mode:

  1. Open the Phone app.
  2. Enter the code ##36446337## (for MediaTek) or #4636## (for Qualcomm).
  3. Go to the Notification or System section.
  4. Find the Notification Timeout option and set the desired value.

The engineering menu codes may vary depending on the model and the firmware region, for example, the Redmi Note 10 Pro sometimes runs code ##6484##.

What to do if the engineering menu does not open?
If nothing happens after you enter the code, try: 1. Use another code (e.g. ##64663## for some models). 2. Enable developer mode before entering the code. 3. Try entering code through the Phone app in safe mode. 4. Update firmware - on older versions of MIUI, some codes may not work.

Warnings:

⚠️ Warning: Changing the settings in the Engineering Mode may cause the system to run in an unstable manner. Do not change other settings unless you are sure of their purpose.

⚠️ Note: Some firmwares may be affected by sensors or communication modules after changing the notification time through the engineering menu. If problems arise, reset the network settings to Settings β†’ SIM-maps and mobile networks β†’ Resetting network settings.

Method 4: Notification management applications (without root)

If you don't want to mess with ADB or the engineering menu, you can use third-party apps that don't give you the same control as system settings, but they allow you to increase the time you show notifications indirectly, for example by duplicating them or blocking automatic closure.

Top.-3 apps:

AnnexFunctionalConsReference
Notification History LogKeeps your notification history, allows you to view them laterIt does not increase the time of display, only archives.Google Play
Heads-up Notification TimeoutAllows you to set a custom time for each applicationRequires Android 8.0+, MIUI can run unstableGoogle Play
AutoNotification (Tasker plugin)Full control over notifications, including screen time and animationComplicated setup, requires TaskerGoogle Play

For maximum effect, we recommend combining Notification History Log (for archive) and Heads-up Notification Timeout (for increased time).However, note that on MIUI these applications may conflict with system optimizations, so restart the device after installation.

πŸ’‘

If the notification management app doesn’t work, try turning off the β€œMIUI Optimization” feature in the battery settings for this app. Go to Settings β†’ Applications β†’ Application Management β†’ [Application Name] β†’ Battery Optimization β†’ Without Limitations

5. Method: Editing system files (root required)

For users with unlocked bootloader and root rights, the most flexible method is the direct editing of system files responsible for notifications, which allows you to set any time of display (up to infinite), but requires caution.

Instructions:

  1. Install a file manager with root support (such as Root Explorer or FX File Explorer).
  2. Go to /system/csc/others.xml or /system/csc/feature.xml (depending on firmware).
  3. Find the line with HeadsUpNotificationDecay or NotificationPanelTimeout.
  4. Change the value to the right one (in milliseconds). For example, for 20 seconds, specify 20,000.
  5. Save the file, set the rights 644 (rw-r--r---).
  6. Reset the device.

Alternative path (for MIUI 13/14):

/system/vendor/overlay/framework-miui-res-miui-overlay.apk

This file can store notification settings, and editing it will require decompilation using APKTool.

Warnings:

⚠️ Warning: Incorrect editing of system files can lead to bootloop ( looped download.

⚠️ Attention: On some firmware MIUI post-edit others.xml You may reset your theme. To return it, go to Settings. β†’ Topics and Apply Themes Again.

πŸ’‘

If notifications have stopped working after editing system files, check the integrity of the file /system/csc/others.xml. Often the problem is solved by restoring the original file from backup or firmware.

6. Method: Castom firmware (for advanced users)

If you need to not only increase notification times but also gain full control of MIUI, consider installing custom firmware such as LineageOS, Pixel Experience or modified versions of MIUI from third-party developers (such as MIUI EU).

Advantages of custom firmware:

  • πŸ”§ Flexible setting of notification times (up to turning off automatic closing).
  • πŸš€ Absence of systemic constraints MIUI.
  • πŸ”„ Regular updates and bug fixes.
  • πŸ›‘οΈ Ability to remove unnecessary system applications.

Disadvantages:

  • ❌ Requires unlocking the loader (data reset).
  • ❌ There may be problems with the camera or sensors (especially on newer models).
  • ❌ Loss of warranty (if the device is under warranty).

Popular firmware for Xiaomi:

FirmwareFeaturesXiaomi support
MIUI EUOfficial MIUI without Chinese restrictions, weekly updatesMost models
Pixel ExperiencePure Android with notifications like the PixelPopular models (Redmi Note 10, POCO X3, etc.)
LineageOSMaximum customization, stabilityLimited list of devices
crDroidBalance between performance and functionalityRedmi K-series, POCO F-series

Before installing custom firmware, it is necessary to:

  1. Back up your data via TWRP or OrangeFox.
  2. Make sure the firmware supports your model (check out the XDA-Developers forum).
  3. Unlock the bootloader through the official Xiaomi tool.

Additional tips for working with notifications on Xiaomi

In addition to increasing the time of display, you can optimize the work of notifications in other ways:

Priority notifications:

Set up separate rules for important applications. For example, for messengers, you can turn on pop-up notifications and turn them off for unnecessary services. β†’ Notifications β†’ Annexes.

Grouping of notifications:

In MIUI 13/14, notifications are grouped by default. To disable grouping (and see each notification separately), go to Settings β†’ Notifications β†’ Additional β†’ Grouping of Notifications and select Not Group.

Nighttime notifications:

To keep notifications from disturbing you at night, set Do Not Disturb Schedule: Settings β†’ Sound β†’ Do Not Disturb. You can set exceptions for important contacts or applications here.

Colours and style of notifications:

In MIUI, you can change the transparency and color of the notification bar. To do this, go to Settings β†’ Screen β†’ Style of the notification panel.

πŸ’‘

If you often miss notifications from certain apps, check your battery optimization settings. Many apps (especially instant messengers) are default limited in background. To fix this, go to Settings β†’ Apps β†’ Application Management β†’ [App Name] β†’ Battery Optimization β†’ Without Limitations

FAQ: Frequent Notification Questions on Xiaomi

❓ Why my Xiaomi doesn’t have a β€œNotification Time” option in special features?
This option doesn't appear on all firmware. If it's not available: Check the version. MIUI (In Settings β†’ On the old versions (below). MIUI 12) this function may not be available. Update the firmware to the latest version via Settings β†’ System update. If you have global firmware, try switching to MIUI EU (Europaean β€” this is a feature that's often present. If it doesn't work, use it. ADB-method.
❓ Can we make sure that notifications don’t disappear at all?
Yes, but it will require root rights. Options: Edit the system file /system/csc/others.xml by setting HeadsUpNotificationDecay="0." Use the Xposed Framework with Heads Up Timeout module (for older versions of Android). Install custom firmware (for example, LineageOS), where you can disable automatic root notifications. Without making notifications "eternal" is impossible - maximum time through ADB or engineering menu is usually limited to 30 seconds.
❓ After the notification time has changed, ADB Nothing's changed?
Possible causes and solutions: πŸ”Œ ADB Unconnected: Check the connection with the adb device command. If the device does not appear, reinstall the drivers. πŸ“± The wrong team: On some firmware instead heads_up_notification_decay used heads_up_timeout_ms. Try both of them. πŸ”„ Do not restart the device: After applying the command, restart the smartphone. πŸ›‘οΈ Limitations MIUI: On Chinese firmware (China) ROM) some ADB-If nothing helps, try the method with an engineering menu or third-party apps.
❓ Will these methods work for POCO F5 or Redmi Note 12?
All of the above methods are compatible with modern models. Xiaomi/Redmi/POCO on MIUI 13/14, including: POCO F5 / F5 Pro Redmi Note 12 / 12 Pro+ Xiaomi 13 / 13 Pro Redmi K60 / K60 Pro Exceptions: On POCO nothing-shelled OS (for example, POCO X5 Pro for some regions may not work teams ADB, related MIUI. On devices with HyperOS (new firmware from Xiaomi), some methods may require adaptation. For accurate information, check the firmware version in Settings β†’ The phone. β†’ Version. MIUI.
❓ How to return standard notification settings?
To reset all changes: For ADB: Adb shell settings delete global settings heads_up_notification_decay. For the Engineering Menu: Return the standard values manually or reset the network settings (Settings) β†’ SIM-maps and mobile networks β†’ Reset network settings. For root method: Restore the original file others.xml For third-party applications: Delete the application and clear its data in Settings β†’ If notifications stop working at all, reset settings via Settings β†’ Memory. β†’ Resetting settings (without deleting data).