如何在Android上无需root权限提取/data/目录。

huangapple go评论127阅读模式
英文:

How to extract /data/ on Android without root

问题

我的目标是从我的Android手机中提取系统文件夹/data。我尝试了几个答案,我的计划是:

  1. 创建备份 adb backup "-apk app.source.getcontact -f res.adb"
    (已完成 - 文件 res.adb 已在我的电脑上创建)

  2. 从备份中提取数据(根据这个答案 https://gist.github.com/AnatomicJC/e773dd55ae60ab0b2d6dd2351eb977c1

dd if=res.adb bs=24 skip=1 | zlib-flate -uncompress | tar xf -
dd: res.adb: 无法跳到指定的偏移量
0+0 记录进入
0+0 记录输出
0 字节已复制,6,1437e-05 s,0,0 kB/s
tar: 这看起来不像一个tar归档
tar: 由于之前的错误,以失败状态退出

如何修复这个错误?

英文:

My aim is to extract system folder /data from my Android phone. I was trying several answers and my plan is

1 Create backup adb backup "-apk app.source.getcontact -f res.adb"
(DONE - file res.adb is created on my PC)

2 Extract data from the backup (according to this answer https://gist.github.com/AnatomicJC/e773dd55ae60ab0b2d6dd2351eb977c1 )

dd if=res.adb bs=24 skip=1 | zlib-flate -uncompress | tar xf -

dd: res.adb: cannot skip to specified offset
0+0 records in
0+0 records out
0 bytes copied, 6,1437e-05 s, 0,0 kB/s
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

How to fix this error?

答案1

得分: 1

使用CX文件浏览器应用程序以及类似Airdroid的工具进行文件传输,而无需编写代码,可以采用不同的方法。

https://play.google.com/store/apps/details?id=com.cxinventor.file.explorer

https://www.airdroid.com/personal-b/

英文:

a different route without code could be using CX File Explorer app, which will get you access to the folder, in conjunction with something like Airdroid to transfer the files

https://play.google.com/store/apps/details?id=com.cxinventor.file.explorer

https://www.airdroid.com/personal-b/

huangapple
  • 本文由 发表于 2023年6月1日 05:11:00
  • 转载请务必保留本文链接:https://go.coder-hub.com/76377330.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定