From 88003355c2798cfaafd2f936863690fe5f7436c6 Mon Sep 17 00:00:00 2001 From: ppwwyyxx Date: Thu, 27 Aug 2015 20:24:08 -0400 Subject: [PATCH] use root in adb --- android-interact.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android-interact.sh b/android-interact.sh index 7bc8526..b422dbc 100755 --- a/android-interact.sh +++ b/android-interact.sh @@ -13,8 +13,8 @@ cd "$PROG_DIR" RES_DIR="/mnt/sdcard/tencent/MicroMsg" MM_DIR="/data/data/com.tencent.mm" -#echo "Starting rooted adb server..." -#adb root +echo "Starting rooted adb server..." +adb root if [[ $1 == "uin" ]]; then adb pull $MM_DIR/shared_prefs/system_config_prefs.xml 2>/dev/null @@ -47,7 +47,7 @@ elif [[ $1 == "db" || $1 == "res" ]]; then echo "Found $numUser user(s). User chosen: $chooseUser" if [[ $1 == "res" ]]; then - echo "Pulling resources... this might take a long time..." + echo "Pulling resources... this might take a long time, because adb sucks..." mkdir -p resource; cd resource for d in image2 voice2 emoji avatar video; do mkdir -p $d; cd $d