How to Remove MSA and Analytics on Xiaomi: 5 Ways to Remove the Site

Xiaomi smartphones collect vast amounts of user data through its built-in MSA (Mi Security Center) and Analytics services, which are responsible for analytics of usage, sending error reports, and even scanning installed applications. Although the company claims that the data is anonymized, many users prefer to disable these features for privacy or battery saving.

The problem is that standard MIUI settings allow you to only suspend these services, but not remove them completely. The next system update or reset MSA and Analytics are activated again. In this guide, we will discuss 5 working methods - from simple to radical, including unrooted and through ADB. All instructions are relevant for MIUI 14/15 and models from Redmi Note 10 to Xiaomi 14 Ultra.

What are MSA and Analytics in Xiaomi and why should they be removed?

MSA (Mi Security Center) is a system application that scans a device for viruses, checks the installed APKs for security, and sends data to Xiaomi servers. In theory, this is useful, but in practice:

  • πŸ”‹ Battery consumption: MSA It is constantly working in the background, consuming up to 5-7% day-load.
  • πŸ“‘ Traffic: Sends data packets even when Wi-Fi is disabled (via mobile network).
  • πŸ‘οΈ Privacy: Collects information about installed applications, geolocation, and even browser history.

Analytics (or com.miui.analytics) is responsible for collecting device usage statistics: what features you run, how often you open apps, what settings you change, which data is supposedly needed to improve MIUI, but:

  • πŸ“Š Unnecessary load: Slows down the system on budget models (Redmi) 9A, Poco M3).
  • πŸ”„ Auto-Recovery: After Updating MIUI The service is activated again, even if you have disabled it.
  • 🚫 Inability to completely delete: In the standard settings there is no option to "Delete", only "Disable".

According to independent tests (e.g. from XDA Developers), after deleting the MSA and Analytics:

  • ⚑ Autonomy increases by 10-15% (by reducing background activity).
  • πŸ›‘οΈ Privacy improves – data about your activities stops being sent.
  • πŸ“‰ CPU heat is reduced, especially on weak chipsets (Snapdragon) 4xx, Helio Gxx).

⚠️ Attention: Removal MSA disable the built-in antivirus and check applications for malicious code. Install an alternative (such as Malwarebytes or Bitdefender) before deactivating.

Method 1: Disconnect via standard MIUI settings (without root)

It's the simplest method, but it doesn't remove services, it just suspends them, and it's suitable for users who don't want to risk the stability of the system.

Instructions:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Click on the three dots in the top right corner and select Show All Apps.
  3. In the search box, enter MSA (or Mi Security Center).
  4. Select the app and click Disable β†’ OK.
  5. Repeat the steps for Analytics (see com.miui.analytics).

After the shutdown:

  • πŸ”„ The service will not work, but will remain in the system.
  • πŸ”„ After updating MIUI They can re-activate.
  • πŸ”„ Some features (such as Security in Settings) will become unavailable.

Absence of process `com.miui.analytics` task manager

No notifications from MIUI Security

Checking traffic through `Settings β†’ SIM-maps and mobile networks β†’ Traffic.`

Autonomy test (battery discharge in 1 hour in simple)-->

If you notice that the device is slower after the shutdown, try restarting the smartphone. In rare cases, the background MIUI processes conflict with suspended services.

Method 2: Remove via ADB (without root but with PC)

This method allows you to completely remove MSA and Analytics without getting superuser rights. You will need a computer with ADB drivers installed and USB debugging enabled on your smartphone.

Step-by-step:

  1. Activate Developer Mode: Go to Settings β†’ About Phone. Click 7 times on the MIUI Version until the notification "You've become a developer" appears.

USB debugging

  • Back to Settings β†’ Additionally. β†’ For developers.
  • Activate the debugging switch over USB.
  • Connect the phone to the PC and confirm the debugging permission.
  • Open the command line (Windows) or terminal (macOS/Linux) and type:
adb devices

(Your device should be displayed. If not, install the Xiaomi ADB/Fastboot Tools drivers.)

adb shell


pm uninstall --user 0 com.miui.analytics




pm uninstall --user 0 com.miui.msa.global

If the team doesn’t work, try an alternative:

adb shell pm disable-user --user 0 com.miui.analytics


adb shell pm disable-user --user 0 com.miui.msa.global

Important: Once these commands are executed, the services will be deleted only for the current user (not from the system completely), which means that they will not be able to update or run, but their files will remain in the device's memory.

What to do if ADB issues a "Device Unauthorized" error
1. The phone will have a request for debugging permission - confirm it. 2. If the request does not appear, reconnect. USB-cable (try another port). 3. In the developer settings, turn off and turn on "Debugging by" again. USB". 4.Reboot the phone and PC.

ADB Team TeamAction.The result
pm uninstall --user 0Remove the application for the current userThe service disappears from the list of applications, but remains in the system
pm disable-userDisable the application without deletingThe service is not working, but may recover after the update
pm hideHiding the application from the system (requires root)Complete removal without possibility of recovery

⚠️ Note: On some firmware (for example, MIUI EU) team ADB In this case, try the method with Shizuku (described below) or get root.

Method 3: Use Shizuku + App Manager (without root)

If ADB didn't work, or you want more flexibility, you can use the Shizuku app with the App Manager, which doesn't require superuser rights, but it does offer almost the same features.

Instructions:

  1. Download and install: Shizuku (from the official website). App Manager (from Google Play).

Shizuku

  • Press Start via ADB.
  • Enter the command on PC: adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh.
  • Open App Manager, search com.miui.analytics and com.miui.msa.global.
  • Select Uninstall for user (or Disable if uninstallable).

Advantages of this method:

  • πŸ”§ More control over system applications.
  • πŸ”„ You can return the service if something goes wrong.
  • πŸ“± It works on most of the firmware, including MIUI Global and EU.

Disadvantages:

  • ⚠️ It requires initial adjustment through ADB.
  • ⏳ Shizuku's connection process may take 5-10 minute.

Disconnected through MIUI settings

Used ADB.

Apply Shizuku + App Manager

Get rooted and removed completely

I haven't tried it yet.-->

Method 4: Complete removal with Magisk (root required)

If you're ready to get superuser rights, this is the most radical and effective way, and it removes MSA and Analytics completely from the system, freeing up space and preventing them from being restored.

What you need:

  • πŸ“± Smartphone with unlocked bootloader (bootloader).
  • πŸ”§ Installed by Magisk (or other root manager).
  • πŸ’» Firmware computer (if root is not already received).

Steps:

  1. Get root rights: Unlock bootloader through the official Xiaomi tool. Sweep Magisk through TWRP or Fastboot.

Root Explorer

/system/priv-app/

/system/app/

  • MiuiAnalytics
  • MSA (or MiuiMsaGlobal)
  • Reset the device.

⚠️ Attention: Removing system applications through root can lead to bootloop if you remove critical components.Always do backup through TWRP change!

πŸ’‘

Before removing it through root, back up /system/priv-app/ and /system/app/ folders. This will help restore the system if something goes wrong.

Method 5: Firmware custom MIUI without MSA (for experienced)

The most drastic way is to install a modified firmware that has already removed unnecessary services, which is suitable for users who want to not only get rid of MSA, but also get additional features.

Firmware without MSA/Analytics:

  • 🌍 MIUI EU (Europaean – official firmware without Chinese services.
  • πŸ› οΈ MIUI Mix - modified version with remote Blaatware.
  • πŸ”§ LineageOS or Pixel Experience – custom firmware based AOSP (completely MIUI).