1. Home
  2. Knowledge Base
  3. SureMDM
  4. How To Ensure ZTE Android 10 Devices Enroll Using IMEI As The Device Name?
  1. Home
  2. Knowledge Base
  3. Android Management
  4. 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?

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", 
"EnrollmentMode":"0", 
"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", 
"EnrollmentMode":"0", 
"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 

Was this helpful?
YesNo
Updated on June 2023