How to completely disable MSA on Xiaomi: 5 proven ways

Service MSA (Mi Service Framework is a system component of the firmware MIUI, It's responsible for Xiaomi's cloud services, data synchronization and device usage analytics, and for most users, it runs in the background, consuming Internet traffic and battery life, and sometimes raising suspicions of collecting excess information. If you are looking for a way to completely deactivate MSA without losing the functionality of the smartphone, this article will help to understand the nuances of the process.

It is important to understand that Xiaomi does not provide an official way to disable MSA All of the methods described below require either superuser rights or hidden developer commands, some of which can lead to unstable device performance or loss of warranty. We will consider both β€œsoft” ways to limit the activity of the service, and radical – with the complete removal of components.

Before you start, check the version. MIUI on your device: the way of settings β†’ The phone. β†’ Version. MIUI. It's a matter of choice. Also, on HyperOS devices, some of the instructions may not work, as we'll mention separately.

What is MSA and why shut it down?

MSA (Mi Service Framework is a set of system services integrated into MIUI job-providing:

  • πŸ”„ Synchronize contacts, notes and photos with Mi Cloud
  • πŸ“Š Collect anonymous device usage statistics (to improve firmware)
  • πŸ”” Push notifications from Xiaomi system applications
  • πŸ”’ Authorizations in ecosystem services (e.g. Mi Home or Mi Fit)

Reasons for disconnection MSA may be different:

  • πŸ›‘οΈ Privacy concerns (service sends data to Xiaomi servers)
  • πŸ”‹ Saving battery power (background activity consumes up to) 5-10% day-load)
  • πŸ“Ά Reducing mobile traffic consumption (especially when roaming)
  • 🚫 Conflicts with custom firmware or root access

But there is a downside: after the shutdown MSA stop working:

  • ❌ Cloud Backup (Mi Cloud Backup)
  • ❌ Finding the device through Find Device
  • ❌ Some features of Mi Home (smart home)
  • ❌ Automatic synchronization of notes and calendar

⚠️ Note: On HyperOS devices (e.g. Xiaomi 14 or Redmi Note 13 Pro)+) service MSA Closely integrated with security, and disabling it can lead to errors in the authorization of Xiaomi account or work NFC.

πŸ“Š Why do you want to disconnect? MSA?
Battery savings
Confidentiality
Reduced traffic
Conflict with root
Other

Method 1: Disconnect via ADB (without root)

This method is suitable for users who do not want root rights, but are ready to use debugging. USB. He's temporarily suspending work. MSA, After restarting or updating the system, the service may be activated again.

You will need to:

  • πŸ–₯️ Computer with drivers installed ADB and Fastboot
  • πŸ“± Xiaomi smartphone with enabled debugging USB (Settings β†’ The phone. β†’ Version. MIUI β†’ 7 times press the line, then Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB)
  • πŸ”Œ USB-cable (preferably original)

Steps:

  1. Connect your smartphone to your PC and confirm the debugging permission on the device screen.
  2. Open the command prompt (cmd) or PowerShell on your computer.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. Run the command to shut down. 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. Reset the device.

To get it back, use the command:

adb shell pm enable com.miui.msa.global

Install drivers ADB PC-only|Enable debugging on USB smartphone|Connect the device with the original cable|Check the connection of the adb device team|Make a backup copy of the data-->

⚠️ Note: On some models (e.g, POCO F5 or Redmi K60) post-off MSA through ADB Mi Cloud may be lost, and to get back to functionality, you'll have to reset to the factory.

Method 2: Removal MSA through TWRP (root)

If you have a custom recavator installed TWRP and obtained root rights, you can completely delete files MSA This method is irreversible and can lead to unstable operation of the system if performed incorrectly.

Conditions required:

  • πŸ”“ Unlocked bootloader (bootloader)
  • πŸ“¦ Installed TWRP ornamental
  • πŸ”§ Root access (for example, via Magisk)
  • πŸ’Ύ Backup of data (it is recommended to make a backup through TWRP)

