Results 1 to 8 of 8

Thread: sloved: Restoring IMEI - mobilecrackers

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Premium Member
    Join Date
    May 2013

    Lightbulb sloved: Restoring IMEI - mobilecrackers

    these are some of the ways to solve IMEI problems
    FIRST WAY for  GT-I9305
     EFS Professional v2.0 
    Setting up QPST with your PC:
    Dial *#7284# on your phone to access PhoneUtil and select 'Qualcomm USB Settings' at the bottom. Now select 'RNDIS + DM + MODEM' and press 'OK' to return to the previous screen. Now press your 'Back' key to exit PhoneUtil. Your phone is now in DIAG Mode.
    Download and Install: SAMSUNG_USB_Driver_for_Mobile_Phones_1590.exe - 23.06 MB if you don't already have Kies or a USB Driver installed.
    Download and Install: QPST - 14.68 MB
    Now connect your phone to the PC with a USB cable and wait for Drivers to install.
    Start the 'QPST Configuration' application and select the 'Ports' tab then press the 'Add New Port...' button.
    Select the COM Port that has 'USB/QC Diagnostic' next to it, change the Port Label if you like to 'Samsung GT-I9305' then press 'OK'.
    You should now see your phone listed in the 'Ports' tab and the 'State' should indicate 'Enabled'.
    You can now Close this application.
    Backing Up IMEI / NV Data:
    Start the 'Software Download' application and select the 'Backup' tab.
    Press the 'Browse' button and choose a Save Location for your QCN File.
    Press the 'Start' button and wait for it to finish. This will back up all your phones NV Items and save them to the QCN Backup File.
    The resulting QCN Backup File should be 250KB.
    Restoring IMEI / NV Data: 
    Start the 'Software Download' application and select the 'Restore' tab.
    Press the 'Browse' button and select your QCN Backup File.
    Press the 'Start' button and wait for it to finish. This will restore all your phones NV Items from the QCN Backup File.
    Your IMEI / NV Data should now be fully restored. Dial *#06# on your phones keypad to check your IMEI is restored.
    Restore USB Settings after Backup / Restore: 
    Dial *#7284# on your phone to access PhoneUtil and select 'Qualcomm USB Settings' at the bottom. Now select 'MTP + ADB' and press 'OK' to return to the previous screen. Now press your 'Back' key to exit PhoneUtil. Your phone is now back to default USB operation.
    If the 'Qualcomm USB Settings' Button is missing from the PhoneUtil application then execute the following command in a Terminal Emulator to launch the Qualcomm USB Settings page directly:
    su -c 'am start -n'
    Please Note: You must be rooted or this command will not work.
    Recovering IMEI And Data Connection After Flashing WRONG Root Package Intended For I9300:
    Make sure you have Samsung Kies or the Samsung USB Driver installed on your PC.
    Download and Extract: Odin3 - 457.11 KB to your PC if you don't already have it.
    Download and Extract: - 612.14 KB to your PC.
    With your Phone Switched Off, press and hold: 'VOL DN' + 'HOME' + 'POWER' to enter Download Mode.
    Connect your phone to your PC via USB Cable and start Odin.
    Check your phone is connected by seeing if a COM Port in a Blue box is present under ID:COM.
    Press the 'PDA' Button and select the 'Param_Bin_I9305.tar.md5' file you extracted from the Zip Archive earlier.
    Press the 'Start' Button and wait for it to finish flashing. If successful, you will see a Green Box with 'PASS!'.
    Wait for your phone to reboot then go to your Dialer and press: *#06#. You should now see your IMEI and your Data Connection will be back.

    Reasons for IMEI Loss:
    As I said above, the EFS/IMEI data is stored on a specific block on the system partition of your device. It is lost when this block is corrupted or wiped. It takes place while-
    1. Updating your phone’s firmware
    2. Installing an official or wrong firmware
    3. Installing custom ROMs
    The third one is the most notorious reason for the loss of IMEI or EFS data corruption on Samsung Galaxy devices. Many [COLOR=#0B8FE8 !important]custom ROMs come with scripts that automatically backup phone’s EFS to the external storage of the device while installing the ROM. In case of lost IMEI, you can restore it using some tools. To know more about backing up and restoring IMEI on rooted Galaxy devices, read the following tutorial: Galaxy Devices: In case you have lost your phone’s IMEI during or after performing firmware update or installing a new firmware using Odin, it means your device does not have root access any more. If this is your case, you can still restore your phone’s IMEI using the NV Items Reader Writer Tool. It has been tested on an unrooted Galaxy S3 and found working. It can work on other Samsung devices too if you have the code to open the PhoneUtil menu on that device. Try the code given below first and it does not work, find the working code.
    1. Download and extract the zip PC Make sure you have installed SAMSUNG DRIVERS on your computer.
    2. Enable USB DEBUGGING on your phone.
    3. Dial *#7284# on your phone’s dialer.
    4. Select Qualcomm USB Settings and then check RMNET + DM + MODEM and press OK button.
    5. Now connect your phone to computer using USB cable and then launch NV-items_reader_writer.exe as administrator.
    6. Save item 00550 with NV reader/writer. You can write the backup directly back to the phone. This backs up your IMEI only.
    7. If you want to backup complete NV data, read the phone with the default values [Range (Dec): 00000-65535].
    8. Dial *#7284# and select Qualcomm USB Settings then check MTP + ADB
    9. Restoring Lost/Corrupt IMEI: If you have already lost your phone’s IMEI, do this-
      1. Note down your phone’s IMEI. You it below the phone’s battery or on the box that it came in when you bought it.
      2. Create a backup of the corrupt IMEI file and open it with NotePad++ or any other text editor.
      3. Separate your IMEI number into blocks of two digits, leaving the first digit alone. Suppose your phone’s IMEI is35516705558781901, separate it like this: 3 55 16 70 55 58 78 19 01
      4. Now add “A” after the first digit, and reverse the sequence of the two numbers in each block of 2 digits. Add 08 in the beginning of the IMEI. Here is an example: 08 3A 55 61 07 55 85 87 91 10
      5. Having done this, replace the first nine values in the NV block with the converted IMEI.
      6. Click on Write button on the NV-items_reader_writer tool.
      7. When it’s done, disconnect device and reboot it.
      Your phone’s IMEI should be back. Do not forget to share your thoughts via comments and this tutorial via social media buttons. Cheers!

    3rd way
    I deleted my IMEI number when flashing roms a few days ago and it was showing as 000000...
    I searched everywhere for a recipe of how to restore it and could not find one that would work. The closest that I got was a brilliant post (see link below) describing how to restore the IMEI on a SGS2 i9100. After following this recipe, I was able to restore my IMEI number to 0049 .... which is just as useless as 0000....
    It took me a couple of days of research (and HUGE thanks to everybody whose previous research I was able to use) and I finally succeeded in restoring my IMEI using the 9 step process that I describe below. I can't guarantee that it will work and I do not know if it will work on any device besides the SGS3 GT-i9300 (international SGS3), because this is the only device that I have and was able to test the process on.
    You need:
    -EFS PRO, a brilliant little program for Windows used to backup / restore the efs folder as well as recover / repair the nv_data*.bin files.
    -Windows USB drivers
    -Rooted SGS3
    -Root explorer.apk
    -Original phone firmware (actually, you only need the modem.bin file, so once you download your firmware package, you can just extract the modem.bin file).
    -Odin or Heimdall
    Your phone's IMEI number is stored in the ".nv_data" file in the original shipped efs folder.
    1. make a copy of your EFS folder using root explorer and store it somewhere safe (on your SD card and external SD card should do it).
    2. delete the EFS folder from the root of your phone using root explorer.
    3. reboot the phone
    4. open root explorer and go to the EFS folder (yes, it is still there! The Android OS has generated a new one for us) and delete the following files:
    and the entire IMEI folder.
    5.Now go to your backed up EFS folder on your sd card and copy the IMEI folder and the " .nv_data" file (note the dot) to your new EFS folder.
    6.Make another copy of the ".nv_data" file in your new EFS folder. Rename one of them to "nv_data.bin" and the other one to "nv_data.bin.bak".
    7. Connect your phone to your PC and start up EFS PRO. After your phone has been detected, press the "Repair nv data" button to correct the ownership and permissions.
    8. Reboot your phone into recovery mode using the three botton combo and flash the original modem firmware (the modem.bin file that you extracted earlier) to your phone using Odin (use the "phone" button for the upload) or Heimdall (use the "radio" partition for the modem.bin file upload).
    9. Reboot the phone normally and your IMEI number will be restored and you will be able to connect to your mobile network again
    ! Need for backup Root access and debugging USB
    1. Extract from the zip and run .bat file
    2. Is okay to your PC and follow the menu
    Automatically create a text file of all the parameters of the device at the time of the copy
    Automatic backup of efs:
    * Odin flash file -. tar.md5,
    * dd copy - raw.img
    * tar.gz archive (need busybox)
    Automatic naming of files and backup archive version of the firmware
    Restore to choose from archives and backup images
    Automatic start of Odin and the transition to the flashing mode when selecting Odin Restore
    What's needed:
    1. Brain
    2. Android 2.1 recommended
    3. Root access
    4. PC with working ADB tool
    5. Basic Linux knowledge
    6. SD Card installed
    7. USB Cable
    8. Correct bml10.img file (attached to this thread)
    9. Correct efs.img file (attached to this thread)
    10. Fixed nv_data.bin received from me.
    Step by step tutorial:
    1. your broken nv_data.bin file is not required. Don't continue till you'll receive fixed nv_data.bin file.
    2. Connect your phone to PC and execute command Code: adb shell Android shell command prompt should appear.
    3. WithCode: mount command check if your /efs partition is mounted. Output should look like this: sh-3.2# mount rootfs on / type rootfs (rw) tmpfs on /dev type tmpfs (rw,mode=755) devpts on /dev/pts type devpts (rw,mode=600) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k) /dev/stl6 on /system type rfs (ro,codepage=utf8,vfat,fcache(blks)=128,xattr,chec k=no) /dev/stl5 on /data type rfs (rw,nosuid,nodev,codepage=utf8,vfat,fcache(blks)=1 28,xattr,check=no) /dev/stl7 on /cache type rfs (rw,nosuid,nodev,codepage=utf8,vfat,fcache(blks)=1 28,xattr,check=no) /dev/stl10 on /efs type rfs (rw,nosuid,nodev,codepage=utf8,vfat,fcache(blks)=1 28,xattr,check=no) <------- This is the line we are looking for /dev/bml8 on /xbin type squashfs (ro) /dev/block/mmcblk0p2 on /system/sd type ext3 (rw,noatime,nodiratime,errors=continue,data=ordere d) <--------- Optional, only if you have apps2sd enabled /dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015, fmask=0702,dmask=0702,allow_utime=0020,codepage=cp 437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
    4. If bolded line is present, skip to point 11
    5. If bolded line is missing download attached files
    6. Unzip them to your SD-card (root directory), and copy fixed nv_data.bin as well.
    7. switch to adb shell and run command Code: dd if=/sdcard/bml10.img of=/dev/bml10
    8. restart your phone
    9. login again to adb shell and run Code: dd if=/sdcard/stl10.img of=/dev/stl10
    10. reboot your phone again and check if your /efs partition is mounted (it should be)
    11. run adb shell once again and copy fixed nv_data.bin file to /efs partitionCode: cp /sdcard/nv_data.bin /efs
    12. change permissions of nv file Code: chmod 644 /efs/nv_data.bin
    13. wait 5-10 sec, disconnect your phone from pc, and pull out battery. DON'T SHUT DOWN ANDROID SYSTEM WITH "END CALL" BUTTON!
    14. start your phone again, wait for system tu boot up, and check your IMEI. It' should be fixed now
    You could use the following backup methods to backup your IMEI. 1. Archive Backup [Recommended] This will create a compressed archive and copies it to your SD Card * Root your phone. * Install Terminal Emulator use ADB from your Computer. * Type the following commands Code: su busybox tar zcvf /sdcard/efs-backup.tar.gz /efs * This will create a compressed archive efs-backup.tar.gz in your SD Card. * Copy this archive to your system and save it in several places. 2. Individual Files This will just copy the files from your efs partition to your sdcard. * Root your phone. * Install Terminal Emulator use ADB from your Computer. * Type the following commands Code: su cp -a /efs/. /sdcard/i9003_efs/ * This will create a folder i9003_efs in your sd card containing your EFS partition files. * Copy this folder to your system and save it in several places. 3. Automatic Backups with CyanogenMod * Whenever you are flashing from Stock to CyanogenMod, the EFS is copied to a different partition. In this process, a backup of the efs is created in /sdcard/backup/efs. * You could copy the efs backup files to your system and save them for later. Note that EFS is unique for device and if you loose your EFS without having a backup, you couldn't restore it and you will have to visit the Samsung Service and get your motherboard replaced. A Little Background IMEI is stored in the EFS partition of your device and it is unique for each and every device. IMEI is important and so is the EFS partition on your phone. Whenever you flash any custom rom, the efs partition is never touched and is always present on the device unlike the SYSTEM and KERNEL partition which vary with firmwares. IMEI in a Stock rom is stored in the STL3 (/dev/block/stl3) partition and the filesystem is RFS. This is the primary and the most important partition and this data is shipped with the device and is unique for each and every phone. Starting from Cyanogenmod 10 Alpha 4, the filesystem has been changed to facilitate bigger partitions. The RFS filesystem is no longer used since it is proprietary to Samsung. Instead, we are using YAFFS. For this reason, we wont be able to read the RFS partition which contains the EFS since the RFS support was removed from the kernel. To overcome this problem, we create a mirror partition for EFS and we copy the data from the original EFS partition to the newly created partition during when the ROM is being flashed. This creates 2 copies of the EFS in the device and also each time CyanogenMod is flashed, a backup of the EFS is created in the sdcard which could be very useful. Hence, if you are having issues with lost IMEI on Cyanogenmod 10 or 10.1 releases, it would mean that maybe the mirror partition is improper but the original partition is still intact, which could be checked by returning back to stock. If you are still not having your IMEI on the Stock rom also, that is when you would be needing to restore using this guide.
    help with imei problems 004999010640000 !!
    as of 1 oktober you can also use the Imei and BaseBand repair functions of SRS
    sometimes after a bad flash your imei number become 0049xxxx we now offer a repair method to put back the original
    imei on the phone, you now also get back signal again.
    -To repair imei only fill in the imei number, and leave the SNR blank. 
    -To repair SNR fill in both fields (imei will not be repaired, only SNR)
    Some models need an special UART Cable, repair is NOT possible via USB ONLY
    - I9300 Imei Repair Need Special Cable
    - I9308 Imei Repair Need Special Cable
    - N8000 Imei Repair Need Special Cable
    - N7100 Imei Repair Need Special Cable
    - I9250 Imei Repair Need Special Cable
    - P6800 Imei Repair Need Special Cable
    the uart cable you need you can buy HERE
    see some demo video's of the repair function on I9000 and I9100
    The price for the Imei Repair function is 27,50 (6 credit account for 2 unlock)
    also we introduce a new tool called BaseBand Repair Tool (BBRT)
    this is a free addon in SRS for active users, we offer 3 stand alone repair methods to get back your "baseband"
    and also an method to restore the comlete EFS system from backup (after restore you need to use imei repair function to get back sigmal)
    Last edited by mobilecracker; 05-01-2014 at 14:32.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts