Tool to Insert/Replace SLIC in Phoenix / Insyde / Dell / EFI BIOSes

Discussion in 'MDL Projects and Applications' started by andyp, Nov 26, 2009.

  1. biostaruser

    biostaruser MDL Novice

    May 28, 2012
    5
    0
    0
    Can you explain how to do the "+ structure" part? thanks
     
  2. KaminoReal

    KaminoReal MDL Junior Member

    Dec 20, 2007
    76
    4
    0
    Dunno what I am doing wrong, but on my ASUS Z77 board I still get the message :"Security verification failed." when I try to flash it.
     
  3. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,671
    2,536
    60
    Try ticking "Don't alter any ACPI tables" and unticking "Replace all OEM/Table ID occurences" in advanced options

    Andy
     
  4. juzio

    juzio MDL Novice

    Aug 1, 2009
    33
    2
    0
    To flash ASUS P8Z77-I-Ddeluxe I was Using built-in "Flashback" function.
     
  5. KaminoReal

    KaminoReal MDL Junior Member

    Dec 20, 2007
    76
    4
    0
    Nope, any alteration to the cap image will lead to that message.
    Anyway many thanks to the new tool, I love the speed boost! :)
    A small bug in module manpullation, if I insert one module, old image will be renamed to .old, on second module, old image will be renamed .old.old and new image will be .old

    Yeah, I was hopping that the new tool will sign it back, and I wont have to use flashback or external tool.
    Maybe next version :)
     
  6. qtm

    qtm MDL Addicted

    Jul 8, 2009
    640
    605
    30
    HI,
    maybe like this,if tools detect asus recover bios file name is xx.cap, tick"Don't alter any ACPI tables" and unticking "Replace all OEM/Table ID occurences" by default setting
     
  7. nel1156

    nel1156 MDL Junior Member

    Sep 7, 2011
    62
    20
    0
    AMIBCP Ver4.53 can do only change the default value and do NOTHING about SLP and SLIC. Only OEM official tool and Andy tool can add SLP and SLIC into UEFI-bios. Someone say enable SLIC by AMI BCP and use Andy Tool add SLP and SLIC as other manufacturer. I find that it doesn't work and NO SLIC (tested by me in MSI H61M-P31) Pls note.

    Regards
    nel1156
     
  8. manu198045

    manu198045 MDL Member

    Aug 24, 2010
    114
    40
    10
    Dear,
    I dont understand what you are talking about.:( i asking for H61M-P20 bios. You are talking about Z77?:(
    Please explain.
    Regards
    Manu
     
  9. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,671
    2,536
    60
    Good idea :p
    Added in v2.02
    Andy

     
  10. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    821
    30
    Whenever a module is replaced/inserted MMtool will set byte 0x17 (EFI_FFS_FILE_STATE) to 0xF8 replicating this may
    prevent a few bricks.
     
  11. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,671
    2,536
    60
    I think all module headers have byte 17h as F8h don't they??
    Andy
     
  12. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    821
    30
  13. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,671
    2,536
    60
    #2795 andyp, May 30, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
  14. biostaruser

    biostaruser MDL Novice

    May 28, 2012
    5
    0
    0
    Are Biostar UEFI users out of luck getting support from the developers?
     
  15. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    821
    30
    #2797 nononsence, May 30, 2012
    Last edited by a moderator: Apr 20, 2017
    GenFfs.exe sets the file state field to
    Code:
    FfsFileHeader.State = EFI_FILE_HEADER_CONSTRUCTION | EFI_FILE_HEADER_VALID | EFI_FILE_DATA_VALID;
    
    on line 869 of GenFfs.c which is 0x07 it could be set to 0xF8 when GenFv.exe is used, I haven't dug that deep
    into it yet.

    EDIT:

    found it in GenFvInternalLib.c line 381

    Code:
    VOID
    UpdateFfsFileState (
      IN EFI_FFS_FILE_HEADER          *FfsFile,
      IN EFI_FIRMWARE_VOLUME_HEADER   *FvHeader
      )
    /*++
    
    Routine Description:
    
      This function changes the FFS file attributes based on the erase polarity
      of the FV. Update the reserved bits of State to EFI_FVB2_ERASE_POLARITY. 
    
    Arguments:
    
      FfsFile   File header.
      FvHeader  FV header.
    
    Returns:
    
      None
    
    --*/
    {
      if (FvHeader->Attributes & EFI_FVB2_ERASE_POLARITY) {
        FfsFile->State = (UINT8)~(FfsFile->State);
        // FfsFile->State |= ~(UINT8) EFI_FILE_ALL_STATE_BITS;
      }
    }
    
     
  16. conghoaxa1

    conghoaxa1 MDL BIOS/EFI Modifier

    Oct 30, 2009
    2,069
    1,193
    90
    chose no.
    only modify 3 modul
    acpi 16D0A23E-C09C-407D-A14A-AD058FDD0CA1_1_189.ROM (RSDT, XSDT)
    69009842-63F2-43DB-964B-EFAD1C39EC85_0_312.ROM (maker)
    996AA1E0-1E8C-4F36-B519-A170A206FC14_0_314.ROM (Pubkey)
    (manufacturer: chose other, no select Msi)
    ----------
    It's guide H61M-P20.
     
  17. andyp

    andyp SLIC Tools Author

    Aug 8, 2008
    1,671
    2,536
    60
    #2800 andyp, May 30, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Thanks.
    The tool doesn't use any of the sample EFI code, it is all custom written in vb.net. I actually figured out the headers/modules by hand before the EFI docs (as the old Insyde BIOSes were effectively a subset of EFI).
    The only EFI code I use is the compress/decompress sample code with a few lines added for DLL
    Andy