Ultimate Guide : Qualcomm Snapdragon imei and Baseband Repair / Fix - Part 1

Ultimate Guide : Qualcomm Snapdragon imei and Baseband Repair / Fix – Part 1

Ultimate Guide : Qualcomm Snapdragon imei and Baseband Repair / Fix – Part 1

snapdragon_imei_repair

 

 

Update: For Xiaomi Mi6 please use the latest QPST

 

Today we will learn how to fix/repair our beloved Snapdragon’s lost or corrupt imei’s and as a bonus, we will also learn to fix our “unknown” or again, corrupt Baseband’s ( modem configuration ).

Before we begin i must add, changing a working imei of your phone is ILLEGAL. “International Mobile Station Equipment Identity” is your phone’s unique identity. The IMEI number is used by a GSM network to identify valid devices and therefore can be used for stopping a stolen phone from accessing that network. So if you wanna change that number you are probably a thief or you are living in Turkey 🙂

If you flash a wrong firmware/rom to your phone, for example, the same model but sold in different countries with different modem configurations, your baseband can become “unknown” and your imei will probably be “null” or “invalid”. This is because your original modem configuration has been written over with the wrong one. This can be fixed while flashing the right rom back again if you are lucky  (if original data is not corrupt).

So our first goal should be to backup that important data before we upgrade even to stock rom, because even the biggest phone makers are still amateurs when its about Qualcomm’s data/partition structure. I’ve seen many cases about lost or null imei’s after stock OTA updates, Samsung owners will hear me well i know.

For this operation we will use the program called QPST from Qualcomm himself, it’s a service grade factory software to handle/change/fix many configuration options on Qualcomm’s. Other then QPST we will need (+ for editing imei) :

1. Qualcomm  QPST (2.7.437)

2. Mitac Hexdecimal Editor (or any other hex editor you like)

3. Minimal ADB Fastboot 

4. imei converter

5. Qualcomm QPST Diag drivers (2017, universal)

6. Your phone model’s USB drivers (in some cases)

 

First Step :

We need to open our Snapdragon’s so-called “Diag/nostics Port” before we can do anything. To do that; some phones have just a hidden code to open that port, some phones needed to be forced from adb after rooted and some phones has that port open by default (and some you can open from developer options). As you can see we have many options here. I will give some examples (mostly used), others you can ask me in comments.

Our working example will be Xiaomi’s Snapdragon 820 flagship Mi5. You can open that diag port with dialing *#*#7177171#*#*, a message will come up saying “Diag USB port enable”. If you installed your drivers properly you see the ports under device manager like this :

Mi5_diag_port

Now open QPST Configuration browsing “C:\Program Files (x86)\Qualcomm\QPST\bin\QPSTConfig.exe” and you will see that our needed diag port has been added automatically.

Mi5_qpst

In some cases (depending on the diag drivers) if you dont see the port auto added just click “Add New Port” tab right under the window and untick “Show Serial and USB/QC Diagnostic ports only”. You will see other ports thats been recognized from your PC, choose the right one and click OK. In this example im adding LG G3’s USB Serial Port that serves as Diag port for us too (open by default example).

Mi5_qpst_add_port

qpst_add_port_lg

 

As you can see in the picture we now have 2 phones connected in QPST Configuration, one is Xiaomi Mi5 (MSM8996) other is LG G3 (MSM8974).

Lg_qpst_add_port_2

 

Second Step :

Now we are ready to backup our precious “baseband/imei” configuration. Click “Start Clients” from drop down menu and choose “Software Download”.

qpst_software_download

In Software Download window you can see your phone’s port in first line, if you have 2 phones connected like me, click Browse and choose the phone that you want to work on.

qpst_select_port

Then come to “Backup” option tab, again click browse, choose your destination and name of your QCN backup, choose the second option QPST NV Memory Files (.qcn) as “Save as type”, NOT the first option as (.xqcn). We want our backup in QCN format, you will see why later. AND click “Start”.

