linus
V2EX  ›  Android

如何下载 android 系统里面/data/data/下的文件?

  •  
  •   linus · Oct 23, 2016 · 15252 views
    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
    little_cup
    little_cup
    Oct 23, 2016
    1
    1. root
    2. 如果是 debug 签名的 app ,可以 shell 里用 run-as
    omengye
    omengye
    Oct 23, 2016 via Android
    2
    没有挂载 data 目录吧? root 的话我一般用 twrp 刷掉原有的 recovery ,然后 boot 到 recovery 里 adb root 。
    LGA1150
    LGA1150
    Oct 23, 2016 via Android
    3
    没挂载+1
    xuan_lengyue
    xuan_lengyue
    Oct 24, 2016
    4
    手机要 root
    然后 adb root ,会提示 adb 以 root 身份运行了
    然后再正常 pull
    figofuture
    figofuture
    Oct 24, 2016
    5
    root 之后先把 /data/data 里的目录拷贝到 sdcard 下,在用 adb pull 从 sdcard 里拉出来。
    cnZary
    cnZary
    Oct 24, 2016
    6
    > su
    kmahyyg
    kmahyyg
    Oct 24, 2016 via Android
    7
    adb root 会提示 cannot run adbd as root in a production build ,所以, root 吧……

    MIUI8 开发版……
    撑不下去换了 RR........
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1873 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 15:45 · PVG 23:45 · LAX 07:45 · JFK 10:45
    ♥ Do have faith in what you're doing.