Hello,
I updated my pc, from Evga z270 itx to Asus b660-i itx motherboard. In my old z270 motherboard everything whas easy because everything in bios was unlocked (fd, me etc), and could do everything I want.
Now in my Asus b660 everything is locked (except main bios region). I dont mind so much but I want to unlock bios so I can flash a new splash screen (I have done it with my old motherboard).
I made a bios dump with FPT (fptw64 -d mod.rom -bios), I modded it and I tried to flash back
(fptw64 -f mod.rom -bios). I got Error 167: Protected Range Registers are currently set by BIOS.
After reading this guide, I found bios lock in setup 0x1D and i disabled it.
Also found FPRR but was already disabled. Tried again, still same error.
I suspect that BIOS Guard is the problem but I can’t find it.
I also read this similar guide but that was easier finding BIOS Guard.
I run out of ideas. I include my bios dump.
Thank you for your time.
Edit: @Lost_N_BIOS used to search for all kind of locks inside bios. But he haven’t posted since 2021…
He is literally Lost…
I have done some progress!
Long story short, I found where bios chip is located and I used ch341a programmer to make a full SPI dump. I modded the dump and I reflashed the bios, and voila!
All bios regions are unlocked!
Because its not practical every time I want to update bios, to disassembly pc and motherboard, use programmer, and then assembly again,
my final goal is to download every new bios, modd it, and then flash it using FPT.
I appreciate every help
Also, because now I know that I can recover bios with programmer, I can be more aggressive when I experiment with bios.
@plutomaniac if I rebuild whole bios with FIT (and change some settings), maybe bios error will go away?
@553349149
Perfect! I have seen this setting before, but I didn’t knew that it was bios guard related, and I didn’t change it.
I am not at home atm. I will try it as soon I go home!
@553349149
Just tried. Still same error
It was already disabled (0x0).
I changed to enabled (0x1) and then disabled again (0x0), just in case, but I get same error.
I also did a greset
Hello!
If you read above you will see that I did unlocked all regions.
I unlocked them with a ch341a programmer.
The problem was that I wanted to flash whole bios with Intel fpt tool within windows and I got error. It’s not convenient to use programmer every time you want to flash bios.
Anyway, I sold the motherboard for a gigabyte z690i, and now I flash modded bios with flashback.
I really liked this Asus motherboard. It was high quality and had nice bios.
A bit late but I managed to unlock the b660i bios completely and now can update to new bios versions using fpt from windows. Today I manually flashed the new version 2403 FD and BIOS regions separately, rebooted and everything is working as expected.
Using hardware programmer I dumped the bios, unlocked the SPI and enabled all the hidden menu options using UEFI editor. With all the locks (BIOS lock, BIOS guard etc…) disabled using the new unlocked menu options in BIOS + unlocked SPI the fpt tool works fine in windows.
Example of FD reflashing:
FPTW64.exe -DESC -D DESC.BIN
Intel (R) Flash Programming Tool Version: 16.0.15.1735
Copyright (C) 2005 - 2022, Intel Corporation. All rights reserved.
Reading HSFSTS register... Flash Descriptor: Valid
--- Flash Devices Found ---
ID:0xC22018 Size: 16384KB (131072Kb)
- Reading Flash [0x0001000] 4KB of 4KB - 100 percent complete.
Writing flash contents to file "DESC.BIN"...
Memory Dump Complete
FPT Operation Successful.
FPTW64.exe -DESC -F DESC.BIN
Intel (R) Flash Programming Tool Version: 16.0.15.1735
Copyright (C) 2005 - 2022, Intel Corporation. All rights reserved.
Reading HSFSTS register... Flash Descriptor: Valid
--- Flash Devices Found ---
ID:0xC22018 Size: 16384KB (131072Kb)
GbE Region does not exist.
- Processed memory blocks 0 from 0.
- Verifying Flash [0x0001000] 8KB of 4KB - 100 percent complete.
RESULT: The data is identical.
FPT Operation Successful.
I tried using EFI vars to disable locks using the mem location obtained from live bios dump but that didn’t work, the official menu options work fine.
If the BIOS Lock Enable (BLE) feature of the PCH SPI Controller is not enabled, EISS feature can be disabled by clearing the 5th bit of BIOS_SPI_BC. Which may result in FPT writing success.