FORUMS
Remove All Ads from XDA

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

13,142 posts
Thanks Meter: 39,744
 
By DooMLoRD, Recognized Developer on 19th February 2011, 11:06 PM
Post Reply 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, 15935 views)
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: 247
 
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 ] Gift MrHassell Ad-Free
20th February 2011, 03:42 AM |#3  
javagreen's Avatar
Senior Member
Flag Dombivli
Thanks Meter: 196
 
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,966
 
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: 255
 
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 Pune
Thanks Meter: 39,744
 
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 Pune
Thanks Meter: 39,744
 
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 ]
3rd April 2011, 04:51 PM |#11  
Senior Member
Thanks Meter: 14
 
More
i searched a tool like this... thank for this HOW TO!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes