Provisioning android devices using QR Codes

Publish Date: 30-Mar-2023 Last Modified Date: 16-May-2025 SOTI MobiControl
1272 0

Summary

This article explains the steps to set up QR Codes to enroll Android Enterprise devices. A user (typically an IT admin) scans your EMM’s QR code to enroll a device from its setup wizard.

Related SOTI ONE Platform Products

SOTI MobiControl

Related Device OS

Android Enterprise

Situation

Use cases:
  • 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

Prerequisites:
  • The device you are enrolling must be factory reset.
  • The device must run Android OS Version 7.0 (Nougat) or higher.
Note: To provision a device as Corporate-Owned Personally-Enabled (COPE), it must run Android OS Version 8.0 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:

  1. In a web browser, navigate to the QR code generation website https://barcode.tec-it.com/.
  2. In the left-hand menu, select Mobile Tagging > QR Code > QR Code (Mobile/Smartphone).

1.png

  1. 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"

    }

    }

 

  1. 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.
Note: The PROVISIONING_WIFI_SECURITY_TYPE is set to WPA, but WPA/WPA2 is implied. Note: SSIDs are case-sensitive.
  • 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/

  1. Select Refresh to generate a QR Code.

2.png

  1. Start a new or factory-reset device. DO NOT tap START when the initial set-up screen opens. 
  2. Tap an empty area of the screen six times to trigger a prompt to scan your QR code.

3.png

  1. Scan the QR code generated you created.

Useful Links

Was this helpful?