An improved implementation of various ADB operations, notably pull
. Androsharp contains an implementation of pull
that
works with large files and/or faulty cables called repull
(retry pull).
Command line syntax:
androsharp <command> [options...]
-
Angle brackets (
<>
) specify required arguments. -
Square brackets (
[]
) specify optional arguments. -
Ellipses (
...
) specify one or more arguments.
repull <remote file> [block value] [block units] [destination file]
Pulls the remote file from the device just like normal adb pull
but with the Androsharp implementation.
ADB tends to hang/freeze when pulling large files (>3GB, it seems). Androsharp (repull
) solves this problem
by pulling blocks of data from the file and collating them to build the file. repull
also continuously
retries if it runs into errors.
Most of this code was adapted from this gist in Python.
-
Refactor
-
Performance improvements