How to enable sharing with the environment on Xiaomi smartphones

Xiaomi’s current Android smartphones offer a wide range of features that make it easy to use and personalize the interface, one of which is what’s called “environmental sharing,” which is often hidden in the back of system settings or activated automatically when you install certain applications.

The environment sharing feature is closely linked to geolocation, Bluetooth beacons, and Google services that scan the space around the user.This allows the gadget to offer relevant recommendations, set up a smart home, or transfer coordinates to cloud services for traffic analysis. However, the constant activity of sensors can raise questions about privacy and battery consumption, so it is important to know how to manage this.

In this article, we will discuss in detail where the settings that are responsible for the interaction of the device with the outside world are located, and what steps you need to take to activate or completely deactivate them, learn how to distinguish between system services and third-party applications, and understand the risks of enabling certain data exchange protocols in public places.

What is sharing with the environment in the Android system

The term “environmental sharing” in the context of Xiaomi mobile devices is most often used to refer to the set of services responsible for scanning Wi-Fi networks, Bluetooth devices and GPS coordinates even when the screen is turned off. Android OS uses this data to clarify the location, which is especially true in urban environments where the satellite signal may be unstable.

It’s also at the heart of Google Pay, auto-connection to known networks, and integration with smart home devices. If you’re using the Mi Home ecosystem, sharing with your surroundings is critical to quickly detecting new light bulbs, outlets, or cameras. Without active scanning, your smartphone simply won’t see peripherals in pairing mode.

However, it is worth considering that constant survey of the ether requires the resources of the processor and communication modules. In the background, this can lead to an imperceptible but regular discharge of the battery. Users who monitor each percent of charge often look for ways to limit this activity without turning off the fully necessary navigation functions.

  • 📍 Precise Positioning Through Combination GPS, Wi-Fi and cell towers.
  • 📡 Automatic Detection of IoT Devices in Bluetooth Radio.
  • 🔋 Background operation of services affecting the autonomy of the device.

⚠️ Warning: Disabling geolocation and scanning services completely can disrupt maps, navigation and banking applications requiring location confirmation.

Where to find settings in the interface MIUI and HyperOS

The interface of the MIUI shell and the new HyperOS has its own specific grouping of settings, so finding the right item can take time. Most often, the management of exchange with the environment is not in one place, but scattered across several sections of the Settings menu.

To access the basics, go to Settings → Passwords & Security → Data Access. This is a list of all applications that have geolocation and network permissions. This menu is where you can customize in detail who is allowed to “communicate” with the environment. Also check Settings → Connections & Sharing → Geolocation, where you can find the more subtle scan settings.

In some versions of firmware, especially in Chinese builds, settings can be hidden in the engineering menu or the developer section, and if standard methods can not find the right switch, you can search the settings by entering the request "geolocation" or "scanning", the system will prompt you to go to the desired menu item.

Hidden Developer Settings
To access advanced features, go to About Phone and click on the build number 7 times. The Developer Menu will show Bluetooth debugging and Wi-Fi scanning settings that are not visible to the average user.

It is important to distinguish between system settings and application settings. Often users are looking for a common switch, while a specific program, such as a messenger or a social network, is active. Detailed analysis of permissions helps to identify the “disturbing” of calm and autonomy.

Configure permissions for applications and services

Centralized access rights management is a powerful tool in the hands of Xiaomi users, where when you install a new app, the system asks for permission to access the location, and the “Only during use” option is the safest and most rational, allowing applications like taxis or maps to work correctly, but preventing them from scanning the environment in the background.

For deep customization, go to Settings → Applications → Application Settings. Select the application you are interested in (such as a browser or social network) and find the "Allowances" option. Here you can either deny access to the geoposition completely or limit it.

☑️ Access rights verification

Done: 0 / 5

Google Play services also have their own environment sharing settings, and in Settings → Google → Geolocation, you can turn off location history and Wi-Fi scans to improve positioning, which will not delete your account, but will limit Google’s collection of data about your movements.

Some system services, such as Device Search or Device Find, require constant active signaling with the environment to work with the lost phone search function. Disabling these services will make remote locking or calling a lost gadget impossible, so weigh the risks before making changes.

  • 🔒 Selective granting of rights “Only when used».
  • 🚫 Blocking background access for rarely used programs.
  • 🛡️ Control of Google and Xiaomi system services.

