惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
Y
Y Combinator Blog
Engineering at Meta
Engineering at Meta
D
Docker
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
腾讯CDC
P
Proofpoint News Feed
A
About on SuperTechFans
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
Google DeepMind News
Google DeepMind News
C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LangChain Blog
MyScale Blog
MyScale Blog
博客园 - 三生石上(FineUI控件)
Hugging Face - Blog
Hugging Face - Blog
Microsoft Azure Blog
Microsoft Azure Blog
N
Netflix TechBlog - Medium
G
Google Developers Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

博客园 - xin36933

浅析android OCR文字识别 Android中使用代码截图的各种方法总结 Android通过tcpdump抓包 Android 开机自动启动服务 SqlServer表死锁的解决方法 数据库 的事务日志已满。若要查明无法重用日志中的空间的原因,请参阅 sys.databases 中的 log_reuse_wait_desc 列。 修改Android工程版本 android利用剪切板来实现数据的传递 ANDROID开发之SQLite详解 浅析SQLite数据库开发常用管理工具 Android手机获取手机唯一识别号(转) android 程序时时获取logcat信息 Android adb shell启动应用程序的方法 android打电话、发短信实现 Android全局变量的定义与使用 安卓4.0/4.1/4.2手机怎么打开USB调试模式 Android中的DDMS进行调试 Runtime.getRuntime().exec执行阻塞问题解决 GC_EXTERNAL_ALLOC freed 与 GC_EXPLICIT freed 是什么?
android DDMS 连接真机(己ROOT),用file explore看不到data/...
xin36933 · 2014-05-16 · via 博客园 - xin36933

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

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 Settings\Administrator>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 导出该文件即可