How can I pull a file in /data/data/ from a rooted

2019-09-09 05:51发布

I wrote the following .bat file, but it did not work for me. Could anybody help me?

adb shell
su
cd /data/data
cp -r com.example.myapp /sdcard
exit
adb pull /sdcard/com.example.myapp

The .bat stop in the first command and did not go ahead. Just as this snapshot show. I would be greatly appreciated if someone could help me.

1条回答
聊天终结者
2楼-- · 2019-09-09 06:21

You can run adb as root

adb root

then you can just do

adb pull /data/data/com.example.myapp/ .
查看更多
登录 后发表回答