FORUMS
Remove All Ads from XDA
Honor View 10

[31.12.15]IMEI(EFS)BAckup Tool N 5 I Updated for systemless root I Promo for RD/C/T

28,650 posts
Thanks Meter: 57,702
 
By dr.ketan, Recognized Developer / Recognized Contributor on 8th September 2015, 10:20 AM
Post Reply Email Thread
IMEI (EFS) BAckup Tool Note 5



This is simple EFS backup tool. We are very well knowing about what EFS is and why it is MUST to backup on every rooted device. If you don't know then Read this.

You needs root access to use this tool otherwise app won't open..

Location of stored file :

Device storage/MyEFS
If you unable to see backup, contact me with details of your device variant

Download :

Pro Version


XDA version (free)- Attached at end of this post.

Quote:

Difference between Free/Play store

-Both version makes backup in same format and no difference in backup.
-Pro version have option to Restore with single click
-Free version will save file in MyEFS and if you make next backup it will replace older one. While play store version everytime creates new folder with date ,Time and your IMEI stamp so you can keep multiple backup as well no confulsion about which backup is made when and on which device. Also it makes copy of build.prop so you can get idea you were on which ROM when backup created)
-Play store version give notification in case backup not created.
-Weekly Auto backup feature available on play store version.
-PIT creator. Play store V1.1 added option to create PIT file from existing layout

This tool using generic name of partition block and you can restore with simple adb shell

dd if=/path of backup files/ of=/partition block according your device


ChangeLog
1.0 - Initial release. (3644)
1.1 - Fixed for systemless root users.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-09-08-11-23-34 - XDA.png
Views:	56422
Size:	19.2 KB
ID:	3466521   Click image for larger version

Name:	Screenshot_2015-09-08-11-23-28 - XDA.png
Views:	56576
Size:	16.4 KB
ID:	3466716  
Attached Files
File Type: apk IMEI Tool SGN5 Xda 1.1.apk - [Click for QR Code] (2.00 MB, 11622 views)
The Following 28 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
 
 
8th September 2015, 10:20 AM |#2  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 57,702
 
Donate to Me
More
What is EFS

This part of the device contains some important and some basic info related to our device identity like Bluetooth MAC address, wireless devices MAC addresses, product code (also in the nv_data.bin) and the very main IMEI address (nv_data.bin), programming parameters for the device such as your account information (phone number, etc), data provisioning parameters, and a whole bunch of other things. So you can guess it's will be different for each device and one can't use others. In latest samsung device this information store in other partition so requires to make backup of that partition too.

How it can corrupt :

- Any bad flashing, mishandling system modification can cause this.
- Also It can be corrupted by downgrading stock ROM. If you flash any old ROM on newer ROM it can corrupt EFS. Basically newer ROM believed to have new kernel that changes EFS data which older Modems can't read and results to fail in reading IMEI.

Impact on device/How I know I have corrupted EFS

When there is EFS partition is corrupted, device loses IMEI and due to this device can't gets connected to network. Baseband info also sometimes shows unknown.
-Check your IMEI in setting / by dialling *#06# if it is null OR if it starts with 0049** then IMEI is generic and corrupted. In Normal case IMEI which you can see in device setting or dialing *#06# is exactly same you can see on bill/box/sticker under battery compartment
-If you are unable to connect to network in spite of correct IMEI, chance are
A. Your device is Locked to specific Network OR
B. Your device is banned due to tempered IMEI
-If your AP,CP,CSC all are correct and even you are getting error (unknown CSC XXX) on kies update, it may be due to corrupt Product code in EFS. Read This for detail.

What care should i take
Before flashing anything, first thing you should do is to make EFS backup. Every person who have rooted device should make EFS backup earliest and place it to safer place on PC and /Cloud.
If you are on older ROM, make EFS backup on older ROM as well make another after upgrading ROM too.
If you have already updated to newer ROM, make backup on current ROM.

Exit "Permanent Safe Mode" This condition represent with loss of IMEI + yellow text box on homescreen with device info.here is Screenshot



Here is different method to remove it.

