Sunteți pe pagina 1din 11

FIRST WAY for GT-I9305

WARNING! DO NOT FLASH YOUR DEVICE UNTIL YOU HAVE BACKED UP YOUR IMEI / NV DATA
IN THIS GUIDE!
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 v2.7.378.zip - 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
Start the
Press the
Press the
phones NV
Your IMEI
keypad to

IMEI / NV Data:
'Software Download' application and select the 'Restore' tab.
'Browse' button and select your QCN Backup File.
'Start' button and wait for it to finish. This will restore all your
Items from the QCN Backup File.
/ NV Data should now be fully restored. Dial *#06# on your phones
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.
Quote:
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
com.sec.android.app.phoneutil/com.sec.android.app.phoneutil.USBSettings'
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 3.04.zip - 457.11 KB to your PC if you don't
already have it.
Download and Extract: Param_Bin_I9305.zip - 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.
SECOND WAY
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 while1. Updating your phones 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 phones 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 phones 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 phones 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 NV-Items_Reader_Writer_Tool.zip 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 phones 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 NVitems_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:
10.
11. If you have already lost your phones IMEI, do this12.
1. Note down your phones IMEI. You it below the phones 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 phones 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 its done, disconnect device and reboot it.
13.
Your phones 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 GTi9300 (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
-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.
Process:
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:
nv_data.bin
nv_data.bin.md5
nv.log
.nv_data.bak
.nv_data.bak.md5
nv_data.bin.bak
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

SAMSUNG NOTE 3 EFS BACKUP/RESTORE


Instructions:
! 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
SAMSUNG_SM-N900_EFS_BACKUP.zip
http://forum.xda-developers.com/atta...3&d=1380392863
SAMSUNG_N9005_EFS_BACKUP.zip
http://forum.xda-developers.com/atta...3&d=1381433907

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


3. Code:
4. adb shell
5. Android shell command prompt should appear.
6. WithCode:
7. mount
8. command check if your /efs partition is mounted. Output should look like
this:
9.
10.sh-3.2# mount
11.rootfs on / type rootfs (rw)
12.tmpfs on /dev type tmpfs (rw,mode=755)
13.devpts on /dev/pts type devpts (rw,mode=600)
14.proc on /proc type proc (rw)
15.sysfs on /sys type sysfs (rw)
16.tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k)
17./dev/stl6 on /system type rfs
(ro,codepage=utf8,vfat,fcache(blks)=128,xattr,chec k=no)
18./dev/stl5 on /data type rfs
(rw,nosuid,nodev,codepage=utf8,vfat,fcache(blks)=1 28,xattr,check=no)
19./dev/stl7 on /cache type rfs
(rw,nosuid,nodev,codepage=utf8,vfat,fcache(blks)=1 28,xattr,check=no)

20./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

21./dev/bml8 on /xbin type squashfs (ro)


22./dev/block/mmcblk0p2 on /system/sd type ext3
(rw,noatime,nodiratime,errors=continue,data=ordere d) <--------- Optional,
only if you have apps2sd enabled
23./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)
24.
25. If bolded line is present, skip to point 11
26. If bolded line is missing download attached files
27. Unzip them to your SD-card (root directory), and copy fixed
nv_data.bin as well.
28. switch to adb shell and run command
29. Code:
30. dd if=/sdcard/bml10.img of=/dev/bml10
31. restart your phone
32. login again to adb shell and run
33. Code:
34. dd if=/sdcard/stl10.img of=/dev/stl10
35. reboot your phone again and check if your /efs partition is mounted
(it should be)
36. run adb shell once again and copy fixed nv_data.bin file to /efs
partitionCode:
37. cp /sdcard/nv_data.bin /efs
38. change permissions of nv file
39. Code:

40. chmod 644 /efs/nv_data.bin


41. wait 5-10 sec, disconnect your phone from pc, and pull out battery.
DON'T SHUT DOWN ANDROID SYSTEM WITH "END CALL" BUTTON!
42. start your phone again, wait for system tu boot up, and check your
IMEI. It' should be fixed now

