How to completely disable surveillance on your Xiaomi phone: 7 proven ways

Xiaomi smartphones collect vast amounts of data about users, from location history to app usage habits, which the manufacturer argues is โ€œimproved services,โ€ but in practice, most telemetry is sent to China without the ownerโ€™s explicit consent. Even after disabling the obvious options in the settings MIUI Surveillance continues through hidden services, advertising SDK and system utilities.

This article provides a complete analysis of all data leak channels on Xiaomi, Redmi and other sites. POCO, And we've done this with little-known methods of disabling telemetry that are not described in the official documentation. MIUI 14/15 (Android 13/14) And we found out which settings actually work and which ones only create the illusion of privacy.

1. Basic privacy settings in MIUI

Start with the obvious: disable all the data collection options Xiaomi offers in the interface. Most users are limited to this step, but it only blocks. 20-30% Telemetry, though, is the basis.

Go to Settings. โ†’ Confidentiality โ†’ Special permits and follow the following steps:

  • ๐Ÿ“ Location: Turn off "Precision Accuracy" and delete history in Settings โ†’ Location โ†’ Location history, even off. GPS can transmit approximate coordinates through Wi-Fi networks and cell towers.
  • ๐Ÿ“Š Analytics MIUI: Deactivate โ€œSending Error Reportsโ€ and โ€œImprovingโ€ MIUI" In Settings โ†’ The phone. โ†’ Version. MIUI โ†’ Three points (โ‹ฎ) โ†’ Update settings.
  • ๐ŸŽฏ Advertising Personalization: In Settings โ†’ Confidentiality โ†’ Disable all switches, including "Personalized Recommendations" and "Advertising" ID".
  • ๐Ÿ”„ Sync with Mi Account: Delete your Mi Account in Settings โ†’ Accounts. โ†’ Mi Account or at least disable synchronization of contacts, notes and call history.

After this manipulation, the phone will stop sending explicit data about your actions, but hidden telemetry (such as through msa, mipush and analytics) will continue to work.

๐Ÿ’ก

If after the advertising is disabling ID you continue to see targeted ads, clear the cache of the com.miui.systemAdSolution application through Settings โ†’ Annexes โ†’ Application management โ†’ Three points (โ‹ฎ) โ†’ Show all the processes.

2.Blocking system surveillance services without root

Xiaomi has integrated into MIUI Dozens of background services that collect data even when privacy settings are disabled, and they can't be removed without root, but you can block Internet access through a built-in firewall or third-party utilities.

List of key โ€œspyโ€ services Xiaomi (relevant to the MIUI 14/15):

Name of servicePackage name (package name)FunctionCan I turn it off?
MIUI Analyticscom.miui.analyticsCollection of statistics on the use of the systemYeah (network lock)
MSA (Mi Service Framework)com.xiaomi.msa.globalSending telemetry to ChinaYes (critical for push notifications)
Mi Push Servicecom.xiaomi.xmsfNotifications and background synchronizationPartially (breaks some notifications)
Miui Daemoncom.miui.daemonCollection of system logsYes (may affect stability)
Xiaomi Cloud Servicecom.miui.cloudserviceSynchronization with Mi CloudYes (unless you use the cloud)

For lockdown:

  1. Install NetGuard (free, no root) or TrackerControl (requires) ADB).
  2. Manually add to the blacklist all packages from the table above.
  3. For com.xiaomi.msa.global and com.miui.analytics, set the rule "Block Wi-Fi" + mobile".

Install NetGuard or TrackerControl|Add packets to the blacklist|Check the locking rules|Reboot the phone-->

Important: Blocking com.xiaomi.xmsf will disable push notifications for all applications, including instant messengers. Alternatively, use MicroG with an open Push service.

3. disable Google surveillance (for phones with GMS)

If your Xiaomi came with Google services (GMS), besides MIUI Google Play Services collects data, and this telemetry includes:

  • ๐Ÿ“ Location history (even when switched off) GPS Google Location Accuracy)
  • ๐Ÿ” Search history and activity in the Chrome browser
  • ๐Ÿ“ฑ Data on installed applications and their use time
  • ๐ŸŽค Voice recordings (if you use Google Assistant)