Method1 :
Open root explorer.
Navigate to /efs/FactoryApp/
Open "factorymode" file as Text and edit it:
Change this:

Code:
OFF
To:
Code:
ON
Open "keystr" file as Text and edit it:
Code:
OFF
To:

Code:
ON
Reboot device.

Method2:

Open Terminal emulator
Write the following:
Code:
su
Then click enter. It will ask for super user permission, give it permissions.
Write the following & click enter:
Code:
rm /efs/FactoryApp/keystr
Write the following & click enter:

Code:
rm /efs/FactoryApp/factorymode
Write the following & click enter:

Code:
echo -n ON >> /efs/FactoryApp/keystr
Write the following & click enter:

Code:
echo -n ON >> /efs/FactoryApp/factorymode
Write the following & click enter:

Code:
chown 1000.1000 /efs/FactoryApp/keystr
Write the following & click enter:

Code:
chown 1000.1000 /efs/FactoryApp/factorymode
Write the following & click enter:

Code:
chmod 0744 /efs/FactoryApp/keystr
Write the following & click enter:

Code:
chmod 0744 /efs/FactoryApp/factorymode
Reboot your device


Method3

Install attached safemode_exit apk as regular app. Open from drawer - Grant su permission - Reboot when asked.


e:failed to mount /efs(invalid argument) error with bootloop

This condition usually happens with using unsupported tool (usually from play store).

To recover this, needs to use adb shell


Code:
adb shell
 mke2fs / dev/block/mmcblk0px
 mount-w-t ext4 / dev/block/mmcblk0px / efs
x means your device EFS partition number

PS : It needs CWM and busybox installed.
The Following 7 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
8th September 2015, 10:20 AM |#3  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 57,702
 
Donate to Me
More
Reserved 3
The Following 2 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
8th September 2015, 10:21 AM |#4  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 57,702
 
Donate to Me
More
Reserved 4
The Following 2 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
8th September 2015, 10:21 AM |#5  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 57,702
 
Donate to Me
More
Reserved 5
The Following 2 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
8th September 2015, 05:19 PM |#6  
bjc112's Avatar
Senior Member
Thanks Meter: 248
 
More
Thank you

Sent from my SM-N920T using Tapatalk
The Following User Says Thank You to bjc112 For This Useful Post: [ View ] Gift bjc112 Ad-Free
13th September 2015, 09:59 PM |#7  
Account currently disabled
Flag Phuket, Thailand
Thanks Meter: 15,921
 
Donate to Me
More
Yet another useful contribution

Thanks
The Following User Says Thank You to UpInTheAir For This Useful Post: [ View ] Gift UpInTheAir Ad-Free
17th September 2015, 05:41 PM |#8  
daftlush's Avatar
Senior Member
Flag L.A.
Thanks Meter: 23
 
More
Nothing happens when i try to launch the app. Is that normal, or should there be a GUI? Also tried pro version.

Sent from my SM-N920T using Tapatalk
17th September 2015, 05:44 PM |#9  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 57,702
 
Donate to Me
More
Quote:
Originally Posted by daftlush

Nothing happens when i try to launch the app. Is that normal, or should there be a GUI? Also tried pro version.

Sent from my SM-N920T using Tapatalk

Are you sure you have rooted device? As said in op it won't open without root access.


Sent from my SM-N920I using xda premium
19th September 2015, 08:54 AM |#10  
daftlush's Avatar
Senior Member
Flag L.A.
Thanks Meter: 23
 
More
Quote:
Originally Posted by dr.ketan

Are you sure you have rooted device? As said in op it won't open without root access.


Sent from my SM-N920I using xda premium

ohh yeah. root is 100%.

Sent from my SM-N920T using Tapatalk
19th September 2015, 08:56 AM |#11  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 57,702
 
Donate to Me
More
Quote:
Originally Posted by daftlush

ohh yeah. root is 100%.

Sent from my SM-N920T using Tapatalk

Which is your device model ?
Reinstall and click on app icon and wait till it ask for supersu. Once you grant permission then only app will show ui



Sent from my SM-N920I using xda premium
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes