From 1406453e47cf6c5cb6a200bf95e1fe959b20c6ff Mon Sep 17 00:00:00 2001 From: Yuxin Wu Date: Thu, 2 Mar 2017 12:09:30 +0800 Subject: [PATCH] update README (#39) --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2df9bcc..74de84a 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,13 @@ If it doesn't work, please leave an issue together with your phone/OS/wechat ver On Debian/Ubuntu systems, these dependencies can be installed via: ```sh -sudo apt-get install python-requests python-pil python-pyquery python-numpy libsox-dev +sudo apt-get install android-tools-adb python-requests python-pil python-pyquery python-numpy libsox-dev libsqlite3-dev libsqlcipher-dev pip install --user pysqlcipher csscompressor pip install --user --pre pysox ``` #### Get Necessary Data: -Note that commands involving `./android-interact.sh` are meant to be run on the computer. - + Get the decrypted WeChat database and the avatar index: + Automatic: `./android-interact.sh db-decrypt` + Requires rooted adb. If the OS distribution does not come with adb support, you can download an app such as https://play.google.com/store/apps/details?id=eu.chainfire.adbd @@ -80,7 +78,7 @@ Note that commands involving `./android-interact.sh` are meant to be run on the + You might need to change `RES_DIR` in the script if the default is incorrect on your phone. + This can take a __very long__ time. Some manual ways to do it faster: + If there's enough free space on your phone, you can log in and archive all required files via `busybox tar` with or without compression, - and use `adb pull` to copy the archive. Note that busybox is needed as the Android system's `tar` may choke on long paths. + and use `adb pull` to copy the archive. Note that `busybox` is needed as the Android system's `tar` may choke on long paths. + Alternatively, you can use pipes. This is slower, but doesn't require any free space on your phone. ```sh # This will copy the whole 'MicroMsg' to the current directory: