Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,461 Members 47,549 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] How to extract Clockworkmod Images

Tip us?
 
show-p1984
Old
(Last edited by show-p1984; 2nd August 2011 at 11:13 PM.)
#1  
show-p1984's Avatar
Recognized Developer - OP
Thanks Meter 11429
Posts: 3,330
Join Date: Jul 2011

 
DONATE TO ME
Default [GUIDE] How to extract Clockworkmod Images

As it seems to be a fairly common question, here is a guide on how to extract your clockworkmod recovery images.
This can come handy if you only want to extract certain apps, or files.
  1. Put your Clockworkmod images in a folder on your computer.
  2. Download this and put it in there, too.
  3. Extract it in there.
  4. Open a cmd-prompt in this folder.
  5. Use this command to extract your data:
    Code:
    unyaffs.exe img_name_to_extract.img
  6. Wait. the tool will display "end of image" when it is done.
  7. Done. The data should be in the same directory as the tool is.

If you want to restore your contacts:
Extract the data.img
Your contacts will be in:
Code:
\data\com.android.providers.contacts\databases
I have not written the program used in this guide, just found it on my harddrive.
in Euro.

Creator of Sweep2wake, cmdline_khz/gov/scheduler/maxscroff, badass, 3-phase-kernel-thermal-control, kernel mpdecision (msm/tegra), etc...
"Any sufficiently advanced technology is indistinguishable from magic." [Arthur C. Clarke's Third Law]

<<<< Before you ask questions, read and understand this! >>>>
Translations:
Chinese, Dutch, French, German, Japanese, Polish, Romanian, Russian, Spanish, Turkish.


KControl thread on xda:
The Following 7 Users Say Thank You to show-p1984 For This Useful Post: [ Click to Expand ]
 
thuanvatlieu
Old
#2  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Feb 2011
Cool thanks much. so helpful

helped me to pull out contacts
 
JDubbed
Old
#3  
Member
Thanks Meter 12
Posts: 32
Join Date: Feb 2011
I first had to download and install cgwin1.dll from here http://www.dll-files.com/dllindex/dl....shtml?cygwin1 and place it in the windows directory to get this to work. But after proceeding I get a "broken image file" when trying this on recovery.img and same thing with boot.img.

I am simply trying to recover some data from this nandroid backup specifically pictures in the sdcard/DCIM directory but I have no idea where it is. Is it located somewhere in the data.ext4.rar or system.ext4.rar files? If so I have looked through those and could not find a DCIM directory of any kind. Would anyone be kind enough to direct me?

Thanks
 
show-p1984
Old
#4  
show-p1984's Avatar
Recognized Developer - OP
Thanks Meter 11429
Posts: 3,330
Join Date: Jul 2011

 
DONATE TO ME
Quote:
Originally Posted by JDubbed View Post
I first had to download and install cgwin1.dll from here http://www.dll-files.com/dllindex/dl....shtml?cygwin1 and place it in the windows directory to get this to work. But after proceeding I get a "broken image file" when trying this on recovery.img and same thing with boot.img.

I am simply trying to recover some data from this nandroid backup specifically pictures in the sdcard/DCIM directory but I have no idea where it is. Is it located somewhere in the data.ext4.rar or system.ext4.rar files? If so I have looked through those and could not find a DCIM directory of any kind. Would anyone be kind enough to direct me?

Thanks
You won't be able to do that. The recovery does not backup the sdcard.
in Euro.

Creator of Sweep2wake, cmdline_khz/gov/scheduler/maxscroff, badass, 3-phase-kernel-thermal-control, kernel mpdecision (msm/tegra), etc...
"Any sufficiently advanced technology is indistinguishable from magic." [Arthur C. Clarke's Third Law]

<<<< Before you ask questions, read and understand this! >>>>
Translations:
Chinese, Dutch, French, German, Japanese, Polish, Romanian, Russian, Spanish, Turkish.


KControl thread on xda:
 
wowtablet
Old
#5  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Aug 2012
Thank you very much ,it help me much
 
topgeardave
Old
#6  
topgeardave's Avatar
Senior Member
Thanks Meter 438
Posts: 1,079
Join Date: Aug 2011
Cheers buddy! Needed this to extract my data backup

If I've helped, just press the thank you button

Current Phones:
Nexus 5: Official CM11 with Chaos Kernel
Nexus 7(2013): CM11 with francos Kernel

Old Phones (Still in use):
HTC Sensation: Sultanxda/bilal_liberty cm11
HTC Desire: Own cm7 build

The Following User Says Thank You to topgeardave For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Get Your Special xda:devcon ’14 Hotel And Conference Rate While It Lasts

By now you’ve definitely heard about XDA’s … more

Google Chromecast Rootable Once Again!

Over the six months, theGoogle Chromecasthas gained a considerable amount of official functionality. … more

YAATA isn’t Just Another Android Texting App

Although our mobile devices today are capable of executingnearly every task we normally … more

MacroDroid Update Brings Android Wear Automation

A few months ago, we talked about MacroDroid. For those who don’t remember, MacroDroid … more