zoukankan      html  css  js  c++  java
  • android DDMS 连接真机(己ROOT),用file explore看不到data/data文件夹的解决办法

    android DDMS 连接真机(己ROOT),用file explore看不到data/data文件夹的解决办法

    问题是没有权限,用360手机助手或豌豆荚也是看不见的。 简单的办法是用RE文件管理器(授予root权限),把data和data/data设置成777权限

    注意:用RE管理器打开看到默认不是777的,只是可读写还是不够的。

    另外就是使用adb shell命令,但android下的shell是阉割了的 不能用-R参数 既使su到root帐号也执行不了

    C:Documents and SettingsAdministrator>adb shell
    shell@umts_spyder:/$ su
    su
    root@umts_spyder:/# chmod 777 -R /data
    chmod 777 -R /data
    Unable to chmod -R: No such file or directory
    root@umts_spyder:/#
    只能一个一个文件夹去设置权限 
     root@umts_spyder:/# chmod 777 /data
    chmod 777 /data
    root@umts_spyder:/# chmod 777 /data/data
    chmod 777 /data/data
    root@umts_spyder:/#
     
    ------------------------------------------------------------------------------------------------------------------------------------------------------
    ------------------------------------------------------------------------------------------------------------------------------------------------------
    导出db 未成功需赋权限
    C:Documents and SettingsAdministrator>adb shell
    shell@umts_spyder:/$ su
    su
    root@umts_spyder:/# chmod 777 -R /data
    chmod 777 -R /data
    Unable to chmod -R: No such file or directory
    root@umts_spyder:/#
    只能一个一个文件夹去设置权限 
     root@umts_spyder:/# chmod 777 /data
    chmod 777 /data
    root@umts_spyder:/# chmod 777 /data/data
    chmod 777 /data/data
    root@umts_spyder:/# chmod 777 /data/data/xxx.xxx.xxxx/databases/xxxx.db
    执行后 再到 file explorer 导出该文件即可
  • 相关阅读:
    st-load视频性能测试
    gitlab-ci集成SonarQube代码质量检查
    退役记
    洛谷 P5195 【[USACO05DEC]Knights of Ni S】
    洛谷 P4742 【[Wind Festival]Running In The Sky】
    洛谷 SP13105 【MUTDNA
    洛谷 P3174 【[HAOI2009]毛毛虫】
    洛谷 P1542 【包裹快递】
    Python函数的返回值
    ubuntu18.04修改国内apt源
  • 原文地址:https://www.cnblogs.com/xin36933/p/3732043.html
Copyright © 2011-2022 走看看