i did some analysis for my hp pavilion gaming 16
can you check this
as the original text is quite long im summarizing what i did and provide my github
that have indepth analysis
now what i have done
i have mpm unlocked 0x1 - survives reflash of bios
used ru.efi to change nv ram variables as presented
Varoffsets and varstore Ids:
Name | VarOffset | VarstoreId | Variable Names
OverClocking performance Bit | 0x1B7 | 0x11 | CpuSetup |
OverClocking Lock | 0xDA | 0x11 | CpuSetup |
CFG Lock | 0x3E | 0x11 | CpuSetup |
Bios Guard | 0xDB | 0x11 | CpuSetup |
Advanced settings | 0x443 | 0x1 | Setup |
| | | 0x2A | SystemAccess |
Bios Lock | 0x17 | 0x17 | PCH Setup |
SPD Write Disable | 0x6DB | 0x17 | PCH Setup |
Flash Protection Range Registers | 0x6DD | 0x17 | PCH Setup |
ME FW Image Reflash | 0x5 | 0x18 | ME Setup |
hp-pavilion-gaming-16-a0000
Bios link - https://ftp.hp.com/pub/softpaq/sp156001-156500/sp156181.exe
github link -GitHub - Askysoul/Hp_Bios_Unlock: welp lets see how it goes
ifr link - https://github.com/Askysoul/Hp_Bios_Shenanigans/blob/main/Section_PE32_image_Setup_Setup.sct.0.0.en-US.uefi.ifr.txt
HP Pavilion BIOS Unlock | Project Stella – short version
currently im trying to unlock prr for fptw flash atleast dump and flash the dump
These changes I before seeking help:
Overclocking Performance feature | Enabled (not UI visible)
Overclocking Lock | Disabled
CFG Lock | Disabled
BIOS Guard | Disabled
Advanced Setting | Set offset to 0x1 (enabled but what it does dunno)
Audit Mode | Dunno tf is this
Setup Mode | Enabled just because | its now stuck at 0x1 great welp
System Access | Attempted modification | Buggy works with same Boot Instance gone after reboot
Advanced Settings | Dont know what this is for i just enabled it
Bios Lock | Disabled
SPD Write Disable | Enabled
Flash Protection Range Registers (FPRR) | Disabled
ME FW Image Reflash | Enabled | gone after reboot
Intel Serial Bus Controller | offset 0xDC = 88 (10001000) | Write protected
Platform | Intel Comet Lake (LPC Device ID: 68D) |
Flash Chip| GigaDevice GD25B128C |
Flash Chip ID | 0xC84018 |
Flash Size | 16384KB (16MB / 131072Kb) |
BIOS Type | AMI Aptio V UEFI with HP Customization Layer |
Intel ME Version | 14.1, Build 2287, Hot Fix 72 |
Intel FITC Version | 14.0.1 | → | same bios reflash updated to 14.1 |
BIOS Revision | F.31 |
i know i dont have sure start
and i have rsa + sha protection
but dunno what else
my current goal is to oin mod i got the hold of this
ALC3315 - realtek chip
csme tool used 14
everything else is in my github
@MeatWar i apologize for mentioning you but what do you think about this i didnt create a post might if its worth it
i uploaded some ru screenshot but it got removed as new user
adding some extra notes i forgot
with fptw i can dump full spi or selected bios region without any issues
./FPTw64.exe -bios -d biosreg7_garbage.bin -verbose
Intel (R) Flash Programming Tool Version: 14.0.11.1205
Copyright (C) 2005 - 2019, Intel Corporation. All rights reserved.
LPC Device Id: 68D.
Platform: Cometlake Platform
Windows OS Version : 10.0
Table Type 255 ( 0x FF ) found, size of 0 (0x 00 ) bytes
Table Type 0 ( 0x 00 ) found, size of 47 (0x 2F ) bytes
Table Type 1 ( 0x 01 ) found, size of 115 (0x 73 ) bytes
Table Type 2 ( 0x 02 ) found, size of 94 (0x 5E ) bytes
Table Type 3 ( 0x 03 ) found, size of 76 (0x 4C ) bytes
Table Type 8 ( 0x 08 ) found, size of 41 (0x 29 ) bytes
Table Type 9 ( 0x 09 ) found, size of 23 (0x 17 ) bytes
Table Type 11 ( 0x 0B ) found, size of 153 (0x 99 ) bytes
Table Type 22 ( 0x 16 ) found, size of 137 (0x 89 ) bytes
Table Type 32 ( 0x 20 ) found, size of 22 (0x 16 ) bytes
Table Type 41 ( 0x 29 ) found, size of 25 (0x 19 ) bytes
Table Type 16 ( 0x 10 ) found, size of 25 (0x 19 ) bytes
Table Type 17 ( 0x 11 ) found, size of 161 (0x A1 ) bytes
Table Type 19 ( 0x 13 ) found, size of 33 (0x 21 ) bytes
Table Type 20 ( 0x 14 ) found, size of 37 (0x 25 ) bytes
Table Type 221 ( 0x DD ) found, size of 93 (0x 5D ) bytes
Table Type 221 ( 0x DD ) found, size of 208 (0x D0 ) bytes
Table Type 221 ( 0x DD ) found, size of 32 (0x 20 ) bytes
Table Type 7 ( 0x 07 ) found, size of 37 (0x 25 ) bytes
Table Type 4 ( 0x 04 ) found, size of 186 (0x BA ) bytes
Table Type 131 ( 0x 83 ) found, size of 66 (0x 42 ) bytes
Table Type 41 ( 0x 29 ) found, size of 42 (0x 2A ) bytes
Table Type 221 ( 0x DD ) found, size of 353 (0x 161 ) bytes
Table Type 8 ( 0x 08 ) found, size of 39 (0x 27 ) bytes
Table Type 27 ( 0x 1B ) found, size of 30 (0x 1E ) bytes
Table Type 14 ( 0x 0E ) found, size of 14 (0x 0E ) bytes
Table Type 0 ( 0x 00 ) found, size of 47 (0x 2F ) bytes
Table Type 1 ( 0x 01 ) found, size of 115 (0x 73 ) bytes
Table Type 2 ( 0x 02 ) found, size of 94 (0x 5E ) bytes
Table Type 3 ( 0x 03 ) found, size of 76 (0x 4C ) bytes
Table Type 8 ( 0x 08 ) found, size of 41 (0x 29 ) bytes
Table Type 9 ( 0x 09 ) found, size of 23 (0x 17 ) bytes
Table Type 11 ( 0x 0B ) found, size of 153 (0x 99 ) bytes
Table Type 22 ( 0x 16 ) found, size of 137 (0x 89 ) bytes
Table Type 32 ( 0x 20 ) found, size of 22 (0x 16 ) bytes
Table Type 41 ( 0x 29 ) found, size of 25 (0x 19 ) bytes
Table Type 16 ( 0x 10 ) found, size of 25 (0x 19 ) bytes
Table Type 17 ( 0x 11 ) found, size of 161 (0x A1 ) bytes
Table Type 19 ( 0x 13 ) found, size of 33 (0x 21 ) bytes
Table Type 20 ( 0x 14 ) found, size of 37 (0x 25 ) bytes
Table Type 221 ( 0x DD ) found, size of 93 (0x 5D ) bytes
Table Type 221 ( 0x DD ) found, size of 208 (0x D0 ) bytes
Table Type 221 ( 0x DD ) found, size of 32 (0x 20 ) bytes
Table Type 7 ( 0x 07 ) found, size of 37 (0x 25 ) bytes
Table Type 4 ( 0x 04 ) found, size of 186 (0x BA ) bytes
Table Type 131 ( 0x 83 ) found, size of 66 (0x 42 ) bytes
Table Type 41 ( 0x 29 ) found, size of 42 (0x 2A ) bytes
Table Type 221 ( 0x DD ) found, size of 353 (0x 161 ) bytes
Table Type 8 ( 0x 08 ) found, size of 39 (0x 27 ) bytes
Table Type 27 ( 0x 1B ) found, size of 30 (0x 1E ) bytes
Table Type 14 ( 0x 0E ) found, size of 14 (0x 0E ) bytes
Table Type 255 ( 0x FF ) found, size of 0 (0x 00 ) bytes
Table Type 0 ( 0x 00 ) found, size of 47 (0x 2F ) bytes
Table Type 1 ( 0x 01 ) found, size of 115 (0x 73 ) bytes
Table Type 2 ( 0x 02 ) found, size of 94 (0x 5E ) bytes
Table Type 3 ( 0x 03 ) found, size of 76 (0x 4C ) bytes
Table Type 8 ( 0x 08 ) found, size of 41 (0x 29 ) bytes
Table Type 9 ( 0x 09 ) found, size of 23 (0x 17 ) bytes
Table Type 11 ( 0x 0B ) found, size of 153 (0x 99 ) bytes
Table Type 22 ( 0x 16 ) found, size of 137 (0x 89 ) bytes
Table Type 32 ( 0x 20 ) found, size of 22 (0x 16 ) bytes
Table Type 41 ( 0x 29 ) found, size of 25 (0x 19 ) bytes
Table Type 16 ( 0x 10 ) found, size of 25 (0x 19 ) bytes
Table Type 17 ( 0x 11 ) found, size of 161 (0x A1 ) bytes
Table Type 19 ( 0x 13 ) found, size of 33 (0x 21 ) bytes
Table Type 20 ( 0x 14 ) found, size of 37 (0x 25 ) bytes
Table Type 221 ( 0x DD ) found, size of 93 (0x 5D ) bytes
Table Type 221 ( 0x DD ) found, size of 208 (0x D0 ) bytes
Table Type 221 ( 0x DD ) found, size of 32 (0x 20 ) bytes
Table Type 7 ( 0x 07 ) found, size of 37 (0x 25 ) bytes
Table Type 4 ( 0x 04 ) found, size of 186 (0x BA ) bytes
Table Type 131 ( 0x 83 ) found, size of 66 (0x 42 ) bytes
Table Type 41 ( 0x 29 ) found, size of 42 (0x 2A ) bytes
Table Type 221 ( 0x DD ) found, size of 353 (0x 161 ) bytes
Table Type 8 ( 0x 08 ) found, size of 39 (0x 27 ) bytes
Table Type 27 ( 0x 1B ) found, size of 30 (0x 1E ) bytes
Table Type 14 ( 0x 0E ) found, size of 14 (0x 0E ) bytes
Table Type 0 ( 0x 00 ) found, size of 47 (0x 2F ) bytes
Table Type 1 ( 0x 01 ) found, size of 115 (0x 73 ) bytes
Table Type 2 ( 0x 02 ) found, size of 94 (0x 5E ) bytes
Table Type 3 ( 0x 03 ) found, size of 76 (0x 4C ) bytes
Table Type 8 ( 0x 08 ) found, size of 41 (0x 29 ) bytes
Table Type 9 ( 0x 09 ) found, size of 23 (0x 17 ) bytes
Table Type 11 ( 0x 0B ) found, size of 153 (0x 99 ) bytes
Table Type 22 ( 0x 16 ) found, size of 137 (0x 89 ) bytes
Table Type 32 ( 0x 20 ) found, size of 22 (0x 16 ) bytes
Table Type 41 ( 0x 29 ) found, size of 25 (0x 19 ) bytes
Table Type 16 ( 0x 10 ) found, size of 25 (0x 19 ) bytes
Table Type 17 ( 0x 11 ) found, size of 161 (0x A1 ) bytes
Table Type 19 ( 0x 13 ) found, size of 33 (0x 21 ) bytes
Table Type 20 ( 0x 14 ) found, size of 37 (0x 25 ) bytes
Table Type 221 ( 0x DD ) found, size of 93 (0x 5D ) bytes
Table Type 221 ( 0x DD ) found, size of 208 (0x D0 ) bytes
Table Type 221 ( 0x DD ) found, size of 32 (0x 20 ) bytes
Table Type 7 ( 0x 07 ) found, size of 37 (0x 25 ) bytes
Table Type 4 ( 0x 04 ) found, size of 186 (0x BA ) bytes
Table Type 131 ( 0x 83 ) found, size of 66 (0x 42 ) bytes
Table Type 41 ( 0x 29 ) found, size of 42 (0x 2A ) bytes
Table Type 221 ( 0x DD ) found, size of 353 (0x 161 ) bytes
Table Type 8 ( 0x 08 ) found, size of 39 (0x 27 ) bytes
Table Type 27 ( 0x 1B ) found, size of 30 (0x 1E ) bytes
Table Type 14 ( 0x 0E ) found, size of 14 (0x 0E ) bytes
FW Status Register1: 0x80050045
FW Status Register2: 0x32220106
FW Status Register3: 0x00000020
FW Status Register4: 0x00004000
FW Status Register5: 0x00000000
FW Status Register6: 0x40400006
Table Type 255 ( 0x FF ) found, size of 0 (0x 00 ) bytes
Table Type 0 ( 0x 00 ) found, size of 47 (0x 2F ) bytes
Table Type 1 ( 0x 01 ) found, size of 115 (0x 73 ) bytes
Table Type 2 ( 0x 02 ) found, size of 94 (0x 5E ) bytes
Table Type 3 ( 0x 03 ) found, size of 76 (0x 4C ) bytes
Table Type 8 ( 0x 08 ) found, size of 41 (0x 29 ) bytes
Table Type 9 ( 0x 09 ) found, size of 23 (0x 17 ) bytes
Table Type 11 ( 0x 0B ) found, size of 153 (0x 99 ) bytes
Table Type 22 ( 0x 16 ) found, size of 137 (0x 89 ) bytes
Table Type 32 ( 0x 20 ) found, size of 22 (0x 16 ) bytes
Table Type 41 ( 0x 29 ) found, size of 25 (0x 19 ) bytes
Table Type 16 ( 0x 10 ) found, size of 25 (0x 19 ) bytes
Table Type 17 ( 0x 11 ) found, size of 161 (0x A1 ) bytes
Table Type 19 ( 0x 13 ) found, size of 33 (0x 21 ) bytes
Table Type 20 ( 0x 14 ) found, size of 37 (0x 25 ) bytes
Table Type 221 ( 0x DD ) found, size of 93 (0x 5D ) bytes
Table Type 221 ( 0x DD ) found, size of 208 (0x D0 ) bytes
Table Type 221 ( 0x DD ) found, size of 32 (0x 20 ) bytes
Table Type 7 ( 0x 07 ) found, size of 37 (0x 25 ) bytes
Table Type 4 ( 0x 04 ) found, size of 186 (0x BA ) bytes
Table Type 131 ( 0x 83 ) found, size of 66 (0x 42 ) bytes
Table Type 41 ( 0x 29 ) found, size of 42 (0x 2A ) bytes
Table Type 221 ( 0x DD ) found, size of 353 (0x 161 ) bytes
Table Type 8 ( 0x 08 ) found, size of 39 (0x 27 ) bytes
Table Type 27 ( 0x 1B ) found, size of 30 (0x 1E ) bytes
Table Type 14 ( 0x 0E ) found, size of 14 (0x 0E ) bytes
Table Type 0 ( 0x 00 ) found, size of 47 (0x 2F ) bytes
Table Type 1 ( 0x 01 ) found, size of 115 (0x 73 ) bytes
Table Type 2 ( 0x 02 ) found, size of 94 (0x 5E ) bytes
Table Type 3 ( 0x 03 ) found, size of 76 (0x 4C ) bytes
Table Type 8 ( 0x 08 ) found, size of 41 (0x 29 ) bytes
Table Type 9 ( 0x 09 ) found, size of 23 (0x 17 ) bytes
Table Type 11 ( 0x 0B ) found, size of 153 (0x 99 ) bytes
Table Type 22 ( 0x 16 ) found, size of 137 (0x 89 ) bytes
Table Type 32 ( 0x 20 ) found, size of 22 (0x 16 ) bytes
Table Type 41 ( 0x 29 ) found, size of 25 (0x 19 ) bytes
Table Type 16 ( 0x 10 ) found, size of 25 (0x 19 ) bytes
Table Type 17 ( 0x 11 ) found, size of 161 (0x A1 ) bytes
Table Type 19 ( 0x 13 ) found, size of 33 (0x 21 ) bytes
Table Type 20 ( 0x 14 ) found, size of 37 (0x 25 ) bytes
Table Type 221 ( 0x DD ) found, size of 93 (0x 5D ) bytes
Table Type 221 ( 0x DD ) found, size of 208 (0x D0 ) bytes
Table Type 221 ( 0x DD ) found, size of 32 (0x 20 ) bytes
Table Type 7 ( 0x 07 ) found, size of 37 (0x 25 ) bytes
Table Type 4 ( 0x 04 ) found, size of 186 (0x BA ) bytes
Table Type 131 ( 0x 83 ) found, size of 66 (0x 42 ) bytes
Table Type 41 ( 0x 29 ) found, size of 42 (0x 2A ) bytes
Table Type 221 ( 0x DD ) found, size of 353 (0x 161 ) bytes
Table Type 8 ( 0x 08 ) found, size of 39 (0x 27 ) bytes
Table Type 27 ( 0x 1B ) found, size of 30 (0x 1E ) bytes
Table Type 14 ( 0x 0E ) found, size of 14 (0x 0E ) bytes
Initializing SPI utilities
Reading HSFSTS register... Flash Descriptor: Valid
Region Limits as programmed into the SPI Registers
FREG0 - DESC Region:Base Address: 0x000000 Limit : 0x000FFF
FREG1 - BIOS Region:Base Address: 0x380000 Limit : 0xFFFFFF
FREG2 - CSME Region:Base Address: 0x001000 Limit : 0x37FFFF
FREG3 - GbE Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG4 - PDR Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG5 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG6 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG7 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG8 - EC Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG9 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG10 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG11 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG12 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG13 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG14 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG15 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
Address Limit 0x1000000 Maximum Memory 16384kB
--- Flash Devices Found ---
GD25B128C ID:0xC84018 Size: 16384KB (131072Kb)
Using hardware sequencing.
Reading region information from flash descriptor.
Base: 0x00000000, Limit: 0x00000FFF
Base: 0x00380000, Limit: 0x00FFFFFF
Base: 0x00001000, Limit: 0x0037FFFF
DumpFlashToFile (biosreg7_garbage.bin, 0x380000, 0xc80000)...
- Reading Flash [0x1000000] 12800KB of 12800KB - 100 percent complete.
Writing flash contents to file "biosreg7_garbage.bin"...
Memory Dump Complete
FPT Operation Successful.
dunno if someone need the verbose still posted it
i did moded my dumped bios the ifr is in my github around 2.3mb is from spi dump
bugged flashing
LPC Device Id: 68D.
Platform: Cometlake Platform
Windows OS Version : 10.0
FW Status Register1: 0x90000245
FW Status Register2: 0x00F10506
FW Status Register3: 0x00000020
FW Status Register4: 0x00004400
FW Status Register5: 0x00000000
FW Status Register6: 0x40400006
Initializing SPI utilities
Reading HSFSTS register... Flash Descriptor: Valid
Region Limits as programmed into the SPI Registers
FREG0 - DESC Region:Base Address: 0x000000 Limit : 0x000FFF
FREG1 - BIOS Region:Base Address: 0x380000 Limit : 0xFFFFFF
FREG2 - CSME Region:Base Address: 0x001000 Limit : 0x37FFFF
FREG3 - GbE Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG4 - PDR Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG5 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG6 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG7 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG8 - EC Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG9 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG10 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG11 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG12 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG13 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG14 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
FREG15 - Region:Base Address: 0x7FFF000 Limit : 0x000FFF
Address Limit 0x1000000 Maximum Memory 16384kB
--- Flash Devices Found ---
GD25B128C ID:0xC84018 Size: 16384KB (131072Kb)
Using hardware sequencing.
Reading region information from flash descriptor.
Base: 0x00000000, Limit: 0x00000FFF
Base: 0x00380000, Limit: 0x00FFFFFF
Base: 0x00001000, Limit: 0x0037FFFF
FPRval 0x4ABBF708
BIOS space write protection is Disabled
Flash protection range is enabled
Error 167: Protected Range Registers are currently set by BIOS, preventing flash access.
Please contact the target system BIOS vendor for an option to disable
Protected Range Registers.
FPT Operation Failed.
--- Flash Devices Found ---
GD25B128C ID:0xC84018 Size: 16384KB (131072Kb)
Using hardware sequencing.
Reading region information from flash descriptor.
Base: 0x00000000, Limit: 0x00000FFF
Base: 0x00380000, Limit: 0x00FFFFFF
Base: 0x00001000, Limit: 0x0037FFFF
FPRval 0x8FAFFBF8
BIOS space write protection is Enabled
BIOS space write protection is Disabled
Flash protection range is enabled
Error 167: Protected Range Registers are currently set by BIOS, preventing flash access.
Please contact the target system BIOS vendor for an option to disable
Protected Range Registers.
FPT Operation Failed.
the FPRval keeps changing for some reason i even did reset and reflashed the bios cmos os reset but it keeps giving me diff fprval in same windows session same powershell session without reboot