Can't firgure out mod Asus P4SGX-MX

Discussion in 'Windows Vista' started by flagmax, Jun 25, 2008.

  1. flagmax

    flagmax MDL Member

    Jun 22, 2008
    206
    2
    10
  2. petar

    petar MDL Expert

    Apr 5, 2008
    1,188
    91
    60
    #2 petar, Jun 25, 2008
    Last edited by a moderator: May 23, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. flagmax

    flagmax MDL Member

    Jun 22, 2008
    206
    2
    10
    #3 flagmax, Jun 25, 2008
    Last edited by a moderator: May 23, 2017
    (OP)
  4. petar

    petar MDL Expert

    Apr 5, 2008
    1,188
    91
    60
    #4 petar, Jun 25, 2008
    Last edited: Jun 25, 2008
    The compresed size of the oems.bin should be the same as the compresed size of the ACPITBL.BIN and does keeping the relative offsets of the other bios modules.
    You can tweak the size of the compresed oems.bin by inserting and releasing it from the bios.
    While at the same time adding and deleting randoom bytes after the SLIC at oems.bin.
    Once you get the wright size of the compresed oems.bin, the temp file that is created named bios.rom is the compresed oems.bin and should be replaced with the ACPITBL.BIN in the bios which is also compresed.
    You also need to corect the size of the RSDT table, couse you added four bytes at the end of the RSDT table.
    Also you have to calculate the offset of the SLIC that you insterted in the bios thru the compresed oems.bin and add that adress at the end of the RSDT table, by replacing the 4 zero bytes that you added earlyer.
    Dont orient by FACP table, but by the size of the RSDT, which is indicated by the byte right after the T at the string RSDT.
    And most importatnt is that you need to flash this mod using awdflash, not ezflash.
    Can you please upload the mod you did ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. flagmax

    flagmax MDL Member

    Jun 22, 2008
    206
    2
    10
    #5 flagmax, Jun 26, 2008
    Last edited by a moderator: Apr 20, 2017
    (OP)
  6. petar

    petar MDL Expert

    Apr 5, 2008
    1,188
    91
    60
    #6 petar, Jun 26, 2008
    Last edited by a moderator: May 23, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,980
    340
    #7 Yen, Jun 26, 2008
    Last edited: Jun 26, 2008
    Petar is right. The call of SLIC has to be right before the BOOT table string (last four bytes of RSDT table!!!) But you don't need the OEM7 method.
    Extract and release ACPItable. Insert SLIC as nocompress rom. Locate SLIC at biosfile, calculate SLIC address at physical memory, modify acpitable and add it again....

    Anyway, awdbedit is known as a notorious bios killer! So it could be that even when you've corrected all errors, the structure of the bios mod is still messed up. In that case you have to do a totally manual mod, which is time consuming. Therefore you need to know all about the structure of Award bioses and about the SSV3 method......
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. flagmax

    flagmax MDL Member

    Jun 22, 2008
    206
    2
    10
    #8 flagmax, Jun 27, 2008
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Thank you all. I am making progress. Learned that my bios has extra checksum at end of every module so almost all tools don't work except ACBROM.EXE that works perfectly.

    So now I can add and remove modules with ease. Tried it with ACPITBL.BIN and it was added to the end and no brick :)

    I have a question, for activation to work with any mod(BBPUBKEY/BBMARKER, ISA, OEM7), do you MUST see SLIC in ACPI using EVEREST?

    EDIT:
    Here is what I can confirm. Infact the slic.bin is added correctly to bios and loads in ram. HWDIRECT memory dump below.
    Code:
    Offset      0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F
    FFFF0C27   53 4C 49 43 76 01 00 00  01 4B 5F 41 53 55 53 5F   SLICv
    FFFF0C37   4E 6F 74 65 62 6F 6F 6B  24 06 00 11 4D 53 46 54   Notebook$
    FFFF0C47   97 00 00 00 00 00 00 00  9C 00 00 00 06 02 00 00   —
    FFFF0C57   00 24 00 00 52 53 41 31  00 04 00 00 01 00 01 00   
    FFFF0C67   6F 92 9D DC B3 79 EE 27  26 08 F8 DC 5B D8 5F 4B   o’ܳyî'&