Thread: how can i dump a generic device bios/firmware?

  1. #1
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    497

    how can i dump a generic device bios/firmware?

    hello all , im trying to dump my adsl modem firmware , but i dont know how ,
    i have seen tools which were made to dump playstation bios to computer, but i couldnt find any articles which would describe the procedures and howtos .
    the story is i tried to upgrade the modem with the latest firmware from my isp , and it happened to mess my modem functionality , so i thought it would be a good idea to actually reverse the procedure happened meaning to dump another intact modem firmware and upgrade mine with that .

    anyways, any thought on this issue is appreciated . anything form needed knowledge base requirements(knowledge concerning the device!, coding, etc),how to approach it and stuff like these.

    thanks alot in advance
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson


  2. #2
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    What is the poblem with your modem?
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  3. #3
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    497
    Quote Originally Posted by siavoshkc View Post
    What is the poblem with your modem?
    it disconnects randomly from the internet and i should say that its a known issue for some modems when upgrading the firmware of asus am602!

    anyways, any help or guidance on dumping?
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson


  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    I'm sorry, I missed your signature...could you please make it a little larger?
    Thanks!

  5. #5
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    497
    Quote Originally Posted by rags_to_riches View Post
    I'm sorry, I missed your signature...could you please make it a little larger?
    Thanks!
    excuse me ?!
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson


  6. #6
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    anyways, any help or guidance on dumping?
    To do it you need read access to firmware memory of the device. I believe this access is not provided by the modem. But not sure.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  7. #7
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    497
    Quote Originally Posted by siavoshkc View Post
    To do it you need read access to firmware memory of the device. I believe this access is not provided by the modem. But not sure.
    i think the graphics card are the same ( i just think!), but there are tooks like gpuz which dumps the hole bios! and then again there are tools to upgrade cards bios!
    put these aside, how should i get the memory address of the modem in this case?
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson


  8. #8
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Which modem (make and model)?

    Given that the manufacturer has provided a f/w update tool, do they also provide a f/w recovery tool?

    Can you download from their site the version of the f/w you have, to save having to grab it yourself.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  9. #9
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    Quote Originally Posted by Salem
    Which modem (make and model)?

    Given that the manufacturer has provided a f/w update tool, do they also provide a f/w recovery tool?

    Can you download from their site the version of the f/w you have, to save having to grab it yourself.
    Quote Originally Posted by Masterx
    it disconnects randomly from the internet and i should say that its a known issue for some modems when upgrading the firmware of asus am602!
    AFAIK there is no support for this model.

    [EDIT]
    Quote Originally Posted by Masterx
    I think the graphics card are the same ( I just think!)
    I don't think so.
    Last edited by siavoshkc; 04-06-2010 at 03:03 PM.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  10. #10
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Windows is probably not going to let you go poking around in your modem's internal BIOS. A well-behaved user mode app will certainly not be given this privilege.

  11. #11
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    497
    Quote Originally Posted by Salem View Post
    Which modem (make and model)?

    Given that the manufacturer has provided a f/w update tool, do they also provide a f/w recovery tool?

    Can you download from their site the version of the f/w you have, to save having to grab it yourself.
    asus am602(version 1.2 is written under the quick guide!dono if its the manual version or the device itself) .(october 27,2005)
    as far as i know and i checked ,no, there isn't any.
    if i put this modem specific problem aside, i like to know how the dumping procedure is done.
    im more concerned with learning this matter as im trying to learn some basis in simulation.
    Quote Originally Posted by siavoshkc View Post
    AFAIK there is no support for this model.

    [EDIT]

    I don't think so.
    well tanx bro.
    Quote Originally Posted by Bubba View Post
    Windows is probably not going to let you go poking around in your modem's internal BIOS. A well-behaved user mode app will certainly not be given this privilege.
    what about using the windows own procedures! i mean how wizzard or other guys from techpowerup.com could dump VGA bios! in windows ? if they did it , then how did they do it so that windows didnt come in there way?
    maybe i should ask this question first , are modems and VGAs the same in the privilege of poking the bios in windows ? or no the differ?

    thank you all for your help so far
    Last edited by Masterx; 04-06-2010 at 07:15 PM.
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson


  12. #12
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    I think even Windows can't access modem BIOS.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  13. #13
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by siavoshkc View Post
    I think even Windows can't access modem BIOS.
    Sure it can. You'd probably need to write a device-driver, though.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  14. #14
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    497
    Quote Originally Posted by Sebastiani View Post
    Sure it can. You'd probably need to write a device-driver, though.
    and device driver should be written in assembly right?
    if i want to write a driver what should i know prior to writting code ? i will be very grateful if you give me a hint or two .
    thank you verymuch
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson


  15. #15
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    what about using the windows own procedures! i mean how wizzard or other guys from techpowerup.com could dump VGA bios! in windows ? if they did it , then how did they do it so that windows didnt come in there way?
    maybe i should ask this question first , are modems and VGAs the same in the privilege of poking the bios in windows ? or no the differ?
    I reiterate my statement.

    ...user mode app will certainly not be given this privilege.
    This implies you need the DDK or an elevated privilege to perform the operation you want. I cannot imagine why you need to look at the firmware for the modem. Something tells me that if you cannot figure out how to go about looking at it or getting access to it that even if you did you still would not understand it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Device Driver: sysfs confusion
    By filker0 in forum Linux Programming
    Replies: 0
    Last Post: 12-02-2005, 11:36 AM
  2. Linux (2.6.10+) device driver: multiple classes?
    By filker0 in forum Linux Programming
    Replies: 3
    Last Post: 09-26-2005, 08:46 PM
  3. Modem in Linux need help fast please!
    By xxxrugby in forum Tech Board
    Replies: 0
    Last Post: 03-30-2005, 04:10 PM
  4. Replies: 4
    Last Post: 06-30-2004, 03:11 PM
  5. Device problem
    By John22 in forum C Programming
    Replies: 0
    Last Post: 12-19-2002, 12:02 PM

Tags for this Thread