Android Enterprise Device Owner ADB provisioning
Content
- Purpose
- Provisioning
- Sources / usefull resources
Purpose
One day, I had to do some screen capture for the whole enrollment process, but some app screens were protected to prevent screenshots. I found a solution: provision device using adb
, enable Developer Options
and use scrcpy to get my device screen on my computer.
Provisioning
- Initialize device as usual (do not provision the device with standard Anrdoid Enterprise provisioning method)
- Install the DPC client
- Remove all Google accounts on device
- Enable
Developper Options
and debug mode - Set the DPC role to the DPC client (cannot be undone or changed) with the following commands:
|
|
DPC | Admin component name |
---|---|
MobileIron Cloud | com.mobileiron.anyware.android/com.mobileiron.polaris.manager.device.AndroidDeviceAdminReceiver |
MobileIron Core | com.mobileiron/com.mobileiron.receiver.MIDeviceAdmin |
VMware Workspace ONE | com.airwatch.androidagent/com.airwatch.agent.DeviceAdministratorReceiver |
Android Management API | com.google.android.apps.work.clouddpc/.receivers.CloudDeviceAdminReceiver (seems to not work) |
Cisco Meraki | com.meraki.sm/.DeviceAdmin |
Test DPC | com.afwsamples.testdpc/.DeviceAdminReceiver |
- Enroll device with DPC