Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,319 Members 53,082 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Unpack SMG files

Tip us?
 
WeeDv2
Old
#1  
Senior Member - OP
Thanks Meter 20
Posts: 145
Join Date: Sep 2009
Default [Q] Unpack SMG files

Guys, i googled around a bit, but couldnt find any info on how to unpack .smg files

Using the firmware depacker i opened the sbf, but now i need to unpack the smg files

Any idea?
 
WeeDv2
Old
#2  
Senior Member - OP
Thanks Meter 20
Posts: 145
Join Date: Sep 2009
Done.
Use Explore2fs
 
r2beta0
Old
#3  
Senior Member
Thanks Meter 121
Posts: 481
Join Date: Nov 2010
Location: Rio de Janeiro
Each smg file is the image of it's group code, and image format may differ from each other. For example CG35.smg is the image of boot ram drive, so you need some special tricks to edit it (http://elinux.org/Android_on_OMAP).
As for CG39.smg it's the ext3 image of /system. You can change it easily on linux mouting it as a loopback device, like this:
mount -o loop CG39.smg /mnt/system
Thread Tools
Display Modes