You can solve this IMEI error easily but procedure is totally depend on your ophone’s processor. If your Xiaomi phone processor is MTK then you follow a different guide. here we only give steps for snapdragon processor. You can solve IMEI problem for all Xioami devices no matter which you are using like Redmi 1S, Redmi 2 / Prime, Redmi 3S / Prime, Redmi note 3, Redmi note 4G, Mi 2, Mi 3, Mi 4, Mi 4i, Mi 5, Mi 5s plus etc. you just need to use diffrent QCN files according to your Xiaomi device.
Things to do before start :
- Windows based OS (7/8/10)
- Download IMEI Converter from here.
- Download QPST from here.
- Download ADB Fastboot driver setup from here.
- Download Qualcomm Driver from here.
- Download UltraEdit software from here.
Download QCN Files for Xiaomi Devices :
- Download QCN file for Redmi 2 /Prime from here.
- Download QCN file for Redmi 3S /Prime from here.
- Download QCN file for Redmi note 3 from here.
- Download QCN file for mi 3 from here.
- Download QCN file for mi 4 from here.
- Download QCN file for mi 5 from here.
- Download QCN file for Mi Max from here.
- Download QCN file for Mi Note from here.
Steps to Restore IMEI in Xiaomi Mobiles :
Before going to start first download above all required files in your system and install IMEI converter, UltraEdit and QPST in your system.
Follow below steps to solve IMEI error in Xiaomi devices :
- Run Minimal ADB and Fastboot setup and following commands to enable diag mode.
adb shell
su
getprop sys.usb.config - Launch IMEI converter and enter Your orginal 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.
- Launch Ultraedit software and open QCN file which you download from above given link.
- Find this string in QCN file “08 8A 76 15 02 82 19 52 55” and replace with the number which you convert via IMEI converter tool.
- Find again for sim slot 2 “08 8A 76 15 02 82 19 52 51” and replace with the string which you convert for SIM 2.
- 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 - After that phone restart automattically.
- Again follow first step to enable diag mode.
- Now run QPST software and select the Ports tab.
- You should see the port added automatically
In case you dont see any port you can use the “Add New Port” button - Now Click on the Start Clients option on the Top Menu bar. and select Software Download.
- You will see a Window like this
- Click on the restore tab and then browse to the file that you just saved.
- Now click the start Button
- Once it is done Reboot your system and You should have your IMEI restored.
After following above steps you can restored your IMEI number. We understand the steps are too complex. Soon we come with an easier guide. but as of now you can follow this to restore your IMEI number. Now you don’t face baseband error in your xiaomi phones.
Enjoy Xiaomi services because:
Always believe something wonderful is about to happen.
HELLO EVERBOY
i m change imei for mi5s plus in with QPST and i m have backup QCN
but now only working 2G
not working 3G and LTE ..
please how is solved this problem
i m wrote my backup qcn
but same
not working
i m need good qcn for mi5s plus ..please
hi sevgiesenler,
Thanks for writing here.Soon we update QCN file link for mi5s plus.
Kind Regards
Hi there..i have redmi 3s problem..my phone has invalid imei..and its not rooted phone..can u help me?
Hi Fazlur,
Thanks for writing here. Please take backup of your data and flash MIUI ROM via Mi flash tool.
Please follow below article instructions
http://techsarjan.com/2017/01/solve-bootloop-softbrick-hardbrick-redmi-3s-prime-xiaomi-miui-8.html
Kind Regards
I am getting no space left on disk while wiping partitions and phone does not reboot automatically after wiping partitions