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.
Prerequisites
Before proceeding, ensure you have the following:
Advertisement
728 x 90
- 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
xqcnfile. - WriteDualIMEI_W_G_eMMC tool: For writing IMEIs after restoring the
xqcn.
Advertisement
728 x 90
Required Downloads
- Download QPST Tool (Latest Version)
- Hex Editor and WriteDualIMEI_W_G_eMMC tools.
Advertisement
728 x 90
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.
Advertisement
728 x 90
Step 2: Fix the Corrupt EFS Partition
- Boot into TWRP Recovery:
- Power off your device.
- Boot into TWRP by pressing the appropriate key combination (usually Volume Down + Power).
- Access the Terminal:
- In TWRP, go to Advanced > Terminal.
- 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
- Reboot your device and proceed to the next step.
Advertisement
728 x 90
Step 3: Modify the xqcn File
- Obtain the
xqcnfile specific to your device model. - Open the file using a Hex Editor.
- 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.
Advertisement
728 x 90
Step 4: Enable Diag Mode
- Connect your phone to the PC via USB.
- Open a Command Prompt on your PC and navigate to the ADB installation folder.
- Execute the following commands:
adb shell su setprop sys.usb.config diag
- In the Device Manager, locate the Qualcomm Android Diagnosis COM port and note the port number.
Advertisement
728 x 90
Step 5: Configure QPST
- Open QPST Configuration:
- Click Add New Port and enter the COM port number and label noted in Step 4.
- Open Software Download:
- Navigate to the Restore tab.
- Select the modified
xqcnfile. - Tick the box for Allow phone/file ESN mismatch.
- Press Start to begin restoring the IMEI.
Advertisement
728 x 90
Step 6: Write IMEI Using WriteDualIMEI Tool
- Close QPST and open the WriteDualIMEI_W_G_eMMC tool.
- Input your IMEI numbers and start the process.
- Wait for the tool to complete. It should display a Pass message.
Advertisement
728 x 90
Step 7: Verify IMEI
- Reboot your device.
- Dial
*#06#to verify the restored IMEI numbers.
Advertisement
728 x 90
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.
Advertisement
728 x 90
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.
What about if I have IMEI numbers but mobile radio power won’t turn on.