How to Uninstall an Application with Administrator Rights on Xiaomi: The Complete Guide

Administrator rights to Xiaomi give applications extended control over the system, from locking the screen to remote control of the device. However, such programs often become a source of problems β€” they interfere with updates, consume resources or even spy on the user. Delete them in the standard way through Settings β†’ Applications will not work: the system blocks the β€œDelete” button while the application retains administrative privileges.

In this article, we will discuss all working methods for removing administrative applications on Xiaomi smartphones (including Redmi, POCO and Black Shark. MIUI 12-14 and Android 11-14, especially when:

  • πŸ”’ The β€œDelete” button is inactive in the application settings
  • πŸ“± The application does not appear in the list of administrators
  • 🚫 The system produces an error "failed to deleteΒ»
  • πŸ”„ After removal, the application appears again.

Before you start, make sure you have a backup of important data – some methods require resetting settings or working with ADB.

Why you can’t just remove the administrator app

Administrator apps are integrated into Android security, and they can:

  • πŸ” Lock the screen or require a password to unlock
  • πŸ“ Tracking the location of the device
  • πŸ“€ Remotely erase data (Find My Device)
  • πŸ›‘οΈ Prohibit installation of other applications

So Android blocks their removal until the rights are revoked, which is complicated by additional MIUI restrictions on Xiaomi:

Problem.Reason.Decision
The Remove button is inactiveThe application has administrator rightsFirst revoke rights to Settings β†’ Passwords and security
The application is not in the list of administratorsRights hidden by the system or given through ADBUse ADB for forced removal
The error "failed to be deleted"The application is system-based or protected by MIUIDisable through Developer Settings or Reset

Important: Some applications (e.g., com.miui.guardprovider or com.xiaomi.finddevice) are system-based and their removal may disrupt MIUI. Before taking action, check the name of the package through Settings β†’ Apps β†’ All Apps β†’ [name] β†’ Additional.

πŸ“Š What Administrator App Are You Trying to Remove?
Antivirus (Avast, Dr.Web, etc.)
Find My Device (Mi Cloud)
Corporate (MDM-decision)
Other

Method 1: Revocation of Administrator Rights through MIUI Settings

The safest method is to revoke the rights first and then uninstall the application, which is suitable for most third-party programs (antiviruses, MDM-Clients, parental controls).

  1. Open Settings β†’ Passwords and Security β†’ Application Privileges β†’ Device Administrators.
  2. Find the desired application in the list and uncheck the tick next to it.
  3. Confirm the action by clicking β€œDisable” or β€œDeactivate”.
  4. Return to Settings β†’ Applications β†’ Application Management, find the app and click β€œDelete”.

If the application is not in the list of administrators, but the button β€œDelete” is still inactive:

  • πŸ” Check the Special Access section β†’ Access to notifications – some programs block deletion through notifications.
  • πŸ”„ Restart the device and try again.
  • πŸ“± Make sure you are logged into the main user profile (not the guest or work profile).

Check the backup of the data|Turn off sync with Mi Account|Battery charge > 50%|Connect to Wi-Fi (to download updates after reset)-->

Method 2: Remove via ADB (for hidden administrators)

If the app doesn’t appear in the admin list but blocks deletion, you’ll need Android Debug Bridge (ADB) – a method that works even for system applications, but requires caution.

What you need:

  • πŸ’» Computer with installed ADB Tools
  • πŸ“± Initiated Debugging Mode USB Xiaomi

Steps:

  1. Enable USB Debugging: Settings β†’ About Phone β†’ MIUI Version (click 7 times) Settings β†’ Additional β†’ For Developers β†’ Debugging by USB
  2. Connect the phone to the PC and confirm the trusted device.
  3. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
  4. Follow the commands: adb devices adb shell pm list packages -f | grep "name packet" adb shell pm uninstall -k --user 0 name packet Replace the name packet with the real one (e.g. com.avast.android.mobilesecurity).

If there is a mistake DELETE_FAILED_DEVICE_POLICY_MANAGER:

⚠️ Note: This means that the application is governed by device policy (e.g., corporate policy). MDM). Try to execute first: adb shell dpm remove-active-admin name packet/administrator Clarify the administrator name by command: adb shell dpm list admins

πŸ’‘

If you don't know the name of the package, use the command adb shell pm list packages | grep "keyword". For example, for Avast: adb shell pm list packages | grep "avast".

Method 3: Resetting settings (if nothing helps)

The last measure - reset to factory settings - is applied when:

  • πŸ”’ The application is not removed by any method.
  • πŸ“± The device is locked by the administrator (for example, after installation) MDM)
  • πŸ”„ The system emits a critical error when trying to delete the device.

