FORUMS

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 … more

Google To Launch Next Gen Android One On July 14

The first gen of Android One devices to be launched in India in September 2014 were … more

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

13,136 posts
Thanks Meter: 39,508
 
By DooMLoRD, Recognized Developer on 19th February 2011, 11:06 PM
Post Reply Subscribe to Thread Email Thread
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: http://code.google.com/p/unyaffs/downloads/list
and compile using:
Code:
gcc -o unyaffs unyaffs.c
for windows users:
you can download the attached rar file and extract it...


usage:
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
Code:
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 http://forum.xda-developers.com/showthread.php?t=890508
Extracting files from a nandroid backup using unyaffs http://bit.ly/gTLFkc
How to extract the files of Nandroid backup on Windows @ androidforums.com http://bit.ly/fT7udF
Attached Files
File Type: rar unyaffs-x86-win.rar - [Click for QR Code] (576.3 KB, 14577 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: 246
 
Donate to Me
More
xlnt
+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
 
More
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,963
 
Donate to Me
More
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
More
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: 252
 
More
How To Repack Files?
3rd April 2011, 04:31 PM |#8  
Member
Thanks Meter: 6
 
More
Will this check for the md5?
3rd April 2011, 04:50 PM |#9  
DooMLoRD's Avatar
OP Recognized Developer
Flag Gurgaon
Thanks Meter: 39,508
 
More
Quote:
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  
DooMLoRD's Avatar
OP Recognized Developer
Flag Gurgaon
Thanks Meter: 39,508
 
More
Quote:
Originally Posted by mohdameer

Will this check for the md5?

this will just extract the contents of nandroid/recovery backups...

u can use md5summer or similar progs to check md5 sums..
The Following User Says Thank You to DooMLoRD For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes