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: 425
Updated: November 2022

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":"123456789",
"ServerPath":"suremdm.42gears.com",
"HttpHeader":"https://",
"EnrollmentType":"1",
"GroupPath":"Home/Group1",
"DeviceNameType":"UseIMEI"
"ShowCheckListScreen":"True/False"
}
}

However, we have also noticed that despite successful enrollment using the above JSON, a 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 get denied.

To resolve this we need to add parameters to the JSON to get SureMDM Agent to allow 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":"123456789",
"ServerPath":"suremdm.42gears.com",
"HttpHeader":"https://",
"EnrollmentType":"1",
"GroupPath":"Home/Group1",
"DeviceNameType":"UseIMEI"
"ShowCheckListScreen":"True"
}
}

Other DeviceNameTypes

UseSystemGeneratedUse the system-generated device name
UseIMEIUse IMEI number as device name
UseMacUse WiFi MAC address as device name
UseSerialNumberUse the device’s serial number as the device name
UsePhoneNumberUse the phone number used by the device as the device name
SetManuallySet device name manually

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

Related Articles