- Joined
- Feb 1, 2016
- Messages
- 29
- Motherboard
- GA-Z270N-Gaming5
- CPU
- I7 6700k
- Graphics
- Zotac GTX 1070
- Mac
- Mobile Phone
Hello, I still cannot figure this out, are we doing this on Windows or mac? AndUpdate! I've managed to set the DVMT-prealloc in our laptop and successfully boot into Sierra without the MinStolenSize Patch. All Credits go to @cappicard who figured it out. Here are the steps:
Use the following at your own risk. I assume no responsibility. This is for information only.
I extracted the BIOS using the Universal BIOS Backup Toolkit (https://forums.lenovo.com/t5/Lenovo...niversal-BIOS-Backup-ToolKit-2-0/td-p/1205920).
https://github.com/LongSoft/UEFITool/releases. I used UEFI Tool NE. I looked for the entry that's labelled Setup (In my case, it's the GUID of 899407D7-99FE-43D8-9A21-79EC328CAC51 and toward the bottom of the tree). I expanded that. Right-clicked on PE32, and hit Extract Body. That gave me an EFI file.
I then used Universal IFR Extractor (http://donovan6000.blogspot.ca/2014/02/universal-ifr-extractor.html) to convert said EFI file into a text file.
That text file should now have the DVMT values. Just do a text search for "DVMT".
For example:
0x3849A Setting: DVMT Pre-Allocated, Variable: 0x426 {05 91 E3 06 06 07 70 27 01 00 26 04 10 10 01 FE 00}
0x384AB Option: 32M, Value: 0x1 {09 07 E4 06 30 00 01}
0x384B2 Option: 64M, Value: 0x2 {09 07 E5 06 00 00 02}
0x384B9 Option: 96M, Value: 0x3 {09 07 E6 06 00 00 03}
0x384C0 Option: 128M, Value: 0x4 {09 07 E7 06 00 00 04}
The EFI variable is 0x426, and the values are those in blue.
Then, finally you can then boot with EFI Shell (https://www.firewolf.science/wp-content/uploads/2015/04/EFI-shell.zip). Just stick it onto a FAT32 formatted USB stick. In my case, I added a Boot Option via the BIOS to boot to the included bootx64.efi file.
Upon booting to the USB stick, just type in: setup_var 0x426 0x3 (to set DVMT Preallocated to 96MB).
And voila. (Hope it works for you as well. Cheers!)
"I looked for the entry that's labelled Setup", what is this ? I open the file, it shows"UEFI image".