How to completely disable MSA on Xiaomi: 5 proven ways

MSA (Mi Service Framework) is a system application on Xiaomi smartphones that is responsible for data synchronization, push notifications and the operation of the companyโ€™s cloud services. For most users, it is useful, but some face problems from increased battery consumption to failures in third-party applications. Moreover, MSA actively collects telemetry even when tracking permissions are disabled, which raises questions about privacy.

In this article, we will discuss all the current ways to disable MSA on Xiaomi, Redmi and POCO devices running MIUI 12-14 (including global and Chinese firmware versions). You will learn how to deactivate the service through standard settings, ADB commands, as well as radical methods for power users. Importantly, some actions require unlocking the bootloader or root rights - we will explain the risks and consequences in detail.

Before you start, check the version of MIUI in the Settings โ†’ About Phone menu. This depends on the availability of some methods. Also note that completely removing MSA can disrupt branded features like Mi Cloud, Find Device or Game Turbo.

๐Ÿ“Š Why would you want to disable MSA?
Savings in battery charge
Protection of confidentiality
Removing lags
Disabling unnecessary notifications
Other

What is MSA and why it should be turned off

MSA stands for Mi Service Framework, a system framework integrated into MIUI firmware.

  • ๐Ÿ”„ Synchronization of data between devices (contacts, notes, browser)
  • ๐Ÿ”” Deliver push notifications from Xiaomi apps and third-party services
  • โ˜๏ธ Operating cloud functions (Mi Cloud, backup)
  • ๐Ÿ“Š Collecting anonymous telemetry (according to the company - to improve the software)

However, independent research (including traffic analysis from Xiaomi Eu and XDA Developers) shows that MSA continues to send data to the companyโ€™s servers even after all tracking permissions are disabled.

  • ๐Ÿ“ Geolocation (when GPS is turned on)
  • ๐Ÿ“ฑ Device model, version MIUI and IMEI
  • ๐Ÿ”‹ Battery usage statistics
  • ๐Ÿ“Š List of installed applications

In addition to privacy concerns, MSA is often the cause of:

  • โšก Increased charge consumption (up to 5โ€“10% per day due to background activity)
  • ๐Ÿข Slowdowns (especially on budget models like Redmi 9A or POCO M3)
  • ๐Ÿšซ Conflicts with VPN and firewalls (e.g., NetGuard or AdGuard)
  • ๐Ÿ”” Spam notifications from Mi Community and other services

โš ๏ธ Warning: Completely deleting MSA will render the following features inoperable: ๐Ÿ” Find Device โ˜๏ธ Backup to Mi Cloud ๐ŸŽฎ Game Turbo and game optimization ๐Ÿ“ฑ Synchronization of notes, calendar and Mi Browser If you use at least one of them, consider alternative ways to limit MSA instead of completely disabling.

Method 1: Disable MSA via standard MIUI settings

It is the most secure method, requiring no additional tools, and is suitable for users who want to reduce MSA activity but are not willing to sacrifice all cloud features.

The instructions are relevant for MIUI 12-14 (Global and Chinese versions):

  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 the MSA or Mi Service Framework.
  4. Select the app from the list (commonly called com.miui.msa.global for global firmware or com.xiaomi.msa for Chinese).
  5. Click Stop (if the button is active), then Disable.
  6. Go back to the app menu and select Permissions. Turn off all available permissions (especially Location, Storage, and Auto Run).
  7. Go to Settings โ†’ Battery and Performance โ†’ Battery Management, find the MSA and select Limit Background Activity.

After this, the MSA will stop using the battery and sending most data, but will continue to operate in minimal mode for critical functions (such as push notifications).

There are no msa processes in Settings โ†’ About phone โ†’ Status โ†’ Processes

MSA App Doesn't Appear in Active List in Settings โ†’ Battery

No notifications from Mi Community and other Xiaomi services

Battery charge is used more slowly (check in 1-2 days)-->

Method 2: Disconnect via ADB (without root)

If standard settings donโ€™t work, you can use Android Debug Bridge (ADB), a tool for debugging Android devices, which does not require root rights, but requires connecting the smartphone to your computer.

