Provisioning android devices using QR Codes
Summary
Related SOTI ONE Platform Products
Related Device OS
Situation
- Improve the staging process when enrolling a large number of devices.
- Choose provisioning modes and versions of the MDM agent to enroll the device.
Environment
- The device you are enrolling must be factory reset.
- The device must run Android OS Version 7.0 (Nougat) or higher.
- A QR code generator tool. This article references https://barcode.tec-it.com/en; however, you can use other tools such as MobiControl’s Stage Programmer or Datalogic’s Barcode Generator.
Process Description
To use QR codes to enroll Android Enterprise devices:
- In a web browser, navigate to the QR code generation website https://barcode.tec-it.com/.
- In the left-hand menu, select Mobile Tagging > QR Code > QR Code (Mobile/Smartphone).
- Paste the following script into the Data field:
{ "android.app.extra.PROVISIONING_LOCALE":"en_GB", "android.app.extra.PROVISIONING_WIFI_SSID":"YourWifiSSID", "android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED":"true", "android.app.extra.PROVISIONING_WIFI_PASSWORD":"YourWifiPassword", "android.app.extra.PROVISIONING_WIFI_SECURITY_TYPE":"WPA", "android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME":"net.soti.mobicontrol.androidwork/net.soti.mobicontrol.admin.DeviceAdminAdapter", "android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM":"hn8mSNJMPcovWbnnWrb-uMpWZjNlNp-jyV_2A-Whumc=", "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION":"http://soti.net/apk/ae2", "android.app.extra.PROVISIONING_SKIP_ENCRYPTION": false, "android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": { "enrollmentId":"https://yourserver/Enroll/N --- (or use the Enrollment ID)","PROVISIONING_MODE":"FULLY_MANAGED_DEVICE" } }
- Update the script with the following information:
- Replace the EnrollmentID value with the customer’s enrollment ID.
- Replace the WIFI_SSID value with the customer’s network SSID.
- Replace the WIFI_PASSWORD value with the customer’s network password.
- Optional: To maintain system apps after enrollment, change the PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED value to False.
- Optional: To install another agent instead of the latest MobiControl agent (http://soti.net/apk/ae2), change the PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION value to the location of your desired agent.
Note: You may find other provision configuration options at: https://bayton.org/android/android-enterprise-zero-touch-dpc-extras-collection/
- Select Refresh to generate a QR Code.
- Start a new or factory-reset device. DO NOT tap START when the initial set-up screen opens.
- Tap an empty area of the screen six times to trigger a prompt to scan your QR code.
-
Scan the QR code generated you created.
- QR code provisioning: https://support.google.com/work/android/answer/9566881?hl=en#zippy=%2Center-an-emm-token-to-trigger-setup%2Ctransfer-setup-details-via-qr-code
- Datalogic QR code generator: https://datalogic.github.io/aeqr/
- MobiControl Stage Programmer: https://play.google.com/store/apps/details?id=net.soti.mobicontrol.programmer&hl=en_CA&gl=US
Was this helpful?
Thanks for your feedback