To minimize leakage:

  1. Go to Settings. โ†’ Google โ†’ Managing a Google Account โ†’ Data and personalization.
  2. Disable: Location History, Web Search and Application Activity, Ad Personalization, Google Services Improved with Location History
  3. B Settings โ†’ Annexes โ†’ Google Play Services โ†’ Permissions disable location, microphone and contacts.
  4. Remove or freeze (through) ADB) applications: com.google.android.gms (Google Play Services โ€“ donโ€™t delete, only limit permissions) com.google.android.gsf (Google Services Framework) com.google.android.apps.messaging (Messages)

Yeah, all included.|Just necessary (Play Market, Gmail)|Shut down most of it.|Completely removed GMS|I don't know.-->

For a radical approach, it can be removed. GMS completely and switch to alternative services (e.g. MicroG or Huawei Mobile Services), which requires unlocking the bootloader and installing custom firmware.

4. ADB-deep-switching telemetry

Hidden settings MIUI, Inaccessible through a graphical interface, can be modified by ADB (Android Debug Bridge: This method doesnโ€™t require root, but it does require debugging activation. USB.

Turn on the debugging:

  1. Go to Settings. โ†’ About the phone and 7 times click on "Version" MIUI", to unlock the Developer Mode.
  2. Return to Settings โ†’ Additional โ†’ For developers and activate โ€œDebugging by USBโ€.
  3. Connect the phone to the PC, confirm trust in the device.

Now run these commands in the PC terminal (click Enter after each):

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


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




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




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




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




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




Disable Google statistics collection (if there is a GMS)



adb shell pm disable-user --user 0 com.google.android.gms/.stats.service.DropBoxService




adb shell pm disable-user --user 0 com.google.android.gms/.chimera.GmsIntentOperationService

These commands freeze services, but they don't delete them. To get it back, replace disable-user with enable.

What happens if you turn it off? MSA (com.xiaomi.msa.global)?
Without this service will stop working: - Push notifications in some applications (VK, Telegram can use alternative channels) - Time and weather sync on the home screen - Updates via OTA (You will have to install firmware manually) - Some features of Mi Account (if it is tied) Otherwise, the phone will remain functional, but surveillance will be reduced by the number of users. 40-50%.

5.Alternative firmware: full control without surveillance

If you want 100% privacy, the only solution is to install custom firmware without Xiaomi and Google services.

  • ๐Ÿ“ฑ LineageOS is pure Android without telemetry, but requires manual MicroG installation to work with Google apps.
  • ๐Ÿ›ก๏ธ GrapheneOS is a security-enhanced firmware, but officially supports only Pixel (Xiaomi has unofficial ports).
  • ๐Ÿ”’ DivestOS โ€“ LineageOS fork with remote proprietary components and security patches.
  • ๐ŸŒ MIUI EU โ€” modified MIUI without Chinese services, but with the preservation of functionality.

Installation process:

  1. Unlock the bootloader via fastboot (the official way from Xiaomi takes over) 7-30 waiting days for the unlock code).
  2. Install TWRP Recovery or OrangeFox for your model.
  3. Sweep through the firmware and GApps (if you need Google services) or MicroG.

Warning: On some models (e.g. Xiaomi) 12/13 Unlocking the bootloader resets the encryption data, which can lead to loss of access to internal memory. TWRP before-fixing!

๐Ÿ’ก

Custom firmware is the only way to completely remove Xiaomiโ€™s built-in telemetry, but it requires technical skills and can be a no-guarantee.

Additional measures: VPN, DNS and alternative services

Even after all services are shut down MIUI Google may have some data leaked through:

  • ๐ŸŒ DNS-requests (provider and some applications see which websites you visit)
  • ๐Ÿ“ถ Mobile networks (the operator collects metadata about calls and SMS)
  • ๐Ÿ”— Third-party apps (Facebook, TikTok, AliExpress) have their own surveillance mechanisms)

Recommendations for enhanced protection:

Problem.DecisionTools
DNS-leakageUse encrypted DNS (DoH/DoT)1.1.1.1 (Cloudflare), AdGuard DNS, NextDNS
Application trafficRouting through VPNProtonVPN, Mullvad, IVPN
Surveillance of the operatorUse messengers with E2E-encryptionSignal, Session, Element
Advertising trackersSystem-level lockerBlokada, RethinkDNS, TrackerControl

