How to completely disable data transfer to Xiaomi: 7 working ways

Xiaomi, Redmi and POCO are known for their functionality, but many users face the problem of excessive data transfer in the background. This not only consumes Internet traffic, but can also compromise privacy. The manufacturer collects telemetry to improve services, and preinstalled applications often exchange data with servers even without your knowledge.

In this article, we'll look at all the ways you can limit data transfer, from standard MIUI settings to hidden settings for power users, how to turn off statistics, block ad services, and minimize background activity. Importantly, some methods require developer rights or root access, but most are accessible to everyone.

1. Disconnection of statistics and diagnostics collection

Xiaomi, by default, collects device usage data to "improve user experience." This feature is called MIUI Optimization, and it works even if you turn off "Sending Error Reports." To completely deactivate it:

Go to Settings โ†’ About Phone โ†’ MIUI version and tap version 7 times to activate developer mode.

  1. Back to Settings โ†’ Additionally. โ†’ For developers
  2. Find the option to Disable MIUI Optimization and activate it
  3. Reset the device

After that, additional data collection services will be disabled, and for complete certainty, also deactivate:

  • ๐Ÿ“Š Settings โ†’ Memory. โ†’ Autocleaning (disables sending memory usage data)
  • ๐Ÿ” Settings โ†’ Annexes โ†’ Application management โ†’ Three points. โ†’ Special access โ†’ Battery Optimization (remove the tick from system applications)
  • ๐Ÿ“ˆ Settings โ†’ Accounts. โ†’ Mi Account. โ†’ Synchronization (disable unnecessary items)

๐Ÿ’ก

If some system applications have started to malfunction after MIUI Optimization has been disabled, return the setup back.This is normal behavior for some Redmi models on older versions of MIUI.

2. Block background data transmission for applications

Many applications continue to use the Internet even when they are folded, and MIUI has built-in tools to limit this:

Open Settings โ†’ Connections and Sharing โ†’ Data Use. Here you will see a list of applications, sorted by traffic consumption. Tap on any application and select:

  • ๐Ÿšซ Prohibit background data transmission (completely blocks access to the Internet in a folded state)
  • โš ๏ธ Restrict the use of mobile data (only Wi-Fi allows)
  • ๐Ÿ”„ Reset statistics (useful for monitoring)

Pay special attention to system applications:

AnnexAppointmentRecommendation
com.miui.analyticsMIUI Analytics CollectionTurn it off completely.
com.xiaomi.marketMi App StoreProhibit background transmission
com.miui.systemAdSolutionAdvertising systemTurn it off completely.
com.miui.playerMusic playerLimit mobile data
๐Ÿ“Š Which app consumes the most traffic on your Xiaomi?
Social media
Messengers
System services
Games
I don't know.

Important: Disabling system applications through settings can cause MIUI to work unstable. Root access is required to completely remove them.

3.Using a VPN to block trackers

If you want to have full control over what data your smartphone sends, you can use a VPN with tracker locking, such as NetGuard or Blokada, which allows you to:

  • ๐Ÿ›ก๏ธ Block connections to specific domains (e.g. data.mistat.xiaomi.com)
  • ๐Ÿ“ก Control the traffic of applications in real time
  • ๐Ÿ”— Create white/blacklists for domains

Instructions for NetGuard:

  1. Install the application from F-Droid (the rootless version)
  2. Turn it on. VPN-mode
  3. Go to the Domain rules tab and add domains to block:
data.mistat.xiaomi.com


sdkconfig.ad.xiaomi.com




tracker.ai.xiaomi.com

For power users: You can export connection logs and analyze them through Wireshark to identify hidden trackers.

List of Xiaomi domains to block
The full list of domains used by Xiaomi to collect data includes more than 50 addresses, among the most active ones: api.io.mi.com, app.market.xiaomi.com, config.sys.miui.com. Blocking all of these domains can disrupt some services, so it is recommended to test one at a time.

4. Disabling MIUI advertising services

One of the main sources of background activity is Xiaomi's ad services, which not only display banners, but also constantly exchange data with servers to turn them off:

Method 1 (without root):

  1. Go to Settings โ†’ Applications โ†’ Application Management
  2. Type in msa (Mi System Ads)
  3. Select com.miui.systemAdSolution and click Disable
  4. Similarly, disable com.xiaomi.midrop (Mi Drop) and com.miui.analytics.

