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] Lenovo G580 (62CNxxWW) Whiteli...
Last Post: pupa57
Today 07:28 AM
» Replies: 818
» Views: 456091
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: Dudu2002
Today 04:40 AM
» Replies: 99
» Views: 56308
Locate BIOS chip on DKL50 LA-E802P Rev:1...
Last Post: valerio_vanni
Yesterday 08:29 PM
» Replies: 0
» Views: 66
[Success] [Bios Mod] Dell XPS L321X EFI ...
Last Post: wimmme
Yesterday 10:55 AM
» Replies: 19
» Views: 38666
[REQUEST] Acer Nitro 5 AN515-55 BIOS Unl...
Last Post: mimouzunov
Yesterday 10:37 AM
» Replies: 100
» Views: 80957
Asus A8JR / Z99J - T7200 CPU - confirmed
Last Post: Longmao0219
Yesterday 10:16 AM
» Replies: 1
» Views: 3910
Samsung R60 plus
Last Post: Debilix4441
Yesterday 09:01 AM
» Replies: 15
» Views: 17114
[REQUEST] Lenovo Legion Y540 (BHCNxxWW) ...
Last Post: fgonz
Yesterday 08:22 AM
» Replies: 18
» Views: 10037
Foxconn 865G7MF Pinmodded Xeon Support
Last Post: Jackal1983
11-10-2025 10:01 PM
» Replies: 18
» Views: 549
H170-HD3 DDR3 Nvme RAID Unlock
Last Post: foxbnu
11-10-2025 04:18 PM
» Replies: 0
» Views: 104
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: ArkuS
11-10-2025 12:03 PM
» Replies: 8
» Views: 6330
[REQUEST] Lenovo L440 Whitelist Removal
Last Post: Dudu2002
11-10-2025 04:48 AM
» Replies: 144
» Views: 83465
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: El_Gamer_74
11-09-2025 02:09 PM
» Replies: 218
» Views: 129094
Dell G43T-DM1 please
Last Post: Methanoid
11-09-2025 09:52 AM
» Replies: 0
» Views: 121
Thinkpad P16s G3 WWAN whitelist removal
Last Post: jussi666
11-09-2025 09:30 AM
» Replies: 0
» Views: 153
Optiplex 7060 SFF 9th Generation Intel C...
Last Post: DeathBringer
11-09-2025 02:14 AM
» Replies: 70
» Views: 45257
[REQUEST] Lenovo IdeaPad Gaming 3 15IMH0...
Last Post: ormcra
11-09-2025 01:40 AM
» Replies: 57
» Views: 42187
[REQUEST] Lenovo Thinkpad T410 (6IETxxWW...
Last Post: egecc
11-08-2025 05:11 PM
» Replies: 154
» Views: 63961
X550VXK BIOS Unlock Request
Last Post: laret
11-07-2025 03:01 PM
» Replies: 3
» Views: 423
BIOS P09ABE and 32GB RAM with 2 16GB mod...
Last Post: japa543
11-07-2025 02:43 PM
» Replies: 4
» Views: 830

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: 2 Guest(s)