12-12-2013, 11:30 PM
(12-25-2011, 04:03 PM)jkbuha Wrote: HOWTO Unlock Hidden Menus
This was a really tough nut to crack, but perseverance pays off in the end. Essentially it involves the following:
1) Dump your AdvancedSetup.efi module (IDA, objdump etc) and parse it through the IFR specification provided by UEFI
2) UEFI IFR spec says: EFI_IFR_SUPPRESS_IF_OP: UINT64 0000000000000000
3) In hex, this translates to: 0A 82 45 8A (00) 00 00 00 00 00 00 00 45 0A
3) Change opcode to UNIT64: 0000000000000001 - replace the (00) above with (01). In my case there were two identical hex strings in my file, I just had to patch the second hex string.
4) Save module, repack with PhoenixTool, and voila!
Thanks so much for this!
The information helped me tremendously in unlocking all the hidden menus in the A12 BIOS on a Dell XPS L502X. Basically the only difference was in that I had to modify the PlatformSetupAdvancedDxe.efi module instead of the AdvancedSetup.efi (plus I had three occurrences of the EFI_IFR_SUPPRESS_IF_OP operation and I replaced all of them).
I'm attaching the resulting unlocked BIOS (A12 09/07/2012) for convenience.