For maximum anonymity:

  1. Install Orbot (Tor for Android) and route traffic to selected applications through it.
  2. Replace the standard Xiaomi apps with open-source counterparts: Browser: Bromite or Firefox with uBlock Origin Keyboard: AnySoftKeyboard or FlorisBoard Gallery: Simple Gallery or Aves

IMS-service

Settings โ†’ SIM-maps and mobile networks โ†’ Additionally.

๐Ÿ’ก

To check which apps are calling home, use PCAPdroid or NetGuard in log mode to help identify hidden connections.

7.Result check: how to make sure surveillance is off

Turning off all settings is only half the battle, and you have to verify that the data has actually stopped being sent.

  1. Network Traffic Analysis: Install PCAPdroid and start packet capture. Check if there are still connections to the domains:.mi.com,.xiaomi.com (Xiaomi servers).googleapis.com,.gstatic.com (Google).umeng.com,.mistat.xiaomi.com (analytics)
  2. Leak test DNS: Go to the site. DNS Check if you are using your phone and check if it is using your phone. DNS-provider or Xiaomi.
  3. Permissions verification: C Settings โ†’ Annexes โ†’ Permits to ensure that system services have revoked location, microphone, and contact rights.
  4. Advertising Tracker Test: Install AppChecker and scan apps for adverts SDK (e.g.com.google.android.gms.ads).

If after all the manipulations you still see suspicious connections, then:

  • ๐Ÿ”„ You missed a service (check the list in section 2).
  • ๐Ÿ“ฆ You have a third-party spy app installed (often Chinese utilities or games are to blame).
  • ๐Ÿ”ง A more radical solution is required (for example, custom firmware).

๐Ÿ’ก

Even after you shut down all the settings. MIUI To avoid this, block the domains ota.xiaomi.com and update.miui.com in the hosts file or through a firewall.

โš ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 12 or X-ray) POCO X5) After a deep shutdown of telemetry, problems with work may occur. NFC This is because some of the features are tied to com.xiaomi.xmsf. If you encounter a bug, temporarily defrost the package through the service. ADB.

FAQ: Frequent questions about disabling surveillance on Xiaomi

Can I turn off the surveillance without rooting and ADB?
Yes, but the efficiency will be lower. MIUI you're off. ~30% telemetry, and you'll need at least NetGuard (no root) to block the rest. ADB-The only way to shut down completely is with custom firmware.
Why did MSA stop receiving notifications after the shutdown?
com.xiaomi.xmsf (Mi Push Framework) is responsible for delivering push notifications. If you block it, notifications from some applications (such as Mi Fit or Xiaomi Community) will stop working. Solution: Allow this service to access the network, but block others. Use alternative messengers (Telegram, Signal) with your own push servers.
How to remove pre-installed Xiaomi apps without root?
Most system applications MIUI You canโ€™t remove root without root, but you can disable it through ADB: adb shell pm uninstall -k --user 0 com.miui.notes adb shell pm uninstall -k --user 0 com.miui.calculator adb shell pm uninstall -k --user 0 com.miui.compass The complete list of packages for your model can be obtained by the command: adb shell pm list packages | grep 'miui'
Will the phone work after all Xiaomi services are removed?
The phone will remain functional, but will lose some of its functions: ๐Ÿ”„ OTA-Update โ€“ you will have to install the firmware manually. ๐Ÿ“ฑ Themes and wallpaper โ€“ will stop working the theme store MIUI. ๐Ÿ”” Notifications โ€“ Some apps may not show push. ๐ŸŒก๏ธ Weather and clocks: widgets will no longer be updated. OTA And notifications. The rest can be replaced by third-party apps.
How to roll back changes if the phone is unstable?
If after disconnecting services there are bugs (for example, the mobile network does not work or the battery goes down quickly), return everything back: ADB-commands: replace disable-user with enable: adb shell pm enable com.xiaomi.msa.global For NetGuard: remove locking rules for system packages. For custom firmware: scrolle through the official MIUI If the phone does not turn on after manipulating the firmware, transfer it to Fastboot Mode (press the Power). + Vol Down) and run the original firmware.