In this post, we will guide you on how to restore IMEI network or Radio on Qualcomm devices. Now you may wonder why on earth IMEI of any smartphone will get corrupted..? Well, it happens when over enthusiast users try to flash TWRP and do some error which gradually leads to this issue. However, this issue can be solved by using a tool called QPST.

The following guide details the complete process to Restore IMEI, Network or Radio on Qualcomm device using QPST tool. We have added all the necessary download links for your convenience. As you can see this process is effective on a smartphone running the Qualcomm chipsets. So, devices on other processors may not work if this guide is followed.

Also Read

How To Exit Qualcomm CrashDump Mode in OnePlus Devices

Download MSM Download Tool

How To Restore IMEI Network or Radio on Qualcomm Devices using QPST Tool

Before beginning, you have to grab some important tools that will be required for this process. we have listed them below.

  • Make sure to charge your device up to 50% or more before continuing with this process.
  • Ensure that ADB / Fastboot is installed as well.
  • TWRP recovery must be installed on your respective device.
  • Respective device drivers installed for your phone.
  • Phone must be rooted.
  • A Hex Editor to edit the xcqn file.
  • WriteDualIMEI_W_G_eMMC – to write IMEIs after you restore the xqcn.

Downloads

Restore IMEI Network or Radio on Qualcomm Devices using QPST Tool

Step-1  First check the IMEI by dialing *#06#.

If you see an error and see no IMEI, then follow this process further

Step-2 The EFS is corrupt and that is the reason we don’t see IMEIs.  So we have to fix it.

Step-3 Boot into TWRP recovery > From TWRP’s menu, select Advanced > then Terminal.

Step-4 Type the following commands in terminal

dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1

dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2

Step-5 Now Reboot device.

Step-6  Get the xqcn for your phone.

Step-7 Use HexEditor to search below default values and replace them with your device’s IMEI value.

Step-8 The IMEI number is available on the retail box of your device. You can get it from there.

MEID: 22 22 22 22 22 22 22 IMEI1: 33 33 33 33 33 33 33 33 IMEI2: 44 44 44 44 44 44 44 44 WIFIMAC: 55 55 55 55 55 55 BTMAC: 66 66 66 66 66 66

Step-9 Now connect the phone to the PC.

Advertisement

Step-10 Open command prompt on PC> Go to the folder where you’ve installed the ADB.

Step-11 Type these following commands

adb shell su (here you grant root rights) setprop sys.usb.config diag

Step-12 In Device Manager, you will see a com port which has details Qualcomm Android Diagnosis. Note down the com no.

Step-13 Open QPST > click “Add new port” > enter the port and Port Label, which you saw above in the device manager.

Step-14 Next Click Start Client -> Software download > Go to Restore tab, > use the modified xqcn file > press Start.

Step-15 If any error shows up, tick the checkbox “Allow phone/file ESN mismatch” and press Start.

Step-16 Close the QPST and open the WriteDualIMEI_W_G_eMMC,

Step-17 Now put in the IMEI numbers and flash. You will see it passed successfully.

Step-18 Finally, reboot your device and dial *#06#.

You will successfully see the IMEI numbers of your device. So, that’s it. We hope this guide was successful.

Source