Fixed backup script/batch should look like this:
Code:
@echo EFS Backup
@pause
@echo Waiting for OnePlus One
@adb wait-for-device
@echo Backing up EFS...
@adb shell su -c "dd if=/dev/block/mmcblk0p10 of=/storage/emulated/0/modemst1.bin bs=512"
@adb shell su -c "dd if=/dev/block/mmcblk0p11 of=/storage/emulated/0/modemst2.bin bs=512"
@adb pull /storage/emulated/0/modemst1.bin
@adb pull /storage/emulated/0/modemst2.bin
@pause
And the restore script would be:
Code:
@echo EFS RESTORE
@pause
@echo Waiting for OnePlus One
@adb wait-for-device
@echo Restoring EFS...
@adb push modemst1.bin /storage/emulated/0/modemst1.bin
@adb push modemst2.bin /storage/emulated/0/modemst2.bin
@adb shell su -c "dd if=/storage/emulated/0/modemst1.bin of=/dev/block/mmcblk0p10 bs=512"
@adb shell su -c "dd if=/storage/emulated/0/modemst2.bin of=/dev/block/mmcblk0p11 bs=512"
@pause
Essentially, the /sdcard0 part changes to /emulated/0 in each line of each script.