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] HP Pavilion DM4-2101er BIOS F....
Last Post: Nylon
Yesterday 04:49 AM
» Replies: 0
» Views: 93
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: winged
11-20-2025 04:16 PM
» Replies: 499
» Views: 259655
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: palych88
11-20-2025 03:54 PM
» Replies: 502
» Views: 250468
Gigabyte Z690I Aorus Ultra Plus DDR4 & E...
Last Post: EncryptedDataGS
11-20-2025 01:53 PM
» Replies: 11
» Views: 573
[REQUEST] HP Pavilion G7-1227nr
Last Post: brussell639
11-20-2025 01:42 PM
» Replies: 0
» Views: 181
Optiplex 7060 SFF 9th Generation Intel C...
Last Post: loukylor
11-19-2025 04:21 PM
» Replies: 71
» Views: 46697
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: DImanu
11-19-2025 04:29 AM
» Replies: 1095
» Views: 636503
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: dfenton
11-18-2025 06:13 PM
» Replies: 140
» Views: 102155
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
11-18-2025 04:09 PM
» Replies: 46
» Views: 29454
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: basil021985
11-18-2025 01:25 PM
» Replies: 798
» Views: 491567
Looking for Medion H110H4-EM V2.0 Bios
Last Post: ocsabi
11-18-2025 08:46 AM
» Replies: 0
» Views: 282
Asus EEEPC 1015PN enable 64 bit operatio...
Last Post: pathickel
11-17-2025 12:10 AM
» Replies: 0
» Views: 273
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: PhySix66
11-16-2025 05:05 PM
» Replies: 1775
» Views: 839363
[REQUEST] Lenovo B590 (H5ETxxWW) Whiteli...
Last Post: Cokeef
11-16-2025 01:57 PM
» Replies: 280
» Views: 131264
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: DeathBringer
11-16-2025 10:37 AM
» Replies: 128
» Views: 130537
Toshiba C855 replacement battery problem
Last Post: Rad25
11-16-2025 09:45 AM
» Replies: 0
» Views: 187
CSM unlock Lenovo Ideapad Slim 3
Last Post: mario011
11-16-2025 09:36 AM
» Replies: 0
» Views: 218
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: flyingscott
11-15-2025 01:02 PM
» Replies: 652
» Views: 342101
[Request] Microcode support on cpu A8 76...
Last Post: boblemagnifique
11-15-2025 07:17 AM
» Replies: 0
» Views: 266
New Members Say Hi Here
Last Post: boblemagnifique
11-15-2025 06:14 AM
» Replies: 162
» Views: 265909

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)