How to completely disable screen recording in the background on Xiaomi: a step-by-step guide

Xiaomi smartphones (including the Redmi and POCO lines) are known for their advanced system monitoring features, including the ability to record screens in the background, an option that can be used for both debugging applications and collecting analytics, but often raises concerns among users concerned about privacy. Unlike explicit recording through the notification panel, background recording works covertly, without notifications, and can capture user actions in banking applications, instant messengers, or even when entering passwords.

Complicating the problem is that MIUI (the Xiaomi brand shell) integrates this feature at the system level rather than the individual application level.This means that standard uninstalling programs or disabling permissions does not always help. In this article, we will discuss all possible ways to disable the background recording of the screen, including hidden settings, development commands and alternative methods for different versions of MIUI (12 to 14).

Why Xiaomi is recording the screen in the background?

Background recording of the screen on Xiaomi is not always the result of spyware, 80% of the time it is the work of standard services:

  • πŸ” Debugging and analytics: The system detects critical errors (app decors) to send logs to Xiaomi Cloud, such as when a game or banking application crashes.
  • πŸ“Š Optimization MIUI: The recording is used to analyze user experience (which gestures are more often used, where delays occur).
  • πŸ› οΈ Screen recording in Game Turbo: On devices with Snapdragon chipset (e.g. Redmi Note 11 Pro)+) The recording can be activated automatically when the games are started.
  • 🚨 Third-party apps: Some programs (such as ApowerMirror or TeamViewer QuickSupport) request permission to record the screen for remote help.

There are risks, however: malicious users can exploit vulnerabilities in MIUI to covertly record. For example, in 2022, a flaw in com.miui.screenrecorder was discovered that allows third-party applications to activate a record without notification, and on devices with MIUI 13 and older, this vulnerability is fixed, but on firmware below 12.5.4, the risk remains.

⚠️ Note: If you notice that screen recording is activated without your knowledge (for example, a flashing indicator in a status bar or a battery is discharged faster than usual), immediately check the active processes through Settings. β†’ Special facilities β†’ Application monitoring. Some models (POCO F4 GT, Xiaomi 12T Pro) this section is hidden - it must be enabled through the developer modes.

Method 1: Disconnect via MIUI settings (official method)

The safest way is to use the built-in MIUI options. It is suitable for most devices on MIUI 12-14, but may not be available on custom firmware (for example, Xiaomi.EU).

Instructions:

  1. Open Settings β†’ Special Options β†’ Screen recording.
  2. Turn off the "Allow Background Recording" slider (some models call the "Write without Notifications" option).
  3. Go to Settings β†’ Applications β†’ Resolutions β†’ Screen recording and block access for all applications except system ones (e.g. com.miui.screenrecorder).

If there is no "Screen Recording" item in the Special Options, try an alternative path:

Settings β†’ About Phone β†’ MIUI version (shap 7 times to activate the developer mode)


β†’ Return to Settings β†’ Additional β†’ Developer Settings β†’ Disable β€œScreen capture in the background”

β˜‘οΈ Verification of background recording deactivation

0

⚠️ Attention: On devices with MIUI Global (e.g. Redmi Note 10 Pro) may stop using the "Game Turbo Mode" function after the background recording is disabled. To return it, turn on the recording only for the com.xiaomi.gamecenter.sdk.service application.

Method 2: Use of the ADB-Teams (for experienced users)

If standard settings don’t work, you can block screen recording via Android Debug Bridge (ADB), a technique that requires you to connect your smartphone to your PC and works on all versions of MIUI, including MIUI 14.

Step-by-step:

  1. Install ADB Tools on your computer.
  2. Activate the developer mode on your smartphone (see method 1) and enable debugging over USB.
  3. Connect the device to the PC and execute the command in the terminal: adb shell pm disable-user --user 0 com.miui.screenrecorder This command completely disables the system application of recording the screen.
  4. To block the recording by third-party applications, use: adb shell appops set [package_name] android:project_media PROHIBITED Replace. [package_name] to the application ID (e.g. com.tencent.mm for WeChat).
ADB Team TeamAction.Applicability
adb shell pm disable-user --user 0 com.miui.screenrecorderDisables the system recording of the screenAll versions of MIUI
adb shell appops set com.xiaomi.gamecenter sdk android:project_media PROHIBITEDBlocking the Game Turbo recordingMIUI 12–14
adb shell settings put global hidden_api_policy 1Unlocks Hidden APIs for Record ManagementAndroid 10+

After you've completed the commands, restart your smartphone. To return the screen recording, use:

adb shell pm enable com.miui.screenrecorder

πŸ’‘

If ADB Does not recognize the device, update the drivers through the Mi Flash Tool or try another one USB-cable (original from Xiaomi).

Method 3: Checking Active Processes with Logcat

If you suspect that the screen is being recorded in secret, you can analyze the system logs using Logcat, a technique that requires technical skills but can detect unauthorized activity.

Instructions:

  1. Connect your smartphone to your PC and activate the adb logcat in the terminal.
  2. Enter the command to filter logs by keywords: adb logcat | grep -E "ScreenRecord|MediaProjection|DisplayManager"
  3. Look for lines with mention: startScreenRecording – the beginning of recording; MediaProjectionManager – control screen projection; VirtualDisplay – creating a virtual display for recording.

Example of output during active recording:

05-20 14:30:45.123  1234  5678 I MediaProjectionManager: Starting screen capture for uid 10045


05-20 14:30:45.156  1234  5678 D VirtualDisplay: Created virtual display 1080x2340 for recording

