AMI bios option ROM modding [old title: Intel ICH9R 7.6.0.1011 rom]

Discussion in 'BIOS Mods' started by Maf, Nov 24, 2007.

  1. h9k

    h9k MDL Novice

    Aug 1, 2011
    6
    0
    0
    Ok so phoenix tools extracted the bios into several .ROM files, one of which contains the RAID OROM but it's in the middle of that file, ending at 0003E810 and followed by the PXE ROM but the new OROM would need space until about 00047000 which means I would have to move the other stuff around.
    This thing is getting too risky... I guess I will have to wait and hope ASUS will give my board some love and update the RST OROM soon.
     
  2. Golden Eagle

    Golden Eagle MDL Novice

    Mar 5, 2008
    7
    0
    0
    Hi, the link to ROM 20_2822_0_11.0.0.1124.zip is working, but ROM inside is broken (may be compressed or smth else), however the normal one (11.0.0.1124) is working on my Gigabyte X58A-UD3R rev.2 with bios FH1-JZ (you can find modded bios on station-drivers.com site) Good luck!
     
  3. asmfan

    asmfan MDL Junior Member

    May 11, 2009
    72
    6
    0
    Post it here - we could compare them
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Golden Eagle

    Golden Eagle MDL Novice

    Mar 5, 2008
    7
    0
    0
    Working 11.0.0.1124 ROM, here is link
    multiupload.com/8S4KCUOA01
     
  5. asmfan

    asmfan MDL Junior Member

    May 11, 2009
    72
    6
    0
    And now show me the byte number where they're different. Identical files.
    Now write here how you managed to screw identical files for others to avoid same result with you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. lucageo

    lucageo MDL Novice

    Feb 20, 2010
    19
    0
    0
    I tryed the last Intel RST 11.0.0.1124 linked to this thread on ASUS P6T-DELUXE 2209 Modded BIOS and
    this time computer booted and loaded windows normally. Performance increased.
    This is possible only if you set SATA controller as AHCI.
    When you set SATA controller as RAID intel pop-up menù don't load (CTRL+I don't work)
    and only blinking cursor suggested to me to reflash BIOS to previous version. Back to normal.
    I don't know how is possible to insert new Intel ROM in this board succesfully... may be Intel need to release a new rom?
     
  7. Golden Eagle

    Golden Eagle MDL Novice

    Mar 5, 2008
    7
    0
    0
    I am sorry, they are really identical, I did not understand at first, that your file twice archived =)) So, now we have 2 working links to identical ROMs! Good luck!
     
  8. asmfan

    asmfan MDL Junior Member

    May 11, 2009
    72
    6
    0
    Wait, 0_o it actually doesn't - just zip archive nothing more.
    FF downloads zip archive as it shoud - CRC guarantees (somehow) file integrity. Not a single thought how it gets double archived/compressed o_O
    However i've seen some files wrapped to tar/gz archives but don't know if this the case of site's engine or some browser's?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. lucageo

    lucageo MDL Novice

    Feb 20, 2010
    19
    0
    0
    Would you please post a link where is possible to download last Marvell option ROM for 88SE61xx chipset? (RAID and NO-RAID)
    I want to test RAID option to P6T-Deluxe motherboard, if work or not.
    Thanks in advance.
     
  10. dandragonrage

    dandragonrage MDL Novice

    Nov 4, 2010
    4
    0
    0
    Hi,

    I used MMTool 4.06 to extract the module 2F that has RAID 10.5 from my Asus P8P67 Pro board. I replaced the OROM with 11.0, which is a little smaller (by 0x200 = 512 bytes) so I just added those at the end, filled with FF, and replaced 10.5. So everything is at the same offset and I wouldn't have to deal with PXE or JMicron or anything being at the wrong offset. I tried to replace it with MMTool and got an error, so I came here and saw to try Andy's Tool so I did. Went into the EFI Structure dialog and tried to replace the module (looking up by GUID - I did get the right one) and it says invalid module count, but it DID replace it. When I exited the UFI structure box, it again said invalid module count. Did I do something wrong? The file is the exact same size as the module with 10.5, so I know I didn't F the insertion up. I did NOT overwrite even a single byte of any of the other OROMs and I am 100% positive that the offsets are correct/the same.

    I think it has something to do with compression... I just redid everything, using Andy's tool to extract, not MMTool, and the file is half the size. But now it's a compressed file... Not sure how to replace the ROM now.

    Edit: Oh, duh... DUMP folder, not Structure editor.

    By the way, is there some header at the beginning that lists the OROM locations, or does it just scan through the file, looking at the headers (including the lengths) inside the file? I'd like to go from JMicron JMB363 1.07.23 -> 1.07.28, but it's a jump in length from 3E00 to 8000... Not sure if just increasing the size listed right before the ROM will work or if there's a header elsewhere.
     
  11. lucageo

    lucageo MDL Novice

    Feb 20, 2010
    19
    0
    0
    Would you please provide a link for download MMTool 4.06? It will be usefull for all. Don't you think?
    Thanks in advance.
     
  12. Fernando 1

    Fernando 1 MDL Senior Member

    Jul 26, 2011
    312
    187
    10
    I have the Aptio MMTool v4.17.02, which is able to open the actual Aptio UEFI BIOS files. Since I am not able to present a download link here (not enough posts), you may do a Google search for it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. lucageo

    lucageo MDL Novice

    Feb 20, 2010
    19
    0
    0
    Thanks anyway! (I have not enough posts too) but here it is the link: "h t t p://w w w.mediafire.com/?llr3gf32xgbgyb7" for downloading Aptio MMTool v4.17.0.2 but I saw that software was made 2007 year! So old?
     
  14. Fernando 1

    Fernando 1 MDL Senior Member

    Jul 26, 2011
    312
    187
    10
    This is the link to the package, which has been uploaded by me.
    Yes, but contrary to the other available MMTool versions this one is able to open the actual AMI UEFI BIOS files. Nevertheless it is difficult to find the RAID ROM modules. You will need a hexeditor to find out the exact place where the data of the ROM begins and where it ends.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Cvdwllr01

    Cvdwllr01 MDL Novice

    May 3, 2011
    4
    2
    0
    The Intel PCI Option ROM most likely contains its own checksum, so adding/removing characters will not work.

    Has anyone tried changing the OROM identification values that precede the Intel Option ROM in the EFI module?

    Example: Here is a 100 byte section taken from the "CSMCORE" EFI module in the latest ASUS P8Z68 DELUXE bios with the Intel Option ROM 10.6.0.1091.

    Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F

    00056D00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
    00056D10 FF FF FF FF FF FF 20 00 86 80 22 28 00 DC 01 00 ÿÿÿÿÿÿ .†€"(.Ü..
    00056D20 55 AA EE E9 C2 1C 00 00 00 00 00 00 00 00 00 00 UªîéÂ...........
    00056D30 00 00 00 00 00 00 00 04 A0 00 9A 01 49 6E 74 65 ........ .š.Inte
    00056D40 6C 28 52 29 20 52 41 49 44 20 66 6F 72 20 53 41 l(R) RAID for SA
    00056D50 54 41 20 2D 20 76 31 30 2E 36 2E 30 2E 31 30 39 TA - v10.6.0.109
    00056D60 31 8D 49 00 00 00 00 00 00 00 00 00 00 00 00 00 1.I.............
    00056D70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    00056D80 00 00 00 00 00 00 00 00 00 00 00 00 24 4C 4F 43 ............$LOC
    00056D90 E3 19 2C 03 D5 1C 00 00 24 4F 43 46 3F 0F 00 00 ã.,.Õ...$OCF?...
    00056DA0 37 00 00 AE 05 00 00 00 3F 0F 00 00 00 00 00 00 7..®....?.......
    00056DB0 00 00 00 00 9E 1D A2 1D A6 1D AA 1D AE 1D B2 1D ....ž.¢.¦.ª.®.².
    00056DC0 50 43 49 52 86 80 22 28 1C 00 1C 00 03 00 04 01 PCIR†€"(........
    00056DD0 EE 00 06 0A 00 80 52 00 00 00 00 00 2A 28 22 28 î....€R.....*("(
    00056DE0 00 00 49 6E 74 65 6C 20 43 6F 72 70 6F 72 61 74 ..Intel Corporat
    00056DF0 69 6F 6E 00 00 00 00 00 00 00 00 00 00 00 00 00 ion.............


    The bold values identify the Intel Option ROM.

    20 00 86 80 22 28 00 DC 01 00

    20 00 - ROM ID is 20 (PCI Option ROM)
    86 80 22 28 - DEV/VEN ID is 2822 8086 (Intel SATA RAID Controller)
    00 DC 01 00 - ROM Size is 1DC00 (in this case)

    The size of the Intel Option ROM 11.0.0.1124 is 1DA00. This would result in a slightly smaller EFI module and the ROM Size value would need to be updated to reflect the size of the new Intel Option ROM.

    This, of course, will need to be tested; preferably by someone with dual bios or a type of bios recovery.

    ! WARNING!
    Modifying a bios and/or flashing a modified bios (or any bios for that matter) may result in a non-functional motherboard. Proceed at YOUR OWN RISK!
     
  16. maximinimaus

    maximinimaus MDL Novice

    May 14, 2010
    38
    1
    0
    Maybe there is another possibility to insert the shorter RAID ROM.
    I believe the X'FFFFFFFFFFF...........' at the end of the RAID ROM are fill characters.
    I would replace the longer RAID ROM withe the shorter and pad the remainder with X'FF's till the end.
    As an example I've done this with BIOS P8Z68-DELUXE-ASUS-0603.ROM.
    With Andy's tool I did decompress the BIOS. In the Dump folder is the ROM module A062CF1F-8473-4AA3-8793-600BC4FFE9A8_1_135.ROM.
    I changed it with HxD as described above and was able to reintegrate it.


    This, of course, has to be tested; preferably by someone with dual bios or a type of bios recovery.

    The warnings of previous post are still valid!!
    ! WARNING!
    Modifying a bios and/or flashing a modified bios (or any bios for that matter) may result in a non-functional motherboard. Proceed at YOUR OWN RISK!
     
  17. Fernando 1

    Fernando 1 MDL Senior Member

    Jul 26, 2011
    312
    187
    10
    Maybe the replacement of the Intel RAID ROM module of an Aptio AMI UEFI BIOS is much easier, that means without the need of Andys Phoenix Tool and any Hex Editor.

    This is what I have done with the actual ASUS P8Z68-V mainboard BIOS named P8Z68-V-ASUS-0606.ROM:
    1. checking the currently included Intel RAID ROM by setting the SATA Controllers to "RAID" and running the Intel RAID Utility. It is v10.6.0.1091.
    2. running the Aptio MMTool v4.17.0.2 and loading the image of the original BIOS
    3. searching for the line with the FileName "CSMCORE", the source size "00034E5B" and the GUID "A062CF1F-8473-4AA3-8793-600BC4FFE9A8", highlighting the line
    4. choosing the "Replace" button and browsing to the previously downloaded actual Intel RAID ROM module named 20_2822_0_11.0.0.1124.BIN
    5. entering the "For Option ROM Only" section, checking the "Link present" option and choosing "8086.2022" as VendorID and DeviceID by scrolling down > File Index has been set to "2F" and Volume Index to "01"
    6. hitting the "Replace" button and then the "Save Image as ..." button
    7. saving the rebuilt image as P8Z68-V-ASUS-0606_mod.ROM
    I didn't yet flash the modded BIOS, but I am pretty sure, that the Intel RAID ROM v11.0.1.1124 has been successfully inserted by the MMTool.

    This is the way I verified it:
    1. running Andys Phoenix Tool 1.90 and letting it create the DUMP folder
    2. searching for the file named A062CF1F-8473-4AA3-8793-600BC4FFE9A8_1_132.ROM (size: 376 KB)
    3. opening the file with HxD editor and searching for "11.0.0.1124"

    Here is the result, which shows, that the Intel RAID ROM v11.0.0.1124 obviously has been inserted by the Aptio MMTool v4.17.0.2:
    View attachment 10854
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. maximinimaus

    maximinimaus MDL Novice

    May 14, 2010
    38
    1
    0
    I tried this method with the AMI_APTIO_EFI_MMTool v4.17.0.2 and BIOS P8Z68-DELUXE-ASUS-0603.ROM. The saved image got the length 0(Zero).
    After that I tried it with BIOS P8Z68-V-ASUS-0606.ROM and the saved image showed the same length as the original.
    The investigation with Andy's tool showed a successfull exchange of the Intel RAID ROM.
     
  19. Cvdwllr01

    Cvdwllr01 MDL Novice

    May 3, 2011
    4
    2
    0

    Thanks, Fernando 1.

    This method appears to completely replace the Intel Option ROM and also updates the ROM Size value I mentioned in my previous post. Looks like there are a few values changed near the beginning of the EFI module as well (possible checksum or pointers). The size of the EFI module also changes to reflect the new Intel Option ROM.

    Note: When saving an image with MMTool v4.17.0002, make sure to wait 10-30 secs. after clicking the 'Save Image (as)' button before closing MMTool. I've noticed that if I close MMTool v4.17.0002 immediately after saving an image, I normally end up with a 0B BIOS file.

    Using MMTool v4.17.0002, you may also extract individual uncompressed Option ROMs (only tested on ASUS EFI BIOS).
    - Load valid BIOS image;
    - Select the "Extract" tab;
    - Find and Highlight the CSMCORE module;
    - Tick the "Link Present" checkbox in the "For Option ROM Only" section;
    - Select the VEN/DEV ID for the Option ROM from the drop down list;
    - Select a Save Location/Filename for the Option ROM;
    - Click on the "Extract" button.

    Regards.

    ! WARNING !
    Modifying a bios and/or flashing a modified bios (or any bios for that matter) may result in a non-functional motherboard. Proceed at YOUR OWN RISK!
     
  20. Bodin

    Bodin MDL Novice

    Dec 6, 2009
    32
    11
    0