pdf icon
Category Filter

Device Owner Provisioning using Android Debug Bridge (ADB)

This method is recommended for Device Owner provisioning only when the Android device cannot be provsioned using Near-Field Communication (NFC). This Android provisioning method can also be used for enrolling devices without Google Services as Device Owner (fully managed corporate device). As the name suggests this method uses Android Debug Bridge (or ADB) to provision devices as Device Owner and is applicable for devices running 5.0 or later versions.

Steps for provisioning

  1. Factory reset the device to be managed, if it is already in use or boot up if it is a new device.
  2. Follow the on-screen instructions to configure basic settings and ensure you do not add any Google account or syncing any data.
  3. Enable USB debugging, by navigating to Settings and selecting About Phone. Now navigate to Build Number and click on it 7 times, on which a message You are now a developer is shown.
  4. Now, navigate back to Settings and select Developer Options and select the option Enable USB debugging.
  5. Again navigate back to Settings and select Security. Enable Install from unknown sources.
  6. Download the Device Owner provisioning tool from this link and unzip its contents.
  7. The ME MDM app will be installed after the successful execution of .bat file. If the execution is successful, you can see a success message in the command prompt as shown below:
  8. Once the app is installed, open the ME MDM app and select 'Scan QR'.

  9. To scan the QR code, Navigate to Enrollment -> Android -> EMM Token Enrollment. Once the QR code is scanned, the device will be listed under the EMM token enrollment view.
  10. You can then assign users to the enrolled devices either individually or in bulk using a CSV file, to complete enrollment.

Troubleshooting tips

  • While trying to enroll a Xiaomi device, the command makedeviceowner.bat does not get executed and displays an error.
  • A few Xiaomi devices cannot be enrolled using ADB enrollment method if MIUI optimization is turned on. To enroll these devices, turn off MIUI optimization by navigating to Settings ->Build number. Tap on the build number 6 to 8 times to enable Developer options and disable MIUI optimization. Perform the above mentioned steps again to successfully enroll these devices.

Jump To