V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
linus
V2EX  ›  Android

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

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

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