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 ENVY - 17-r102nl (W6X06EA#A...
Last Post: SpaghettONE
Yesterday 04:51 PM
» Replies: 0
» Views: 83
HP Elitebook 8540w Microcode for I7 920X...
Last Post: DeathBringer
Yesterday 01:44 PM
» Replies: 9
» Views: 791
[REQUEST] HP Pavilion DM4-2101er BIOS F....
Last Post: Nylon
Yesterday 01:43 AM
» Replies: 1
» Views: 275
ThinkPad W520 - Corrupted ME
Last Post: lovie_loveth
11-24-2025 10:07 PM
» Replies: 0
» Views: 96
[REQUEST] Lenovo IdeaPad S400 (6DCNxxWW)...
Last Post: MasterSil
11-24-2025 08:09 PM
» Replies: 336
» Views: 176038
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: acidmonkey
11-24-2025 03:14 PM
» Replies: 129
» Views: 131208
BIOS ESS Xerox C60
Last Post: JSteen
11-24-2025 02:37 PM
» Replies: 0
» Views: 98
[REQUEST] Acer Nitro 5 AN517-54 BIOS Unl...
Last Post: Carlos_Eduardo13087
11-24-2025 12:25 PM
» Replies: 30
» Views: 12171
[REQUEST] Acer Predator PHN16-72 BIOS Un...
Last Post: Dudu2002
11-24-2025 07:11 AM
» Replies: 3
» Views: 2640
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: Cevox
11-24-2025 06:36 AM
» Replies: 500
» Views: 271860
[REQUEST] Please help unlock em64t in bi...
Last Post: MonoTightt
11-24-2025 02:48 AM
» Replies: 3
» Views: 2937
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
11-24-2025 12:55 AM
» Replies: 141
» Views: 103246
Need HP BIOS 080B0 (080B0.bin + .sig) fo...
Last Post: AldoRmz
11-23-2025 11:06 PM
» Replies: 0
» Views: 138
[REQUEST] HP dc7600 CMT BIOS Modding for...
Last Post: C2WRtm36y
11-23-2025 05:47 PM
» Replies: 7
» Views: 735
[Request] Dell Precision M6800 A16 BIOS ...
Last Post: bytehat248
11-23-2025 12:39 PM
» Replies: 1
» Views: 126
[REQUEST] Lanner FW-7573 (7571)
Last Post: romankul
11-23-2025 03:36 AM
» Replies: 0
» Views: 145
[REQUEST] Dell Precision T3600 Xeon E5 v...
Last Post: DeathBringer
11-23-2025 01:19 AM
» Replies: 1
» Views: 226
Acer M5-518t Boot Loop (No bootloader)
Last Post: Cfox
11-23-2025 12:16 AM
» Replies: 0
» Views: 152
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: winged
11-20-2025 04:16 PM
» Replies: 499
» Views: 260931
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: palych88
11-20-2025 03:54 PM
» Replies: 502
» Views: 251948

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)