Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: flyingscott
Today 01:02 PM
» Replies: 652
» Views: 338547
[Request] Microcode support on cpu A8 76...
Last Post: boblemagnifique
Today 07:17 AM
» Replies: 0
» Views: 77
New Members Say Hi Here
Last Post: boblemagnifique
Today 06:14 AM
» Replies: 162
» Views: 265342
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: ArkuS
Yesterday 09:37 AM
» Replies: 10
» Views: 6727
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
Yesterday 03:45 AM
» Replies: 139
» Views: 99797
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
Yesterday 03:43 AM
» Replies: 601
» Views: 352023
HP Elitebook 8540w Microcode for I7 920X...
Last Post: blackcat1996@
Yesterday 03:25 AM
» Replies: 7
» Views: 497
ASUS X501A CPU 1000M > 3210M upgrade cl...
Last Post: ngocthienta
11-12-2025 11:16 PM
» Replies: 5
» Views: 2863
Help Acer Aspire 15
Last Post: mvlaurentiu
11-12-2025 06:41 PM
» Replies: 0
» Views: 380
[REQUEST] Acer Exstensa 5220 cpu mod
Last Post: DeathBringer
11-12-2025 04:09 PM
» Replies: 5
» Views: 400
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Gumpween
11-12-2025 03:45 PM
» Replies: 497
» Views: 257480
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: sam4011
11-12-2025 01:37 PM
» Replies: 100
» Views: 58250
[REQUEST] Lenovo L340-15API & L340-17API...
Last Post: Dudu2002
11-12-2025 10:24 AM
» Replies: 12
» Views: 8685
[REQUEST] Lenovo G580 (62CNxxWW) Whiteli...
Last Post: pupa57
11-12-2025 07:28 AM
» Replies: 818
» Views: 459232
Locate BIOS chip on DKL50 LA-E802P Rev:1...
Last Post: valerio_vanni
11-11-2025 08:29 PM
» Replies: 0
» Views: 164
[Success] [Bios Mod] Dell XPS L321X EFI ...
Last Post: wimmme
11-11-2025 10:55 AM
» Replies: 19
» Views: 38777
[REQUEST] Acer Nitro 5 AN515-55 BIOS Unl...
Last Post: mimouzunov
11-11-2025 10:37 AM
» Replies: 100
» Views: 81427
Asus A8JR / Z99J - T7200 CPU - confirmed
Last Post: Longmao0219
11-11-2025 10:16 AM
» Replies: 1
» Views: 3943
Samsung R60 plus
Last Post: Debilix4441
11-11-2025 09:01 AM
» Replies: 15
» Views: 17194
[REQUEST] Lenovo Legion Y540 (BHCNxxWW) ...
Last Post: fgonz
11-11-2025 08:22 AM
» Replies: 18
» Views: 10173

Help Disabling Flash Protection Range Registers
#1
Hey guys,

Hope you all are doing well. I am having issues disabling Flash Protection Range Registers so I can flash my BIOS from within Windows using Intel's IFW tool/using flashrom within Linux, however I cannot due to the above mentioned error.

I had previously posted here for help and was trying to get the BIOS CAP update file modified, but DeathBringer said it wasn't possible. I have now dumped my own BIOS and was able to add the microcode needed, but I just can't flash back the new BIOS and just need help disabling the FPRR as they reset, presumably from some sort of firmware protection.

Essentially I managed to boot into Windows while shorting PINs 1+5 of my audio chip to disable the HAP bit so that flash descriptors are unlocked until reboot, and then flashed a modified flash descriptor with the HAP bit disabled so that it will persist over reboot and disable Intel Management Engine.

I thought that this would also enable write access for the BIOS region of my SPI, however it did not. After some heavy research, I found out that my BIOS has a Flash Protection Range Register option (hidden from the menu) so I booted into a UEFI shell and Disabled that option as well as the BIOS lock using datasone's setup_var.efi package here: https://github.com/datasone/setup_var.efi.

However it does not persist after a reboot. I noticed that whenever I modify the BIOS lock or even just the FPRR option and reboot, I get to the Lenovo BIOS screen and the screen goes black then reboots again, where it again goes to the Lenovo BIOS screen and ultimately will continue booting the OS. It seems like when this BIOS screen goes black and reboots, the modified setup_var's get reset to default from some sort of protection.

Can anyone here assist me in disabling this Flash Protection Range Register setup_var? My chip is an XMC WSON8 chip and I would rather not have to desolder it from the board just to read/write to it if at all possible, I would like to keep this completely software-based.

I know its possible as the option is there in the BIOS, I just can't figure out why the OS won't boot if those options are modified and the BIOS will ultimately reset the values on its own. I do have Secure Boot disabled.

May I post my BIOS here for assistance? If so, would you need a full SPI dump (including DESC, ME, GbE, etc regions) or just the BIOS region?

Thanks in advance for any assistance!
find
quote


Forum Jump:


Users browsing this thread: 2 Guest(s)