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] ASUS Zen AiO Z240IE CoffeeLake...
Last Post: MetalNight
Today 06:37 AM
» Replies: 0
» Views: 30
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: MateriaViva
Today 02:58 AM
» Replies: 759
» Views: 390040
[REQUEST] Gigabyte G5 KC Unlock BIOS
Last Post: Dudu2002
Yesterday 04:25 PM
» Replies: 7
» Views: 5520
Panasonic CF-D1 MK3 Advanced settings un...
Last Post: Bozzeh
Yesterday 02:39 PM
» Replies: 15
» Views: 6058
[REQUEST] Lenovo ThinkCentre M93p Tiny (...
Last Post: mfrabbibd
12-12-2025 08:24 PM
» Replies: 61
» Views: 60186
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: Syphys
12-12-2025 11:17 AM
» Replies: 25
» Views: 16190
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
12-12-2025 10:15 AM
» Replies: 603
» Views: 361955
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: Dudu2002
12-12-2025 10:14 AM
» Replies: 47
» Views: 62812
Possibly corrupted BIOS N100 alder lake ...
Last Post: PuntaLanza
12-12-2025 02:46 AM
» Replies: 0
» Views: 119
[REQUEST] Unlock bios Machenike S15
Last Post: judamex
12-11-2025 12:48 AM
» Replies: 1
» Views: 2560
[REQUEST] SYWZ S210H Series - enable adv...
Last Post: 02point20
12-10-2025 04:12 PM
» Replies: 0
» Views: 160
[REQUEST] Lenovo Ideapad Z710 (7FCNxxWW)...
Last Post: Vanadius
12-10-2025 01:50 PM
» Replies: 228
» Views: 180708
[SOLVED] Change Serial Number, UUID, Mac...
Last Post: bq138
12-10-2025 12:55 PM
» Replies: 11
» Views: 24640
[REQUEST] Acer Aspire E5-575(G) BIOS unl...
Last Post: e_favero
12-10-2025 10:27 AM
» Replies: 120
» Views: 96800
[REQUEST] POS-PIQ77CL unlock options
Last Post: Lincoln
12-10-2025 05:34 AM
» Replies: 1
» Views: 1991
How To Add SLIC 2.1 To An Intel Motherbo...
Last Post: C2WRtm36y
12-09-2025 09:58 PM
» Replies: 74
» Views: 259982
Lenovo B590 unlock the checking original...
Last Post: leecher1337
12-09-2025 07:59 PM
» Replies: 36
» Views: 45832
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: Dudu2002
12-09-2025 04:34 PM
» Replies: 1227
» Views: 563856
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
12-09-2025 04:09 PM
» Replies: 500
» Views: 268354
New Members Say Hi Here
Last Post: wojtas.87
12-09-2025 11:57 AM
» Replies: 168
» Views: 268122

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)