During device setup (first boot), the retailer scans a QR code or uses NFC to register the EMI Locker app as Device Owner. This triggers the Android OS to grant the DevicePolicyManager API the highest privilege level available to a third-party app. The Device Owner is registered in the Android OS database — not in a user app list. From this moment, the DPC can call APIs such as lockNow(), addUserRestriction(), setKeyguardDisabledFeatures(), and wipeData() with no further user permission. These APIs are part of the Android platform and cannot be blocked by the user.
An accessibility service runs as a background service registered under android.accessibilityservice.AccessibilityService. It monitors screen events and can draw an overlay when the lock condition is met. To work, it requires the user to manually enable it under Settings → Accessibility. It runs as a user-space background service — meaning it can be disabled from the same Settings menu, killed by battery optimisation, removed by Play Protect, or wiped in a factory reset. On Android 12+, Google has progressively restricted non-standard accessibility service use, causing breakage on newer devices.
30 seconds. Open Settings, search "Accessibility", find the EMI app, toggle off. Lock screen removed. No alert sent.
Long-press power button → Reboot to Safe Mode. All third-party services (including accessibility) are disabled in Safe Mode. Device works normally. EMI app does not run.
Factory reset from Settings or recovery mode removes the app completely. Device starts fresh. Nothing persists. DPC is immune to this — accessibility is not.
Xiaomi MIUI, Samsung One UI, OPPO ColorOS all auto-kill background services aggressively to save battery. Accessibility services are background services and get killed regularly — creating gaps in enforcement that customers can exploit.
Play Protect may flag accessibility service being used for non-accessibility purposes as a potential threat. Some OEM security scanners quarantine or block the app automatically. DPC uses official Google APIs — Play Protect certified.
From Android 12, Google has tightened restrictions on non-standard accessibility service usage. Apps using accessibility for non-assistive purposes face increased risk of Play Store removal and OEM blocking with each new Android release.
See how DPC-based enforcement differs from accessibility-service workarounds. Start from ₹60/key with no monthly fees.