Have you ever wondered where your Xiaomi, Redmi, or POCO physically store the very push notifications that pop up on the screen? Those very messages from VK, Telegram, banking apps, or gaming services that sometimes accumulate in the dozens, taking up space in memory and annoying with constant beeps. It turns out that these notifications have a very specific βresidenceβ in the Android file system β and it is not always obvious to the average user.
In this article, we will not just list the paths to notification folders (although that will be), but also understand how this data is structured, why it should not be deleted manually without understanding the consequences, and what tools will help to safely manage accumulated fluffs. Special attention will be paid to MIUI, the Xiaomi brand shell that often hides system files from prying eyes. If you have ever tried to find these notifications through standard Explorer and failed, you are not alone. Even experienced users are sometimes surprised how deeply this data is hidden.
Letβs warn you right away: working with system notification files requires caution. One wrong action can lead to app failure, loss of important messages, or even the βdropβ of Google services. But if you act carefully, you can not only make room, but also better understand how the alert system in Android works, as in Xiaomi devices.
How to set up the system of push notifications in MIUI
Before digging into the files, itβs worth figuring out how push notifications on Xiaomi smartphones work in general. Unlike regular SMS or emails that are stored in the applicationβs database, pushis are system messages that go through several layers of processing:
- π± Application layer: Each application (such as WhatsApp or SberBank Online) sends a request to a push notification server (usually Googleβs Firebase Cloud Messaging or Xiaomiβs Mi Push).
- βοΈ Server layer: The server checks if your device is active and sends a notification over the Internet, and this is where the data is encrypted.
- π€ Android Layer: The system receives the notification and stores it in temporary storage, then transmits it to the Notification Center.
- π Storage level: This is where the fun starts. Notifications can be stored in multiple places, from the SQLite database to binary files in system folders.
One thing about MIUI is that, in addition to the standard FCM (Firebase Cloud Messaging) mechanism, Xiaomi uses its own Mi Push service, which means that notifications can be duplicated or stored in different formats. For example, a message from VK can be located both in the Google Play Services database and in the Mi Push Service folders, which is why you canβt just βcleanβ all notifications β you need to search for them in several places.
Another nuance: MIUI aggressively caches notifications even if you've already read them, so you can revisit them later through the Notification Log (if enabled), but the flip side is the accumulation of debris, which can take up tens of megabytes over time.
Where Push Notifications Are Physically Stored: Paths to Files
Now, to the most important thing, where exactly are the notification files on Xiaomi smartphones, and note that some of the pathways require root rights or ADB access, because they are in secure areas of the system.
| Type of notification | The path to files | Are root rights required? | Storage format |
|---|---|---|---|
| Standard Notifications (FCM) | /data/data/com.google.android.gms/app_notification/ | Yes. | Binary files + SQLite |
| Notifications Mi Push | /data/data/com.xiaomi.xmsf/ (push folder) | Yes. | JSON + buffer protocols |
| Notification log (MIUI) | /data/system/notification/ | Yes. | XML + binary cache |
| Cache of app notifications | /data/data/[package_name]/files/notification/ | No (for their applications only) | Depends on the app. |
| System Logs of Notifications | /data/log/notification_log/ | Yes. | Text logs |
The most βheavyβ notifications are usually stored in the folders Google Play Services (com.google.android.gms) and Mi Push Service (com.xiaomi.xmsf). For example, if you notice that Telegram or VK constantly send notifications, even when you disabled them, most likely the cache in these folders is to blame, but manually deleting files from here is strongly discouraged, as this can lead to a malfunction of Google or MIUI services.
A safer way is to use built-in cleaning tools, like MIUI, which has a hidden Notification Log feature that allows you to view all the puss you've received in recent days, to enable it:
- Open Settings β Applications β Application Management.
- Click on the three dots in the top right corner and select Special Access.
- Find the Notification Log item and turn it on.
After that, you can see all notifications, even those that have been removed from the panel. However, this log only stores data for a limited time (usually 7 days), and it does not show system notifications (for example, from MIUI or Google Play).
π‘
If you need to free up space, first try clearing the app cache through Settings β Memory β Cleanup.This will delete temporary notification files without risk to the system.
How to view notifications without root: ADB and hidden menus
If you donβt have root rights, but want to see what notifications are accumulated in the system, you can use the Android debugging bridge (ADB).This method does not require unlocking the bootloader, but will require enabling Developer Mode and USB Debugging.
Here is a step-by-step guide to getting a list of the latest notifications:
βοΈ Preparation for work with ADB
- Connect your phone to your PC via USB and confirm access for debugging.
- Open the command prompt (or Terminal on Mac/Linux) and go to the adb folder.
- Enter the command to get a list of recent notifications: adb shell dumpsys notification --nolines This command will output a full log of notifications, including system notifications.
- To save the log to the file, use: adb shell dumpsys notification > notifications_log.txt
In the resulting file, you will see structured data in the format:
NotificationRecord{
pkg=com.whatsapp
id=12345
notification=Notification(
pri=0 contentView=null vibrate=null sound=null
defaults=0x0 flags=0x10 color=0x00000000
vis=PUBLIC
)
overrideGroupKey=true
postTime=1681234567890
}Here:
- pkg is an application package (e.g. com.whatsapp for WhatsApp).
- id is a unique notification identifier.
- PostTime is the time of receipt in milliseconds (can be converted to a normal date here).
This method allows you to see all active notifications, including those that are not displayed in the panel, but it does not show deleted or read fluffs, it requires access to system files.
What if the ADB canβt see the device?
The dangers of manually cleaning notifications: what could go wrong
Many users, when they find notification folders, decide to manually delete them to free up space, which is one of the most common errors that can lead to:
β οΈ Warning: Deleting files from /data/data/com.google.android.gms/ or /data/data/com.xiaomi.xmsf/ without a backup will cause Google Play Services or Mi Account to crash, at best you'll have to restart your phone, at worst you'll have to reflash it through Fastboot.
Here are the problems that can arise:
- π¨ Loss of communication with Google servers: If you delete files from com.google.android.gms, Play Market, Gmail, YouTube and other services will stop working, you will have to reset your settings or reinstall your firmware.
- π΅ No notifications from banks and instant messengers: Mi Push is responsible for delivering notifications from many Chinese and Russian apps.Its damage can cause you to stop receiving SMS from banks or alerts from AliExpress.
- π Looped reboot MIUI: Some system notifications (e.g. from com.miui.home) are critical to the shell operation. Deleting them can cause a bootloop (endless reboot).
- π± Reset notification settings: Not only do the notifications themselves, but the notification settings (sound, vibration, priority) are stored in the folders, and once cleaned, you'll have to reconfigure everything.
If you still need to make room, use safe methods:
- Cleaning the cache through Settings β Memory.
- Remove unnecessary apps that generate a lot of notifications.
- Use applications like SD Maid (only for cache cleaners, not system files!)
If you do decide to take the risk of cleaning your system folders, make sure to back up via TWRP or Mi Flash Tool. But remember, even a backup doesn't always save you from losing data if you delete critical files.
π‘
Never delete files with the.db,.wal or.shm extension in notification folders β these are SQLite databases, which will cause applications to crash.
How to Disable Unnecessary Notifications Without Deleting Files
Instead of digging into system files, you can simply turn off spam sources. MIUI has several ways to manage system and application-level notifications.
Method 1: Globally disabling notifications for an application
- Go to Settings β Applications β Application Management.
- Select an app (such as AliExpress or Wildberries).
- Click Notifications and turn off the Allow Notifications slider.
Method 2: Filtering notifications by importance
MIUI 12/13/14 has a notification priority function:
- Press the notification in the panel and select Settings.
- Prioritize Low β these notifications will not appear on the lock screen and will not make a sound.
Method 3: Blocking Spam Through Security
MIUI has a built-in spam blocker:
- Open Security β Notifications Block.
- Enable the option to block notifications from unknown sources.
- Blacklist apps that send ads (such as APKPure or UC Browser).
Method 4: Using Digital Wellbeing
If you want to limit notifications at a certain time:
- Go to β Digital Wellbeing and Parental Controls.
- Select Sleep Mode or Focus.
- Set a schedule when notifications will be disabled (for example, from 23:00 to 8:00).
These methods reduce the notification flow without risk to the system, and if you want to get rid of spam completely, consider disabling Mi Push (but this may affect the performance of some Chinese applications).
Alternative ways to manage notifications
If standard methods don't work, you can use third-party tools, but beware: many notification management apps require special permissions or even root rights.
Notification management applications:
- π² Notification History Log β allows you to view notification history without root (but requires you to include Notification Log in your settings).
ADB commands for managing notifications:
With ADB, you can not only view, but also block notifications from certain apps, for example, to turn off notifications from Facebook:
adb shell cmd notification allow_listener -p com.facebook.katana --op disableTo get it back:
adb shell cmd notification allow_listener -p com.facebook.katana --op enableA more radical way is to disable Mi Push completely (but this can disrupt some system functions):
adb shell pm disable-user --user 0 com.xiaomi.xmsfβ οΈ Warning: Disabling com.xiaomi.xmsf will result in the termination of Mi Account, Xiaomi Cloud and some system notifications. Use this method only if you are prepared for the consequences.
If you are not sure about your actions, it is better to limit yourself to standard MIUI settings or use applications without root access.