Method 2 (with root):

  • ๐Ÿ“ฑ Install Titanium Backup or SD Maid
  • ๐Ÿ—‘๏ธ Find and remove the packages:
com.miui.systemAdSolution


com.xiaomi.mipicks




com.xiaomi.midrop




com.miui.analytics

After removing the advertising modules, you will notice:

  • โšก Reducing battery consumption by 5-15%
  • ๐Ÿ“‰ Reduce background traffic to 30%
  • ๐Ÿš€ Faster operation of the interface

โ˜‘๏ธ Checking the ad-off

Done: 0 / 5

5. Set up firewall via ADB

For advanced users, there is a way to completely block the network activity of system applications through ADB. This requires a connection to a computer, but gives maximum control.

Instructions:

  1. Install Platform Tools from Google
  2. Enable USB debugging in the developer settings
  3. Connect your phone to your PC and execute the command:
adb shell pm block-network com.miui.analytics


adb shell pm block-network com.miui.systemAdSolution

To see all applications with network access, use:

adb shell pm list packages -f | grep "INTERNET"

To cancel the lock:

adb shell pm unblock-network com.miui.analytics

๐Ÿ’ก

The ADB lock persists even after resetting, but can be removed when you update MIUI.This method does not require root rights, but requires re-use after each major update.

6. Alternative firmware (for experienced)

If you want maximum privacy, consider installing custom firmware. Popular options for Xiaomi:

  • ๐Ÿ“ฑ LineageOS โ€“ pure Android without unnecessary services
  • ๐Ÿ›ก๏ธ GrapheneOS โ€“ firmware with a focus on security
  • ๐Ÿ”ง Pixel Experience โ€“ Android as in Google Pixel

Advantages of custom firmware:

ParameterStock MIUICustom firmware
Data collectionYeah (even when you're off)No (can be completely disconnected)
Background activityTall.Minimum
Security updatesRare.Monthly
AdvertisingPresent.Absent.

โš ๏ธ Attention: Installing custom firmware will void the warranty and may lead to unstable operation of the device:

โš ๏ธ Make a full backup through TWRP Or Orange Backup. โš ๏ธ Check firmware compatibility with your model in the forum XDA Developers โš ๏ธ Make sure the battery charge is at least 60%

7. Additional security measures

In addition to disabling data transfer, we recommend:

  • ๐Ÿ”’ Install AFWall+ flexible firewall management
  • ๐Ÿ“‹ Use Exodus Privacy to analyze tracker applications
  • ๐Ÿ”„ Regularly check application permissions in Settings โ†’ Annexes โ†’ Permits
  • ๐Ÿ›ก๏ธ Disable Mi Cloud if you are not syncing

To verify the effectiveness of the measures taken:

  1. Install GlassWire to monitor traffic
  2. Use PCAPdroid to capture network packets
  3. Check the connections via netstat in Termux:
netstat -tulnp | grep -E 'ESTABLISHED|TIME_WAIT'

If after all the manipulations, some applications stopped working, try:

  • Temporarily allow them access to the network
  • Use Island to Isolate Problem Apps
  • Find alternatives in F-Droid

Frequently asked questions

Can I turn off data transfer without root rights?
Yes, most of the methods in this article do not require root.The exception is the complete removal of system applications and some ADB commands. For most users, it is enough to turn off statistics collection, limit the background activity of applications and use a VPN with a lock tracker.
Will the Mi Account work after the data transfer is disabled?
The basic features of the Mi Account (sign in, contact sync) will work, but some services (such as cloud backup or device search) may be limited.If you need all the features of the account, do not disable com.xiaomi.account and com.miui.cloudservice.
How to check what data my Xiaomi sends?
Install PCAPdroid or HttpCanary to capture traffic. These applications will show: Server addresses that connect to the phone Type of data transmitted (JSON, XML, etc.) Traffic volume for each connection For analysis, you can export logs and open them to Wireshark on a PC.
Does the data shutdown affect GPS?
No, GPS uses satellite signals and is not dependent on mobile data. However, data from the Internet can be used to speed up location (A-GPS). If you turn off background data for com.google.android.gms, the first determination of coordinates can take longer.
Can you roll back changes if something goes wrong?
Yes, all changes are reversible: ADB-Unblock-network commands Disabled system applications can be enabled again in settings Changes to build.prop can be canceled through backup restoration If the phone stops turning on, use Fastboot mode to flash the original MIUI.