我已经尝试在Ubuntu中安装它们,没有运气, mount
无法识别Yaffs2文件系统。我尝试了 yaffs2utils
和 ./unyaffs2
但它实际上并没有解压缩IMG文件,我在Google代码页 here 。
IMG文件是由CWM恢复为备份创建的,我正在尝试挖掘文件系统以查找旧联系人,如果我可以获得.db文件,我认为我从那里得到它(我'll只是运行 sqlite3
并偷看dB并打印纸上的联系人或其他东西)。
任何帮助感谢!
我已经尝试在Ubuntu中安装它们,没有运气, mount
无法识别Yaffs2文件系统。我尝试了 yaffs2utils
和 ./unyaffs2
但它实际上并没有解压缩IMG文件,我在Google代码页 here 。
IMG文件是由CWM恢复为备份创建的,我正在尝试挖掘文件系统以查找旧联系人,如果我可以获得.db文件,我认为我从那里得到它(我'll只是运行 sqlite3
并偷看dB并打印纸上的联系人或其他东西)。
任何帮助感谢!
I've tried mounting them in Ubuntu, no luck, mount
does not recognize the yaffs2 file system. I've tried yaffs2utils
and ./unyaffs2
but it doesn't actually unpack the img files, I've posted an issue about this on the Google Code page here.
The img files were created by CWM Recovery as a backup, and I'm trying to dig into the file system to find old contacts, and if I could just get the .db files I think I got it from there (I'll just run sqlite3
and peek into the db and print the contacts on paper or something).
Any help appreciated!
ABCDEFGHIJKLMNABCDEFGHIJKLMN0
工具,该工具可用作从。此页面还包含如何获取源代码的提示,因此您可以自己构建二进制。使用gcc( gcc -o unyaffs unyaffs.c
)。 我自己使用这个工具,它在ubuntu 8.04 32bit和ubuntu 12.04 64bit上工作正常(使用 ia32-libs
包装)。
将二进制置于百分比。在 /usr/local/bin
(中在 $PATH
中),因此您可以从中访问它。将要在空目录中提取的图像文件( unyaffs
始终将文件直接提取到图像文件中的文件夹)中),然后调用 unyaffs
图像文件名仅为参数,例如 unyaffs data.img
。之后,您将找到未包装的文件系统/图像的内容,并可以调查它们 - 例如。
data/com.android.providers.telephony/databases/mmssms.db
中 data/com.android.providers.media/databases/*.db
gcc -o unyaffs unyaffs.c0
因为我刚刚调查了MotoBlur图像,我的案例中的联系人已经存储到 gcc -o unyaffs unyaffs.c1
- 它们可能在案例中的不同位置(猜测: gcc -o unyaffs unyaffs.c2
)。
gcc -o unyaffs unyaffs.c3
命令自然地处理它们。如果您更喜欢图形前端,我可以推荐 gcc -o unyaffs unyaffs.c4
包(配备相同名称的二进制文件,它接受数据库文件作为参数)。
To unpack a YAFFS2 image, you can use the free unyaffs
tool, which is available as pre-build ELF-binary (for Linux) from this page at code.google.com. This page also contains hints on how to obtain the source code, so you could build the binary yourself e.g. with gcc (gcc -o unyaffs unyaffs.c
).
I use this tool myself, it works fine on Ubuntu 8.04 32bit as well as Ubuntu 12.04 64bit (with the ia32-libs
package installed).
Place the binary e.g. in /usr/local/bin
(which is in your $PATH
), so you can access it from everywhere. Put the image file you want to extract in an empty directory (unyaffs
always seems to extract files directly into the folder the image file is in), and then call unyaffs
with the image file name as only parameter, e.g. unyaffs data.img
. After that, you will find the contents of that file system/image unpacked, and can investigate them -- e.g.
data/com.android.providers.telephony/databases/mmssms.db
data/com.android.providers.media/databases/*.db
data/com.android.providers.calendar/databases/calendar.db
As I just investigated a MotoBlur image, contacts in my case have been stored to data/com.motorola.blur.providers.contacts/databases/contacts2.db
-- they are probably in a different location in your case (a guess: data/com.android.providers.contacts/databases/*.db
).
The sqlite3
command works on them, naturally. If you prefer a graphical frontend, I can recommend you the sqliteman
package (comes with a binary of the same name, which accepts the database file as parameter).
您可以安装钛备份并购买 pro键
它允许从已保存的CWM NANDROID备份中提取应用程序备份。
用法:启动钛备份,菜单和gt;更多> "从Nandroid备份提取"
You can install Titanium Backup and buy the Pro key.
It allows to extract app backups from saved CWM nandroid backups.
Usage: Launch Titanium Backup, Menu > More > "Extract from nandroid backup"
备份中的rom是什么?
如果文件系统是ext4,则可以将img安装为loopback:
这是在Linux btw上,
gcc -o unyaffs unyaffs.c5
然后进入该目录〜/ moundedimagedir ,您应该能够看到其中的目录结构:)
What ROM was it in the backup?
If the filesystem was ext4 you could mount the img to loopback like this:
This is on Linux btw,
sudo mount -o loop,ro,noexec,noload system.img ~/mountedImageDir
Then go into that directory ~/mountedImageDir and you should be able to see the directory structure in there :)
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有