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] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: Dudu2002
Today 09:27 AM
» Replies: 35
» Views: 13180
HP probook4436s(e2-3000m)can update to a...
Last Post: DeathBringer
Today 04:17 AM
» Replies: 1
» Views: 78
[Request] Lenovo v520s sff unit bios sup...
Last Post: DeathBringer
Yesterday 01:48 PM
» Replies: 5
» Views: 540
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: flastac
Yesterday 09:45 AM
» Replies: 212
» Views: 105799
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
Yesterday 02:26 AM
» Replies: 40
» Views: 12338
[Request] Bios is locked need to unlock ...
Last Post: Xperjo
Yesterday 12:59 AM
» Replies: 0
» Views: 193
Ailenware M15 R2
Last Post: axdy
06-13-2025 05:17 PM
» Replies: 0
» Views: 166
ASUS P5LD2 Deluxe & Conroe CPU
Last Post: k24a1
06-13-2025 03:05 PM
» Replies: 20
» Views: 9637
Request: Modded BIOS with NVMe support f...
Last Post: thadrusta
06-13-2025 01:08 PM
» Replies: 1
» Views: 781
[REQUEST] Lenovo Yoga 500 (BDCNxxWW) BIO...
Last Post: soren
06-12-2025 05:19 PM
» Replies: 21
» Views: 15871
Unlock EMT64 / 64-bit UEFI support on In...
Last Post: ordi
06-12-2025 01:41 PM
» Replies: 4
» Views: 437
H-Joshua-H61-uATX with i5-2500K or i7-37...
Last Post: EQX
06-12-2025 12:49 PM
» Replies: 33
» Views: 19023
[REQUEST] Lenovo Thinkpad X240 (GIETxxWW...
Last Post: Yaserxi
06-12-2025 08:50 AM
» Replies: 341
» Views: 173541
[Request] Alienware X51 R2 BIOS Unlock
Last Post: thadrusta
06-11-2025 08:22 PM
» Replies: 14
» Views: 14368
BIOS Mod for Dell Inspiron 7447 A09 to E...
Last Post: hoangha16497
06-11-2025 08:14 PM
» Replies: 0
» Views: 269
[REQUEST] Lenovo B575 (52CNxxWW) Whiteli...
Last Post: ptnom
06-11-2025 06:36 PM
» Replies: 57
» Views: 30367
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: Dudu2002
06-11-2025 05:46 PM
» Replies: 245
» Views: 111269
[REQUEST] Acer Aspire One AOD255E BIOS U...
Last Post: stormy
06-11-2025 03:24 PM
» Replies: 63
» Views: 37644
[Request] Dell Vostro 3268 Bios Modd for...
Last Post: izzner1
06-11-2025 08:34 AM
» Replies: 0
» Views: 261
HP Pavilion DV6318ea Whitelist
Last Post: kaczorekbw
06-11-2025 06:45 AM
» Replies: 0
» Views: 172

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)