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
Lenovo Miix 510-12IKB
Last Post: plusiaedge
Yesterday 09:55 PM
» Replies: 5
» Views: 3724
Help to interchange diferent uefi bios o...
Last Post: plusiaedge
Yesterday 09:53 PM
» Replies: 2
» Views: 1100
[REQUEST] Acer Aspire V3-772G BIOS Unloc...
Last Post: hd32kbps
Yesterday 05:32 PM
» Replies: 459
» Views: 273674
MS-7525 QUAD CORE Q8400 UPDATE
Last Post: Nonameman
Yesterday 02:12 PM
» Replies: 0
» Views: 77
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: Dudu2002
Yesterday 03:08 AM
» Replies: 760
» Views: 392886
GA-Z68M-D2H NVMe
Last Post: spssw
12-16-2025 09:30 PM
» Replies: 2
» Views: 3887
[REQUEST] HP Pavilion dm4-1000 series (I...
Last Post: pf007
12-16-2025 12:45 PM
» Replies: 42
» Views: 10362
[REQUEST] Lenovo IdeaPad P400, P500, Z40...
Last Post: Generaltr
12-16-2025 12:23 PM
» Replies: 79
» Views: 62218
Unlocking the E11IS2 BIOS
Last Post: Akira340
12-16-2025 10:49 AM
» Replies: 39
» Views: 48735
[REQUEST] Unlock bios Machenike S15
Last Post: Dudu2002
12-16-2025 01:29 AM
» Replies: 2
» Views: 2669
[REQUEST] Gigabyte MZ32-AR0 unlock and p...
Last Post: quarkpower
12-15-2025 02:43 PM
» Replies: 0
» Views: 147
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
12-15-2025 11:54 AM
» Replies: 132
» Views: 135254
[REQUEST] Acer Predator PHN16-72 BIOS Un...
Last Post: Trixvr
12-14-2025 01:31 PM
» Replies: 6
» Views: 3189
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: nork
12-14-2025 12:35 PM
» Replies: 48
» Views: 63424
[REQUEST] ASUS Zen AiO Z240IE CoffeeLake...
Last Post: MetalNight
12-14-2025 06:37 AM
» Replies: 0
» Views: 240
[REQUEST] Gigabyte G5 KC Unlock BIOS
Last Post: Dudu2002
12-13-2025 04:25 PM
» Replies: 7
» Views: 5684
Panasonic CF-D1 MK3 Advanced settings un...
Last Post: Bozzeh
12-13-2025 02:39 PM
» Replies: 15
» Views: 6205
[REQUEST] Lenovo ThinkCentre M93p Tiny (...
Last Post: mfrabbibd
12-12-2025 08:24 PM
» Replies: 61
» Views: 60615
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: Syphys
12-12-2025 11:17 AM
» Replies: 25
» Views: 16421
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
12-12-2025 10:15 AM
» Replies: 603
» Views: 363371

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)