Use of Do Not Disturb Mode and Profiles

The operating system provides convenient tools for temporarily limiting communication functions, which indirectly affects the exchange with the environment.Do Not Disturb primarily blocks notifications and calls, but in advanced settings you can configure it to limit background activity.

MIUI has a Second Space feature, or guest mode, that creates an isolated environment with a separate set of rules, and by switching between profiles, you can create situations where the data exchange with the environment is completely stopped, since the guest profile often turns off geolocation services by default.

Also worth mentioning is the power saving mode: When activated, the system forcibly limits the background activity of applications and the frequency of network scanning, and this is the fastest way to temporarily “muffle” the exchange with the environment without digging deep into the settings.

💡

Use automation on schedule: Set up flight or energy saving at night to completely eliminate data exchange with the environment while sleeping.

Users who want maximum privacy can use scripts in the Auto Tasks app, and the script can set up automatic Bluetooth and Wi-Fi shutdowns when connected to a home network, reducing digital noise and data exchange.

Problems with location and their solution

Often users are faced with a situation where the functions depending on the environment are not working correctly, the map can show a place in the next area, and the search for smart home devices does not give results. Most of the time, the problem lies in the desynchronization of Google Play Services services or a failure of the GPS module.

The first step in diagnosis is to clear the geolocation services cache. Go to Settings → Apps → All apps, find Google Play Services and select Clear Cache. It is also helpful to reset your network settings, which will return Bluetooth and Wi-Fi settings to factory values, eliminating software conflicts.

If the problem persists, check whether flight mode or traffic saving is on, which can block data transmission. In rare cases, flashing of radio modules is required, but this is already a procedure for the service center. For the average user, it is enough to make sure that the date and time are set automatically.

Symptoms.Possible causeMethod of decision
Inaccurate coordinatesWi-Fi scans disabledInsert “Improving accuracy”
Can't see the IoT devicesBluetooth lockdownCheck the permissions for Mi Home
Fast battery dischargeBackground scanning.Limit the rights of applications
Mistakes in navigationFailure GPS-moduleNetwork settings reset (AGPS)

In difficult cases, when software methods do not help, you may need to completely reset your phone settings to factory state.Be sure to back up important data before doing so, as all user settings will be deleted.

Data security in active exchange

Active sharing with the environment opens up attack vectors for attackers. In theory, through vulnerabilities in Bluetooth or Wi-Fi Direct protocols, hackers can access the device or track movements, so turning these features on in public places with open networks requires caution.

It is recommended to regularly check the list of devices that are allowed to connect, and remove unknown gadgets, and it is also worth turning off the visibility of the phone to other devices over Bluetooth, when you are not pairing, this will hide your smartphone from curious scanners in the subway or cafe.

💡

Security comes first: Turn off automatic connectivity to open Wi-Fi networks and use a VPN when dealing with sensitive data in places.

The Android system regularly releases security patches that close holes in communication protocols. Make sure your Xiaomi smartphone is updated to the latest available firmware version to be protected from known vulnerabilities.

  • 🔐 Regularly checking the list of associated devices.
  • 🙈 Hiding Bluetooth Visibility in Public Places.
  • 🔄 Timely update of the security system.

Remember, in today's digital world, complete anonymity is not possible as long as your smartphone is turned on, but when you set it up correctly, you can minimize the digital footprint and control what data goes to the network.

📊 How often do you check the application rights?
Every day.
Once a week.
Only when installed
I never check.

Frequently Asked Questions (FAQ)

Does the shutdown of the exchange with the environment affect the alarm clock?
No, the alarm clock is a system function and works independently of the network modules, but if you use a smart alarm clock that fires when you arrive at a certain point, then it will require geolocation to work.
Can I completely remove Google services to disable sharing?
Technically, this is possible through root rights, but it will disrupt most applications, including bank and card, and it's easier and safer to just restrict their rights in settings.
Why did the geolocation settings drop after the firmware update?
With major Android or MIUI updates, the system often resets application permissions for security reasons, and you will need to re-certify the rights for important programs when you first run.
Is it safe to use the “Device Search” function?
Yes, it's an important security feature, which allows you to find your phone when you lose it or remotely erase your data, and you only need to turn it off in rare cases of high secrecy.