Stane1983 / HP_BIOS-extract-tool

Small bash utility to help extract HP BIOS files and prepare it for USB flashing under Linux
MIT License
23 stars 2 forks source link

Package does not contain BIOS update files #2

Open yochananmarqos opened 6 years ago

yochananmarqos commented 6 years ago

I have an HP Notebook - 15-r132wm.

$ sudo ./extract_bios.sh --file=/home/yochanan/Downloads/sp86793.exe 

Your system
===========
System:       To be filled by O.E.M.
BIOS type:    1708
BIOS version: 

Extracting content of archive...
ERROR: Package does not contain BIOS update files
$ sudo dmidecode -t bios
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
    Vendor: Insyde
    Version: F.41
    Release Date: 04/12/2017
    Address: 0xF0000
    Runtime Size: 64 kB
    ROM Size: 4608 kB
    Characteristics:
        PCI is supported
        BIOS is upgradeable
        BIOS shadowing is allowed
        Boot from CD is supported
        Selectable boot is supported
        EDD is supported
        8042 keyboard services are supported (int 9h)
        Serial services are supported (int 14h)
        Printer services are supported (int 17h)
        CGA/mono video services are supported (int 10h)
        ACPI is supported
        USB legacy is supported
        ATAPI Zip drive boot is supported
        BIOS boot specification is supported
        Function key-initiated network boot is supported
        Targeted content distribution is supported
    BIOS Revision: 15.65
    Firmware Revision: 57.56

Handle 0x0020, DMI type 13, 22 bytes
BIOS Language Information
    Language Description Format: Long
    Installable Languages: 3
        en|US|iso8859-1
        fr|CA|iso8859-1
        es|ES|iso8859-1
    Currently Installed Language: en|US|iso8859-1

I tried updating my BIOS via USB, but it couldn't locate the correct BIOS file. There are 4 bin files with corresponding signatures, but none of them match my board ID which is 2213.

.
├── Hewlett-Packard
│   ├── BIOS
│   │   ├── Current
│   │   ├── New
│   │   │   ├── 0220D.bin
│   │   │   ├── 0220D.s12
│   │   │   ├── 0220F.bin
│   │   │   ├── 0220F.s12
│   │   │   ├── 0226C.bin
│   │   │   ├── 0226C.s12
│   │   │   ├── 02334.bin
│   │   │   └── 02334.s12
│   │   └── Previous
│   ├── BIOSUpdate
│   │   ├── CryptRSA32.efi
│   │   ├── CryptRSA.efi
│   │   ├── HpBiosMgmt32.efi
│   │   ├── HpBiosMgmt32.s09
│   │   ├── HpBiosMgmt32.s12
│   │   ├── HpBiosMgmt32.s14
│   │   ├── HpBiosMgmt.efi
│   │   ├── HpBiosMgmt.s09
│   │   ├── HpBiosMgmt.s12
│   │   ├── HpBiosMgmt.s14
│   │   ├── HpBiosUpdate32.efi
│   │   ├── HpBiosUpdate32.s09
│   │   ├── HpBiosUpdate32.s12
│   │   ├── HpBiosUpdate32.s14
│   │   ├── HpBiosUpdate32.sig
│   │   ├── HpBiosUpdate.efi
│   │   ├── HpBiosUpdate.s09
│   │   ├── HpBiosUpdate.s12
│   │   ├── HpBiosUpdate.s14
│   │   └── HpBiosUpdate.sig
│   └── SystemDiags
│       ├── 04-19-2018_00.24.35.cee
│       ├── 04-19-2018_09.14.01.cee
│       ├── CryptRSA32.efi
│       ├── CryptRSA.efi
│       ├── HpSysDiags32.efi
│       ├── HpSysDiags32.s09
│       ├── HpSysDiags32.s12
│       ├── HpSysDiags32.s14
│       ├── HpSysDiags.efi
│       ├── HpSysDiags.s09
│       ├── HpSysDiags.s12
│       ├── HpSysDiags.s14
│       ├── SystemDiags32.efi
│       ├── SystemDiags32.s09
│       ├── SystemDiags32.s12
│       ├── SystemDiags32.s14
│       ├── SystemDiags32.sig
│       ├── SystemDiagsCeeHistory.log
│       ├── SystemDiags-CND4486GQW.log
│       ├── SystemDiags.efi
│       ├── SystemDiags.ini
│       ├── SystemDiags.log
│       ├── SystemDiags.s09
│       ├── SystemDiags.s12
│       ├── SystemDiags.s14
│       └── SystemDiags.sig
├── sp75721.exe
├── sp86793.exe
└── System Volume Information
    ├── IndexerVolumeGuid
    └── WPSettings.dat
sxiii commented 3 years ago

Same for me. I have HP 14-bp0xx with what seems to be 835F bios.

sudo ./extract_bios.sh --file=/home/sw/Downloads/sp106010.exe

Tried manually with USB HP_TOOLS flash: does not accept .efi files Tried with HP PC Hardware Diagnostics UEFI flash: does not have BIOS Firmware Update option at all.

Kinda stuck...

Extracting content of archive...
ERROR: Package does not contain BIOS update files