Mi5_qcn_backup

 

After you backed up your Snapdragon’s QCN, DON’T fear any bricks (software), lost imei’s, corrupt baseband’s anymore. You have all you need to restore those in case of any accident.

 

Part 2 with Youtube video : http://www.androidbrick.com/ultimate-guide-qualcomm-snapdragon-imei-baseband-repair-fix-part-2/

 

Copyright © 2016 by androidbrick.com. All rights reserved.

0 0 votes
Article Rating
Subscribe
Notify of

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

333 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Abood Msh
9 months ago

Hi there!
Thanks for the detailed instructions.
Can I take the QCN file from a Xiaomi Redmi 3 Pro (SD 616) and put it in Poco F2 Pro (SD 865) ??
Like a transplant of the IMEI’s

Abood Msh
Reply to  Ustabas Osman
9 months ago

Thanks a lot
Can I ask you a question in private please?

George L Hara
4 years ago

This method works in Lenovo Z6 pro (SD855)?

George L Hara
Reply to  Ustabas Osman
4 years ago

yes, part of this guide works for me, repair imei of lenovo z6 pro with snapdragon 855

Ben Mcdonald
4 years ago

Will this work with a One+7 Pro to reset IMEI?

Ben Mcdonald
Reply to  Ustabas Osman
4 years ago

Is there anyway of changing it at all? or is it simply impossible

Ben Mcdonald
Reply to  Ustabas Osman
4 years ago

Excellent thanks mate, just ordered hyrda 🙂

mustafa Olaiwy
4 years ago

