Backup EFS
Backup EFS
Backup EFS
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.
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
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
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)
1.
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.
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
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#.