Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 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

Your Answer


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.