New AMI BIOS tool for performing SSV2/3 and Dynamic SLIC Modification

Discussion in 'MDL Projects and Applications' started by andyp, Jan 7, 2009.

  1. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,672
    2,546
    60
  2. joo nam

    joo nam MDL Junior Member

    Jul 13, 2007
    81
    12
    0
    i have no problem helping you to perfect your tool
    i will let you know in a 15 min.
     
  3. joo nam

    joo nam MDL Junior Member

    Jul 13, 2007
    81
    12
    0
    OK just checked your bios and the flash utility didn't give me any error, i did not try to flash it yet

    the utility generates a checksum for any given bios as well, i have no idea what kind of checksum but figured it might be helpful to you
    for the untouched bios gives a checksum of C80F
    for the bios that was mod by 911medic and flashed /worked by me gives a checksum of 380F
    and for the bios you posted gives a checksum of 940F

    just checked the 8 bit checksum of 1B model of posted BIOS against the BIOS that worked for me ( the one 911medic posted ) and they don't match
     
  4. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,672
    2,546
    60
    No, the 1B won't match. I have just corrected the 8 bit checksum of the main BIOS. I want to try one step at a time. Interesting it does a 16 bit checksum as well, although it seems that isn't too important as 911medics one worked fine. I am interested that just by correcting the main BIOS the checksum error goes away, if you are happy to have a flash then please do (I would be most interested), otherwise I will whip up one with the 1B corrected as well to be on the safe side. The modules all have a checksum in the header so I wondered why there would be an 8 bit sum as well, whereas the 32bit main BIOS checksum doesn't acutally cover the entire BIOS image, hence I can understand the logic of an extra check.

    Thanks for your help.
    Andy
     
  5. joo nam

    joo nam MDL Junior Member

    Jul 13, 2007
    81
    12
    0
    i just flashed it and it seems to be working without any problem and according to everest the SLIC table is set to ASUS
    looks like you done it ;)
    good work andy
    thanks
     
  6. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,672
    2,546
    60
    You are a star!!! :D:D
    The only thing I changed from the normal tool SSV3 mod was one byte at E0000h - to F3h (from FFh). This corrects the whole image 8 bit checksum.

    I picked a location above the AMIBIOSC header so that the 32bit checksum is not altered (which causes a bad flash on some ASUS boards).

    I will update to tool shortly.

    Thanks for your help!
    Andy
     
  7. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,672
    2,546
    60
    New version. Do not use earlier versions for BIOSTAR BIOSes.

    v1.00 RC1

    ADD: Ability to correct the BIOS image 8 bit checksum. This is needed for some BIOSTAR ROMs.

    Cheers,
    Andy
     
  8. joo nam

    joo nam MDL Junior Member

    Jul 13, 2007
    81
    12
    0
    the new version tested and working fine for me.
    thanks Andy
     
  9. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,037
    3,385
    300
    @ andyp, well done M8 RC1 the way your program is going you will be RTM long before MS windows 7:D
     
  10. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,672
    2,546
    60
    Thanks for the support :D:D

    Lets hope SLIC still works on Windows 7........

    Cheers,
    Andy

    PS. Did the Core 7 mod ever work for you??
     
  11. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,672
    2,546
    60
    Thanks for the feedback! Biostar was something that was frustrating me!
    Andy
     
  12. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    502
    180
    #152 911medic, Mar 1, 2009
    Last edited by a moderator: May 23, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. klaasw

    klaasw MDL Novice

    Feb 28, 2009
    4
    0
    0
    MSI g45m

    I tried to modify my MSI G45M (MS-7521 v1.2) bios with the v1.00 RC1 version of this tool but unfortunately the system could not boot anymore after the flash. I was able to recover it using the original bios.

    I used the SSV2 method and followed the instuctions from the first post in this thread. The settings in slic.exe were left at their default values. The only thing I did not use was the /i swich because my version of AFUDOS did not have this option.

    Does anyone have an idea how I can patch this bios correctly? The log is shown below

    HTML:
    Extended boot block checksum is correct
    1B module size is 447021 bytes
    AMIBIOS string found at 1D40D
    SLIC module size is 374 bytes
    SLIC module checksum is 0
    Scanning for space to insert SLIC
    There is space to insert SLIC in ROM image at 80000
    RSDT table found at 51D41
    RSDT table can be extended
    XSDT table found at 51E41
    XSDT table can be extended
    RSDT table OEM and Table ID patched to _ASUS_Notebook
    XSDT table OEM and Table ID patched to _ASUS_Notebook
    FACP table OEM and Table ID patched to _ASUS_Notebook
    FACP table OEM and Table ID patched to _ASUS_Notebook
    APIC table OEM ID patched to _ASUS_
    HPET table OEM ID patched to _ASUS_
    MCFG table OEM ID patched to _ASUS_
    OEM table OEM ID patched to _ASUS_
    ASUS_FLASH SLP 1.0 string added
    Module 1B written
    New 1B Module is 40 bytes too big
    Zero area 1
    Module 1B written
    New 1B Module is 36 bytes too small
    Module 1B written
    New 1B Module is 20 bytes too small
    Module 1B written
    New 1B Module is 8 bytes too small
    Module 1B written
    New 1B Module is 8 bytes too small
    Module 1B written
    New 1B Module is 4 bytes too small
    Module 1B written
    New 1B Module is 4 bytes too small
    Module 1B written
    New 1B Module is 4 bytes too small
    Module 1B written
    New 1B Module is 4 bytes too small
    Module 1B written
    New 1B Module is correct size
    SLIC inserted at 80000
    1B copied to original BIOS
    32 Bit BIOS checksum corrected
    New BIOS written 1048576 bytes
    ROM Hole at B0000 length 10000
    ROM Hole at CF000 length 1000
    There are unlinked blocks in module 80h
    BIOS image 8 bit checksum corrected by changing D0000 to F3
    Main BIOS checksum is correct
    Boot block checksum is correct
    Extended boot block checksum is correct
    SLIC performed successfully. BIOS file is C:\BIOS\7521V12\A7521IMS_SLIC.120
     
  14. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    502
    180
    Do not allow the tool to correct the 8bit checksum. Untick that box and try it.

    I was under the assumption that this was option and not default...this should not be default, it breaks some bios flash.....

    Link to your bios and I will make one manually. You should specify if you want MSI slic or not..I know only asus with tool, but we can make MSI,HP,DELL, etc..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. p4spooky

    p4spooky MDL Addicted

    Mar 9, 2008
    931
    3
    30
    The tool defaults this option in its current version. A safer approach would be to not default this option. I am not sure if this is required for any bios with the exception on Biostar AMI bioses.

    This has developed into a slic ;) tool! Great work Andy!
     
  16. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    502
    180
    Not required, but useful on ASUS bios. I think the current config will suffice though, if some mentioned items are changed to options as opposed to default.

    I have let him know..:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    502
    180
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. SoftwareHacker

    SoftwareHacker MDL Novice

    Nov 18, 2007
    23
    0
    0
    I tried to mod it but the same happened exactly like old bios with old slictool

    I think that the structure inside the bios is much difference
    As i said before - every method (except ssv2 ) destroy boot block (even if i flashed the main bios only without the boot block):eek:
     
  19. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    502
    180
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...