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
Uninhibited dating for men
Last Post: Youcefhakda
Today 10:01 PM
» Replies: 0
» Views: 7
Asus N53SV Unlocked v215
Last Post: Jantheman
Today 03:29 PM
» Replies: 2
» Views: 1394
[REQUEST] Asus eeepc 1025C
Last Post: biospherebios
Yesterday 11:23 PM
» Replies: 89
» Views: 110768
[REQUEST] Lenovo G480 (62CNxxWW) Whiteli...
Last Post: AS7Alexis
Yesterday 10:23 PM
» Replies: 61
» Views: 17734
HP EliteBook 840 g2 NVMe
Last Post: manlopsi
Yesterday 09:07 PM
» Replies: 1
» Views: 177
[REQUEST] Lenovo ThinkPad T30 (2367) Whi...
Last Post: Ibm38729
Yesterday 03:29 PM
» Replies: 0
» Views: 64
[REQUEST] HP ProBook 4535s Whitelist Rem...
Last Post: matxav
Yesterday 01:35 PM
» Replies: 5
» Views: 3447
[HELP] BIOS modding to change soldered R...
Last Post: F-18
Yesterday 12:44 PM
» Replies: 0
» Views: 93
Cannot repair or reset bios Lenovo G500 ...
Last Post: POPKAPOPI2222
Yesterday 12:26 PM
» Replies: 0
» Views: 109
[REQUEST] Unlocked ASUS H81M-E/M52AD/DP_...
Last Post: CertifiedCosmos
Yesterday 08:50 AM
» Replies: 1
» Views: 294
[REQUEST] Lenovo IdeaPad S540 (GPETxxWW)...
Last Post: loginnow
Yesterday 03:39 AM
» Replies: 46
» Views: 16133
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: Dudu2002
Yesterday 03:25 AM
» Replies: 1768
» Views: 383785
[REQUEST] Lenovo G500 (78CNxxWW) BIOS Un...
Last Post: Dudu2002
Yesterday 03:20 AM
» Replies: 280
» Views: 125309
Fujitsu Esprimo P5710 - unlock [REQUEST]
Last Post: monkeywrench
05-05-2024 12:30 PM
» Replies: 34
» Views: 774
Lenovo Z50-70: CPU update
Last Post: PedroFX
05-04-2024 07:20 PM
» Replies: 6
» Views: 236
My Gateway NV57h has an ACER in BIOS - c...
Last Post: drmrsolds
05-04-2024 05:42 PM
» Replies: 1
» Views: 2092
Z97-PRO(Wi-Fi ac)/USB 3.1
Last Post: Jedrek
05-04-2024 09:49 AM
» Replies: 4
» Views: 2317
[Request] Acer Aspire 3050 unlocked BIOS
Last Post: prowindows62
05-04-2024 07:43 AM
» Replies: 0
» Views: 165
HP H-IG41-uATX 45nm microcode update LGA...
Last Post: goldenhill
05-04-2024 04:49 AM
» Replies: 58
» Views: 57013
Asus h61m-d & xeon e3-1265l v2
Last Post: DeathBringer
05-03-2024 04:28 PM
» Replies: 3
» Views: 277

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


Forum Jump:


Users browsing this thread: 1 Guest(s)