Have you ever missed an important message in a messenger or a notification from a bank and then couldnβt remember what it was? POCO) There's a hidden feature called the notification log, which stores the history of all alerts, even if you accidentally swiped them. MIUI The path to it may differ, and on some models the function is disabled by default.
In this article, we will discuss all ways to access the notification log on Xiaomi devices, including hidden settings for the user. MIUI 12, 13, and 14. You will learn how to turn on the notification log when it is disabled, restore deleted alerts, and solve typical problems (for example, when the log is empty or does not save history). ADB.
Important: Notification log function doesn't work on all firmware. ROM, Some options may not be available β in this case, you will need to manually activate through the engineering menu or install a patch from Xiaomi.eu.
What is Xiaomi Notification Log and Why You Need It
Notification Log is a system tool that records all alerts that arrive on your smartphone. Unlike the standard notification center, where messages disappear after being swiped, the log stores them for 7-30 days (depending on the model and settings), This is useful in several cases:
- π± You accidentally deleted an important notification (such as a confirmation code or reminder) and want to restore it.
- π You need to track which apps have sent alerts in your absence (for example, to monitor the activity of children or employees).
- π οΈ Diagnosing problems: If the application does not show notifications, the log will help you understand whether they reach the system.
- π Spam Analysis: You can identify which apps are abusing alerts and disable them.
Xiaomi notification log is implemented differently depending on the version MIUI:
- π± MIUI 12/13 (some versions MIUI 14): The function is available through the hidden settings menu β Special facilities β Notification log.
- π± MIUI 14 (Global ROM): Often not available in the standard interface, activation is required through ADB third-party.
- π± POCO Launcher and HyperOS: The path may be different, sometimes the log is integrated into the control center.
Note: on some models (e.g. Xiaomi) 12T Or Redmi Note 11, the notification log is disabled by default because of the privacy policy, and you'll have to manually activate it, see the next section.
How to turn on Xiaomi notification log (if it is disabled)
If you don't find the log section in the settings, it's probably deactivated, and you can turn it on in two ways: through hidden settings, or by using the log section. ADB-Let's look at both options.
Method 1: Through special facilities (for the purpose of MIUI 12/13)
This method works on most Xiaomi and Redmi smartphones with firmware before MIUI 14 (except some global versions). Follow the instructions:
- Open the Settings. β Special facilities.
- Scroll down and find the System Settings section (some models call it Additional).
- Slip on the item Notification Log (or Notification Log in English firmware).
- Activate the switch in the upper right corner.
If the Notification Log item is not on the menu, try an alternative path:
Settings β Applications β Application Management β Three dots (menu) β Special Access β Notification LogCheck the MIUI version in the settings
Update the firmware to the latest version
Make a backup copy of the data (in case of failure)
Connect your smartphone to Wi-Fi (for example) ADB-method)-->
Method 2: Through ADB (for MIUI 14 and Global ROM)
Newer versions of the firmware (especially Global) ROM) The notification log is often hidden, and it takes a computer and a utility to activate it. ADB. Instructions:
- Download and install Googleβs Platform Tools.
- Turn on USB Debugging on your smartphone: Settings β About Phone β MIUI Version (stick 7 times to become a developer) β Go back to Settings β Additional β For Developers β Enable Debugging.
- Connect your phone to your PC and type in the command line: adb shell settings put global notification_log_enabled 1
- Reset the device.
After that, the notification log will appear in Settings. β If the team didn't work, try the alternative:
adb shell am start -n com.android.settings/.notificationlog.NotificationLogSettingsπ‘
If ADB does not recognize the device, install Xiaomi USB Driver drivers and check the connection in File Transfer (MTP) mode.
Where to find notification log on Xiaomi: step-by-step instructions
Once the log is activated, you have to find it in the interface. MIUI And the smartphone models. Below are the actual ways for different firmwares.
MIUI 12 and MIUI 13
On these versions, the notification log is usually available through:
- Open the Settings. β Special facilities.
- Scroll down to System Settings (or Additional).
- Select the Notification Log.
- Turn on the function (if it is disabled) and tap on View the log.
In the log, you'll see a list of all the notifications, grouped by application. To find a specific alert, use a search (the magnifier icon in the upper right corner).
MIUI 14 and HyperOS
On new firmware, the path may differ:
- π± Option 1: Settings β Annexes β Application management β Three points. β Special access β Notification log.
- π± Option 2: via the widget on the desktop (long press) β Widgets β Tools β Notification log).
- π± Option 3: if the journal is activated through ADB, It will appear in Settings. β Special facilities β System settings.
Nana POCO-In HyperOS devices, the log can be integrated into the control center. Swipe down from the top of the screen and tap the gear icon (Notification Settings), then select Notification History.
What do I do if the magazine is empty?
How to Restore Deleted Notifications on Xiaomi
If you swiped the notification before you turned on the log, the chances of recovery depend on several factors: MIUI, backups and applications available. Let's look at all the methods available.
Method 1: Through the system log (if included)
If the notification log was activated before the notification was deleted, it can be restored as follows:
- Open the notification log (see instructions above).
- Use a date or application filter to find the notification you need.
- Then, put it in the full text, and it will open.
Please note: in MIUI 14, only the notification header and the application name are saved by default. To save the full text, you need to enable an extended log through ADB:
adb shell settings put global notification_log_include_content 1Method 2: Using a backup of MIUI
If you regularly create backups through Settings β Additionally. β Backup, you can try to recover notifications from the archive:
- Open Backup and select the latest copy.
- Click Restore and tick Notices (or System Data).
- Confirm the recovery and restart the device.
The downside of the method is that all notifications for the selected period are restored, rather than a specific message, and a backup must be created before the alert is deleted.
Method 3: Third-party annexes
If the system log doesn't work, you can use third-party utilities.
- π² Notification History Log (requires root or ADB): Maintains a complete notification history, including text and metadata.
- π² Notisave: Works without root, but requires special permissions (access via ADB Shizuku).
- π² MacroDroid: Can automatically save notifications to a file or send them to an email.
Example of Notisave settings:
- Install the app from Google Play.
- Connect to your PC and execute the command: adb shell pm grant com.uberspot.notisave android.permission.READ_NOTIFICATION_LOG
- Restart your smartphone and open Notisave β notification history will start to be saved automatically.
π‘
Third-party applications to save notifications require special permissions. ADB or root, they won't be able to read the system log.
Table: Notification log compatibility with Xiaomi models
Not all Xiaomi smartphones support notification logs out of the box. In the table below, we have compatibility data for popular models and versions. MIUI.
| Model | MIUI version | Default notification log | Required. ADB activate | Notes |
|---|---|---|---|---|
| Xiaomi 13/13 Pro | MIUI 14 / HyperOS | β No. | β Yes. | On Global ROM absent in Chinese ROM β available through hidden settings. |
| Redmi Note 12 Pro+ | MIUI 14 | β Yes. | β No. | Path: Settings β Special facilities β System settings. |
| POCO F5 | MIUI 14 (Global) | β No. | β Yes. | Adb shell settings put global settings notification_log_enabled 1. |
| Xiaomi 12T | MIUI 13 | β Yes. | β No. | The log is available, but does not save the text of notifications without additional settings. |
| Redmi 10C | MIUI 12.5 | β Yes. | β No. | A complete history with the text of the notifications. |
If your model is not in the table, check the version. MIUI In Settings β The phone, the firmware older. MIUI 12 Notification logs are usually available without further manipulation.
Typical problems and their solutions
When working with the notification log on Xiaomi, users encounter several typical errors, and let's analyze the most common and ways to fix them.
Problem 1: The notification log does not save history
If the log is included but does not record new notifications, the reasons may be as follows:
- π§ Battery limitations: MIUI It can block the background activity of the log. Solution: Settings β Battery β Optimizing the battery β Find the Notification Log and select Without Limits.
- π§ Memory Lack: If the device has less than 1GB of free space, the system can clear the log automatically.
- π§ Resetting settings: after updating MIUI The log settings may reset. Reactivate it through ADB.
Problem 2: The log only shows the headlines of the notifications
By default. MIUI 14 stores only metadata (application name, time), but not the notification text:
- Connect your smartphone to your PC and execute the command: adb shell settings put global notification_log_include_content 1
- Reset the device.
After that, the magazine will start to save the full text of the alerts. Please note that on some models (for example, Xiaomi 13 Ultra), this feature may not work due to manufacturer restrictions.
Problem 3: Notification log disappears after update MIUI
After updating the firmware, the journal section may disappear.
- π Resetting settings: go to Settings β Annexes β Application management β Notification log and clear cache/data.
- π Re-activation through ADB: adb shell settings put global notification_log_enabled 1
- π Installation of the patch: on forums XDA Developers have modified Magisk modules that restore the journal to new versions. MIUI.
π‘
After the update MIUI Not only are notifications missing, but other features (such as themes or gestures) are missing, try resetting to factory settings!
Alternative ways to save notifications
If your Xiaomi notification log is not working or missing, alternative methods can be used, and they are suitable for users who need to keep their alert history for a long time.
Method 1: Automatically save to a file
MacroDroid allows you to automate saving notifications to a text file.
- Install MacroDroid from Google Play.
- Create a new macro team: Trigger β Notice received.
- Add an action: File β Write it in a file.
- Specify a path for conservation (e.g, /sdcard/Notifications/log.txt) text-pattern: [APP_NAME] [TIME]: [TITLE] - [TEXT]
- Save the macro and activate it.
All notifications will be automatically written to log.txt, which can be opened by any text editor.
Method 2: Send notifications to email
Service IFTTT (Or Zapier, which allows you to forward notifications to email:
- Register for IFTTT.
- Create a new applet with an Android Device trigger β Notification received.
- As an action, select Email. β Send me an email.
- Configure filters (for example, only for certain applications).
The disadvantage of the method: requires a constant connection to the Internet and can delay alerts for 5-10 minutes.
Method 3: Backup through ADB
If you often lose important notifications, you can set up automatic log backup via ADB. For that:
- Connect your smartphone to your PC and execute the command to export the log: adb shell dumpsys notification --log > notifications.txt
- Save the notifications.txt file on your computer.
- To automate the process, create a script (e.g., in Python) with a task scheduler (cron on Linux or Tasks on Windows).
This method is suitable for advanced users, as it requires knowledge of the command line.