summaryrefslogtreecommitdiff
path: root/extract_utils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extract_utils.sh')
-rw-r--r--extract_utils.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/extract_utils.sh b/extract_utils.sh
index cc80d22..aed974d 100644
--- a/extract_utils.sh
+++ b/extract_utils.sh
@@ -1112,7 +1112,9 @@ function get_file() {
if [ "$SRC" = "adb" ]; then
# try to pull
- adb pull "$1" "$2" >/dev/null 2>&1 && return 0
+ adb pull "$1" "$2" >/dev/null 2>&1 && return 0
+ adb pull "${1#/system}" "$2" >/dev/null 2>&1 && return 0
+ adb pull "system/$1" "$2" >/dev/null 2>&1 && return 0
return 1
else