Tested on Xiaomi Redmi Note 3 and zte a5 bolt 9820
1. Connect your device to pc and open the adb folder. Then open a command promt window.
>> Shift + Right Click anywhere in the adb folder >> Click on Open Command Window Here
2. Type the following command to enable Diagnostics mode. Allow debugging if asked.
adb shell su setprop sys.usb.config diag,adb
4. Download the IMEI Changer from the link given below.
5. Now, open the imei changer, and enter imei number in both the fields. And click on start. After a moment it will show as passed. If it fails make sure that you have followed the points i stated.
Note: Make sure that the driver in driver management under ports is listed as “Qualcom HS-USB Android DIAG 901D” and not as “Marshall London HS-USB Android DIAG 901D”. If it is listed in any other name, then go to driver management and update driver. Select browse driver, then let me pick driver from a list. Then select “Qualcom HS-USB Android DIAG 901D” and then finish.