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
[Solved] Gigabyte 8I865GME-775-RH (rev. ...
Last Post: honshitsu.dojo
Today 03:23 PM
» Replies: 8
» Views: 3336
[Accepting Requests] HP Probook 4530s WL...
Last Post: epx
Today 10:24 AM
» Replies: 2
» Views: 1576
Compaq Presario R3000, HP Pavilion zv500...
Last Post: IrRaziel
Today 06:25 AM
» Replies: 29
» Views: 1625
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: eQualuZe
Today 05:13 AM
» Replies: 1228
» Views: 567469
Unlock BIOS Asus Rog Flow X16 GV601VV.31...
Last Post: olixp
Yesterday 04:58 PM
» Replies: 0
» Views: 74
[REQUEST] Lenove Yoga 3 14 80JH Whitelis...
Last Post: Dudu2002
Yesterday 04:35 PM
» Replies: 28
» Views: 18461
[REQUEST] REQUEST REMOVE WHITELIST THINK...
Last Post: panlydo
12-19-2025 01:14 PM
» Replies: 0
» Views: 147
[REQUEST] Acer Aspire 7560(G) BIOS Unloc...
Last Post: naowut
12-19-2025 03:56 AM
» Replies: 32
» Views: 23672
[REQUEST] Acer Aspire V3-772G BIOS Unloc...
Last Post: Dudu2002
12-18-2025 05:33 PM
» Replies: 460
» Views: 274959
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: Half-Life
12-18-2025 03:24 PM
» Replies: 244
» Views: 183228
[Request] Acer Aspire V3-771(G) BIOS unl...
Last Post: vincetek
12-18-2025 09:44 AM
» Replies: 262
» Views: 173849
Lenovo Miix 510-12IKB
Last Post: plusiaedge
12-17-2025 09:55 PM
» Replies: 5
» Views: 3781
Help to interchange diferent uefi bios o...
Last Post: plusiaedge
12-17-2025 09:53 PM
» Replies: 2
» Views: 1157
MS-7525 QUAD CORE Q8400 UPDATE
Last Post: Nonameman
12-17-2025 02:12 PM
» Replies: 0
» Views: 133
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: Dudu2002
12-17-2025 03:08 AM
» Replies: 760
» Views: 393628
GA-Z68M-D2H NVMe
Last Post: spssw
12-16-2025 09:30 PM
» Replies: 2
» Views: 3916
[REQUEST] HP Pavilion dm4-1000 series (I...
Last Post: pf007
12-16-2025 12:45 PM
» Replies: 42
» Views: 10479
[REQUEST] Lenovo IdeaPad P400, P500, Z40...
Last Post: Generaltr
12-16-2025 12:23 PM
» Replies: 79
» Views: 62419
Unlocking the E11IS2 BIOS
Last Post: Akira340
12-16-2025 10:49 AM
» Replies: 39
» Views: 48854
[REQUEST] Unlock bios Machenike S15
Last Post: Dudu2002
12-16-2025 01:29 AM
» Replies: 2
» Views: 2697

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)