Unofficial Xposed For Lollipop Touchwiz With Flashable Zip

XDA Recognized Developer arter97 has released an unofficial build … more

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is … more

[FTF] Sony Xperia Z Lollipop Release

Sony rolled out a Lollipop update for Xperia Z just yesterday. If you still haven’t gotten … more

Original Moto G Receives Lollipop, OTA Captured

The original Moto G was released almost two years ago. Motorola still continues to … 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,436
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, 14405 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: 251
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,436
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