From c58a40a1a68cf6e8999c69c8f96d42fb7d5ded05 Mon Sep 17 00:00:00 2001 From: Jixun Wu Date: Fri, 16 Jun 2023 20:44:08 +0100 Subject: [PATCH] chore: add dev doc content --- docs/adb_dump.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/adb_dump.md diff --git a/docs/adb_dump.md b/docs/adb_dump.md new file mode 100644 index 0000000..0b8a1aa --- /dev/null +++ b/docs/adb_dump.md @@ -0,0 +1,9 @@ +# 利用 ADB 访问安卓私有数据 + +```sh +APP_ID="com.tencent.qqmusic" # QQ 音乐 +APP_ID="cn.kuwo.player" # 酷我 + +adb shell su -c "tar c '/data/data/${APP_ID}/' | base64" \ + | base64 -d | pv | tar -x --strip-components 2 +```