how can i dump a generic device bios/firmware?

This is a discussion on how can i dump a generic device bios/firmware? within the C++ Programming forums, part of the General Programming Boards category; hello all , im trying to dump my adsl modem firmware , but i dont know how , i have ...

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

    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,231
    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
    493
    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
    a_capitalist_story
    Join Date
    Dec 2007
    Posts
    2,652
    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
    493
    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,231
    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
    493
    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,688
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  9. #9
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,231
    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
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    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
    493
    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,231
    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
    493
    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
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    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.

Page 1 of 2 12 LastLast
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, 10: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, 03: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, 11:02 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21