FORUMS

HTC Delivering Ads Straight to Sense Home

HTC’s 2015 has been a year marked by a desperate search for revenue.The HTC One M9 … more

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

[GUIDE] EFS Backup and Restore for Galaxy Grand i9082 and i9082L

750 posts
Thanks Meter: 3,388
 
By xenon92, Recognized Developer on 26th August 2013, 01:24 PM
Post Reply Subscribe to Thread Email Thread
EFS BACKUP AND RESTORE
for
GALAXY GRAND i9082 and i9082L


DISCLAIMER: I am not responsible if you mess up your phone by following steps wrongly. This guide is to help you backup one of the most important partitions on your phone.


This is the FIRST THING that you should do after you root your Galaxy Grand i9082 or i9082L.


This method is ROM INDEPENDENT. It can be performed on any ROM.

Check post #2 below for the EFS BACKUP APP developed by me.


What is so important about EFS and why you SHOULD backup your EFS?


EFS is a system folder in the root directory of your phone that contains very important and basic information about your device's identity like Wi-Fi MAC address, Bluetooth MAC address and the MOST IMPORTANT - IMEI address (nv_data.bin).

Now if this EFS partition accidentally gets corrupted or erased, your phone’s IMEI number will get erased and your device will become completely useless and you won't be able to make voice call further, as the carrier network will not recognize your phone. This can happen for a variety of reasons, sometimes flashing a wrong or corrupted ROM. This kind of damage is not accepted by the service center. Only solution that the service center provides is to replace the motherboard of the device and that costs a lot of $$$!

Only a BACKUP of your EFS can save your phone if something goes wrong with your EFS partition.
(Some of you have already messed up your IMEI. Check Troubleshooting forum for details.)

Below is the correct and the safest method to backup your EFS folder. Copying the "/efs" directory to an external SD card using a root file manager is NOT the correct way as it will mess up the permissions when you restore it back.

NOTE: While some phones have (@k2wl), some of the phones (including mine and @DBZo07) don't have "nv_data.bin" in their "/efs" partition. Even though our IMEI are intact, but this file seems to be missing from "/efs". I am still looking into it as to why it is missing from EFS. I'll update the OP when i am more clear about the reason. Nonetheless, backing up EFS is still an important task and should be performed as soon as you get root permissions on your phone.



BACKUP

1. Open Terminal Emulator.

2. Type the following and press ENTER on your keyboard to grant Terminal Emulator SuperUser permission.
Code:
su


3. Type the following and press ENTER on your keyboard (case sensitive - so type it just as it is written here)

Code:
dd if=/dev/block/mmcblk0p17 of=/storage/sdcard0/efs.img bs=4096





If successfully executed, you will see something like this.





You will get "efs.img" file in your internal memory (sdcard0) of size 20 MB. Move this "efs.img" file to someplace safe - Laptop or Online backup so that it is readily available if you need it.




RESTORE

1. Make sure "efs.img" file is available in your internal memory (sdcard0).

2. Follow steps 1 and 2 from above to grant Terminal Emulator SuperUser permissions.

3. Type the following and press ENTER on your keyboard (case sensitive - so type it just as it is written here)

Code:
dd if=/storage/sdcard0/efs.img of=/dev/block/mmcblk0p17 bs=4096
4. Reboot


You'll have one thing less to worry before trying/flashing something new on your Galaxy Grand i9082.


Don't forget to press Thanks!

Credits:
dr.ketan
Last edited by xenon92; 7th April 2014 at 01:39 PM.
The Following 66 Users Say Thank You to xenon92 For This Useful Post: [ View ]
 
 
26th August 2013, 01:26 PM |#2  
xenon92's Avatar
OP Recognized Developer
Thanks Meter: 3,388
 
Donate to Me
More
EFS BACKUP AND RESTORE APP
for i9082 and i9082L

Developed by xenon92


DOWNLOAD


Last edited by xenon92; 29th September 2013 at 02:25 PM.
The Following 11 Users Say Thank You to xenon92 For This Useful Post: [ View ]
26th August 2013, 01:26 PM |#3  
xenon92's Avatar
OP Recognized Developer
Thanks Meter: 3,388
 
Donate to Me
More
Reserved...
26th August 2013, 01:56 PM |#4  
10xian04's Avatar
Senior Member
Flag tanay
Thanks Meter: 69
 
More
not working on me say cant open
26th August 2013, 02:05 PM |#5  
xenon92's Avatar
OP Recognized Developer
Thanks Meter: 3,388
 
Donate to Me
More
Quote:
Originally Posted by 10xian04

not working on me say cant open

Can't open What?
Please elaborate when u post.
26th August 2013, 02:18 PM |#6  
10xian04's Avatar
Senior Member
Flag tanay
Thanks Meter: 69
 
More
Quote:
Originally Posted by xenon92

Can't open What?
Please elaborate when u post.

that
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-08-26-20-55-31.jpg
Views:	1456
Size:	36.6 KB
ID:	2214703  
The Following User Says Thank You to 10xian04 For This Useful Post: [ View ]
26th August 2013, 02:20 PM |#7  
xenon92's Avatar
OP Recognized Developer
Thanks Meter: 3,388
 
Donate to Me
More
You spelled the partition WRONG!
Please make sure your spellings are correct and i have mentioned in OP that this is CASE SENSITIVE

It is "mmcblk0p17".
The Following User Says Thank You to xenon92 For This Useful Post: [ View ]
26th August 2013, 02:34 PM |#8  
10xian04's Avatar
Senior Member
Flag tanay
Thanks Meter: 69
 
More
Quote:
Originally Posted by xenon92

You spelled the partition WRONG!
Please make sure your spellings are correct and i have mentioned in OP that this is CASE SENSITIVE

It is "mmcblk0p17".

sorry my mistake it work thanks this is very helpfull..
26th August 2013, 03:58 PM |#9  
akiratoriyama's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 841
 
Donate to Me
More
I myself don't have nv_data.bin file in my /efs directory

Sent from my GT-I9082 using xda premium
26th August 2013, 06:26 PM |#10  
DBZo07's Avatar
Senior Member
Thanks Meter: 310
 
More
Quote:
Originally Posted by xenon92

You spelled the partition WRONG!
Please make sure your spellings are correct and i have mentioned in OP that this is CASE SENSITIVE

It is "mmcblk0p17".

Copy paste works..
It's very help bro.. thanks

To err is human; to forgive is divine
26th August 2013, 07:01 PM |#11  
xenon92's Avatar
OP Recognized Developer
Thanks Meter: 3,388
 
Donate to Me
More
Glad i could help!

Quote:
Originally Posted by akiratoriyama

I myself don't have nv_data.bin file in my /efs directory

Sent from my GT-I9082 using xda premium

Apparently, only @k2wl has it.

I hope others have it too.

You know this makes things tougher. Not having this file in "/efs" folder. We'll have to figure out other partitions which might contain this IMEI info (mk9efs). This is reference to the new S4 as other devs say that S4 has this info in those partitions.

I own a Note 2 too, and all the files are present under single partition of "/efs". Life is simpler with Note 2!
The Following User Says Thank You to xenon92 For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread

Tags
backup, efs, nv_data, restore, root
Previous Thread Next Thread