Android Reviews, Tutorials, How To's, Root, UnRoot, Flash for Android mobile phones and operating system

12 August 2013

How to Backup & Restore EFS [IMEI] for All Samsung Galaxy S4 Variant

IMEI is a unique identification number programmed onto your device and you can check the unique IMEI of your device by dialing *#06# or written on sticker under the battery. It is required in order to be correctly identified on a mobile network.
Without IMEI, you cannot make calls, send SMS or use mobile data.

EFS is a partition on the internal memory of your device which contain important data including the IMEI.
If the data in this partition gets corrupt, you will lose your IMEI

Requirements :
1. Samsung galaxy S4 device
2. "Android Terminal Emulator" app (Link below)

Before starting :
1. Root your device
2. Download and install "Android Terminal Emulator" app

EFS Backing up Steps :
1. Open "Android Terminal Emulator" and type
Su
Then enter
It will ask for root permission
2.A. For galaxy S4 GT-I9500 Type :
dd if=/dev/block/mmcblk0p3 of=/sdcard/efs.img
Then enter
B.  For galaxy S4 all LTE and US variant Type :
dd if=/dev/block/mmcblk0p10 of=/sdcard/efs.img
dd if=/dev/block/mmcblk0p11 of=/sdcard/mod1.bin
dd if=/dev/block/mmcblk0p12 of=/sdcard/mod2.bin
Then enter
C.  For galaxy S3 all LTE and US variant Type :
dd if=/dev/block/mmcblk0p11 of=/sdcard/efs.img
dd if=/dev/block/mmcblk0p12 of=/sdcard/mod1.bin
dd if=/dev/block/mmcblk0p13 of=/sdcard/mod2.bin
Then enter
3. Backup the created files on your phone's internal storage to your PC or the cloud.

EFS Restoring Steps :
1. Send the files (Step 3) to the internal storage of your device
2. Open "Android Terminal Emulator" and type :
Su
Then enter
It will ask for root permission
3.A. For galaxy S4 GT-I9500 Type :
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3
Then enter
B. For galaxy S4 all LTE and US variant Type :
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p10
dd if=/sdcard/mod1.bin of=/dev/block/mmcblk0p11
dd if=/sdcard/mod2.bin of=/dev/block/mmcblk0p12 
Then enter
C. For galaxy S3 all LTE and US variant Type :
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p11
dd if=/sdcard/mod1.bin of=/dev/block/mmcblk0p12
dd if=/sdcard/mod2.bin of=/dev/block/mmcblk0p13 
Then enter
4. Restart your device
Done !
Notes :
~ It won't delete your data
~ Make sure you choose the correct cmd in restoring process
~ This method will work only on ROOTED devices
~ Backing up EFS partition is highly recommended for users who use the custom Roms
~ Use it at your own risk
~ This method won't repair your device if you don't have a backup of the EFS partition, but you can to try this How to Fix "Not Registered on Network"/Wrong IMEI for Galaxy S3/S4/Note2
~ Every device has unique partition, so you can't use this if you have backup file from another device

Downloads :
Android Terminal Emulator App HERE 

14 comments:

  1. it doesnt work with i9500

    ReplyDelete
  2. Thank u MrWolf!
    It works like a charm with my GT-I9500. :)

    ReplyDelete
  3. where efs.img in n7100

    ReplyDelete
  4. In terminal type this : ls -l /dev/block/platform/dw_mmc/by-name
    and send it

    ReplyDelete
  5. Ramith Jayasuriya26 March, 2014 06:23

    it worked i think. But after restarting the phone got stuck on Samsung.
    I tried this yesterday. wiped all cache partitions. Did a factory reset. But it still didnt switched on
    Please help

    ReplyDelete
  6. please help me N7100 4.3 imei null admin

    ReplyDelete
  7. Try this http://www.w0lfdroid.com/2013/10/How-to-Fix-Wrong-IMEI-No-Network-Galaxy-S3-S4-Note2.html
    If it doesn't work post your phone's build number?

    ReplyDelete
  8. i not have efs file, so imei null......all null....help!

    ReplyDelete
  9. gt i9500..... null imei....plzz help!!!!!!!!!!!!!!!!

    ReplyDelete
  10. You are the best. worked perfect!

    ReplyDelete
  11. gt i9500..... null imei....plzz help!!!!!!!!!!!!!!!!

    ReplyDelete
  12. Mohammed Adnan15 June, 2015 15:26

    i have got only one file inside imei that is mps_code.dat and inside root/efs its just there are no nv_data files my imei is gone
    model number gt-i9505 galaxy s4, baseband is anlso unknown pleasse help

    ReplyDelete