How To Backup EFS Folder ? (IMEI)


letsfifa

Members
Aug 27, 2013
279
40
Hi
I want to backup my EFS Folder That contains the IMEI. (in Case of damage caused to my phone when flashing Rom's...)

My phone: Xiaomi Mi2s.
Is there a way to Backup ??
Thanks
 
Hi
I want to backup my EFS Folder That contains the IMEI. (in Case of damage caused to my phone when flashing Rom's...)

My phone: Xiaomi Mi2s.
Is there a way to Backup ??
Thanks
There is no /efs folder on Xiaomi devices like for example Samsung devices.
I haven't seen backup methods yet.

If you update using the updater app/OTA you don't have to worry about IMEI
 
just backup the m9kefs* partitions with dd
Moin,
thanks for info. I can sleep better from now.:)

For others:
Code:
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1 of=/sdcard/m9kefs1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2 of=/sdcard/m9kefs2.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3 of=/sdcard/m9kefs3.img
 
  • Like
Reactions: coolajda
open Terminal emulator or adb shell and enter davfiala's commands.
After that u'll find the backups on your virtual sdcard. You should copy them to your pc because the virtual sdcard isn't a safe place ;)
 
  • Like
Reactions: davfiala
Ok So Tell me if will do this right:
i copy The Code and paste is in "Terminal emulator".
Then It will be in my SDcard ?! and i move it to a safe place om my pc.
This Backups the IMEI ?!

How to Restore if i need to ?
 
Ok So Tell me if will do this right:
i copy The Code and paste is in "Terminal emulator".
Then It will be in my SDcard ?! and i move it to a safe place om my pc.
This Backups the IMEI ?!

How to Restore if i need to ?
Copy and paste only one row, one by one. And yes, this is backup of IMEI !?

Restoring is same but reversed:

Code:
su
dd if=/sdcard/m9kefs1.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1
dd if=/sdcard/m9kefs2.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2
dd if=/sdcard/m9kefs3.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3
 
  • Like
Reactions: Angeluss69
Copy and paste only one row, one by one. And yes, this is backup of IMEI !?

Restoring is same but reversed:

Code:
su
dd if=/sdcard/m9kefs1.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1
dd if=/sdcard/m9kefs2.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2
dd if=/sdcard/m9kefs3.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3
Cool :D
Just to know what does it backup ?
EFS Folder & ?
 
Check this path /dev/block/platform/msm_sdcc.1/by-name/m9kefs*
It must be present in phone or you have fake.