How to permanently remove MSA and Analytics on Xiaomi: 5 proven ways

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

If you own a Xiaomi smartphone, you’ve probably encountered the mysterious MSA (Mi Security Center) and Analytics processes in Task Manager, which are constantly running in the background, consuming battery power, Internet traffic, and sending data to the company’s servers, essentially built-in β€œspies” that collect information about your device, applications, and even location β€” ostensibly to β€œimprove the user experience.”

The problem is that you can’t disable them through standard MIUI settings: even after you manually complete the processes, they automatically restart. Moreover, with each update, Xiaomi complicates the protection mechanisms for these services, making them more laborious to remove. In this article, we’ll discuss 5 working ways – from simple to radical – that will help get rid of MSA and Analytics forever, including methods without root rights.

Before you start, it is important to understand that removing system components always carries risks. At best, you will lose access to certain functions (for example, to the Mi Cloud cloud), at worst, you will get a brick. So make sure to back up your data and prepare for a possible reset.

πŸ“Š You've already tried to delete MSA/Analytics on the Xiaomi?
Yes, but without success.
Yeah, it was partly.
No, just planning.
I don't know what that is.

Method 1: Disconnect via ADB (without root)

The safest method, which does not require unlocking the bootloader or superuser rights, is suitable for most models on the Internet. MIUI 12–14, including the Redmi Note 10/11/12, Poco X3/X4/X5 and flagship Xiaomi 12/13/14. The main thing is to disable unnecessary services through ADB (Android Debug Bridge, built-in debugging tool.

You'll need:

  • πŸ–₯️ Computer with installed Xiaomi and Platform Tools drivers (download from Google website).
  • πŸ“± Smartphone with enabled debugging USB (Settings β†’ The phone. β†’ Version. MIUI β†’ 7 times to tap the version, then return to the β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ Cable USB (preferably original).

Instructions:

  1. Connect the phone to the PC and confirm the debugging permission on the smartphone screen.
  2. Open the command prompt (cmd) in the folder with the platform-tools and type:
adb devices

Make sure your device is listed. Then follow the instructions one by one:

adb shell pm uninstall -k --user 0 com.miui.analytics


adb shell pm uninstall -k --user 0 com.miui.msa.global




adb shell pm disable-user --user 0 com.xiaomi.joyose




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

Download Platform Tools|Enable debugging on USB|Connect the phone to the PC|Check the visibility of the device in ADB|Make a data backup-->

⚠️ Note: After the reboot, some services may be activated again:

adb shell cmd package compile -m speed -f com.miui.analytics


adb shell cmd package compile -m speed -f com.miui.msa.global

These commands β€œfreeze” applications, preventing them from spontaneously running.

Method 2: Using Xiaomi ADB/Fastboot Tools

If manual command entry seems difficult, use Xiaomi utility ADB/Fastboot Tools -- it automates the process and offers a user-friendly graphical interface. 200 model Xiaomi/Redmi/Poco And it doesn't just shut down. MSA/Analytics, other systemic β€œparasites” (e.g. advertising in the MIUI).

Download the utility from the official GitHub repository and follow the instructions:

  1. Unpack the archive and launch XiaomiADBFastbootTools.exe.
  2. Connect your phone to your PC in Fastboot mode (clip Volume Down + Power when the device is off).
  3. In the program, select the Debloat item β†’ Remove Analytics/MSA.
  4. Confirm the action and wait for the process to be completed.
What to do if the utility does not see the device?
Make sure that Xiaomi drivers are installed correctly (use the Mi Flash Tool to install them). USB-If the problem persists, restart your PC and phone, then reconnect in Fastboot mode (some models need to keep Volume up). + Nutrition).

The advantage of this method is that it allows you to selectively remove components, for example, you can leave com.xiaomi.finddevice (device search) but delete com.miui.daemon (background data collection).

Package nameAppointmentCan I remove it?
com.miui.analyticsCollection of usage statisticsβœ… Yes.
com.miui.msa.globalMSA (Mi Security Center)βœ… Yes.
com.xiaomi.joyoseAnalytics for Xiaomi servicesβœ… Yes.
com.miui.systemAdSolutionAdvertising servicesβœ… Yes.
com.xiaomi.finddeviceDevice Search (Mi Cloud)❌ Not if you use it)

Method 3: Manual removal via TWRP (requires unlocking the bootloader)

If you're willing to take drastic measures, the most reliable way is to delete system files through custom recovery TWRP. This method requires an unlocked bootloader, which voids the warranty and can lead to data loss, but it is guaranteed to delete MSA/Analytics forever, even after MIUI updates.

Step-by-step:

  1. Unlock the bootloader through the Mi Unlock Tool (requires a Mi Account and wait 7-15 days).
  2. Install TWRP for your model (instructions are available on the project website).
  3. Boot to TWRP (hold Volume Up + Power when turned on).
  4. Go to Advanced β†’ File Manager and delete the following folders:
/system/priv-app/Analytics


/system/priv-app/MSA




/system/app/Joyose

If there are no folders, check the paths:

/system/system/priv-app/Analytics


/system_ext/priv-app/MSA

πŸ’‘

Before deleting files in TWRP, backup the system partition (only select System in the Backup menu) and restore the device if something goes wrong.

⚠️ Note: Some models (e.g. Xiaomi) 12T or Redmi K50) System files are protected by dm-verity. Once deleted, you'll have to disable the Magisk check:

  1. Install Magisk.
  2. In the modules, activate Universal SafetyNet Fix and Disable DM-Verity.

