[GUIDE] QCN File for Redmi 4 Prime

SAFI_AFRIDI

Senior Member
Jan 14, 2015
159
100
0
Peshawar
www.youtube.com
Dear Xiaomi Redmi 4 Prime User.​

A Guy Name Dragonii Requested For a QCN File. and its Procedure. So now you Guys can restore IMEI by the Following Guide.
1: Download IMEI Converter.
2: Download QPSTQPST from here.
3: Download ADB Fastboot drive.
4: Download Qualcomm Driver.
5: Download NotePad++.
6: Download Redmi 4 Prime QCN File.
Follow the following steps to solve IMEI error on Redmi 4 Prime device :

1: Run Minimal ADB and Fastboot setup and following commands to enable diag mode.
adb shell
su
getprop sys.usb.config
OR
Dial on the Keypad - *#*#13491#*#*
2: Launch IMEI converter and enter Your original IMEI number and convert this number in a specific format. Same thing do for slot 2 IMEI and note down these converted string in notepad.
3: Find this string in QCN file “08 8A 36 82 05 83 67 33 28” and replace with the number which you convert via IMEI converter tool.


4: Find again for sim slot 2 “08 8A 36 82 05 83 67 33 09” and replace with the string which you convert for SIM 2.


5: Again launch Minimal ADB and Fastboot and run Following commands.
adb shell
su
dd if=/dev/block/mmcblk0p13 of=/sdcard/modemst1
dd if=/dev/block/mmcblk0p14 of=/sdcard/modemst2
dd if=/dev/block/mmcblk0p20 of=/sdcard/fsg
These commands will create a backup of the existing images.
dd if=/dev/zero of=/dev/block/mmcblk0p13
dd if=/dev/zero of=/dev/block/mmcblk0p14
dd if=/dev/zero of=/dev/block/mmcblk0p20
reboot
These commands will wipe off the modemst1 modemst2 and fsg partitions.
6: Again follow first step to enable diag mode.
7: Now run QPST software and select the Ports tab.
8: You should see the port added automatically.
9: Now Click on the Start Clients option on the Top Menu bar. and select Software Download.
10: Click on the restore tab and then browse to the file that you just saved.

11: Now click the start Button.
12: Once it is done Reboot your system and You should have your IMEI restored.
 

Attachments

Last edited:

dragonii

Senior Member
Aug 12, 2003
68
3
28
Paris, France
Some corrections needed:

- The keypad code to trigger diag mode is *#*#13491#*#* on the Redmi 4 Prime
- Step 3: the dummy IMEI codes are 800000000000000, both for SIM1 and SIM2
- To edit the QCN file, you should NOT use Ultraedit but Hex Editor to keep the original file format intact
- Step 10: you probably have to check the box "Allow phone/file ESN mismatch" (I don't remember anymore if I had to do it) if you encounter an error when restoring

Thanks for the effort!
 
  • Like
Reactions: kibria.mgk

zelendel

Senior Member
Aug 11, 2008
23,365
20,584
253
Just a heads up that messing with the imei is illegal in many countries and even owning the tools to do it is a crime. As such xda has banned all talks about how to do it.

There are only 2 acceptable ways on xda.

1. Restore the backup that you should have made or flash stock rom
2. Return to oem to fix
 

onogost

New member
May 7, 2016
3
0
0
Brich phone

I follow all steps, and after theese commands:

dd if=/dev/zero of=/dev/block/mmcblk0p13
dd if=/dev/zero of=/dev/block/mmcblk0p14
dd if=/dev/zero of=/dev/block/mmcblk0p20
reboot

my phone is dead :(((

what happened?
 

onogost

New member
May 7, 2016
3
0
0
Now what is the current status of your mobile.
Do you get Fastboot mode? Or EDL? Do you have unlocked bootloader?
I managed to revive my phone (through EDl mode, qualcomm 9008 port, mi flash). After that, I found another Redmi 4 Prada phone, done a backup qcn file, then restore that qcn file on my redmi 4 Prada phone. Now it's Baseband ok, IMEI is ok, phone recognizes my SIM card, but I still do not have bluetooth, wifi, fingerprint, gps ....
 

SAFI_AFRIDI

Senior Member
Jan 14, 2015
159
100
0
Peshawar
www.youtube.com
I managed to revive my phone (through EDl mode, qualcomm 9008 port, mi flash). After that, I found another Redmi 4 Prada phone, done a backup qcn file, then restore that qcn file on my redmi 4 Prada phone. Now it's Baseband ok, IMEI is ok, phone recognizes my SIM card, but I still do not have bluetooth, wifi, fingerprint, gps ....
Basically i posted this for redmi 4 prime and you need to follow a prada device. Following is the link.
http://en.miui.com/thread-2100147-1-1.html