Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,035 Members 41,624 Now Online
XDA Developers Android and Mobile Development Forum

[HOW TO] Extracting baseband from .tar.md5 ROM

Tip us?
 
yewsiong
Old
(Last edited by yewsiong; 17th May 2012 at 01:12 PM.)
#1  
yewsiong's Avatar
Senior Member - OP
Thanks Meter 279
Posts: 520
Join Date: Feb 2012
Location: Johor
Angry [HOW TO] Extracting baseband from .tar.md5 ROM

Hi all, this is the time for knowledge sharing again~

This is a tutorial about how to extract baseband ONLY from a .tar.md5 ROM zip.

U can download the latest firmware from
http://samsung-updates.com/gt-i8150-galaxy-w/

What u need?
  1. Firmware with desired baseband
  2. Cygwin (get it from http://www.cygwin.com/)

Steps
  1. Install Cygwin and start the Cygwin terminal
  2. Put the .tar.md5 firmware into c:\baseband
  3. In cygwin, type the following command
    Code:
    cd /cygdrive/c/baseband
    tar -xvf firmware_name.tar.md5 amss.mbn
    tar -H ustar -c amss.mbn > baseband.tar

    P/s: If the firmware_name.tar.md5 is I8150DXLM3_I8150OLBLD1_I8150DXLM2_HOME.tar.md5

    Then the code will be:

    Code:
    cd /cygdrive/c/baseband
    tar -xvf I8150DXLM3_I8150OLBLD1_I8150DXLM2_HOME.tar.md5 amss.mbn
    tar -H ustar -c amss.mbn > baseband.tar
    The results u will see should be like this pic

After all the code typing, u will get the desired baseband.tar which can be flashed as one package by using Odin. U can flash the baseband no matter u are using custom ROM or Stock ROM.

Just a advise, baseband is region-dependent. Although it is still working worldwide, u might have the problem of not receiving sms/call if u are using a baseband from another region.
The Following 34 Users Say Thank You to yewsiong For This Useful Post: [ Click to Expand ]
 
alidsd
Old
#2  
alidsd's Avatar
Senior Member
Thanks Meter 253
Posts: 459
Join Date: Jun 2011
Great, Thanks
Motorola Razr M - XT907
 
ruggero
Old
#3  
Junior Member
Thanks Meter 3
Posts: 12
Join Date: Mar 2009
Sorry, but i think to get the same result in the following way and more simply.

- get the complete firmware file
- make a copy and open it with 7zip or winrar
- delete files you dont need. Keep only amss.mbn

it's correct?

One question guy, what is the file 'adsp.mbn' that is in rom?

thanks and bye!
The Following User Says Thank You to ruggero For This Useful Post: [ Click to Expand ]
 
yewsiong
Old
#4  
yewsiong's Avatar
Senior Member - OP
Thanks Meter 279
Posts: 520
Join Date: Feb 2012
Location: Johor
Quote:
Originally Posted by ruggero View Post
Sorry, but i think to get the same result in the following way and more simply.

- get the complete firmware file
- make a copy and open it with 7zip or winrar
- delete files you dont need. Keep only amss.mbn

it's correct?

One question guy, what is the file 'adsp.mbn' that is in rom?

thanks and bye!
Yes u can do that. BUT u will get md5 checksum mismatch problem because the md5 is generated for the whole firmware file not the amss.mbn alone.

It is the baseband.
The Following 2 Users Say Thank You to yewsiong For This Useful Post: [ Click to Expand ]
 
vhick
Old
(Last edited by vhick; 19th May 2012 at 03:02 AM.)
#5  
Senior Member
Thanks Meter 31
Posts: 185
Join Date: Feb 2012
Location: Antipolo City

 
DONATE TO ME
how about extracting the whole .tar.md5? what's the code for that?

thanks for the tutorial

EDIT: I just get the code for the whole rom. thank you
The Following 3 Users Say Thank You to vhick For This Useful Post: [ Click to Expand ]
 
yewsiong
Old
(Last edited by yewsiong; 19th May 2012 at 03:32 AM.)
#6  
yewsiong's Avatar
Senior Member - OP
Thanks Meter 279
Posts: 520
Join Date: Feb 2012
Location: Johor
Quote:
Originally Posted by vhick View Post
how about extracting the whole .tar.md5? what's the code for that?

thanks for the tutorial

EDIT: I just get the code for the whole rom. thank you
What do u mean extracting the whole .tar.md5? u can simply open it via winRAR/7zip. Then extract out the img.ext4 and open it via ext2explore. those .img files can be opened via DiskInternals Linux Reader.
 
FAT4LITY87
Old
#7  
FAT4LITY87's Avatar
Senior Member
Thanks Meter 23
Posts: 194
Join Date: May 2012
And how we do for flash the baseband via CWM?
 
yewsiong
Old
#8  
yewsiong's Avatar
Senior Member - OP
Thanks Meter 279
Posts: 520
Join Date: Feb 2012
Location: Johor
Quote:
Originally Posted by FAT4LITY87 View Post
And how we do for flash the baseband via CWM?
Please use odin to do that. I am not sure whether CWM can do it as it involves installation, not replacing files.
 
kamazaki
Old
#9  
kamazaki's Avatar
Member
Thanks Meter 3
Posts: 32
Join Date: Sep 2011
Default hi I'm a noob

where should i put the md5 file location about c? desktop? or c in a baseband folder sorry for the stupid question

---------- Post added at 07:45 PM ---------- Previous post was at 07:21 PM ----------

$ tar -xvf firmware_name.tar.md5 amss.mbn
tar: firmware_name.tar.md5: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

er why I'm getting this??
 
yewsiong
Old
#10  
yewsiong's Avatar
Senior Member - OP
Thanks Meter 279
Posts: 520
Join Date: Feb 2012
Location: Johor
Quote:
Originally Posted by kamazaki View Post
where should i put the md5 file location about c? desktop? or c in a baseband folder sorry for the stupid question

---------- Post added at 07:45 PM ---------- Previous post was at 07:21 PM ----------

$ tar -xvf firmware_name.tar.md5 amss.mbn
tar: firmware_name.tar.md5: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

er why I'm getting this??
if u follow the code i gave, u need to put the .tar.md5 file under c:\baseband.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes