android DDMS 连接真机(己ROOT),用file explore看不到data/data文件夹的解决办法
16lz
2021-01-23
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 Settings\Administrator>adb shell [email protected]_spyder:/$ su su [email protected]_spyder:/# chmod 777 -R /data chmod 777 -R /data Unable to chmod -R: No such file or directory [email protected]_spyder:/# 只能一个一个文件夹去设置权限 [email protected]_spyder:/#chmod777/datachmod777/data
[email protected]_spyder:/#chmod777/data/data
chmod777/data/data
[email protected]_spyder:/#
下面上传几个截图方便大家参考
更多相关文章
- Android 9.0 关于ACTION_CALL无权限导致闪退的问题
- Android操作系统安全(分层结构、应用沙盒、安全进程通信、Android
- Android 6.0 运行时权限的处理
- [转]android 安全与权限(Security and Permissions)(翻译)
- 认识Android的UID(Unix user ID)与权限
- [android]android权限体系深入分析
- Android动态权限(懒人自用)
- Android的安全与权限(1)
- android 删除文件以及递归删除文件夹