Mi Max must be rooted, download a Mi Max Global/China custom/stock rom.
https://drive.google.com/file/d/0B3bizPCWTBjcaHZfYWJ4MVBXWk0/view?usp=sharing
Download the above rar file which contains Qualcomm QPST Tool, the IMEI Converter, and adb files. Then installed Qualcomm QPST Tool.
STEP 2:
Once installed, connect your phone to the computer and open the adb folder.
Make sure your phone has "USB Debugging" enabled.
Hold "Shift" and right click on the blank area of the folder and select "Open command window here"
@ command prompt , type "adb shell" and press enter. Type "su" and your phone should have root privelages. Finally, type "setprop sys.usb.config diag,adb"
Your phone should now be in diagnostic mode.
Open QPST Configuration located at "C:\Program Files (x86)\Qualcomm\QPST\bin" or wherever you installed it. Your phone should show up under "Active phones"
It’s extremely important that you create this backup in case you mess up something later on.
You will be able to restore the QCN file as easily as you backed it up.
If you need to restore the QCN file, go to the “restore” tab and select the QCN file you backed up.
After you have backed up the QCN file, navigate to where you installed QPST and find the program “RF_NV_Manager” for me, it is located in “C:\Program Files (64)\Qualcomm\QPST\bin”In RF_MV_Manager, click "File" then click "Read supported RF NV items"
Click the "hex" button.
Open the IMEI converter program located in the folder you downlaoded
Use the IMEI convertor to convert your IMEI number to HEX. Make sure you enter your IMEI number correctly.
There should be two characters per field.
For example, field 1 will be something like 08, field 2 will be something like 9A.
ONLY PUT TWO CHARACTERS PER FIELD.
After all the boxes are filled in correctly, click the "Write NV" button.
For example, field 1 will be something like 08, field 2 will be something like 9A.
ONLY PUT TWO CHARACTERS PER FIELD.
After all the boxes are filled in correctly, click the "Write NV" button.