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 G510 (79CNxxWW) BIOS Un...
Last Post: Crazy tech
Yesterday 09:51 PM
» Replies: 78
» Views: 42836
Analyze java class System Identifier cod...
Last Post: Hasan jeet
Yesterday 03:44 PM
» Replies: 0
» Views: 61
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: sscdimon
Yesterday 01:53 PM
» Replies: 471
» Views: 132861
[REQUEST] Lenovo Yoga 2 Pro (76CNxxWW) W...
Last Post: cpih
Yesterday 12:03 PM
» Replies: 846
» Views: 328919
Delete Whitelist HP 15s-eq1000
Last Post: gdefareins
Yesterday 09:02 AM
» Replies: 3
» Views: 167
[REQUEST] Lenovo Y470 & Y570 (47CNxxWW) ...
Last Post: jabbari74
Yesterday 03:37 AM
» Replies: 25
» Views: 18181
[REQUEST] Lenovo Thinkpad T420 (83ETxxWW...
Last Post: lucasow
Yesterday 03:02 AM
» Replies: 315
» Views: 194520
[REQUEST] Asus PRIME B460M-A modding bio...
Last Post: hnoimahi
04-27-2024 08:04 AM
» Replies: 1
» Views: 257
[REQUEST] Lenovo G580 (62CNxxWW) Whiteli...
Last Post: Dudu2002
04-27-2024 05:34 AM
» Replies: 809
» Views: 247132
[REQUEST] Asus maximus X Code "fan profi...
Last Post: appletechgeek
04-27-2024 12:12 AM
» Replies: 0
» Views: 241
[REQUEST] Acer Aspire S3-391 BIOS Unlock
Last Post: Dudu2002
04-26-2024 04:27 PM
» Replies: 57
» Views: 25872
[REQUEST] Lenovo V580(c) (H1ETxxWW) Whit...
Last Post: Dudu2002
04-26-2024 04:26 PM
» Replies: 588
» Views: 148385
[REQUEST] GL504GS BIOS unlock
Last Post: pl4gue
04-26-2024 12:19 PM
» Replies: 75
» Views: 59500
[REQUEST] Thinkpad T14S G3 AMD (Type 21C...
Last Post: Dudu2002
04-26-2024 04:37 AM
» Replies: 1
» Views: 172
[REQUEST] Lenovo B490 (H1ETxxWW) Whiteli...
Last Post: sardax
04-25-2024 10:03 PM
» Replies: 101
» Views: 32118
[REQUEST] Acer Aspire E1-571(G) BIOS Unl...
Last Post: Dudu2002
04-25-2024 04:44 PM
» Replies: 127
» Views: 58539
Acer Predator Helios 300 N17C1 G3-572-79...
Last Post: chadreuel
04-25-2024 11:39 AM
» Replies: 0
» Views: 181
[REQUEST] Acer Nitro 5 AN515-56 BIOS Unl...
Last Post: Dudu2002
04-25-2024 07:25 AM
» Replies: 5
» Views: 937
[REQUEST] Lenovo Y50-70 (9ECNxxWW) BIOS ...
Last Post: Dudu2002
04-25-2024 03:52 AM
» Replies: 1972
» Views: 666349
[Request] Acer Aspire Z1620 (h61h aio v1...
Last Post: spingernexx
04-24-2024 06:09 PM
» Replies: 2
» Views: 230

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: 12)
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)