This topic created in 3693 days ago, the information mentioned may be changed or developed.
adb 不能以 root 身份运行...
root@xxxx:/home/test# adb pull /data/data/com.xxx.xxx ./
remote object '/data/data/com.xxx.xxx' does not exist
7 replies • 2016-10-24 12:54:32 +08:00
 |
|
1. root 2. 如果是 debug 签名的 app ,可以 shell 里用 run-as
|
 |
|
没有挂载 data 目录吧? root 的话我一般用 twrp 刷掉原有的 recovery ,然后 boot 到 recovery 里 adb root 。
|
 |
|
没挂载+1
|
 |
|
手机要 root 然后 adb root ,会提示 adb 以 root 身份运行了 然后再正常 pull
|
 |
|
root 之后先把 /data/data 里的目录拷贝到 sdcard 下,在用 adb pull 从 sdcard 里拉出来。
|
 |
|
> su
|
 |
|
adb root 会提示 cannot run adbd as root in a production build ,所以, root 吧……
MIUI8 开发版…… 撑不下去换了 RR........
|