Mi Service Framework
MSA
Xiaomi
Mi Account
MIUI 12β15
MSA
In this article, we will discuss the legitimate ways to disable or remove MSAs without rooting rights, their implications for smartphone functionality, and alternative ways to reduce the load from this service. It is important to understand that complete removal without superuser rights is impossible β this is about deactivating key components or workarounds. If you are willing to sacrifice some of the MIUI functions for performance and privacy, read on.
Spoiler: No method will guarantee 100% that the MSA will not return after the system update, but the right combination of steps will minimize its impact on the device.
What is MSA and why you want to remove it
MSA (Mi Service Framework) is a system framework that connects your smartphone to Xiaomi servers.
- π Synchronize contacts, notes and calendar through Mi Cloud
- π± Remote device management (find phone, lock)
- π Collection of anonymous telemetry (on by default)
- π Integration with smart devices Mi Home
Problems begin when MSA consumes up to 15-20% of battery power in the background, sends data without user consent or blocks third-party applications. For example, on the Redmi Note 12 Pro+ with MIUI 14, users complain of constant requests for permission to send notifications from com.miui.msa.global, even after manually shutting down.
Key point: MSA can't be removed by standard means -- the system will restore it after a reboot -- but there are ways to limit its activity or replace critical components with alternative services (e.g., sync via Google instead of Mi Cloud).
β οΈ Attention: Disconnection MSA This will result in the loss of Mi Account features, including device search, backup and access to Mi Home.If you use Xiaomi smart devices (lamps, robot vacuum cleaners), they may stop working properly.
Preparation: What to do before disabling the MSA
Before you start manipulating system applications, follow the mandatory steps:
Create a backup of important data (photos, contacts, messages)
Untie the device from Mi Account in Settings β Xiaomi Account β Security β Delete the account
Check out the MIUI version in Settings β About Phone (methods differ for MIUI 12-15)
Turn off automatic system updates in Settings β The phone. β Updating the system β βοΈ β Auto-update
Install a file manager with access to system folders (e.g. FX File Explorer or Solid Explorer)
-->
Pay special attention to the deletion clause. If you forget the password from Mi Account after disabling MSA, unlocking the phone after the reset will be extremely difficult - you will need to contact Xiaomi with proof of ownership of the device.
We also recommend checking which MSA processes are active on your device.
- Open Settings β Applications β Application Management
- Click on the three dots in the upper right corner and select Show Systems
- Find apps with the names MSA, Mi Service Framework, or com.miui.msa.global
- Check out the statistics on battery usage and mobile traffic
Redmi Note 10/11/12 series series
POCO F3/F4/F5
Xiaomi 11/12/13 series
Redmi K40/K50/K60
Another option-->
Method 1: Disabling MSA via ADB (no root rights)
The most effective method without rooting is to use ADB (Android Debug Bridge), which allows you to disable system applications without physically removing them.
- π» Computer with Windows/macOS/Linux
- π± USB-cable (original or quality)
- π§ Included debugging by USB phone-on
Instructions:
- Activate Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Return to Settings β Additional β For developers and enable USB debugging.
- Connect your phone to your PC and confirm your trust in the device.
- Download ADB Tools and unpack the archive.
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB and type: adb devices Make sure your device appears in the list.
- Execute the command to disable MSA: adb shell pm disable-user --user 0 com.miui.msa.global For some regions, you may also need to disable: adb shell pm disable-user --user 0 com.xiaomi.msa
Once you've done the commands, restart your phone. The MSA will be deactivated, but its files will remain in the system. To get it back, use the command:
adb shell pm enable com.miui.msa.globalβ οΈ Note: On some devices (e.g. Xiaomi 13 Ultra with a MIUI 14) after disconnection MSA You may stop working the settings. β Xiaomi account.This is normal - the account functionality has already been disabled at the previous stage.
π‘
ADB-Reverse: You can always return MSA back with one team if something goes wrong.
Method 2: Limiting MSA activity through MIUI settings
If ADB seems complicated, you can try to reduce the impact of MSA with standard tools, which is less radical, but also less effective.
Steps to limit:
- Go to Settings β Applications β Application Management.
- Find the MSA or Mi Service Framework (can be called differently depending on the region).
- Open the application page and follow the steps: π« Stop (forced stop) π Disable notifications π΅ Limit background activity (if available) π Disable mobile data and Wi-Fi in the Data Use section
Settings β Privacy β Special Permits β Autorun
MSA
This method will not remove the MSA, but will reduce its activity, but the system can automatically restart the service after updates or restarts.
- Open Settings β Battery β Battery Use.
- See if MSA appears on the consumption list.
π‘
If push notifications from third-party apps (such as Telegram) have stopped working after the MSA restriction, try manually allowing them background activity in the application settings.
Method 3: Using Shizuku + AppOps to Deep Shut Down
For users who donβt want to use ADB but are ready for more complex setup, a combination of Shizuku and AppOps will be suitable, allowing you to manage system application permissions without root rights.
Instructions:
- Install Shizuku from Google Play.
- Follow the instructions in the application to connect via ADB (you will need to execute the command adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh once).
- Install AppOps (requires Shizuku).
- Find it in AppOps. MSA (com.miui.msa.global) and disable all permissions, especially: π‘ INTERNET (net-access) π ACCESS_FINE_LOCATION (geolocation) π± READ_PHONE_STATE (phone-access)
The advantage of this method is that you can pinpoint MSA data collection without breaking critical system functions, but Shizuku requires periodic connection updates (once every few days).
| Method | Difficulty | Efficiency | Reversibility | Risks. |
|---|---|---|---|---|
| ADB | Medium | ββββ | Yes. | Loss of Mi Account Functions |
| Restriction in MIUI | Low. | ββ | Yes. | MSA can self-heal |
| Shizuku + AppOps | Tall. | βββ | Yes. | Requires connection support |
| Replacement of alternative services | Low. | βββ | Yes. | Manual synchronization setting |
Method 4: Replace MSA functions with alternative services
If you only need individual MSA features (like contact sync), you can migrate them to third-party services and safely disable the original framework.
Alternatives for key functions:
- π± Contact Sync: Use Google Contacts or Nextcloud instead of Mi Cloud.
- π Backup: Swift Backup (requires a root) or Titanium Backup (for unrooted ones β SMS Backup & Restore).
- π Smart Home: Switch to Home Assistant or Google Home (partial support for Xiaomi devices).
- π Find My Device from Google or Cerberus.
After transferring data to alternative services, you can safely disable the MSA using any of the methods described above.
- All contacts are exported (check in Contacts β Management β Import / Export).
- Photos and files are uploaded to another cloud (Google Photos, Mega, Yandex Drive).
- Smart devices are re-tied to a new hub (if used).
β οΈ Note: Some Xiaomi devices (such as Mi Robot Vacuum robot vacuum cleaners) require authorization through Mi Account, even when using third-party applications like Home Assistant. MSA Check the compatibility of your gadgets.
How to export notes from Mi Notes without MSA?
Method 5: Install custom firmware (for advanced)
If none of these methods worked, and you can't (or don't want to) get root rights, the radical option is to install custom firmware without MSA, which is a complicated process, but it gives you complete control of the system.
Suitable firmware for Xiaomi:
- π± LineageOS β pure Android without Xiaomi services.
- π§ PixelExperience β firmware with Google Pixel interface.
- π Xiaomi.eu β modified MIUI without Chinese services (but with the MSA, You can remove it through Magisk).
Warnings:
- β οΈ The warranty on the device will be cancelled.
- β οΈ Risk of βbrickingβ (turning into a βbrickβ) in case of an error.
- β οΈ Some functions (camera, NFC) They may not work properly.
If you are taking this step:
- Unlock the bootloader through the Mi Unlock Tool (requires binding to the Mi Account and waiting 7-15 days).
- Install TWRP Recovery for your model.
- Download the firmware from the official website (for example, LineageOS).
- Sweat through TWRP by following the instructions for your model.
Once custom firmware is installed, MSA will be completely removed, but you will have to manually configure all services (for example, push notifications via MicroG).
What to do if the MSA is back after the update
Xiaomi regularly releases updates that can restore system applications. If the MSA has reappeared after the update, try:
- π Repeat steps with ADB Shizuku.
- π« Turn off automatic updates MIUI In Settings β The phone. β Updating the system β βοΈ β Auto-update.
- π΅ Install App Quarantine (requires Shizuku) to block launch MSA.
- π§ Use it. LADB (Local ADB) Automatically execute shutdown commands when connecting to Wi-Fi.
On some firmware (for example, MIUI 15 Xiaomi 14) MSA mechanism-protected miui_daemon, It's a service that restores service every few hours, and in that case, it's only going to help:
- Installation of Magisk and MSA Disabler module.
- Or switching to custom firmware.
β οΈ Note: On devices with HyperOS (new shell from Xiaomi, which debuted in 2026) structurally changed the mechanism of work MSA. Methods for MIUI It may not work β testing on a specific model is required.