Backing up the EFS partitions via adb shell only saves one file

So I created a batch file to backup the EFS partition of the OnePlus One via the su in the ADB Shell however;

 adb shell su -c "dd if=/dev/block/mmcblk0p10 of=/sdcard/modemst1.bin bs=512; if=/dev/block/mmcblk0p11 of=/sdcard/modemst2.bin bs=512"

only does the first part of the line before the break. (I have also tried it with && and it hasn’t worked also)
I have checked the Su Logs and both commands are appearing… Any idea on what is causing the issue? (Source of the efs partitions is here – OnePlus Forums)

Source: shell

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.