FORUMS

[2.0][15Feb16]EFS (IMEI) [N910/N915]Backup tool - updated for systemless root.

33,285 posts
Thanks Meter: 67,567
 
By dr.ketan, Recognized Developer / Recognized Contributor on 12th October 2014, 07:30 AM
Post Reply Email Thread
EFS (IMEI) Backup tool N910U/F/L/K/C/P/T/G/H/R/6W/8W N915G(note4 Edge)(support to other variant soon)



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.

Right now this tool support only SM-910U and support to other variant will be added when it is available.

Download :

Pro Version

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

Difference between Free/Play store

-Both version makes backup in same format and no difference in backup.
-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)
-On free version you have to select option according your device model, if you select wrong your EFS backup will be wrong On play store version it will auto detect your model and make backup accordingly. In case your model not supported it will give warning msg.
-Play store version give notification in case backup not created OR you select wrong model and will have option to contact developer in such case.
-Weekly Auto backup feature available on play store version.

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 for N910U
1.1 - Updated for making backup of other efs related partition as well added support for N910F (all 1.0 user request to make new backup with new version)
1.2 - Added support for N910K
1.3 - Added support for N910C
1.4 - Added support for N910P
1.5 - Added support for N910T and N910G
1.6 - Added support for N910H/R/W8/6W
1.7 - Added support for N910L
1.8 - (Major Update - Recommended for all to update)
-Added support for N9100
-Backup location changed to IntSD/MyEFS for ready to use Pro version (now both have same location)
-Now it removes old backup before creating new backup to insure that created backup is new. still you can check date of created files)
1.9 - Added support for N915G (Note4 Edge)
2.0 - Added support for system less root. New UI.

XDA:DevDB Information
Dr.Ketan IMEI Tool, ROM for the Samsung Galaxy Note 4

Contributors
dr.ketan
ROM OS Version: 4.4.x KitKat

Version Information
Status: Stable

Created 2014-11-19
Last Updated 2017-04-05
The Following 72 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
12th October 2014, 07:30 AM |#2  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 67,567
 
Donate to Me
More
EFS Info
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.
Attached Thumbnails
Click image for larger version

Name:	safemod.jpeg
Views:	210364
Size:	71.7 KB
ID:	3042404  
Attached Files
File Type: apk Safemod_Exit_1.0.apk - [Click for QR Code] (1.02 MB, 8328 views)
The Following 13 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
12th October 2014, 05:53 PM |#3  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 67,567
 
Donate to Me
More
Other model user have rooted device contact me to add support for their device.
The Following 3 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
13th October 2014, 12:08 AM |#4  
Member
Flag Haifa
Thanks Meter: 13
 
More
no work for 910k
13th October 2014, 06:31 AM |#5  
bladefrost007's Avatar
Senior Member
Flag Kabankalan
Thanks Meter: 13
 
More
Thanks dr ketan.

Sent from my SM-N910U using Tapatalk
13th October 2014, 08:48 PM |#6  
19stephan77's Avatar
Senior Member
Thanks Meter: 19
 
More
What is with N910F ?
The Following User Says Thank You to 19stephan77 For This Useful Post: [ View ] Gift 19stephan77 Ad-Free
13th October 2014, 09:15 PM |#7  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 67,567
 
Donate to Me
More
Quote:
Originally Posted by 19stephan77

What is with N910F ?

Do you have N910F with root access?


Sent from my SM-N900 using xda premium
14th October 2014, 08:52 AM |#8  
friedrich420's Avatar
Senior Member
The Land of Whatever
Thanks Meter: 25,646
 
More
Quote:
Originally Posted by dr.ketan

Do you have N910F with root access?


Sent from my SM-N900 using xda premium

Dr, for SM-910F if i could help..
14th October 2014, 08:58 AM |#9  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 67,567
 
Donate to Me
More
Quote:
Originally Posted by friedrich420

Dr, for SM-910F

Can you make some space on Inbox so i can send msg?
Thank you.
14th October 2014, 09:06 AM |#10  
friedrich420's Avatar
Senior Member
The Land of Whatever
Thanks Meter: 25,646
 
More
Quote:
Originally Posted by dr.ketan

Can you make some space on Inbox so i can send msg?
Thank you.

yep.. i keep forgetting..
14th October 2014, 02:54 PM |#11  
Member
Flag Haifa
Thanks Meter: 13
 
More
i have n910K with root
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