How to perform a reset on Xiaomi:

  1. Create a backup through Settings β†’ About Phone β†’ Backup.
  2. Go to Settings β†’ About Phone β†’ Resetting β†’ Erase all data.
  3. Select β€œErase internal memory” (optional if you want to clean files).
  4. Confirm the action and wait for the reboot.

Once reset, all the admin apps will be deleted, but account data, photos and settings will also disappear, and if the device is tied to Mi Account, you will need to enter your username and password after the reboot.

What to do if after the reset there are administrative applications?
If the application reappears after reset, it means that it is installed as a system (for example, through firmware), in this case, only flashing through Fastboot or Recovery using official software from Xiaomi will help.

Method 4: Use Safe Mode (Safe Mode)

If the application blocks access to settings, try booting into Safe Mode – a mode where all third-party programs are disabled.

How to turn on:

  1. Press the power button before the off menu appears.
  2. Press and hold β€œSwitch Off” (or β€œReboot” on some models).
  3. Confirm the transition to Safe Mode.

In safe mode:

  • πŸ” Check the list of administrators in Settings β†’ Passwords and security.
  • πŸ—‘οΈ Remove the application through Settings β†’ Annexes.
  • πŸ”„ Restart the device to normal mode.

⚠️ Note: Some applications (such as Mi Security) may remain active even in Safe Mode. ADB dump.

Frequent mistakes and their solutions

When you remove admin applications, users face typical problems, and we'll look at the most common ones.

Mistake.Reason.Decision
Removal is not possible (grey button)The application has active administrator rights or access to special functions.Disable all rights in Settings β†’ Special access
DELETE_FAILED_INTERNAL_ERROR into ADBThe application is protected by the system or is part of the firmwareUse adb shell pm uninstall --user 0 or reset
App App App Appears After RemovalAutomatic installation via Mi Cloud or MDM-policyTurn off application synchronization in Settings β†’ Accounts

If you see a message, this application is protected by the device administrator, but it is not in the administrator list:

  • πŸ” Check the hidden administrators through ADB: adb shell dpm list admins
  • πŸ“± Remove the cache and application data Settings β†’ Annexes β†’ [name] β†’ Warehouse.
  • πŸ”„ Restart the device in Safe Mode and try again.

πŸ’‘

If the application is related to corporate policy (MDM), Deleting it may result in the device being locked, in which case contact the administrator. IT-lock-out.

How to prevent the reappearance of administrative applications

To avoid problems in the future:

  • πŸ›‘οΈ Install apps only from Google Play or Mi App Store.
  • πŸ” Before installation, check the permissions in the application description.
  • πŸ“± Regularly review the list of administrators in Settings β†’ Passwords and security.
  • πŸ”„ Turn off automatic application synchronization in Settings β†’ Accounts. β†’ Mi Account.

For additional protection:

  1. Enable Google Play Protect: Settings β†’ Google β†’ Security β†’ Google Play Protect
  2. Limit installation from unknown sources: Settings β†’ Applications β†’ Special access β†’ Install unknown applications

If you often encounter unwanted admin apps, consider using alternative firmware (like LineageOS or Pixel Experience) that lacks pre-installed Xiaomi system apps but requires unlocking the bootloader.

FAQ: Answers to Frequent Questions

Can I uninstall Xiaomi system apps (such as Mi Security or Find My Device)?
Removing system applications is not recommended as it may disrupt MIUI. However, if you are confident in your actions, use ADB with the command: adb shell pm uninstall --user 0 name packet To Find My Device package is called com.xiaomi.finddevice. Once you delete the search function, the devices will stop working.
The app has been deleted, but the administrator's rights are still there.
This happens if the rights were given through Device Policy Manager. execute: adb shell dpm remove-active-admin name packet/admin To see active administrators, use: adb shell dpm list admins If the command does not help, do a reset.
How to remove the administrator application on Xiaomi without a computer?
Without ADB, you can try: Revoke Settings β†’ Passwords and Security β†’ Device Administrators. Delete via Safe Mode (see Method 4). Use a file manager with root rights (such as Root Explorer) if the device is rooted. If nothing helps, you just reset.
After removing the antivirus, the phone got slower. What's the matter?
The antivirus may have left behind background processes or cache. Follow these steps: Clear the cache to Settings β†’ Apps β†’ [antivirus name] β†’ Storage β†’ Clear the cache. Check autoboot: Settings β†’ Apps β†’ Autorun and disable unnecessary programs. Restart the device. If the problem persists, optimize through Settings β†’ About Phone β†’ Optimization.
Can I remove the administrator permissions from the Mi Account app?
No, com.xiaomi.account is a system application that is necessary for the operation of Xiaomi services. its removal will lead to: Unable to sign in to Mi Account Sync Errors Problems with MIUI Updates If you want to restrict access, disable sync in Settings β†’ Accounts β†’ Mi Accounts β†’ Mi Account.