How to Restore IMEI Network or Radio on Qualcomm Devices Using QPST Tool

IMEI (International Mobile Equipment Identity) is a unique identifier for every mobile device, essential for tracking, blocking, and ensuring network connectivity. Sometimes, due to reasons like flashing custom ROMs, improper firmware updates, or accidentally deleting the EFS partition, the IMEI number can become corrupted or lost, causing network and radio issues. This guide will help you restore your IMEI and network functionality using the QPST (Qualcomm Product Support Tool).

With the QPST tool, restoring IMEI and network functionality on Qualcomm-powered devices becomes straightforward. Below is a comprehensive step-by-step guide to help you through the process.

Restore IMEI Network or Radio on Qualcomm Devices

Prerequisites

Before proceeding, ensure you have the following:

  • Charge your device: Ensure your device is charged to at least 50%.
  • TWRP recovery: Installed on your device.
  • Root access: Your device must be rooted.
  • ADB/Fastboot tools: Installed on your computer.
  • Device drivers: Ensure appropriate drivers are installed for your phone.
  • Hex Editor: Required to modify the xqcn file.
  • WriteDualIMEI_W_G_eMMC tool: For writing IMEIs after restoring the xqcn.

Required Downloads

Steps to Restore IMEI on Qualcomm Devices

Step 1: Verify IMEI

  • Dial *#06# to check your IMEI.
  • If the IMEI displays as invalid or not found, proceed with the steps below.

Step 2: Fix the Corrupt EFS Partition

  1. Boot into TWRP Recovery:
    • Power off your device.
    • Boot into TWRP by pressing the appropriate key combination (usually Volume Down + Power).
  2. Access the Terminal:
    • In TWRP, go to Advanced > Terminal.
  3. Run the Following Commands:
    dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
    dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
  4. Reboot your device and proceed to the next step.

Step 3: Modify the xqcn File

  1. Obtain the xqcn file specific to your device model.
  2. Open the file using a Hex Editor.
  3. Replace the following default values with your device-specific details:
    • IMEI1: Found on your device box or back panel.
    • IMEI2 (if applicable): Found on the device box.
    • Replace other fields like MEID, WIFIMAC, and BTMAC with actual values or leave them unchanged if not needed.

Step 4: Enable Diag Mode

  1. Connect your phone to the PC via USB.
  2. Open a Command Prompt on your PC and navigate to the ADB installation folder.
  3. Execute the following commands:
    adb shell su setprop sys.usb.config diag
  4. In the Device Manager, locate the Qualcomm Android Diagnosis COM port and note the port number.

Step 5: Configure QPST

  1. Open QPST Configuration:
    • Click Add New Port and enter the COM port number and label noted in Step 4.
  2. Open Software Download:
    • Navigate to the Restore tab.
    • Select the modified xqcn file.
    • Tick the box for Allow phone/file ESN mismatch.
  3. Press Start to begin restoring the IMEI.

Step 6: Write IMEI Using WriteDualIMEI Tool

  1. Close QPST and open the WriteDualIMEI_W_G_eMMC tool.
  2. Input your IMEI numbers and start the process.
  3. Wait for the tool to complete. It should display a Pass message.

Step 7: Verify IMEI

  1. Reboot your device.
  2. Dial *#06# to verify the restored IMEI numbers.

Tips

  • Ensure you use the correct firmware and drivers for your specific device model.
  • Always back up your data and EFS partition before flashing or modifying anything.
  • If you encounter issues, check for errors in the QPST log and address them accordingly.

Conclusion

Using the QPST tool, you can successfully restore the IMEI and network functionality on your Qualcomm-powered device. This process helps resolve network or radio issues caused by corrupted IMEI. If you encounter any difficulties during the process, feel free to leave a comment, and we’ll assist you.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.