Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Filipitripi
Old
#1  
Filipitripi's Avatar
Member - OP
Thanks Meter 11
Posts: 83
Join Date: Nov 2010
Location: Aviles, Asturias
Default [HOW TO] Open CGs

Hi all :
I try open all CGs for see the files, but i only know to open CG39 and some more..
sudo mount -o loop CG.39.smg CG39

But the others ¿¿

Some one have the answer ¿?¿?¿?
 
Horst_Horstmann
Old
#2  
Junior Member
Thanks Meter 1
Posts: 2
Join Date: Jan 2011
There is a Perl script which can unpack boot and recovery (CG35 & CG47) in this thread: http://forum.xda-developers.com/showthread.php?t=443994
 
adlx.xda
Old
#3  
adlx.xda's Avatar
Recognized Developer
Thanks Meter 667
Posts: 902
Join Date: Feb 2010

 
DONATE TO ME
Quote:
Originally Posted by Filipitripi View Post
Hi all :
I try open all CGs for see the files, but i only know to open CG39 and some more..
sudo mount -o loop CG.39.smg CG39

But the others ¿¿

Some one have the answer ¿?¿?¿?
CG64.smg & CG65.smg: partition tables that you can open using fdisk/sfdisk

CG33.smg is a CDROM ISO file!

iirc one or two of them are the splash image (not 100% sure now)
Like my work, use my roms daily? Consider donating for a beer/redbull -- Follow me on Twitter

Phones: Galaxy Nexus, Motorola RAZR UMTS XT910, HTC Chacha, Atrix (hard bricked), Defy, 2 Dext, CliqXT
 
rachit2588
Old
#4  
rachit2588's Avatar
Senior Member
Thanks Meter 65
Posts: 282
Join Date: Mar 2011
Location: waterloo
Quote:
Originally Posted by Filipitripi View Post
Hi all :
I try open all CGs for see the files, but i only know to open CG39 and some more..
sudo mount -o loop CG.39.smg CG39

But the others ¿¿

Some one have the answer ¿?¿?¿?
how to repack cg39.smg
if you have any details on windows 7 how to open repack do send me.
MOTOMING <> DEFY MB525 <> RAZR XT910 :: ICS JB
 
danimagrin
Old
(Last edited by danimagrin; 26th July 2011 at 05:31 PM.) Reason: updated link
#5  
Senior Member
Thanks Meter 18
Posts: 125
Join Date: Apr 2011
Quote:
Originally Posted by rachit2588 View Post
how to repack cg39.smg
if you have any details on windows 7 how to open repack do send me.
http://sourceforge.net/projects/ext2...1.zip/download

It will allow you opening ext3 images inside Windows
The Following User Says Thank You to danimagrin For This Useful Post: [ Click to Expand ]
 
SiL3nTKiLL
Old
#6  
Senior Member
Thanks Meter 65
Posts: 1,930
Join Date: Jun 2006
^very good idea
Phones:
1. Galaxy S2 Skyrocket
2. iPhone 4S
Tabs:
Apple iPad 2
Galaxy Tab 10.1

 
rachit2588
Old
#7  
rachit2588's Avatar
Senior Member
Thanks Meter 65
Posts: 282
Join Date: Mar 2011
Location: waterloo
Quote:
Originally Posted by danimagrin View Post
http://sourceforge.net/projects/ext2...1.zip/download

It will allow you opening ext3 images inside Windows
so now i can see files on cg39.smg using ext2reader but the thing is now how to get system image from cg39.smg to system.img ??
MOTOMING <> DEFY MB525 <> RAZR XT910 :: ICS JB
 
danimagrin
Old
#8  
Senior Member
Thanks Meter 18
Posts: 125
Join Date: Apr 2011
Quote:
Originally Posted by rachit2588 View Post
so now i can see files on cg39.smg using ext2reader but the thing is now how to get system image from cg39.smg to system.img ??
System.img to be restored with Nandroid? If yes you have to extract all files with ext2reader then use mkyaffs2image to build system.img.
 
rachit2588
Old
#9  
rachit2588's Avatar
Senior Member
Thanks Meter 65
Posts: 282
Join Date: Mar 2011
Location: waterloo
Quote:
Originally Posted by danimagrin View Post
System.img to be restored with Nandroid? If yes you have to extract all files with ext2reader then use mkyaffs2image to build system.img.
with mkyaffs2image its jus showing me a cmd windows for some less thn 1 sec and its jus goes away...please upload the version you are using...also let me know if it needs any prerequisite software to be installed.
MOTOMING <> DEFY MB525 <> RAZR XT910 :: ICS JB
 
danimagrin
Old
#10  
Senior Member
Thanks Meter 18
Posts: 125
Join Date: Apr 2011
It's because mkyaffs2image is a command line app, just like in the DOS days... To use it you should open a cmd window (type cmd at Windows menu and press enter), go to the directory right before the one you extracted files (you use cd "dirname" to enter in a directory and "cd .." to leave it. So when you are in the directory right before the one in which you've extracted files type "mkyaffs2image CG39extracteddir system.img"

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

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...