I had once found a fast method to backup device partitions to a computer using adb
and pv
(provided by a TWRP temporary boot image). pv
ran on the Android device and was called using adb
, specifically, I think, using adb exec-out
. cat
might have been involved. dd
was not used, I'm 85% sure of that, because I need/needed to see the copy progress.
I am unable to find it now. What was it?
pv
a tool uses for monitoring progress, how can you backup a partition using that tool? Also if you intend to pipe the data from Android to the host PC usingadb shell
you will recognize that this will change the transferred data (net lines). Better useadb exec-out
. – Robert May 27 '22 at 16:16pv $A $B
to copy one partition to another or to a file while displaying the operation's progress, which I need to see to know that a copy operation hasn't stalled. I probably did useadb exec-out
instead ofadb shell
. – Melab May 27 '22 at 18:13dd
which is inefficient and does not display the progress. – Melab May 27 '22 at 18:17Ctrl + F
in your browser, and type" pv "
without quotation marks. The search results will quickly lead you to 2 commands in which I've usedpv
. None of the both usesdd
. // Btw I hope you are aware ofdd status=progress ...
. If not, please read here. Also see pv to correct your understanding of how it works. – Irfan Latif May 27 '22 at 20:57