[Problem] Locked flash writes on HP Victus 16 r1xxx

Hello everyone, I hope you all are having a good day. I’m currently a bit lost on attempting to unlock software level writes for my Insyde BIOS on an HP Victus 16 with model number r1019nt and processor i7 14700HX. My final goal is to be able to write to a specific UEFI variable using software(such as setup_var.efi).

  • I have already attempted disabling “BIOS Lock“ and “FPRR“ options using a CH341B programmer. Although I can observe the BIOS Lock and FPRR offsets in the variable “PchSetup” to be 0, if I attempt to modify an offset with setup_var.efi, I still get the error WRITE_PROTECTED (The device cannot be written to.)
  • I have attempted using Intel FPT. When I attempt to run the -VERIFY command, I get Error 185: FCERR is set. Hardware sequencing failed. Make sure you have access to the target flash area.
  • That being said, I can still extract a full BIOS dump using FPT.
  • Attempting to write to flash using FPT results in Error 167: Protected Range Registers are currently set by BIOS, preventing flash access.
  • It is possible to make modifications via a CH341 programmer to the variables using the procedure outlined here by another forum member. But my goal is unlocking software level writes which is not what this procedure does.

I’ve read that I should modify the descriptor of my BIOS but I’m kind of lost on what to do there as documentation is quite sparse..

In the old UEFITool, when I check the descriptor region, I see the BIOS region has read and write permissions while everything else has neither read nor write permissions.

If I run FPT -I, I see the following output under “Master Region Access”:

BIOS Read: 0x000F, Write: 0x000A
CSME Read: 0x000D, Write: 0x0004
GbE Read: 0xFFFF, Write: 0xFFFF
EC Read: 0xFFFF, Write: 0xFFFF 

Here is a link to my BIOS dump: 1019NTBACKUP.bin

Thanks to anyone who has any idea on where I should go from here!


Edit by Fernando: Thread title shortened and customized

Thank you for the reference. I checked and I do have “FLOCKDN” set to 1. But I can’t follow the mentioned steps due to Boot Guard, the solution seems to require modifying actual BIOS code.

As an update, since posting, I have also set all the master access bytes in the descriptor to FF. This is allowing me to write to every region except the BIOS region.

I ran chipsec_main.py -m common.bios_wp, it reports that only the range C2E000 - FFFFFF is write-protected. However, my BIOS NVRAM lives outside of that range (it is at around 750000h) and yet I still cannot modify it.

If this new information is of any value I would await your ideas. Thanks again