This step-by-step guide will explain how to use Qualcomm Flash Image Loader (QFIL) and a QCN file to write or repair IMEI on a Qualcomm Android device. This tutorial will come in handy when you have an invalid IMEI or have restored another device's QCN and wish to revert to your original IMEI without a hardware box/dongle.
Follow the steps below to write IMEI to a Qualcomm device with QFIL & .qcn file
Launch HXD
Click File > Open
Highlight the QCN backup (.qcn file) and click Open
HXD should load the file and display its contents
Launch IMEI converter
Enter the IMEI of the phone the QCN backup was made from then click Convert IMEI.
Highlight and copy the HEX (converted IMEI)
Go back to Hex Editor. Click Search > Find
Enter the HEX under Search for, set Data-type to Hex-values then click OK
You should now see what you're to edit to change the IMEI
Go back to IMEI converter, enter the IMEI you wish to write (your own IMEI) then copy the converted IMEI (in HEX format)
Back in HXD, replace the HEX (you'd searched for) with the HEX of your IMEI then save
Restore the QCN using QFIL and reboot the Qualcomm device
Important Notice
It's illegal to change your IMEI so you're entirely responsible for how you use this information
In case you don't have the IMEI converter, the algorithm to convert IMEI e.g 108941207520590 to its corresponding HEX 08 1A 80 49 21 70 25 50 09 is 08 *First digit in IMEI*A *Two digits at a time from the rest of the IMEI reversed*. An IMEI like 3596410... would thus go like 08 3A 95 46 01...
In case you don't know the IMEI of the phone the QCN backup was made from, you can search for an IMEI pattern (in Hex Editor) based on the IMEI converter algorithm i.e 08 *A
This procedure is for generic Qualcomm devices and is therefore not guaranteed to work for all Qualcomm devices.
This post was last modified: 18-11-2023, 01:03 PM by hovatek.