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 X230(i) (G2ETx...
Last Post: DImanu
Today 04:29 AM
» Replies: 1095
» Views: 633970
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: EncryptedDataGS
Today 03:51 AM
» Replies: 130
» Views: 130172
FPT Backup Errors
Last Post: plusiasocial
Today 01:49 AM
» Replies: 1
» Views: 9747
[REQUEST] Lenovo X280
Last Post: plusiasocial
Today 01:46 AM
» Replies: 4
» Views: 2635
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: dfenton
Yesterday 06:13 PM
» Replies: 140
» Views: 100766
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
Yesterday 04:09 PM
» Replies: 46
» Views: 28791
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: basil021985
Yesterday 01:25 PM
» Replies: 798
» Views: 489699
Looking for Medion H110H4-EM V2.0 Bios
Last Post: ocsabi
Yesterday 08:46 AM
» Replies: 0
» Views: 130
Asus EEEPC 1015PN enable 64 bit operatio...
Last Post: pathickel
11-17-2025 12:10 AM
» Replies: 0
» Views: 211
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: PhySix66
11-16-2025 05:05 PM
» Replies: 1775
» Views: 837294
[REQUEST] Lenovo B590 (H5ETxxWW) Whiteli...
Last Post: Cokeef
11-16-2025 01:57 PM
» Replies: 280
» Views: 130747
Toshiba C855 replacement battery problem
Last Post: Rad25
11-16-2025 09:45 AM
» Replies: 0
» Views: 143
CSM unlock Lenovo Ideapad Slim 3
Last Post: mario011
11-16-2025 09:36 AM
» Replies: 0
» Views: 174
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: winged
11-16-2025 07:32 AM
» Replies: 498
» Views: 258526
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: flyingscott
11-15-2025 01:02 PM
» Replies: 652
» Views: 340806
[Request] Microcode support on cpu A8 76...
Last Post: boblemagnifique
11-15-2025 07:17 AM
» Replies: 0
» Views: 215
New Members Say Hi Here
Last Post: boblemagnifique
11-15-2025 06:14 AM
» Replies: 162
» Views: 265770
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: ArkuS
11-14-2025 09:37 AM
» Replies: 10
» Views: 6849
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
11-14-2025 03:43 AM
» Replies: 601
» Views: 353303
HP Elitebook 8540w Microcode for I7 920X...
Last Post: blackcat1996@
11-14-2025 03:25 AM
» Replies: 7
» Views: 613

Restoring EFI Boot Variables Externally
#1
I have a Wyse Z90 thin-client that I wanted to re-purpose as a router with OpenWRT (which had to be manually installed with the router. For some possibly stupid reason that escaped my mind, I set the boot options except PXE to inactive. Upon reboot, PXE was the only option on the boot list.

I removed the CMOS battery, hopint that it would clear the changes I made. It would seem the variables are stored in some persistent memory as they are still there.

Is is possible to edit the variables on the bin file backups? I've found 2 SPI chips and have backed up their contents with Flashrom on my Linux install.

Any help would be greatly appreciated.
Thanks.


Attached Files
.bin   bios.bin (Size: 2 MB / Downloads: 6)
.bin   otherspichip.bin (Size: 64 KB / Downloads: 1)
find
quote
#2
Lightbulb 
I found out a way around this, using Flashrom and UEFItool on Linux.

I located the 2nd_Gen_Compatibility_Kit(WES2009).zip file for my device. It contained 2 bios files with an exe suffix (they can be opened with archive software). The bios bin file is inside that executable's folders, with AZA0_ at the beginning, and is compressed with the gzip format - putting .gz at the end of the filename should ensure you can decompress with an archiver.

I dumped the bios from the chip and opened it up with UEFItool. The GUID beginning with FFF is where the boot variables are, and has to be replaced with the same GUID from the bios file extracted from the archives. I don't think I could flash the extracted bin file due to it being bigger than the size of the chip and the file structure in UEFItool seemed very different from the original.

I flashed the modified dump file to the chip and fired up the computer, and it now shows all the boot devices in the setup. I have yet to boot into the OS yet, but it all seems to have been rectified.


Attached Files Thumbnail(s)
   

.zip   2nd_Gen_Compatibility_Kit(WES2009).zip (Size: 3.34 MB / Downloads: 18)
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)