[GUIDE] Repair IMEI on Qualcomm Snapdragon Devices

Search This thread


Senior Member
Mar 7, 2011
Thanks so much, it works for my very old Nexus 5X (LG H791) Qualcomm msm8992
After playing around the IMEI set to 0 with the upgrade to PE9.0, I am looking for a solution somewhere and drop here ...:D
& then IMEI was restored successfully./.


New member
Jan 19, 2023
Hello Forum
the drivers are installed.


But thers an error message.
Any Idea?

Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    With this tool, a user can write IMEI to a Qualcomm device and restore NULL IMEI or fix corrupted IMEI on Qualcomm Snapdragon devices. you must follow the steps listed below to prepare your device for the Qualcomm IMEI repair process.

    Preparation :

    • Enable USB Debugging on your device from Developer Options. [[ If Developer Options are missing from your Android phone settings, then go to Settings > About Phone and tap on Build Number for 7-10 times ]].
    • Some devices need an unlocked bootloader. If it is not unlocked, then unlock the bootloader on your device from here.
    • Need proper Root permissions. (with Magisk ).
    • download and setup SDK Platform Tools on PC. ( Download SDK Platform Tools For windows ).
    • Qualcomm_Smartphone_Write_IMEI_Tool_v1.01.

    Steps to Repair IMEI of Snapdragon Device

    1- Download and extract qualcomm driver.zip .

    2- install Qualcomm COM Port Driver manually.

    Open the Device Manager :


    2-2 Right-click on PC-NAME and Add drivers :


    2-3 Select Browse my computer for driver software -> Let me pick from a list of device drivers on my computer and install Qualcomm COM Port Driver manually.


    3- Extract SDK Platform Tools and copy to C:/ .
    4- Connect your device to PC using USB Cable.
    5- Open command window ( Run as administrator ).


    5-1 Now in CMD type the below commands :

    cd C:/(SDK Platform Tools location)


    setprop sys.usb.config diag,adb

    ***** It will open DIAG COM Port or enable DIAG Port.

    6- Download and extract Qualcomm_Smartphone_Write_IMEI_Tool_v1.01.zip on your PC.
    7- Run Qualcomm_Smartphone_Write_IMEI.exe (Qualcomm IMEI Changer) as administrator.
    8- Open settings ( PASSWORD : ustest ).


    9- Select Write IMEI1 ( If you have dual SIM device then also select Write IMEI2 ) and click on OK .


    10- Enter the IMEI number in the space provided and select COM Port ( COM port : USB ) and then Click on the Write1 Button to begin the Writing Process.
    11- You should see the PASS message after a second or two.
    12- Now, Reboot your device and check the IMEI by dialing *#06#.

    we are done repairing IMEI on Snapdragon powered devices.
    <Moderator Note>: "Repairing" an IMEI; i.e. restoring a device's original IMEI is legal. Changing your IMEI from the device's original IMEI is illegal in many countries, and is not allowed on XDA. I've removed the word "Change" from the thread title and one place in the OP.

    Rule 9 of 📚 XDA Developers Forum Rules 📚:
    9. Don't get us into trouble.

    Don't post copyrighted materials or do other things which will obviously lead to legal trouble. If you wouldn't do it on your own homepage, you probably shouldn't do it here either. This does not mean that we agree with everything that the software piracy lobby try to impose on us. It simply means that you cannot break any laws here, since we'll end up dealing with the legal hassle caused by you. Please use common sense: respect the forum, its users and those that write great code.
    Hi. Is it useful for snapdragon 855 devices? Especially lg v50?
    Who has done this successfully?
    Hi, and thanks for the tutorial, it is possible to work on S20FE (qualcomm 865 - sm8250) ?
    Thanks, i will wait for your answer !