[Galaxy S 4 i9505 Android Development] hawkerpaul:
Core Task: CT_EFSBackup

Backup all file partitions relating to your device's EFS.

Backups are placed in HawkerCore/Backups/efs

The last backup for each partition is placed in a file called HawkerCore/Backups/efs/[partition-name].img

The backup operation will also create a date-stamped backup file, eg. efs.2013-10-25-1030.img which is in the form [partiton-name].yyyy-mm-dd-hhmm.img

What Gets Backed Up (GS4)

Backup Location: HawkerCore/Backups/efs

efs (/dev/block/mmcblk0p10) -> efs.img

m9kefs1 (/dev/block/mmcblk0p13) -> m9kefs1.img

m9kefs2 (/dev/block/mmcblk0p14) -> m9kefs2.img

m9kefs3 (/dev/block/mmcblk0p15) -> m9kefs3.img

modemst1 (/dev/block/mmcblk0p11) -> modemst1.img

modemst1 (/dev/block/mmcblk0p11) -> modemst1.img

backup (/dev/block/mmcblk0p23) -> backup.img

fsg (/dev/block/mmcblk0p24) -> fsg.img
​

What Gets Backed Up (GS2)

Backup Location: HawkerCore/Backups/efs

efs (/dev/block/mmcblk0p1) -> efs.img
​

Sample Run

HawkerCore Ver. 1.28

-------------------------

Handset: GS4 (GT-I9505G)

Android: 5.0.1

Int. SD: /data/media/0

Busybox: /system/xbin/busybox

ROM: LRX22C

=============================================

Core Job: === EFSBackup ===

=============================================

Backup your EFS partition

---------------------------------------------

This can only be run through Recovery!

Test Mode: *** ON ***

>>> Detecting External SD Card...

External. SD: /storage/extSdCard

<<< Core Task: EFS Backup (Test Mode) >>>

-----------------------------------------

Started: 25/03/2015 10:21

Backup your EFS partiton

>>> Preparing Backup Location...

Backup to: Ext. SD (/storage/extSdCard)

<<< Completed Preparing Backup Location

>>> Backing up EFS...

Backing up efs (/dev/block/mmcblk0p10)

to /storage/extSdCard/HawkerCore/Backups/efs/efs.img...

(dd if=/dev/block/mmcblk0p10 of=/storage/extSdCard/HawkerCore/Backups/efs/efs.img)

Backing up m9kefs1 (/dev/block/mmcblk0p13)

to /storage/extSdCard/HawkerCore/Backups/efs/m9kefs1.img...

(dd if=/dev/block/mmcblk0p13 of=/storage/extSdCard/HawkerCore/Backups/efs/m9kefs1.img)

Backing up m9kefs2 (/dev/block/mmcblk0p14)

to /storage/extSdCard/HawkerCore/Backups/efs/m9kefs2.img...

(dd if=/dev/block/mmcblk0p14 of=/storage/extSdCard/HawkerCore/Backups/efs/m9kefs2.img)

Backing up m9kefs3 (/dev/block/mmcblk0p15)

to /storage/extSdCard/HawkerCore/Backups/efs/m9kefs3.img...

(dd if=/dev/block/mmcblk0p15 of=/storage/extSdCard/HawkerCore/Backups/efs/m9kefs3.img)

Backing up modemst1 (/dev/block/mmcblk0p11)

to /storage/extSdCard/HawkerCore/Backups/efs/modemst1.img...

(dd if=/dev/block/mmcblk0p11 of=/storage/extSdCard/HawkerCore/Backups/efs/modemst1.img)

Backing up modemst1 (/dev/block/mmcblk0p11)

to /storage/extSdCard/HawkerCore/Backups/efs/modemst1.img...

(dd if=/dev/block/mmcblk0p11 of=/storage/extSdCard/HawkerCore/Backups/efs/modemst1.img)

Backing up backup (/dev/block/mmcblk0p23)

to /storage/extSdCard/HawkerCore/Backups/efs/backup.img...

(dd if=/dev/block/mmcblk0p23 of=/storage/extSdCard/HawkerCore/Backups/efs/backup.img)

Backing up fsg (/dev/block/mmcblk0p24)

to /storage/extSdCard/HawkerCore/Backups/efs/fsg.img...

(dd if=/dev/block/mmcblk0p24 of=/storage/extSdCard/HawkerCore/Backups/efs/fsg.img)

<<< Completed EFS Backup

EFSBackup Ended: 25/03/2015 10:21

---------------------------------------------

Core exit status: [0]
​

Called by:

EFSBackup

ROMNuke

ROMReset

Credits:

Thank you to AntaresOne for finding out some extra EFS-related partitions.