1. Home
  2. SureMDM
  3. How to ensure ZTE Android 10 devices enroll using IMEI as the device name?
  1. Home
  2. Android Management
  3. How to ensure ZTE Android 10 devices enroll using IMEI as the device name?

How to ensure ZTE Android 10 devices enroll using IMEI as the device name?

KB ID: 42G2107023
Views: 290
Updated: July 2021

While enrolling Android 10 devices using Zero Touch enrollment, below mentioned JSON is used to ensure that the device name of the device is the IMEI of the device. This JSON includes other necessary details for the enrollment such as the account, server path, and initial setup permissions such as setting the Device name to the device IMEI.

{ "android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED":true,  "android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": { "AccountId":"12345678","ServerPath":"suremdm.42gears.com","EnrollmentType":"1","DeviceNameType":"UseIMEI } }

However, we have also noticed that despite successful enrollment using the above JSON, few Android 10 devices display Use System Generated Name.

On further investigation of this issue, we got to know that this happens manifests when a few runtime permissions take more time to be granted or eventually getting denied.

To resolve this we need to add parameters to the JSON to get SureMDM Agent allows some time for the system settings to grant all the run time permissions automatically.

{ "android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED":true,  "android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": { "AccountId":"12345678","ServerPath":"suremdm.42gears.com","EnrollmentType":"1","DeviceNameType":"UseIMEI","ShowCheckListScreen":"True"} }

For details on Zero-Touch Enrollment, please click here.
For more details on our products, click here 

Related Articles