Preparation:

  1. Download ADB Tools for your OS (Windows, macOS or Linux).
  2. Unpack the archive in a convenient folder (for example, C:\adb).
  3. On your smartphone, activate Developer Mode: go to Settings โ†’ About Phone and 7 times click on the MIUI version.
  4. Return to Settings โ†’ Additional โ†’ For developers and enable USB debugging.

Instructions for disabling the MSA:

  1. Connect your smartphone to your computer via USB (select File Transfer mode).
  2. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
  3. Enter the command to check the connection: Adb devices should appear the name of your device.
  4. Run the command to disable MSA: adb shell pm disable-user --user 0 com.miui.msa.global For Chinese firmware use: adb shell pm disable-user --user 0 com.xiaomi.msa
  5. Reboot your smartphone: adb reboot

To return the MSA to working condition, use the command:

adb shell pm enable com.miui.msa.global

โš ๏ธ Warning: On some devices (e.g., Xiaomi 12 Pro or POCO F4) after disabling MSA via ADB, all push notifications, including messages from WhatsApp or Telegram, may stop working. To return notifications, install an alternative client like Notify for Telegram or set up a Firewall app (e.g., NetGuard) to unlock traffic.

What if the ADB canโ€™t see the device?
1. Make sure that the Xiaomi drivers are installed (download from the official site). 2. Try another USB- cable (preferably the original). 3. Include the developer settings to Debug by USB (security options) and Allow debugging (when connected). 4. Reboot your computer and smartphone. ZXQPH0006, if you use the Windows administrator's name.

Method 3: Remove MSA via TWRP (unlocked bootloader required)

This method is suitable for advanced users who are willing to sacrifice the warranty and the ability of OTA- updates. It allows you to completely remove MSA from the system, but requires unlocking the bootloader and installing the custom recavator TWRP.

Pre-launch warnings:

  • ๐Ÿ”“ Unlocking the bootloader will reset all data on the device.
  • ๐Ÿšซ Xiaomi may refuse warranty service after unlocking.
  • ๐Ÿ”„ OTA- updates will stop working (you will have to install firmware manually).

Step-by-step:

  1. Unlock the bootloader through the official tool (requires a Mi Account and wait 7-15 days).
  2. Install TWRP for your model (download from twrp.me).
  3. Download the Magisk MSA Removal Module (such as MSA Disabler or Universal MSA Remover).
  4. Reboot to TWRP (clip Power + Volume up when turned on).
  5. Make a backup copy of the System partition (just in case).
  6. Install the downloaded module via Install in TWRP.
  7. Reboot to the system.

After deleting the MSA, check for its absence from the application list (Settings โ†’ Applications). If you have problems with the system, restore the backup through TWRP.

๐Ÿ’ก

Before unlocking the bootloader, back up your data via Mi Cloud or Google Drive. After the procedure, the device will be completely reset, including photos, contacts and messages.

Method 4: Blocking MSA through a firewall or DNS

If you donโ€™t want to delete the MSA but want to block its access to the Internet, use a firewall or change the DNS. This will prevent telemetry from being sent, but will preserve the basic functionality of the service.

Option 1: NetGuard App (without root)

  1. Install NetGuard from Google Play.
  2. Open the app and give access to the VPN (necessary for work).
  3. Find the Mi Service Framework or com.miui.msa.global.
  4. Turn off both switches (Wi-Fi and mobile data).
  5. Activate the option to Lock when you start the system.

Option 2: Change the DNS (for advanced)

MSA uses domains api.mi.com, data.mistat.xiaomi.com, and others to send data, and you can block them at the DNS level:

  1. Install Shadowsocks or 1.1.1.1.
  2. Set up a custom DNS- server that blocks Xiaomi domains. For example, use: 176.103.130.130 # AdGuard DNS 94.140.14.14 # AdGuard DNS (alternative)
  3. Add to the blacklist domains: api.mi.com data.mistat.xiaomi.com sdkconfig.ad.xiaomi.com tracker.ai.xiaomi.com
