Permissions & Security
Android 5.0+
Risk: MODIFIES_DEVICE
Remove Device Admin Receiver
Deactivates and removes an active Device Administrator receiver component.
Command Syntax
adb shell dpm remove-active-admin
Generic Syntax:
dpm remove-active-admin <component_name>
Real-World Usage Examples
Remove device administrator
Deactivates admin rights.
adb shell dpm remove-active-admin com.example.admin/.AdminReceiver
Output:
Success: Admin removed ComponentInfo{com.example.admin/com.example.admin.AdminReceiver}