The device administrator on Xiaomi smartphones is a special status that applications receive to manage security, screen lock or corporate policies. Most often, users face this problem after installing antivirus (Avast, Kaspersky), parental control applications (Google Family Link) or corporate ones. MDM-Suddenly you find that you can't uninstall the program, reset the password, or even reset the settings -- the system requires you to disable the administrator's permissions first.
In this article, we will discuss all the current ways to remove the administrator of a device on Xiaomi (including the Redmi, POCO and Black Shark models) running MIUI 12-14. From simple methods through settings to radical solutions like factory reset or using ADB. We will pay special attention to typical errors that may not disable administrator rights, and explain why some applications (for example, Find My Device from Google) can not be removed completely.
Why you canβt just remove the administrator app
When a program gets device administrator privileges, it integrates into Android security at the kernel level.
- π Blocks standard deletion β the button βDeleteβ in the settings of the application becomes inactive.
- π Critical actions are prohibited: password reset, disabling Find My Device, changing encryption settings.
- π‘οΈ The app can intercept commands β for example, block reset attempts through Recovery.
Xiaomi is getting more complicated due to the MIUI features:
- π± In some versions of the firmware, the device administrator menu is hidden in the depth of the settings.
- π§ Xiaomi apps (such as Mi Cloud or Security) can automatically restore administrator rights after a reboot.
- β οΈ After updating MIUI Some system applications receive administrator rights without notifying the user.
β οΈ Note: If the device is managed by Google Find My Device, disabling it will make it impossible to find the phone through Google services in the event of theft. Before deleting, make sure you have an alternative tracking method (e.g. Mi Cloud).
Method 1: Disconnect via MIUI settings (the easiest)
If the administrator application is not system-based (for example, Avast or Cerberus), try to remove its rights through the standard menu:
- Open the Settings β Applications.
- Slip on the three dots in the upper right corner and select Special Access (or Advanced Settings in older versions of MIUI).
- Select Device Administrators (in some firmware, the item is called Device Management).
- Find the desired application in the list and uncheck the tick opposite it.
- Confirm the action by clicking Deactivate or Disable.
If the Device Administrators item is not on the menu, try an alternative path:
Settings β Passwords and security β Privacy β Special access β Device administratorsClose all background applications
Connect your phone to charge (in case of hanging)
Make sure you have a backup of the data.
Remember the password from your Mi Account (may be required to confirm)-->
β οΈ Note: On some models POCO (for example, POCO X3 Pro) after the administrator is disabled, the system may require input PIN-code SIM-Check the maps, even if they haven't been installed. PIN used in your SIM.
Method 2: Remove via Safe Mode (if the application blocks settings)
If the administrator application blocks access to settings (e.g., Clean Master or enterprise) MDM-Solutions, start your phone in Safe Mode. In this mode, all third-party applications are disabled, but system settings remain available.
How to run Safe Mode on Xiaomi:
- Press the power button before the turn off menu appears.
- Press the finger to turn off (or turn off power) and hold for 3-5 seconds.
- You will be asked to reboot in Safe Mode β confirm.
In Safe Mode:
- πΉ Go to Settings. β Apps and find a problem application.
- πΉ Open its page and tap Delete (if the button is active) or first uninstall the administrator rights (as in Method 1).
- πΉ Restart your phone in normal mode.
π‘
If Safe Mode doesnβt start, try an alternative method: turn off your phone, then press the Power + Volume buttons down until the MI logo appears. In the recovery menu, select Reboot to Safe Mode (if there is one).
Method 3: Use of ADB (for power users)
If the application is not removed through settings and even in Safe Mode, the ADB (Android Debug Bridge) option remains, which requires connecting the phone to the computer and basic command line knowledge.
Step 1: Preparation
- π₯οΈ Install. ADB and Fastboot Tools on PC.
- π± On the phone, activate Developer Mode: go to Settings β About the phone and tap 7 times on the item Version MIUI.
- π§ Back to Settings β Additionally. β For developers and enable debugging by USB.
Step 2: Connect and commands:
- Connect your phone to your PC via USB (select File Transfer Mode).
- Open the command line (Windows) or the terminal (Mac/Linux) and type:
adb devicesIf the phone appears in the list, run the command to disable the administrator (replace com.example.app with the app package):
adb shell dpm remove-active-admin com.example.app/administrator componentTo find out the exact application package, use:
adb shell pm list packages | grep "appendix name"How to find the administrator component?
| Annex | Package. | Administrator component |
|---|---|---|
| Google Find My Device | com.google.android.apps.adm | .admin.AdminReceiver |
| Avast Mobile Security | com.avast.android.mobilesecurity | .deviceadmin.AdminReceiver |
| Mi Cloud (Xiaomi) | com.miui.cloudservice | .sync DeviceAdminReceiver |
| Cerberus Anti-Theft | com.lsdroid.cerberus | .CerberusDeviceAdmin |
β οΈ Note: Disabling the administrator for com.miui.cloudservice may result in loss of connection with your Mi Account. After that, you will not be able to use Mi Cloud, Find Device and other Xiaomi services until you re-authorize.
Google Find My Device
Antivirus (Avast, Kaspersky, etc.)
Corporate MDM (Intune, MobileIron)
Parental Controls (Family Link)
Other (write in the comments)-->
Method 4: Reset to factory settings (extreme case)
If none of these methods work, then you have to do hard reset, which is to completely reset your phone to factory settings, and this method will delete all the data, including photos, messages, and apps, so only use it as a last resort.
How to reset:
- Back up your important data (via Settings β About Phone β Backup or manually).
- Go to Settings β About the phone β Reset settings.
- Choose to erase all data (or delete everything in new MIUI versions).
- Enter the password from your Mi Account (if requested) and confirm the reset.
If the phone is locked and does not let you into the settings, reset via Recovery Mode:
- Turn off the phone.
- Press Power + Volume up until the Mi logo appears.
- In the recovery menu, select Wipe Data β Wipe All Data (manage volume buttons, confirm β power button).
π‘
After resetting the phone may require re-authorization in the account Mi. If you forgot the password, restore it to account.xiaomi.com - otherwise you risk getting a "brick".
Method 5: Remove via TWRP (for hard-wired phones)
If your Xiaomi has custom recovery (TWRP) installed, you can manually remove the admin application through the file manager, a method that is suitable for advanced users, as it requires working with system files.
Instructions:
- Load your phone to TWRP (Put Power + Volume Up when the phone is off).
- Select Advanced β File Manager.
- Go to the folder. /data/system and find the files: device_policies.xml device_owners.xml (if)
Delete these files (or edit them by deleting the lines with the problematic application package).
Reboot the phone.
β οΈ Note: Delete files in /data/system This can cause unstable phone performance, including Google or Xiaomi account sync errors. TWRP (Backup β Select Partitions β Data).
Frequent mistakes and their solutions
Even following the instructions, users often encounter problems, and here are the most common errors and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| The "Disable" button is inactive | Application protected by administrator password | Find out the password from the device owner or reset through Safe Mode |
| After the shutdown, the rights are restored | Automatic update of the application | Turn off auto-update in Play Market or uninstall the app entirely |
| ADB does not see the device | Not installed drivers or not included debugging | Install Xiaomi drivers and check Debugging over USB |
| After the reset, you need an old Mi Account. | Accounts are linked to the device (Mi Account Lock) | Restore your account or contact Xiaomi for support |
Important: If you activate the Mi Account Lock feature on your phone, you will need to enter the username and password from the Mi Account that was tied before the reset, and without this data, you will not be able to unlock the phone β even in the service center.