T-Mobile Steps Up The War Against Verizon

T-Mobile has today launched a new attack on Verizon under the tagline of “Never Settle … more

Multi DPI Apps for Galaxy Note 4

Samsung stock apps do not scale to non-stock DPIs, which can prove annoying to those that want to … more

Google #StepInsideAdWords Event Livestream

Ahead of the annual I/O conference scheduled to take place later this month, the Google … more

How Much Do You Pay for Your Wireless Bill?

With so many different carriers and options to choose from, it can sometimes be quite a task … more
Post Reply Subscribe to Thread Email Thread

[How-To] Extracting/Accessing Recovery/Nandroid backup (.img) files

19th February 2011, 11:06 PM |#1  
DooMLoRD's Avatar
OP Recognized Developer
Flag Gurgaon
Thanks Meter: 39,402
Actually this info is already present on other device forums but is unavailable @X10 forum. So I thought I will put it up here,

* If the MODS feel this thread is redundant please delete it *

Nandroid backups files (.img) created via Recovery are yaffs file system images. A tool called Unyaffs can be used to extract the files within these images (data.img / cache.img / system.img).

linux users can d/l the source code from:
and compile using:
gcc -o unyaffs unyaffs.c
for windows users:
you can download the attached rar file and extract it...

1) copy the compiled unyaffs file/exe (along with cygwin1.dll) to a new directory
2) copy the nandroid backup image (data.img / cache.img / system.img) into that directory
3) go to terminal/command prompt, change directory to where those files are and execute:
e.g. for system.img
unyaffs system.img
the contents of the .img file will be extracted in that directory

there is also an app in the market YaffsExpert with which you can extract the .img files using phone

Inspired from:
guide at EVO 4G forums
Extracting files from a nandroid backup using unyaffs
How to extract the files of Nandroid backup on Windows @
Attached Files
File Type: rar unyaffs-x86-win.rar - [Click for QR Code] (576.3 KB, 14303 views)
Last edited by DooMLoRD; 18th April 2011 at 11:12 PM.
The Following 58 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
20th February 2011, 03:42 AM |#2  
Senior Member
Flag Melbourne
Thanks Meter: 245
Donate to Me
+1 nice post! very useful info for any Android owner, anyone ever backed up with nandroid or xRecovery and felt like they forgot something from one of their earlier backups...? This is what you need
The Following User Says Thank You to MrHassell For This Useful Post: [ View ]
20th February 2011, 03:42 AM |#3  
javagreen's Avatar
Senior Member
Flag Dombivli
Thanks Meter: 191
Pretty nice and useful. I actually was tinkering around with these files the other day as I contemplated running either Z's Froyo Beta 4 OR J's GB
20th February 2011, 06:19 AM |#4  
cobrato's Avatar
Senior Member
Thanks Meter: 1,962
Donate to Me
Thank you. It is very useful.
21st February 2011, 07:28 AM |#6  
Z3US911's Avatar
Senior Member
Flag Delhi
Thanks Meter: 147
Donate to Me
now i don't have to google for this thanx...
3rd April 2011, 12:24 PM |#7  
velnens123's Avatar
Senior Member
Flag Lincoln
Thanks Meter: 250
How To Repack Files?
3rd April 2011, 04:31 PM |#8  
Thanks Meter: 6
Will this check for the md5?
3rd April 2011, 04:50 PM |#9  
DooMLoRD's Avatar
OP Recognized Developer
Flag Gurgaon
Thanks Meter: 39,402
Originally Posted by velnens123

How To Repack Files?

i didnt follow...

do u want to place/add/remove files to make ur own yaffs img?
3rd April 2011, 04:51 PM |#10  
Senior Member
Thanks Meter: 14
i searched a tool like this... thank for this HOW TO!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Top Threads in XPERIA X10 Android Development by ThreadRank