Have you ever missed an important notification on Android and would like to restore it? By default, the system stores history Push notifications only a few seconds - after a swipe or click, they disappear without a trace. But there are ways to get them back! In this article we will look 5 working methodshow to view the archive of notifications on smartphones Samsung, Xiaomi, Google Pixel and other devices.
It is important to understand: not all notifications are saved equally. System alerts (such as low battery) may be stored longer than messages from Telegram or VK. Version Androidalso plays a role: starting from Android 11 Google has limited access to notification history through standard means. But there are workarounds - read on.
1. Built-in notification history in Android (up to version 10)
If your smartphone is running on Android 10 or older, you have a chance to find notifications directly in the system settings. This method does not require root access or third-party applications, but does not work on all firmware (for example, on MIUI from Xiaomi it is often removed).
To open the archive:
- Go to
Settings โ Applications and notifications โ Notifications. - In the upper right corner, click on the three dots (โฎ) and select
Notification history. - Turn on the switch if the function is disabled.
- View a list of recent notifications with time and sender application.
โ ๏ธ Attention: On Android 11+ this section may be missing. Manufacturers (for example, Samsung v One UI) often remove it from the interface, leaving only access through ADB.
If the item is not there, try an alternative way:
- ๐ In the settings search bar, enter "notification historyยป.
- ๐ฑ On some firmwares (for example, ColorOS from Oppo/Realme) the function is called "Notification logยป.
- ๐ If nothing not found, proceed to the next method.
2. Using applications to save notifications
Third-party utilities can automatically archive all notifications, even after they are deleted. The best of them:
| Application | Features | Requires root? | Link |
|---|---|---|---|
| Notification History Log | Saves text, time, application icon. There is search and filters. | โ No | Google Play |
| Notisave | Allows you to restore notifications even after a reboot. | โ No | Google Play |
| Unnotification | Works with Android 11+, but requires permission to access notifications. | โ No | GitHub (APK) |
| MacroDroid | You can set up automatic saving of notifications to a file. | โ No | Google Play |
How to set up Notification History Log:
- Install the application from Google Play.
- On first launch, grant permission to access notifications (go to settings and enable it manually).
- In the main application menu, enable the option โAutomatic savingยป.
- Now all new notifications will be archived. Old ones (before installation) cannot be restored.
โ ๏ธ Attention: Some applications (for example, banking) block the saving of their notifications for security reasons. In the log they will be displayed as โHidden notificationยป.
Install the application from the official source|Grant access to notifications in Android settings|Check data storage permissions|Disable battery optimization for the application-->
3. Viewing via ADB (for advanced users)
If you are ready to work with Android Debug Bridge (ADB), you can extract the notification history directly from the system. This method works even on Android 13, but requires a connection to a PC.
Instructions:
- Enable
USB debuggingin the developer settings (Settings โ About phone โ Build number- press 7 times, then return toSettings โ System โ For developers). - Connect your smartphone to the PC and confirm permission to debug.
- Open a command line (Windows) or terminal (macOS/Linux) and enter:
adb shell dumpsys notification --nolines
The output will show a complete list of active and recent notifications with timestamps and application IDs.
To save the log to a file:
adb shell dumpsys notification > notifications_log.txt
To filter notifications for a specific application (for example, WhatsApp):
adb shell dumpsys notification | grep "com.whatsapp"
How to read the notification log?
In the log, look for blocks with NotificationRecord. Key fields:
- pkg โ application package (for example, com.facebook.orca for Messenger).
- tickerText โ notification text.
- when โtime in milliseconds (convert using time converter).
4. Restoring notifications through the system log (Logcat)
System log (Logcat) contains records of all events, including notifications. This method is more complicated, but can help if other methods do not work.
Steps:
- Connect the phone to the PC and activate
ADB(as in the previous section). - Enter the command. to view the log in real time:
adb logcat -s "NotificationManager"
Or save the full log for the last hour:
adb logcat -d -t 3600 > logcat_notifications.txt
- Open the resulting file and look for lines with
enqueueNotificationorpostNotification.
An example of a notification entry in the log:
05-20 14:30:45.123 1234 5678 I NotificationManager: enqueueNotification: pkg=com.google.android.gm, id=123, tag=null, score=0
โ ๏ธ Attention: Logcat contains confidential data (for example, authorization tokens). Do not share it with outsiders and clear it after use with the command adb logcat -c.
5. data-i="137">Some brands add their own tools for working with notifications. Consider popular firmware:
Some brands are adding their own notification tools. Let's look at popular firmware:
Samsung One UI
On devices Samsung (for example, Galaxy S23 or A54) the notification history is hidden, but it can be enabled via Good Lock:
- Install the module Nice Catch from Galaxy Store.
- Open it and activate the option โNotification logยป.
- Now swiped notifications will be saved for 24 hours.
Xiaomi MIUI
On Redmi or POCO notification history is called "Security Logยป:
- Go to
Settings โ Memory โ Log security. - Select the "Notifications tabยป.
- The last 500 notifications are displayed here (configurable in the log settings).
Huawei EMUI
On Huawei i Honor The function is called "Manage notificationsยป:
- Open
Settings โ Notifications โ Notification history. - Enable the function if it is disabled.
- Use filters by time and applications.
On Xiaomi the notification log can be exported to a file .txt via the "Export" menu in the security log settings.
6. synchronization
If notifications come from applications with cloud synchronization (for example, Gmail or Slack), they can be restored through the web version of the service:
- ๐ง For Gmail: open mail in the browser and check the folder "Notifications" (if enabled in settings).
- ๐ฌ For Telegram: all messages (including notifications about new chats) are stored in the cloud. Just open the application on another device.
- ๐ฑ For WhatsApp: if backup to Google Driveis enabled, restore chats when reinstalling.
You can also use automatic backup via Google One or Samsung Cloud:
- Go to
Settings โ Google โ Backup. - Make sure the โBackup application data" option is enabled.
- After the reset or on a new device, restore the data from the backup.
โ ๏ธ Attention: Notification backups are not created for all applications. For example, Viber and Signal encrypt notifications and do not save them in the cloud.
Common problems and their solutions
Not all methods work equally well. Here are typical difficulties and ways to get around them:
| Problem | Possible cause | Solution |
|---|---|---|
| There is no โNotification historyโ in the settings | The manufacturer removed the function or updated Android to 11+ | Use ADB or third-party applications |
| The application does not save notifications | There is no permission to access notifications | Go to Settings โ Applications โ Permissions โ Access to notifications and turn it on |
ADB does not show notifications |
Security restrictions in new versions of Android | Try adb shell dumpsys notification --proto for enhanced output |
| Notifications are displayed as โHiddenโ | The application blocks saving (for example, banking applications) | Nothing can be done - this is a security limitation |
If none of the methods worked, check:
- ๐ Whether the application is optimized to save battery (this may block notifications from being saved).
- ๐ต Whether notifications for a specific application are disabled in the settings.
- ๐ Have your phone settings been reset since the last one? notifications.
Starting from Android 12Google has tightened its privacy policy, and many methods (for example, reading notifications through AccessibilityService) have stopped working. Use the official firmware tools or ADB.
FAQ: Answers to frequently asked questions
Is it possible to restore notifications that came a month ago?
No, if you did not use third-party applications for archiving. The standard notification history in Android stores data for no longer than 24 hours (depending on the firmware). For long-term storage, set up Notification History Log or similar utilities in advance.
Why are some notifications not saved in the log?
It depends on the application. Messengers (for example WhatsApp) and banking applications often block the saving of notifications for security reasons. Also check if access to notifications for the archiving application is disabled in the settings.
Does ADB work on non-rooted devices?
Yes, ADB does not require root access to read notification history. However, some commands may return incomplete data due to privacy restrictions. Advanced access may require Android 11+ Some commands may return incomplete data due to privacy restrictions. Advanced access may require unlocking the bootloader.
How to export notification history to a file?
If you are using Notification History Log, open the application, click on the three dots (โฎ) and select "Export". The data will be saved in .csv or .txt. To ADB redirect the output to a file:
adb shell dumpsys notification > notifications.txt
Is it possible to restore notifications after resetting the phone?
Only if they were synchronized with the cloud (for example, notifications from Gmail or Telegram). Local notification history is erased upon reset. If you had backup enabled via Google Drive, try restoring application data after the reset.