Instructions:

  1. Get in mode. TWRP (usually clamping power + Loudness up).
  2. Go to the File Manager section.
  3. Delete the following folders and files: /system/priv-app/MSA/ /system/app/MSA/ /data/data/com.miui.msa.global/ /data/data/com.xiaomi.msa/ (The paths may differ depending on the version MIUI)
  4. Clear the cache (Wipe β†’ Dalvik / ART Cache).
  5. Reset the device.

After removal, check the operation of the main functions: calls, mobile Internet, Wi-Fi. If errors occur, restore the backup through the TWRP.

What to do after removal MSA camera stopped working?
On some models (e.g. Xiaomi) 12T or Redmi Note 11 Pro+) service MSA If the camera makes an error after you delete it, try it: 1. Install Magisk module with a camera patch (e.g, Camera2API Enabler). 2. Manually copy libcamera* files from stock firmware to /vendor/lib/. 3. Bring it back. MSA and only disable its background activity through ADB.

Xiaomi modelDoes it support removal? MSA without consequence?Recommended method
Redmi Note 10/11 Proβœ… Yes (the risk is minimal)ADB or TWRP
POCO F3/F4 GT⚠️ Partially (may break) NFC)Only ADB.
Xiaomi 13/14 Series❌ No (high risk brick)Restriction through settings
Redmi K50 Gamingβœ… Yes (tested)TWRP + Magisk

Method 3: Limiting activity MSA via settings MIUI

If you don’t want to risk the stability of the system, you can simply limit background activity. MSA. This will not shut down the service completely, but will reduce its impact on battery and traffic.

How to do this:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. In the search box, enter the MSA or Mi Service Framework.
  3. Select the app and click Limit background activity.
  4. Turn off autostart: Settings β†’ Battery and productivity β†’ Autostart control β†’ find MSA and deactivate.
  5. Disable access to mobile data and Wi-Fi: Settings β†’ SIM-maps and mobile networks β†’ Transfer of data β†’ Background restriction.

You can also turn off sync with Mi Cloud:

  1. Settings β†’ Xiaomi account β†’ Mi Cloud.
  2. Turn off sync for all types of data (contacts, notes, photos).
  3. In the Synchronization Settings section, deactivate the Autosynchronization option.

πŸ’‘

If, after the restriction, MSA If you notice push notifications from system applications (such as Security or Mi Video) have stopped coming, check the notification settings for those applications manually. MSA It blocks their work even in the background.

Method 4: Using Magisk modules to lock MSA

For root users, there is a safer way to install special modules for Magisk that block activity. MSA The advantage of this method is that changes are easy to undo.

Popular modules:

  • πŸ›‘οΈ MSA Disabler – completely disables the service, maintaining the stability of the system.
  • πŸ”§ Xiaomi Debloater allows you to selectively disable system components, including MSA.
  • 🚫 NoMSA – blocks the network activity of the service, but leaves its files in place.

Installation instructions:

  1. Download the module in.zip format (for example, from the XDA Developers forum or 4PDA).
  2. Open the Magisk app and go to the Modules section.
  3. Click Install from Storage and select the downloaded file.
  4. After installation, restart the device.
  5. Check the module through Settings β†’ Annexes β†’ MSA (must be off).

If there are problems after installation of the module (for example, it does not work) NFC Or Mi Pay, try it out:

  • Remove the module and install another.
  • Clear the cache MSA through settings β†’ Annexes β†’ Warehouse β†’ Clear the cache.
  • Temporarily disable the module in Magisk and check if the functionality returns.

πŸ’‘

Modules for Magisk – the safest way to disable MSA They don't delete system files, they just block them from executing, making it easier to roll back changes.

Method 5: Transition to custom firmware (radical method)

If it is critically important to get rid of MSA and other Xiaomi system services, the most reliable way is to install custom firmware, for example:

  • 🌍 LineageOS – pure Android without proprietary Xiaomi components.
  • ⚑ Pixel Experience – firmware with Google Pixel interface.
  • πŸ”„ ArrowOS – Balance between performance and functionality.
  • πŸ“± Havoc-OS - firmware with wide customization possibilities.

