This is no request thread! HP COMPAQ bioses, how to modify the bios?

Discussion in 'BIOS Mods' started by Yen, Aug 6, 2009.

  1. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    12,432
    13,000
    340
    The disassembled code makes now sense (even to me). Trying to convert compressed data into code was no good idea......:eek::eek:

    An expert for compression is apokrif. He developed a compressor / decompressor for Dell bioses. It seems difficult to figure the decompression and write a compressor. The decompression routine is found at every bios.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. pepito2

    pepito2 MDL Novice

    Oct 2, 2009
    31
    0
    0
    Mod date

    Hi,

    Now that there is amod for slic 2.1 I want to try to flash a "correct" bios for my 6820s. apart from changing the slic I want to modify the date.

    The date of the bios is 11/04/08, so I hexedited the date to 11/04/10. I have decompressed the resultant bios and the only diff is the date in 19_FFF65366_ROMBLOCK_ROM.bin file.

    So it seems to be doable, what scared me is the name of the file... I'm afraid of modifying the romblock. As I might get a non recoverable laptop, has someone tried it?

    thanks
     
  3. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    12,432
    13,000
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. TTAV134

    TTAV134 MDL Expert

    Mar 1, 2009
    1,559
    653
    60
    #985 TTAV134, Sep 13, 2010
    Last edited by a moderator: Apr 29, 2017
  5. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    12,432
    13,000
    340
    The first MOV, which reads 9Ch bytes from 0FFFF1300h basically doesn't need to be patched. It's the public key data of the SLIC.
    It's at HPQ-SLIC 2.0 AND 2.1 the same.
    Only B6h need to be read from the non protected area to update the SLIC.
    Don't know if that fact makes it easier to patch....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. pepito2

    pepito2 MDL Novice

    Oct 2, 2009
    31
    0
    0
    Thanks for the response, though I have found 3 dates only one is the BIOS date: I have found the video bios date, the bios date and network bios date. In which modules have you find the compressed dates? The november one (11/04/08) is only once, or I have searched in a wrong way...

    Thank you again
     
  7. nando4

    nando4 MDL Junior Member

    Jun 28, 2009
    72
    12
    0
    You'd use ADDCCV3 to decompress the bios, find the dates, then alter the matching byte in the compressed bios, decompress to ensure you only hit your target date bytes and then do a checksum correction using the "wake on lan" string. A lot of work for a cosmetic change. Not worth it imho.
     
  8. pepito2

    pepito2 MDL Novice

    Oct 2, 2009
    31
    0
    0
    For the slic change, we don't correct the checksum. Why is it necesary in this one?

    Also is not for cosmetic change, it is safe to say that if some bios has slic 2.1 but is really prior (2 years) to windows 7 release, it is a non genuine bios... I want to be in the safest posible bios mod.

    I have edited the compressed bin. the only date which I can't change is the one whith the version... (I have found them in 09_F000_000F0000_ROM, don't know why i didn't find them earlier...)

    Thanks
     
  9. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,201
    1,946
    210
    If that is your only reason then DEFINITELY is not worth bothering right now

    sebus
     
  10. pepito2

    pepito2 MDL Novice

    Oct 2, 2009
    31
    0
    0
    Call me paranoid... :rolleyes:

    I will have to wait for a compressor...o_O
     
  11. nachin11

    nachin11 MDL Novice

    Feb 17, 2009
    19
    0
    0
    I would like to mod my nw8240 mobile workstation bios to add SLIC table.
    I have made an Uniflash copy of my bios and RW report.
    Could anyone help to insert the SLIC table? :)
     
  12. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,201
    1,946
    210
    I would call it something else...
     
  13. TTAV134

    TTAV134 MDL Expert

    Mar 1, 2009
    1,559
    653
    60
    @NACHIN11
    concerning NW8240
    No SLIC table in this BIOS, cannot be mod, sorry.
     
  14. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    12,432
    13,000
    340
    I have fiddled with that..no chance for me as well (so far)..
    But you can patch the previous version sp36583 F.07 (16 Jul 2007)

    Offset 13111h FFh-->FEh.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,201
    1,946
    210
    Yes and no.

    Yes, it can be done, BUT ONLY if one is on same or LOWER BIOS (and it works absolutely fine, 6715b WITH SLIC 2.1)

    Once F.0E is installed HPQFlash (even the "adjusted" one) will not allow downgrade

    09/15/2010 20:30:56.693 CConfirmFlashPage: DllhpqValidateROMCABImage failed
    09/15/2010 20:30:56.708 CConfirmFlashPage: dwRetCode == DOWNGRADE_BLOCKED_BY_BIOS

    I can cheat by changing ver.txt & it seems to go OK, till the actual flash is supposed to happen, then:

    09/15/2010 20:41:16.664 FlashRomImage(): Write Block #1, Attempt #1
    09/15/2010 20:41:16.679 Start Write Flash Rom Image Block
    09/15/2010 20:41:16.789 End Write Flash Rom Image Block
    09/15/2010 20:41:16.789 FlashRomImage(): Write Block #1, Attempt #1 FAILED, error code = 0x15
    09/15/2010 20:41:16.804 Cannot flash block #1 because it is blocked by BIOS. dwErrCode = 0x15
    09/15/2010 20:41:16.804 FlashRomImage: Failed to write block #1 to Flash ROM. dwErrCode = 0x15
    09/15/2010 20:41:16.804 Flash Image failed: lBytesLeft = 1048576, dwOffsetLocation= 0, bStatus = 0
    09/15/2010 20:41:16.804 Start Clear Flash-In-Progress
    09/15/2010 20:41:16.914 ClearFlashInProgress(): passed. hr = 0x0, dwRetCode = 0x0
    09/15/2010 20:41:16.929 End Clear Flash-In-Progress
    09/15/2010 20:41:16.929 End Flash Rom Image (Write), bStatus = 0
    09/15/2010 20:41:16.929 End flashing (Write) Attempt #1
    09/15/2010 20:41:16.929 Flash Rom: Cannot downgrade, BIOS blocks it - Error code = 0x15
    09/15/2010 20:41:16.945 ***** END FLASHING PROCESS *****
    09/15/2010 20:41:16.945 Exit hpqFlashRom, bStatus = 0, dwErrorCode = 0x0015
    09/15/2010 20:41:16.945 FlashRom returns bStatus = 0, dwErrorCode = 0x0015
    09/15/2010 20:41:16.945 FlashRom in active mode failed, dwErrorCode = 0x0015

    sebus
     
  16. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    12,432
    13,000
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,201
    1,946
    210
    Even floppy recovery does not write older BIOS over the newer one!
    Nor does the patched Rompaq...

    True, probably not worth it, especially that ie 6715B has seen better days, ATI x1200 is not really the most Win 7 friendly

    sebus
     
  18. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,201
    1,946
    210
    Nice find, thanks

    sebus