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 inactive | The application has administrator rights | First revoke rights to Settings β Passwords and security |
| The application is not in the list of administrators | Rights hidden by the system or given through ADB | Use ADB for forced removal |
| The error "failed to be deleted" | The application is system-based or protected by MIUI | Disable 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.
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).
- Open Settings β Passwords and Security β Application Privileges β Device Administrators.
- Find the desired application in the list and uncheck the tick next to it.
- Confirm the action by clicking βDisableβ or βDeactivateβ.
- 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:
- Enable USB Debugging: Settings β About Phone β MIUI Version (click 7 times) Settings β Additional β For Developers β Debugging by USB
- Connect the phone to the PC and confirm the trusted device.
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
- 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:
- Create a backup through Settings β About Phone β Backup.
- Go to Settings β About Phone β Resetting β Erase all data.
- Select βErase internal memoryβ (optional if you want to clean files).
- 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?
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:
- Press the power button before the off menu appears.
- Press and hold βSwitch Offβ (or βRebootβ on some models).
- 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 ADB | The application is protected by the system or is part of the firmware | Use adb shell pm uninstall --user 0 or reset |
| App App App Appears After Removal | Automatic installation via Mi Cloud or MDM-policy | Turn 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:
- Enable Google Play Protect: Settings β Google β Security β Google Play Protect
- 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.