- Feb 17, 2016
cat is faster than dd but the main what changed is streaming partition straight into (host) terminal and redirect (host) stdout into partition image on host directly without intermediate temp file on client. works with dd too, same as adb exec-out (linux only).In your modification of the dumpFile function of the script why do you replace the dd command with this?
adb shell su -c "cat $superPath 2> /dev/null" > $newPath
of course in recovery mode adb pull is still faster, but this is working in boot mode (whatever the reason is for instead of just pulling from twrp)