How to view closed notifications on Android Xiaomi: all ways from magazine to ADB

Did you accidentally close an important notification on Xiaomi and now you don't know how to return it? Or do you want to check your alert history from days past? Unlike iOS, where notifications are stored in the Notification Center until manually cleared, MIUI defaults to delete them immediately after the swipe. But that doesn't mean that data is lost forever.

In this article, we will discuss 5 proven ways to restore closed notifications, from standard MIUI features to hidden Android capabilities and development teams. The methods work on all modern smartphones of the brand: Xiaomi 13/14 Series, Redmi Note 12/13, POCO F5/X5 and other devices with MIUI 12-15.

MIUI Notification Log: Where to Look and How to Enable

The easiest way is to use the built-in notification log that MIUI has, but is often disabled by default, which stores the alert history of the last 7 days (on some firmware up to 30 days), including the text of messages and the name of the application.

To activate the journal:

  • πŸ“± Open the Settings. β†’ Notifications and status bar β†’ Notification log.
  • πŸ”„ Switch the switch to the position "On" (if the option is gray - it means that it is already active).
  • πŸ” Now all new notifications will be archived. To view the old ones, click on View log.

πŸ’‘

If the log does not display all notifications, check the settings of a particular application. For example, for Telegram or WhatsApp, logging in the Settings section of the application β†’ Notifications β†’ Additional

Limitations of the method:

  • ❌ Does not show notices closed before log inclusion.
  • ❌ Some system alerts (e.g. low battery charge) are not saved.
  • ❌ On devices with MIUI Global Journal may not be available – switching to MIUI China EEA.

2. Notification history via β€œSecurity” (only for MIUI 14+)

Recent versions of MIUI (starting with MIUI 14) have introduced a hidden notification archiving feature in the Security app, which runs parallel to the log and sometimes stores data that is not displayed in the main section.

Instructions for access:

  1. Launch the Security app (the shield icon).
  2. Go to Optimization β†’ Notification History (on some devices, the path may differ: Tools β†’ System Log).
  3. Select a period (such as β€œThe Last 24 Hours”) and find the alert you want.
Why doesn’t β€œSecurity” have a notification history?
If the partition is missing, then: 1) Your version of MIUI older than 14.0.3 - update the firmware through Settings β†’ About Phone β†’ System Update. 2) The function is disabled via ADB (see section 5). 3 You have custom firmware installed (for example, Pixel Experience), where this module is removed.

The advantage of the method is that it can display notifications from system applications (for example, com.android.systemui) that do not fall into the standard log, but the interface is less convenient - there is no application filter, and the text of messages is sometimes cropped.

3. Recovery through application settings (partial solution)

If the notification came from a messenger (Viber, WhatsApp, Telegram) or a social network (Vkontakte, Instagram), you can try it in the history of the application itself, which is not universal, but works in 30-40% of cases (according to testing on the Redmi Note 12 Pro+).

Examples for popular applications:

AnnexWhere to look for notificationLimitations
WhatsAppChats β†’ Archive or Settings β†’ Notifications β†’ HistoryOnly if the message is not deleted by the sender
TelegramSettings β†’ Notifications β†’ Alert HistoryOnly the last 100 notifications are stored.
VKontakteNotifications β†’ Archive (web version or PC)No archive in the mobile application
GmailAll letters folder β†’ Notification filterOnly for push notification letters

Important: In some applications (such as SberBank Online or Tinkoff), transaction notifications are duplicated in the Operation History section – check it if you do not find a message in chat rooms.

πŸ“Š Which app most often sends you important notifications?
Messengers (WhatsApp, Telegram)
Social networks (VK, Instagram)
Banking services
Mail (Gmail, Yandex)
Other

4.Use of ADB-History extraction commands (without root)

If standard methods don’t work, try extracting notifications via ADB (Android Debug Bridge), which doesn’t require root rights, but you need to:

  • πŸ–₯️ A computer with installed Xiaomi drivers and ADB (You can download from the official Android website).
  • πŸ“² Included debugging by USB on the phone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times press to unlock the developer mode, then additionally β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ USB-cable (preferably original).

Step-by-step:

  1. Connect the phone to the PC and confirm the debugging permission.
  2. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
  3. Enter the command to get the list of the latest notifications: adb shell dumpsys notification --noredact
  4. Find the Active Notifications or Notification Record box in the output, and there will be texts and metadata.

