Where Xiaomi Stores Push Notifications: System Paths, Secure Browsing, and Cleanup Risks

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.

πŸ“Š How often do you clear notifications on Xiaomi?
Every day.
Once a week.
Only when memory ends
Never clean.

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 notificationThe path to filesAre 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:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Click on the three dots in the top right corner and select Special Access.
  3. 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

Done: 0 / 4
  1. Connect your phone to your PC via USB and confirm access for debugging.
  2. Open the command prompt (or Terminal on Mac/Linux) and go to the adb folder.
  3. 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.
  4. 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?
Make sure your phone is running File Transfer (MTP) mode, not Charging, and check if you have drivers installed for your Xiaomi model (e.g., the Redmi Note 10 and POCO X3 may require different drivers).

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:

  1. Cleaning the cache through Settings β†’ Memory.
  2. Remove unnecessary apps that generate a lot of notifications.
  3. 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

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Select an app (such as AliExpress or Wildberries).
  3. Click Notifications and turn off the Allow Notifications slider.

Method 2: Filtering notifications by importance

MIUI 12/13/14 has a notification priority function:

  1. Press the notification in the panel and select Settings.
  2. 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:

  1. Open Security β†’ Notifications Block.
  2. Enable the option to block notifications from unknown sources.
  3. 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:

  1. Go to β†’ Digital Wellbeing and Parental Controls.
  2. Select Sleep Mode or Focus.
  3. 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 disable

To get it back:

adb shell cmd notification allow_listener -p com.facebook.katana --op enable

A 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.

Frequent questions about push notifications on Xiaomi

Why don’t some apps notify you when they’re enabled?
This can be due to several reasons: πŸ”‹ Battery optimization: MIUI aggressively closes the background processes. Add the app to Settings β†’ Battery β†’ Battery Optimization β†’ All apps and disable optimization. πŸ“΅ Locking Mi Push: Some apps (especially Chinese) use Mi Push. If it is disabled, notifications won't come. 🌐 Internet problems: Notifications via FCM require a stable connection. Check if Google Play Services is working. Also try reinstalling the app or clearing its cache.
Can I restore deleted notifications?
If the notification was removed from the panel but not from the Notification Log, it can be returned: Enable the Notification Log (instruction above). Open Settings β†’ Notifications β†’ Notification Log. Find the desired notification and click on it - it will appear again in the panel. If the log is disabled or the notification is deleted long ago, it cannot be restored without a backup of the system files.
How to disable notifications from system applications (e.g. Mi Video or GetApps)?
Xiaomi system apps often send ads. To disable their notifications: Go to Settings β†’ Apps β†’ App Management. Find an app (like GetApps or Mi Video). Click Notifications and turn off all categories. If the option is blocked, use ADB: adb shell pm disable-user --user 0 com.xiaomi.mipicks This will completely disable the app (but may disrupt some MIUI features).
Why do notifications return after cleaning the cache?
This is because notifications are not only stored in cache, but also in persistent databases. When you clear the cache, only temporary files are deleted, and the notifications themselves remain in: /data/data/com.google.android.gms/databases/ (for FCM). /data/data/com.xiaomi.xmsf/files/push/ (for Mi Push). To completely remove the notifications, you either have to wait for the system to archive them itself, or use specialized tools (for example, SD Maid with root access).
Can I transfer notifications to another phone?
Technically, yes, but it requires root rights and manual copying of database files. However, in practice, this is meaningless, since: Notifications are tied to a unique device identifier (for example, Google Advertising ID or Mi Account ID). Many notifications contain timestamps and links that will become irrelevant on the new device. Transferring system notifications can cause conflicts with new data. It is much easier to synchronize application data (for example, chats on Telegram or WhatsApp) through the cloud.