[Android Software Development] katinatez:
Hello fellow devs, I have compiled recovery for One Plus One code name bacon but I did not set it up to backup efs so that is where I have questions. Any hints or clues will help.

First I followed the instructions posted in front of thread;I placed this code in device/oneplus/bacon/bacon.mk

# System properties

PRODUCT_PROPERTY_OVERRIDES += \

ro.telephony.default_network=20

ro.cwm.backup_partitions=/modemst1,/modemst2,/devlog

but the fstab only mentions one modem partition how to I edit the fstab to make this run correct?

And here is the stock fstab.bacon.

# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,journal_async_commit,errors=panic wait,check,encryptable=footer,length=-16384
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,journal_async_commit,errors=panic wait,check
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc,nomblk_io_submit,errors=panic wait
/dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/recovery /recovery emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/misc /misc emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait

/devices/platform/xhci-hcd auto vfat defaults voldmanaged=usbdisk:auto

Do I edit something like this?

/dev/block/platform/msm_sdcc.1/by-name/modemst1 /modem_st1 emmc flags=backup=1;display=EFS
/dev/block/platform/msm_sdcc.1/by-name/modemst2 /modem_st2 emmc flags=backup=1;subpartitionof=/modem_st1

Second question is screenshots is not working, Im sure its a simple fix here is snippet of recovery log.

Android Screenshooter - fb2png
Author: Kyan He <kyan.ql.he@gmail.com>
Maintained by Phil3759 & McKael @xda
v2.0.0 <2014>

fb2png -buffer=-1 (auto) /sdcard/clockworkmod/screen_shots/cwm_screen001.png
overlay=mdssfb
bpp : 32
size : 8294400
width : 1080
height : 1920
ARGB offset : 24 0 8 16
ARGB length : 8 8 8 8
bytespp : 4
raw size : 8355840
yoffset : 0
pad offset : 8
buffer offset : 0
read buffer error: No such device
Failed to read framebuffer.
screen capture failed
I:setting up /data/media(/0) for /sdcard.

Android Screenshooter - fb2png
Author: Kyan He <kyan.ql.he@gmail.com>
Maintained by Phil3759 & McKael @xda
v2.0.0 <2014>

fb2png -buffer=-1 (auto) /sdcard/clockworkmod/screen_shots/cwm_screen001.png
overlay=mdssfb
bpp : 32
size : 8294400
width : 1080
height : 1920
ARGB offset : 24 0 8 16
ARGB length : 8 8 8 8
bytespp : 4
raw size : 8355840
yoffset : 0
pad offset : 8
buffer offset : 0
read buffer error: No such device
Failed to read framebuffer.
screen capture failed