Advantages:

  • βœ… Total absence MSA and other Xiaomi services.
  • βœ… Regular security updates from the community.
  • βœ… Ability to fine-tune the system.

Disadvantages:

  • ❌ Loss of warranty (if the bootloader was unlocked).
  • ❌ Possible bugs (not all functions can work correctly).
  • ❌ Lack of support for some chips MIUI (Second Space or Game Turbo).

Instructions for installing custom firmware:

  1. Unlock the bootloader through the official Xiaomi tool (Mi Unlock Tool).
  2. Install TWRP or another custom recaveri.
  3. Download the firmware for your model (check compatibility on the forum) XDA or 4PDA).
  4. Make a full backup of the current system through TWRP.
  5. Swipe the firmware through the Recovery (usually enough Wipe) β†’ System, Data, Cache β†’ Install ZIP).
  6. Install Gapps (if you need Google services) and Magisk (for root).
  7. Reset the device.

⚠️ Attention: On new Xiaomi devices (2023–2026 year) with Snapdragon processors 8 Gen 2/3 or Dimensity 9000+ Unlocking the bootloader can lead to hardware locking NFC module 5G. Before the firmware, clarify this information for your model!

What happens if you turn it off? MSA: consequences and how to avoid them

Total or partial shutdown MSA This may lead to the following problems:

Problem.Reason.Decision
Push notifications are not working.MSA manages the delivery of notifications from system applicationsUse alternative messengers (e.g. Telegram instead of Mi Messages)
Errors in authorization in Mi CloudThe authentication service is associated with MSAReinforce MSA through ADB or use a local account
Find Device is not workingThe search function of the device depends on MSAInstall a third-party solution (e.g. Google Find My Device)
Increased battery consumptionThe system is trying to restore the disabled serviceFreeze. MSA Titanium Backup or App Quarantine

How to minimize the risks:

  • πŸ”„ Before the shutdown MSA Make a backup copy through Settings β†’ Additionally. β†’ Backup and reset.
  • πŸ“± Use alternative sync services (e.g. Google Drive instead of Mi Cloud).
  • πŸ”§ If critical errors occur, restore MSA through ADB Or re-flash the stock version MIUI.
  • πŸ›‘οΈ Protecting privacy instead of disconnecting MSA can be used VPN or firewall (such as NetGuard) to block its network activity.

FAQ: Frequent questions about disconnection MSA Xiaomi

❓ Can I turn it off? MSA rootless ADB?
Yes, but only partially. You can limit background activity. MSA via settings MIUI (Settings β†’ Annexes β†’ MSA β†’ Limit background activity and disable synchronization with Mi Cloud, but this will not remove the service completely, but only reduce its impact on battery and traffic.
❓ Will the Mi Fit work after the shutdown? MSA?
Partial. Basic features (step counting, sleep monitoring) will remain available, but there may be problems with: Data sync with the Mi Cloud, push notifications from the app, authorization through Xiaomi account (you will have to log in manually). MSA Linking the Mi Band device to a Google Fit account.
❓ How to check if it's off MSA?
There are several ways: Check the list of running processes through Developer Options β†’ For developers β†’ Launched processes). MSA Use Activity Launcher (available on Google Play) to find hidden activity MSA. Check network activity via NetGuard or PCAPdroid – traffic from com.miui.msa.global should be absent.
❓ Can I turn it off? MSA Xiaomi with HyperOS?
On HyperOS devices (e.g. Xiaomi 14 or Redmi) K70) service MSA Deleting it completely can lead to: Bootloop errors. NFC or IR Blaster: Loss of access to some camera features, recommended to use "soft" methods: limiting through ADB or installing a Magisk module MSA Disabler.
❓ Will it recover? MSA post-refresh MIUI?
Yes, when you update the firmware through OTA Mi Flash Tool all system components, including MSA, To avoid this, make a backup through the TWRP. After the update, re-apply the disconnect method (ADB, Magisk or manual removal. Use custom firmware without OTA-Updates (for example, LineageOS).