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:
- Launch the Security app (the shield icon).
- Go to Optimization β Notification History (on some devices, the path may differ: Tools β System Log).
- Select a period (such as βThe Last 24 Hoursβ) and find the alert you want.
Why doesnβt βSecurityβ have a notification history?
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:
| Annex | Where to look for notification | Limitations |
|---|---|---|
| Chats β Archive or Settings β Notifications β History | Only if the message is not deleted by the sender | |
| Telegram | Settings β Notifications β Alert History | Only the last 100 notifications are stored. |
| VKontakte | Notifications β Archive (web version or PC) | No archive in the mobile application |
| Gmail | All letters folder β Notification filter | Only 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.
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:
- Connect the phone to the PC and confirm the debugging permission.
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
- Enter the command to get the list of the latest notifications: adb shell dumpsys notification --noredact
- 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:
- Install the app.
- Wait for a new notification (it will be kept in the archive).
- 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:
- Settings β Xiaomi Account β Mi Cloud β Backup β Enable Notifications.
- 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.
- Open the dialer and type in: ##2664###
- 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