获取数据库文件在/ Root权限的设备数据/数据 [英] Get database file in /data/data on rooted device

查看:190
本文介绍了获取数据库文件在/ Root权限的设备数据/数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在 /数据/数据​​文件夹访问我的包。但我不能 CP 命令,这个数据库文件的SD卡。它说: CP:找不到。我做如下:

 #CD数据库
#LS
    webview.db
    mydatabase.db
    webviewCache.db
#CP MyDatabase的到/ mnt / SD卡
 

  CP:未找到
 

是否有人知道如何做到这一点?我怎样才能得到这个文件。

解决方案

 猫SOURCE_FILE> dest_file
 

您还可以安装busybox的,并得到使用cp命令的,以及许多其他人。 https://play.google.com/store/apps /details?id=stericson.busybox&hl=en

I can access to my package in /data/data folder. But i can't cp command this database file to SDCard. It says : cp: not found. I do as follow:

# cd databases
# ls
    webview.db
    mydatabase.db
    webviewCache.db
# cp mydatabase /mnt/sdcard

but

cp: not found

Does anybody know how to do this? How can I get this file.

解决方案

cat source_file > dest_file

You can also install busybox, and get the use of cp command, along with a host of others. https://play.google.com/store/apps/details?id=stericson.busybox&hl=en

这篇关于获取数据库文件在/ Root权限的设备数据/数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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