Monday, January 29, 2018

how to fix unknown baseband and IMEI issue on redmi 2 prime

Requirments
1.       Rooted Redmi 2 phone
2.       IDM UltraEdit
3.       IMEI Convertor
4.       Minimal ADB and FastBoot
5.       qpst_2.7.422
6.       RM2-QCNFILE
7.       Qualcomm Driver
Links to download the above mentioned files
1.       Authors Link
2.       IDM UltraEdit
Procedure:
1.       Enable USB debugging from your developer option
2.       Connect your phone to Computer using USB cable
3.       Install qualcomm driver
4.       Now to get started
1.       Open minimal adb and fastboot folder using Command Prompt
Type the following Commands
“ adb shell
  su
  setprop sys.usb.config diag,adb “


2.       To confirm the connection type the following commands
 “ adb shell
  su
  getprop sys.usb.config ”
5.       Now open UltraEdit software
Open the QCN file provide with downloads using this

6.       Now Run IMEI Converter.exe
NB: Write down the IMEI given behind your phone on a piece of paper


7.       Now Find the following sequence of hex numbers for SIM1 

“08 8A 76 15 02 82 19 52 55”

and Replace it with the IMEI generated from the IMEI Converter.exe for the IMEI for Sim1
NOTE: MAKE SURE THE PROPER SEQUNCE AND SPACING IS MAINTAINED
8.    Now Find the following sequence of hex numbers for SIM 2 and replace it with the IMEI generated by the IMEI Converter for the IMEI for Sim2

“08 8A 76 15 02 82 19 52 51


9.    Now save the file and Exit UltraEdit
10.  Now again Run the Minimal ADB and Fastboot and execute the following commands in the sequence

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

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

The first set of commands will create a backup of the existing images and the next will wipe off the modemst1 modemst2 and fsg partitions
11. Once you restart you will lose the diag mode. you will have to follow step 4
12.  Now Run the QPST 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
13.  Now Click on the Start Clients option on the Top Menu bar and select Software Download


14.  You will see a Window like this


15.   Click on the restore tab and then browse to the file that you just saved.
  1. Now click the start Button
17.  Once it is done Reboot your system and You should have your IMEI restored
18.  This will solve the issue
19.  Thank You

Special thanks and credits to :- @BharatG (link),