Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have installed cyanogenmod in my htc wildfire recently. I made a nand backup of the previous ROM and I need some stuff that I didnt back up. Is there any way to extract files from the ROM without reinstalling it on my phone? I tried to mount it on a linux machine but I dont know which filesystem it uses.

In case it is useful, what I need are some pictures that I thought that were in the sd card and apparently they were in the internal memory.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

As far as I know, Nandroid uses the yaffs2 file system for storing backups inside the .img files.

A quick search on Google points to these instructions on extracting files from a Nandroid backup:

First you will need to download and build the "unyaffs" module:

svn checkout http://unyaffs.googlecode.com/svn/trunk/ unyaffs
cd unyaffs
gcc -o unyaffs unyaffs.c

Then copy the image file off your phone's Nandroid directory and extract it:

mkdir data && cd data
~/src/android/unyaffs/unyaffs /[path-to-backup-folder]/data.img
share|improve this answer
    
the svn is not working so I downloaded the files from browser. Still unyaffs worked without problems –  santiagozky Jul 7 '11 at 16:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.