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
Any way to unbrick a chinese Windows Tab...
Last Post: huguito
Yesterday 11:09 PM
» Replies: 0
» Views: 67
Can i cross-flash my...
Last Post: ngocthienta
Yesterday 09:03 PM
» Replies: 1
» Views: 84
Compaq Presario R3000 add Turion and Sem...
Last Post: DeathBringer
Yesterday 03:25 PM
» Replies: 1
» Views: 93
Enabling VT-d/VT-x on MSI Cubi 2 Bios
Last Post: janlugt
Yesterday 11:58 AM
» Replies: 4
» Views: 199
[REQUEST] Lenovo ThinkCentre M73z (FGKTx...
Last Post: lolo84
11-30-2025 05:35 PM
» Replies: 7
» Views: 188
BIOS Mod for Sony VGC RA940G (ASUS P5LP-...
Last Post: DTDeniz
11-30-2025 03:15 PM
» Replies: 10
» Views: 2670
[Request] Packard Bell EasyNote TE11HC B...
Last Post: MasTx
11-30-2025 06:23 AM
» Replies: 121
» Views: 91738
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Gamepak40
11-30-2025 03:53 AM
» Replies: 142
» Views: 104177
[Request] Dell Precision M6800 A16 BIOS ...
Last Post: bytehat248
11-29-2025 05:04 PM
» Replies: 2
» Views: 257
[REQUEST] Lenovo IdeaPad Y410p & Y510p (...
Last Post: aleks57
11-29-2025 02:19 PM
» Replies: 100
» Views: 82790
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: acidmonkey
11-29-2025 09:42 AM
» Replies: 131
» Views: 133028
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: Dudu2002
11-29-2025 09:37 AM
» Replies: 1097
» Views: 645413
[REQUEST] Lenovo IdeaPad Gaming 3 15IMH0...
Last Post: Dudu2002
11-29-2025 09:35 AM
» Replies: 63
» Views: 44128
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: xantio
11-29-2025 05:46 AM
» Replies: 1727
» Views: 1009088
[REQUEST] Acer Aspire A515-52(G) BIOS Un...
Last Post: VissarionovichIvan
11-27-2025 05:16 PM
» Replies: 7
» Views: 6777
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: elventorro
11-27-2025 03:08 PM
» Replies: 1786
» Views: 790453
[REQUEST] Acer Switch 10 SW5-012 BIOS Un...
Last Post: pedro691
11-27-2025 12:53 PM
» Replies: 45
» Views: 27081
[REQUEST] Lenovo Thinkpad T540p (GMETxxW...
Last Post: bildmacher
11-27-2025 10:49 AM
» Replies: 84
» Views: 57871
Hp probook 6560B Upgrade to Ivy Bridge
Last Post: Ricsi999
11-27-2025 10:20 AM
» Replies: 4
» Views: 315
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
11-27-2025 08:52 AM
» Replies: 4
» Views: 215

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)