REMEMBER! DO NOT SHARE YOUR FIXED NV_DATA.BIN FILE! IT


CONTAINS YOUR IMEI! IF SOMEONE ELSE WILL USE THIS FILE,
YOUR NETWORK OPERATOR MAY BAN YOUR IMEI AS A DUPLICATE
NUMBER
PLEASE BACKUP YOUR EFS BEFORE YOU ATTEMPT TO FLASH OR
MODIFY YOUR PHONE. EFS CONTAINS YOUR DEVICE IMEI WHICH IS
VERY IMPORTANT.
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.
READ THIS CAREFULLY:
-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
- I9300 Imei Repair
- I9308 Imei Repair
- N8000 Imei Repair
- N7100 Imei Repair
- I9250 Imei Repair
- P6800 Imei Repair

special UART
Need Special
Need Special
Need Special
Need Special
Need Special
Need Special

Cable, repair is NOT possible via USB ONLY


Cable
Cable
Cable
Cable
Cable
Cable

the uart cable you need you can buy HERE

http://smart-gsm.net/smart-cables/12...ng-phones.html
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
5th way
["If you did not make any backup of your EFS folder, and your IMEI is messed
up, this could be your solution to recover your lost IMEI. NOTE THAT AT LEAST
YOU MUST HAVE THE SHIPPED ORIGINAL EFS FOLDER ON YOUR PHONE ( even if you
didn't make a backup of it yet and even it's messed up ) FOR THIS METHOD TO
WORK
My history with my IMEI:
I flashed my phone with some ROMs, and I didn't backup my EFS folder before,
then My SGS2 IMEI was changed to 004999010640000, and we know this is the fake
IMEI that is assigned to the phone if the nv_data.bin file is messed up.
so I researched. searched all the forums and didn't find anything that could
cure my phone's IMEI and set it to the original IMEI number. so I experimented
and after some hours, I fixed my IMEI.
one thing that led me to the conclusion that " .nv_data " file is the thing
that I need to fix the IMEI is that they share a very look alike name, and
they have the same 2MB size.
PS: I restored my phone's firmware to it's original PDA, Phone and CSC, rooted
it with CF-Root, and then done this procedures below
here is what I have done:
you must have:
-Root
-Root explorer for copying files to and from EFS folder
-Android SDK for the ADB tools or Terminal in your phone.
It is interesting to know that the IMEI is stored in ".nv_data" file in
ORIGINAL SHIPPED EFS folder too, so you just have to do these:
1) make a copy of your EFS folder to your sdcard using root explorer and then
make a backup of the folder to your computer [ to have another copy if you had
to format sd card sometime ]

2) delete the EFS folder (BE SURE YOU HAVE BACKED IT UP IN A SAFE PLACE AS
SAID IN STEP 1) from the root of your phone using root explorer.
3) reset the phone, after that, go to the root, and you can see that the EFS
folder is still there, don't make any mistake, this EFS folder is new and
generated by the android OS.
4) go to EFS folder using root explorer, and delete "nv_data.bin",
"nv_data.bin.md5".
5) go to your backed up EFS folder on your sdcard, copy the "imei" folder to the
EFS folder at the root of your phone, then again go to the backed up EFS folder at
yout sdcard and copy the " .nv_data " file to your EFS folder at the root of your
phone using root explorer, NOTE: the dot in first of nv_data is not a mistake, copy
the ".nv_data" file.
6) make another copy of the ".nv_data" file in EFS folder in your phone, so you
would have 2 copies of ".nv_data" in EFS folder
7) rename one of ".nv_data" files to "nv_data.bin" and another one to
"nv_data.bin.bak"
8) at your PC open CMD at the ADB tool path, or run Terminal at your phone enter
these commands:
adb shell ( use this command of you use ADB, if you're using terminal, skip
this line )
su ( ALLOW THE MESSAGE CAME AT YOUR PHONE's DISPLAY BY SUPERUSER PROGRAM )
chown 1001:radio /efs/nv_data.bin
9) reset your phone.... after that you have your original IMEI. you can check
your IMEI by dialing *#06#.

S-ar putea să vă placă și