Thanks a lot for the detailed instructions Osman abi. Unfortunately, my HTC 10 seems to be very hard to brick. I just can’t enable Qualcomm`s Diagnostics Port. I tried everything…
It probably requires my device to be S-off which is really hard to do on modern HTC devices.
Keep up the good work!

Ata UYAROĞLU
4 years ago

Merhabalar, Xiaomi Mi 9 almak istiyorum ama fiyatlar ortada. Ben de yurtdışından getirtmeyi düşünüyorum. Snapdragon 855’e imei repair yapılabilir mi ?

Hasam Aslan
5 years ago

Osman hocam samsung j6 ya imei repair yapılır mı? Bi kaç tlf cuya sordum yapılamaz diyor.

Xhuttra - Berkay
5 years ago

Dear Osman Abi, The method for Meizu 16th is same with any method described here, isn’t it? For example, is there any tricks when compared with Mi6? (other than different partitions?)

ilhan Harbili
5 years ago

oneplus 6t ye imei atılıbiliyor, ben bir yere kadar geldim ama partionlara erişemedim. yapılabiliyor mu?

Mustafa Mert
5 years ago

hocam mi mix 2s xa’ya imei atilabiliyor mu? snapdragon 845

Богдан Олейник
5 years ago

Hi Yazar.

I lost my MI5 pro IMEI on some unsuccessful rom flash – right now can’t restore it because QPST error.
QPST gives me error ‘Disk Error while writing to file.’ on backup.
Is there any know ways to solve error ?
Could i upload it manually by replacing android files ? i have root access.

Thanks.

Антон Клюшников
5 years ago

Hello Mr. Yazar!
I a “happy owner” of my Mi Mix2s M1803D5XE phone. How do you think, if I could restore the memory with proper QSN, can I get finally a XA model with proper bands set?
Thank you in advance.

Антон Клюшников
Reply to  Ustabas Osman
5 years ago

Now I have XE and want to make XA. Is that possible, how do you think?

Антон Клюшников
Reply to  Ustabas Osman
5 years ago

Thank you!
The only thing to do is to find this QCN. I will try if I find.

bf vik
5 years ago

Hello
How can i open the port on leeco pro 3 x720?
How can i repair my phone if i lost my backups?
Is it possible to rebuild the whole system?
Thanks in advance!

carlos alberto sevillano arbelaez
5 years ago

Hola, tengo un oneplus 6 A6000, en mi país Colombia sera bloqueado por no tener FCC ID, me sirve el tutorial para cambiar los IMEI y evitar el bloqueo?

Inslave
5 years ago

Merhaba
Şuanda Oneplus 5 / A5000 Modelini kullanıyorum Qualcomm Snapdragon 835 MSM8998 işlemci kullanıyor ve imei değiştirmek istiyorum fakat yorumlardan anladığım kadarı imei değiştirme şuanda oneplus 5 için mümkün değil doğrumdur ?

sina rahmanian
5 years ago

Hi Yazar
I am really happy to find a real solution for resolving my IMEI issue. Actually, After spending 4 hours in your solution I could find my device on the QPST Configuration. But I see “no phone” in the row phone. So I can not use the software download because it says there is no phone connected to the selected port. I have tried several times to install the new driver but it does not work. could you please help me in this case?

sina rahmanian
Reply to  Ustabas Osman
5 years ago

my phone is Nexus 6p

sina rahmanian
Reply to  Ustabas Osman
5 years ago

The Model is Nexus 6P

sina rahmanian
Reply to  Ustabas Osman
5 years ago

That sounds bad. 🙁 But thank you very much for your answer.

Sergio Pérez
5 years ago

have a question about the Lenovo P2 and the IMEI. I bought a Lenovo P2 from China with a P2a42 Firmware. The phone works perfectly here in Colombia (covers all 2g, 3g and 4g bands) but it was blocked because the Lenovo P2 is not homologated and to do so, it is necessary to show an FDD certificate (which does not exist). So after days of investigating, I just discovered that the only way to make my Lenovo P2 work again here in Colombia is by changing the IMEI. To do that, I have done the next things:

– Unlocked the bootloader
– Installed the TWRP
– Rooted the phone with magic scan

Now, I think I am near to do my lasts steps, but I have not find information about changing the IMEI in this phone. Do you know something about that? is there any chance to do that?

Thank you very much indeed.

Sergio Pérez
Reply to  Ustabas Osman
5 years ago

Hello friend. I decided to go on and try this on the Lenovo p2. Do you know hoy to back up the partitions? I have a QCN Backup. Is that enough or I need to do another step? And the last question; do you have codes for Lenovo P2 to show the lists of the partitions (in order to “empty/zero” necessary modem partitions = to delete the old/wrong values) THANK UUUUU

Sergio Pérez
Reply to  Ustabas Osman
5 years ago

Is there any chance to change the IMEI on a Lenovo p2? Thank U for your answer!

Jorge Mizraim Lopez Arango
5 years ago

Rays, is there any way to recover the imei without having the copy of the imei?

Jorge Mizraim Lopez Arango
5 years ago

Hello friend, you will have the backup of zte axon 7 A2017U
?

wwwbiznesinfo
5 years ago

Уважаемый,AndroidBrick,будь другом,ответь на вопрос?)Которой день бьюсь с SM-A300F/DS,не удается восстановить родные IMEI.Этот метод для Samsung работает,всегда рад совету!)

burcin
6 years ago

osman hocam merhaba, redmi 5 plus cihazım var. bootloader kilidi henüz açılmadı. qpst software download ile qcn yi kaydet diyorum hata veriyor.”could not succesfully create the software download agent”şeklinde. sorun neyden olabilir. teşekkürler

burcin
Reply to  Ustabas Osman
6 years ago

abi tekrar selam… başka bir pc de denedim. qcn yi kaydetti. hex editör ile açtım. telefonun imeisi 868 ile başlıyor arattım lakin senin resimde göstergiğin gibi çıkmıyor 🙁 hex editör ile denediğim de 08 8a şeklinde dönüşüyor o şekilde de arattırdım bulamadı hex editör. sana qcn ve imei yi atsam kontrol etme şansın olur mu

burcin
Reply to  Ustabas Osman
6 years ago

abi gönderdim… teşekkürler

333
0
Would love your thoughts, please comment.x
()
x