What to do if the team is not working?

  • πŸ”„ Try an alternative command: adb shell service call notification 3 (will display raw data that needs to be decoded through the service). HEX-editor).
  • πŸ“Œ Install. MIUI Unlock Tool (if the phone is locked for debugging).

Debugging is on. USB|Installed drivers Xiaomi on PC|ADB added to the environment variables (or the adb.exe folder is open in the terminal)|Phone unlocked (no screen locking)|USB-The cable supports data transfer (not just charging)-->

⚠️ Note: Dumpsys notification commands MIUI 15 may provide incomplete data due to privacy policy limitations. If the output does not contain the text of the notifications, try using adb shell su 0 dumpsys notification (requires root root).

5. Applications for notification recovery (with and without root)

If manual methods didn't work, you can use third-party utilities. We tested 7 applications on POCO X5 Pro and selected the 3 most effective ones:

No root rights:

  • πŸ“² Notification History Log (free, Google Play) - saves real-time notifications after installation.
  • πŸ” Notisave – automatically archives notifications to the cloud (supports Google Drive) Requires permission to access notifications (Settings) β†’ Special facilities β†’ Notisave).

With root rights:

  • πŸ› οΈ Root Notification Logger – Retrieves notifications directly from the Android database (/data/data/com.android.providers.telephony/databases/mmssms.db). It works even for deleted messages.

Warning: applications without root will log only after installation, and to restore notifications closed before installation, you will need to:

  1. Install the app.
  2. Wait for a new notification (it will be kept in the archive).
  3. Use ADB or root access to retrieve old data.

πŸ’‘

Applications without root rights will not restore notifications that were closed before they were installed; they only work as traps for new alerts.

6. Backup and prevention of loss of notifications

To avoid losing important alerts in the future, set up automatic backups. MIUI It's done through:

  1. Settings β†’ Xiaomi Account β†’ Mi Cloud β†’ Backup β†’ Enable Notifications.
  2. Settings β†’ System β†’ Backup and Reset β†’ Local backup (saves data to the phone).

Additional measures:

  • πŸ“Œ Enable notification fixing for critical applications: Settings β†’ Notifications β†’ Application settings β†’ Fix notifications.
  • πŸ”” Set up repeated notifications in messengers (for example, in Telegram: Settings) β†’ Notifications β†’ Repeat notifications).
  • πŸ“€ Use it. IFTTT Tasker for automatic forwarding of notifications to email.

Hidden MIUI function: If you have MIUI 13/14, you can enable advanced logging through a hidden menu.

  1. Open the dialer and type in: ##2664###
  2. Select Notification Log and activate the option.

⚠️ Attention: Code ##2664## It doesn't work on all devices. 11 It can be blocked, and it can be blocked. ADB-Adb shell settings put global notification_log 1

FAQ: Frequent Questions About Notification Recovery on Xiaomi

Can I return a notice closed a month ago?
No, standard MIUI tools store a history for a maximum of 30 days (usually 7). Recovering old data will require root and log analysis (/data/log/), but success is not guaranteed - Android periodically clears the cache.
Why is the notification log empty even though I have included it?
Probable causes: πŸ”„ The log is reset after the phone is restarted (typical for the MIUI 12). βš™οΈ Logging for specific applications is disabled (check in Settings) β†’ Notifications β†’ Application settings). πŸ“± You have custom firmware (like LineageOS) where the function is removed. Solution: try to turn on the log through ADB: adb shell settings put global notification_history_enabled 1
How to keep the notification forever?
There are 3 reliable ways: Take a screenshot of the notification (volume down + power buttons). Use apps like Notisave with cloud backup. Set up automatic email notifications via Tasker or IFTTT.
Does this work on the POCO F5?
Yes, POCO F5 (like other devices on MIUI) supports all of the described methods except: Code ##2664### - it can be disabled on POCO. Logs in the Security app - instead use the standard Notification Log.
Can I recover a notification from the system application (e.g. update)?
System notifications (from com.android.systemui, com.miui.update) are rarely saved in the log.Try: Check logs via ADB: adb shell logcat -d | grep "Notification" Use Root Explorer to search in /data/log/. Recovery chances: ~20% (depending on the time since deletion).