This browser can't do WebUSB
The ADB over USB method needs desktop Chrome, Edge, or another Chromium browser over https:// (or localhost) — that method is disabled below. QR code provisioning still works here since it only needs Web Crypto, not WebUSB.
Choose how to install
Install CoreMDM
- On the phone: Settings → About → tap Build number 7× to unlock Developer options.
- Enable USB debugging in Developer options, then plug in via USB.
- Click connect, pick your phone in the Chrome popup, and tap Allow on the phone's "Allow USB debugging?" prompt.
Accounts still on the device
Apps below can be disabled to drop their account — reversible, re-enabled on the Restore tab, no data wiped (unlike uninstall). Google/Samsung accounts can't be cleared this way; remove those in Settings → Accounts.
Select the CoreMDM APK
The testOnly build (installed with -t so it's accepted).
com.core.mdm is now Device Owner. Sign in to the CoreMDM app on the phone to
finish enrollment, then re-add any Google/Samsung account you removed.Restore & rescue
Re-enable the apps this tool disabled, and (testOnly builds only) remove CoreMDM as Device Owner via ADB — the escape hatch if the app is stuck or factory reset is blocked.
ADB log
QR code Device Owner provisioning
This makes a QR the phone's setup wizard scans to install CoreMDM as Device Owner on a freshly factory-reset device — no USB, nothing else to configure.
Scan this on the phone
- Factory reset the phone (Settings → General management → Reset, or reset in recovery).
- At the very first Welcome / "Hi there" screen, tap the screen 6 times on the same spot.
- The device asks to connect Wi-Fi, then opens a QR scanner — point it at the code above.
- It downloads CoreMDM and sets it as Device Owner automatically. Finish setup, then sign in.