Method 4: Blocking through hosts file (for advanced)

If you can delete system files, you can block MSA and Analytics from accessing Xiaomi servers, and you need to edit the hosts file, which is responsible for redirecting domain names, and this method works without root, but requires writing rights to the system partition (for example, through ADB or Magisk).

List of domains to block:

  • 🌐 sdkconfig.ad.xiaomi.com – advertising services
  • 🌐 data.mistat.xiaomi.com – statistics collection
  • 🌐 api.brs.intl.miui.com β€” MSA
  • 🌐 api.ad.xiaomi.com - analytics
  • 🌐 sdkconfig.ad.intl.xiaomi.com – international advertising

Instructions:

  1. Download the hosts file from GitHub (select the version with tracker lock).
  2. Connect your phone to your PC and copy the file to /system/etc/hosts via ADB:
adb push hosts /sdcard/


adb shell




su




mount -o rw,remount /system




cp /sdcard/hosts /system/etc/hosts




chmod 644 /system/etc/hosts




mount -o ro,remount /system

πŸ’‘

Blocking through a hosts file doesn't delete the services themselves, it only prevents them from communicating with the servers, which is safer than deleting files, but less efficient: processes will still hang in the background, they just won't be able to send data.

Method 5: Install custom firmware (for enthusiasts)

If you want to get rid of all the spyware features of MIUI, the best option is to switch to custom firmware, for example:

  • πŸ“± LineageOS – pure Android without unnecessary services.
  • πŸ“± Pixel Experience – firmware with Google Pixel functionality.
  • πŸ“± Havoc-OS or Corvus OS β€” customizable.
  • πŸ“± MIUI EU β€” modified MIUI without Chinese services.

Installation process:

  1. Unlock the bootloader (as in Method 3).
  2. Install TWRP or OrangeFox Recovery.
  3. Download the firmware for your model from the XDA Developers website.
  4. In TWRP, run Wipe β†’ Format Data (this will delete all data!).
  5. Install the firmware through Install and restart.

⚠️ Note: Castom firmware may contain bugs, especially on newer models (Xiaomi 14, Redmi Note 13).Before installing, check the reviews on the forums and make sure the firmware supports:

  • πŸ“Ά Modules. 5G/4G (In some cases, mobile internet does not work).
  • πŸŽ₯ All cameras (especially on flagships with multiple modules).
  • πŸ”‹ Fast charging (some firmware limits power).

What happens after the MSA and Analytics are removed?

Many users fear that after removing the system services, the phone will stop working correctly, and in practice the consequences are minimal:

  • βœ… Pluses:
  • πŸ”‹ Increased battery life (by 10-20%).
  • πŸš€ Speed up the system (less background processes).
  • πŸ›‘οΈ Data will be sent to Xiaomi servers.
  • ⚠️ Cons:
  • πŸŒ₯️ Mi Cloud will stop working (if you delete com.xiaomi.finddevice).
  • πŸ” Device Search (but there are alternatives like Google Find My Device).
  • πŸ“Š Some system updates may be installed with errors.

If you delete something critical, you can always restore deleted packets via ADB:

adb shell cmd package install-existing com.miui.analytics

To check if the services are disabled, use:

  • πŸ” NetGuard (shows network activity of applications).
  • πŸ“Š BetterBatteryStats (monitoring background processes).
  • πŸ›‘οΈ Exodus Privacy (analyzes trackers in applications).

FAQ: Frequent questions about MSA and Analytics removal

❓ Can I remove it? MSA Analytics without a computer?
Yes, but with limitations. You can use apps like App Inspector or Package Disabler (ADB or root rights required). However, without a PC, you can't execute ADB commands to completely disable. The alternative is to use Universal Android Debloater (works through Termux, but is difficult to set up).
❓ Will they? MSA Analytics after update MIUI?
Yes, if you have deleted them through ADB or hosts lock. When you upgrade your system, remote packets can recover. To avoid this: Use Magisk with Universal Debloater. Install TWRP and delete files manually after each update. Opt out of MIUI updates through Settings β†’ About Phone β†’ System Update β†’ Three Points β†’ Settings β†’ Turn off Automatic Boot.
❓ How to Check if My Xiaomi Is Sending Data Without My Knowledge?
Use traffic monitoring tools: PCAPdroid (Android) analyzes network packets. Fing shows device connections to servers. Wireshark (PC) shows deep traffic analysis (requires USB connection of your phone in USB tethering mode).
❓ Can I remove it? MSA Analytics on Xiaomi with global firmware?
Yes, the methods work on both global (Global) and Chinese (China) versions of MIUI. However, Chinese firmware may require additional packet removal: com.miui.hybrid, hybrid services for the Chinese market. com.xiaomi.mipicks, advertising platform. com.miui.videoplayer, built-in player with trackers. Global firmware usually does not have these packages.
❓ What Mi Cloud Alternatives Can Be Used After Removal MSA?
If you have deleted com.xiaomi.finddevice and lost access to Mi Cloud, consider: πŸŒ₯️ Google Find My Device – Search and Lock Your Phone. πŸ“ Google Drive or Dropbox – backup files. πŸ“± Nextcloud – Self-hosting cloud with encryption. πŸ” Bitwarden – for synchronizing passwords (instead of Mi Account).