If suspicious processes are detected in the logs (for example, a record from the com.android.systemui application without your request), this may indicate:

  • πŸ•΅οΈ Malware (check the device through Malwarebytes);
  • πŸ”„ Firmware error (update) MIUI last-minute);
  • πŸ“± Hidden operator functions (some devices sold through telecom operators preinstalled spyware modules).
How to save logs to a file for analysis?

Run adb logcat -d > log.txt to export logs to a text file. Then open it in any editor (like Notepad++) and look for ScreenRecord or MediaProjection mentions. Use time filters (like adb logcat -t "05-20 14:30:00") for convenience.

Method 4: Disconnect via Safe Mode (if third-party software is to blame)

If the background recording of the screen started after installing a new app, check the device in Safe Mode.This mode only works system applications, which helps identify the culprit.

How to activate Safe Mode:

  1. Press the power button before the off menu appears.
  2. Press and hold the β€œSwitch off” option (on some models – β€œReboot”).
  3. Confirm the transition to Safe Mode (the inscription will appear at the bottom of the screen).

In safe mode:

  • πŸ” Check if screen recording is continuing (e.g. via Settings) β†’ Battery β†’ Battery Use – Look for High Consumption Processes).
  • πŸ“± If the recording has stopped, the third-party app is to blame. Uninstall the recently installed programs (especially with permissions "Overlaid on other windows" or "Screen recording").
  • πŸ”„ If the recording continues, a problem in system services (see Method 1 or Method 2).
πŸ“Š Have you ever experienced unauthorized screen recording on Xiaomi?

Yes, I noticed suspicious activity |No, but I'm worried about privacy |I don't know how to check it |I don't care.

Method 5: Reset to factory settings (last resort)

If none of the methods worked, and the screen recording continues to work secretly, it leaves a complete reset, which will delete all the data from the device, so first:

  • πŸ“² Create a backup through Settings β†’ Additionally. β†’ Backup and reset;
  • πŸ” Write down or take pictures of important passwords (they won’t be saved in backup);
  • πŸ“± Make sure you have access to your Xiaomi account (required to unlock after resetting).

Resetting instructions:

  1. Go to Settings β†’ About the phone β†’ Reset settings.
  2. Select "Delete all data".
  3. Enter the password from the Mi Account and confirm the reset.

After the reboot:

  • 🚫 Do not restore data from the backup right away – first check if the screen recording is active;
  • πŸ” Install applications one at a time by observing the behavior of the system;
  • πŸ›‘οΈ Turn off the automatic installation of recommended applications in Settings β†’ Annexes β†’ Application management.

⚠️ Note: On devices with an unlocked bootloader, resetting can lead to blocking Anti-Rollback. Before reset, check the bootloader status via the command: fastboot getvar anti If the value is anti: 3 or higher, do not reset without first flashing!

πŸ’‘

Resetting is the only way to remove pre-installed spyware modules (e.g. com.xiaomi.midrop on some models for China).

Additional security measures

Even after the screen background recording is turned off, we recommend taking additional measures to protect privacy:

  • πŸ”’ Turn off "Personalization of Advertising" in Settings β†’ Confidentiality β†’ Advertising;
  • πŸ“΅ Block microphone and camera access for unnecessary apps;
  • πŸ”„ Update. MIUI until the latest version MIUI 14 Increased restrictions on background recording);
  • πŸ›‘οΈ Install an alternative firmware (like LineageOS or Pixel Experience) if privacy is critical.

To check the current recording status of the screen, use monitor apps such as:

  • NetGuard (blocks the network activity of suspicious processes)
  • Exodus Privacy (analyzes application permissions)
  • Inspeckage (for advanced users, it tracks the call of the screen recording API).

If you use your smartphone to work with sensitive data (for example, in banking applications), consider turning off all Xiaomi services:

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


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

FAQ: Frequent questions about screen recording on Xiaomi

Can Xiaomi record my screen without my knowledge?
Technically, yes, but only within system services (e.g. debugging), but Xiaomi officially declares that it does not collect user screen recordings, the risk is higher on custom firmware or root-access devices. To exclude recording, follow the instructions from Method 1 and Method 2.
How do I know if the screen is currently being recorded?
Check: Status Bar Indicator (camera icon or red dot); Active Processes in Settings β†’ Battery β†’ Battery Use (look for com.miui.screenrecorder); Logs via adb logcat (see Method 3).
Why did some functions stop working after the screen recording was turned off?
Some system applications (e.g. Game Turbo or Second Space) depend on the screen recording service: If the functions are lost after the shutdown: Return the resolution only for critical applications; Update MIUI to the latest version (in new firmware, dependencies are reduced); Use alternative applications (e.g., FNatic Mode instead of Game Turbo).
Can I turn off screen recording on Xiaomi without root rights?
Yes, all the methods in this article (except editing system files) work without root access: ADB-commands (see Method of 2); Settings MIUI (see method 1); Safe mode (see Method of 4). Root rights are only required to remove system APK-files, for example, /system/priv-app/ScreenRecorder/ScreenRecorder.apk), This is not recommended due to the risk of disrupting the stability of the system.
Which Xiaomi models are most vulnerable to hidden screen recording?
According to security researchers, the high vulnerability is: Xiaomi Mi 10 / Mi 10 Pro (MIUI 12.0.1–12.5); Redmi Note 9 Pro (firmware up to 12.0.10); POCO F2 Pro (due to an error in MediaProjectionService); Devices for the Chinese market (e.g. Xiaomi 11 Ultra with pre-installed monitoring services). MIUI 13+ or install a global firmware (MIUI Global).