如何访问Android的数据/数据​​文件没有终端的Andr​​oid设备上 [英] How to access data/data files of Android without a terminal on the Android device

查看:245
本文介绍了如何访问Android的数据/数据​​文件没有终端的Andr​​oid设备上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我已经通过Windows机器植根与金吾根一个Android 4.2.0的设备。我也有一台Unix机器可用。

I have an Android 4.2.0 device that I have rooted with Kingo Root through a Windows machine. I also have a Unix machine available.

我希望能够到数据/数据​​我的设备的文件夹中的内容传输和读取到我的电脑。

I want to be able to transfer and read the contents of the data/data folders of my device to my computer.

虽然我知道我可以使用adb shell(或电话安装终端)所描述的<一个href=\"http://stackoverflow.com/questions/13006315/how-to-access-data-data-folder-in-android-device\">here,我没有我的Andr​​oid设备上的Internet连接来下载并安装一个终端。

While I understand that I can use the adb shell (or a phone-installed terminal) as described here, I don't have internet connection on my Android device to download and install a terminal.

是否有某种方式来传递和阅读数据/数据​​的内容与上述的设置文件夹?

Is there some way to transfer and read the contents of the data/data folders with the setup described above?

推荐答案

刚刚获得亚洲开发银行设置您的Windows计算机上。

Just get adb set up on your Windows machine.

我只是一个植根装置做了这个在我的Windows 8机器上:

I just did this on my Windows 8 machine with a rooted device:

C:\Users\dan>adb devices
List of devices attached
LGLS8859a5b706c device

C:\Users\dan>adb shell
root@jagc:/ # cd data/data/com.android.phone/databases
cd data/data/com.android.phone/databases
root@jagc:/data/data/com.android.phone/databases # ls
ls
callreject.db
callreject.db-journal
callsettings.db
callsettings.db-journal
ipcall.db
ipcall.db-journal
quickmessage.db
quickmessage.db-journal
root@jagc:/data/data/com.android.phone/databases # exit
exit

C:\Users\dan>adb pull /data/data/com.android.phone/databases/callreject.db
878 KB/s (16384 bytes in 0.018s)

C:\Users\dan>

您也可以拉动整个文件夹是这样的:

You can also pull an entire folder like this:

C:\Users\dan>adb pull /data/data/com.android.phone/databases/
pull: building file list...
pull: /data/data/com.android.phone/databases/callsettings.db-journal -> ./callse
ttings.db-journal
pull: /data/data/com.android.phone/databases/callsettings.db -> ./callsettings.d
b
pull: /data/data/com.android.phone/databases/callreject.db-journal -> ./callreje
ct.db-journal
pull: /data/data/com.android.phone/databases/callreject.db -> ./callreject.db
pull: /data/data/com.android.phone/databases/ipcall.db-journal -> ./ipcall.db-jo
urnal
pull: /data/data/com.android.phone/databases/ipcall.db -> ./ipcall.db
pull: /data/data/com.android.phone/databases/quickmessage.db-journal -> ./quickm
essage.db-journal
pull: /data/data/com.android.phone/databases/quickmessage.db -> ./quickmessage.d
b
8 files pulled. 0 files skipped.
1132 KB/s (125016 bytes in 0.107s)

这篇关于如何访问Android的数据/数据​​文件没有终端的Andr​​oid设备上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