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 G480 (5ECNxxWW) Whiteli...
Last Post: ajrrjerauser
Today 01:48 PM
» Replies: 103
» Views: 73092
[REQUEST]Whitelist removal DELL XPS 9570...
Last Post: koda.shojix
Today 11:05 AM
» Replies: 0
» Views: 92
GMKtec K6 (AMI Aptio V BIOS) – User pass...
Last Post: Halo
Today 04:16 AM
» Replies: 0
» Views: 105
[Request] Dell 17R Inspiron 5720-6709
Last Post: FrostyDay
Yesterday 02:21 PM
» Replies: 1
» Views: 148
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: Dudu2002
Yesterday 01:21 PM
» Replies: 504
» Views: 259302
OptiPlex 360 380 760 780 960 Xeon LGA 77...
Last Post: bpm199
Yesterday 12:31 PM
» Replies: 266
» Views: 364297
[REQUEST] Acer PT715-51 (Triton 700) ins...
Last Post: Dudu2002
Yesterday 11:12 AM
» Replies: 29
» Views: 20054
[REQUEST] Lenovo G50-30 (A7CNxxWW) White...
Last Post: mazi54
Yesterday 05:28 AM
» Replies: 76
» Views: 41971
Lenovo IdeaPad Gaming 3 15ARH05: looking...
Last Post: Sallywest
12-30-2025 07:05 PM
» Replies: 0
» Views: 236
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: Dudu2002
12-30-2025 02:46 AM
» Replies: 102
» Views: 62975
[REQUEST] Gigabyte G5 MD BIOS Unlock
Last Post: Dudu2002
12-29-2025 03:18 PM
» Replies: 7
» Views: 2717
[REQUEST] Acer Aspire A715-75G BIOS Unlo...
Last Post: Dudu2002
12-29-2025 03:15 PM
» Replies: 8
» Views: 5189
Need help deleting account
Last Post: kalgran
12-29-2025 02:49 AM
» Replies: 0
» Views: 347
[REQUEST] Medion Akoya Bios E1232t BIOS ...
Last Post: korek644pl
12-28-2025 05:22 PM
» Replies: 13
» Views: 14237
[solved] How to add AHCI mod to ASUS "P5...
Last Post: antiyou12
12-28-2025 11:47 AM
» Replies: 46
» Views: 101495
BIOS for the Fujitsu Celsius R930 with t...
Last Post: maxtox
12-27-2025 08:01 PM
» Replies: 0
» Views: 373
[REQUEST] Lenovo B50-70 (9DCNxxWW) White...
Last Post: kadirb5
12-26-2025 01:44 PM
» Replies: 179
» Views: 106523
[REQUEST] Lenovo T520 (8AETxxWW) Whiteli...
Last Post: greg84
12-26-2025 04:42 AM
» Replies: 147
» Views: 131292
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: pashashilov87
12-24-2025 04:34 PM
» Replies: 883
» Views: 533821
Compaq Presario R3000, HP Pavilion zv500...
Last Post: DeathBringer
12-24-2025 07:21 AM
» Replies: 30
» Views: 3240

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)