Locking methodRoot is required.EfficiencyCons
NetGuardโŒ No.โญโญโญโญCan conflict with VPN
AdGuard DNSโŒ No.โญโญโญDoes not block all domains
AFWall+ (with root)โœ… Yes.โญโญโญโญโญTough setup
Hosts file (from root)โœ… Yes.โญโญโญโญRequires domain list updates

Method 5: Using Magisk modules (for root users)

If you already have root rights and Magisk installed, you can use special modules to deactivate MSA. This method is more reliable than manual removal, since the modules take into account the dependencies of the system.

Popular modules:

  • ๐Ÿ”ง MSA Disabler โ€“ completely disables MSA without deleting.
  • ๐Ÿงน Universal MSA Remover โ€” removes MSA and related services.
  • ๐Ÿ›ก๏ธ Xiaomi Debloater โ€“ removes MSA along with another bloatware.

Installation instructions:

  1. Download the selected module (file with.zip extension).
  2. Open Magisk Manager and go to the Modules section.
  3. Click Install from Storage and select the downloaded file.
  4. Reset the device.
  5. Check the absence of MSA in Settings โ†’ Apps.

If you have problems after installing the module (e.g. notifications or Mi Cloud are not working), try another module or go back to the ADB method.

๐Ÿ’ก

Magisk modules are the safest way to remove MSA for root users, as they automatically restore system dependencies after MIUI updates.

What to do if MSA notifications stop working after disconnection

One of the most common problems with deactivating MSA is the disappearance of push notifications from messengers and social networks, which is because many applications (including WhatsApp, Facebook, and VK) use Google Play Services or Mi Push Service to deliver notifications, and MSA is integrated into this chain.

Decisions:

  • ๐Ÿ”” Use alternative clients: Notify for Telegram (for Telegram), Fermata (for WhatsApp) Hermit (for creating lightweight web apps with notifications)
  • ๐Ÿ“ฑ Set up Firewall: Allow traffic for com.google.android.gms (Google Play Services) and block only MSA.

If the notifications never appear, check:

  • ๐Ÿ”‹ Is the power saving mode for messengers turned off?
  • ๐Ÿšซ Does NetGuard or another firewall block them?
  • ๐Ÿ”„ Does the application need to be reinstalled?

FAQ: Frequent questions about MSA shutdown

โ“ Can I turn off MSA without a computer?
Yes, but the options are limited. You can: Stop and disable. MSA through settings โ†’ Applications (see Method 1) Use a NetGuard firewall to block its traffic (see Method 4). MSA Without a computer, root rights and Magisk module installation are required (see Method 5).
โ“ Will Find Device work after MSA is turned off?
No, Find Device uses MSA to locate and send commands. Once it's turned off, you can't: Track your device via i.mi.com. Lock your phone remotely. Delete your data when you lose it. Alternatively, use Google Find My Device (requires a Google account and geolocation enabled).
โ“ How do you get MSA back if something goes wrong?
Recovery methods depend on the method of disabling: If you disable via settings: Return to Settings โ†’ Applications โ†’ MSA and click On. If you used ADB: Follow the command: adb shell pm enable com.miui.msa.global If you deleted via TWRP/Magisk: Restore backup or re-flash the system. If the MSA is not restored, try resetting to factory settings (Settings โ†’ Phone โ†’ Reset).
โ“ Will the MSA shutdown affect performance?
In most cases, performance will improve, as: MSA consumes up to 5-15% of battery power per day (on budget models like the Redmi Note 10); service takes up to 100-200 MB of RAM; background activity of MSA can cause lags when multitasking; however, on flagship devices (Xiaomi 13 Ultra, POCO F5 Pro), the difference will be less noticeable due to the powerful iron.
โ“ Is it legal to disable MSA?
Yes, you have the right to disable any system services on your device. However: Xiaomi can refuse warranty service if it finds traces of interference (unlocking the bootloader, root). Some functions (for example, Mi Cloud) will stop working, but this does not violate the law. In EU countries (including Russia), the GDPR applies, which allows users to refuse telemetry collection. If you bought the phone from an official store, disabling the MSA does not deprive you of the rights to return or exchange during the warranty period (provided that the device is not damaged).