03-18-2017, 04:05 AM
(This post was last modified: 03-18-2017, 06:07 PM by dr0pd34d.
Edit Reason: corrected mistake
)
Computer Model
HP ENVY 15-ae020ng
BIOS Type
InsydeH20 BIOS Rev 5.0
BIOS Version
F.16
BIOS File [F.16 Rev A]
https://de.driverscollection.com/_478042...-kostenlos
BIOS File [Newest - F.36 Rev.A]
http://ftp.hp.com/pub/softpaq/sp76501-77000/sp76913.exe
Hello Guys,
currently i am trying to get a hackintosh setup on this notebook and i would like the BIOS to do the following:
Disable the nVidia Graphics card and only use Intels internal one, but i also need to set the memory size of the intel graphics card and maybe some other options, so having the advanced menu visible to change everything would be even better.
Remove WLAN Module Whitelisting, so i can change the Module.
What i have seen so far, i could use the EFI Shell to disable the graphics card if i know the correct offset.
For this i downloaded the files above, extracted them with 7-Zip and was provided with Files that were quite an odd size.
I then executed the "InsydeFlasher.exe" and choose to copy the files elsewhere, which then ended up in the files being exactly 8192KB in size and a valid BIOS File in Phoenix Tools.
I opened it up in Phoenix Tools to get the Dump Folder, found the file called:
FE3542FE-C1D3-4EF8-657C-8048606FF670_1465.ROM
But "uefidump.pl" as a perl script only gave me an error and could not find packages inside the file.
I now believe that maybe the file is encrypted, but then it should not have been possible for Phoenix Tools to open it, right?
I then tried the older BIOS, also linked above, and flashed it via Recovery Mode to get an Downgrade.
The BIOS sadly still looks the same, since i hoped the advanced options were maybe available in the older BIOS.
It would be awesome if someone else could help me out here and tell me which tools to use, because i would like to learn from it and not only get the log out put with the specific value, Thank you.
UPDATE ----------------------------------------------------------------------------------------------------------------------
I now extracted the IFR from the ROM with the "Universal-IFR-Extractor", attached below.
But i am still not able to find the correct variables to change the graphics unit.
UPDATE 2----------------------------------------------------------------------------------------------------------------------
I finally found something!
Now i am searching for a way to disable the dedicated graphics card, maybe only switching the primary option to internal will do the trick, i will tryit out and report back.
UPDATE 3----------------------------------------------------------------------------------------------------------------------
I am stuck at changing/setting the variable in the EFI Shell.
My USB Stick boots fine into UEFI with the headline "grub 2.0" but as soon as i set the variable:
setup_var 0x186 0x0
It shows me the correct default value for that variable (0x4), but then it shows the following error:
"setting offset 0x186 to 0x00
error: can't set variable using efi (error: 0x000000000000001a)"
UPDATE 4----------------------------------------------------------------------------------------------------------------------
Using the UEFI Interactive Shell which also comes with Clover i am able to permanently write data to the variable, which is great!
I extracted the GUID and name by using lubuntu 16.10 and printed them using "efivar -l" and found the "SwitchableGraphicsVariable".
My Hackintosh Setup still does not boot, but i now have found a way to get what i want.
Even if i was talking to myself the whole time, thank you very much and hopefully this thread will also help someone else.
HP ENVY 15-ae020ng
BIOS Type
InsydeH20 BIOS Rev 5.0
BIOS Version
F.16
BIOS File [F.16 Rev A]
https://de.driverscollection.com/_478042...-kostenlos
BIOS File [Newest - F.36 Rev.A]
http://ftp.hp.com/pub/softpaq/sp76501-77000/sp76913.exe
Hello Guys,
currently i am trying to get a hackintosh setup on this notebook and i would like the BIOS to do the following:
Disable the nVidia Graphics card and only use Intels internal one, but i also need to set the memory size of the intel graphics card and maybe some other options, so having the advanced menu visible to change everything would be even better.
Remove WLAN Module Whitelisting, so i can change the Module.
What i have seen so far, i could use the EFI Shell to disable the graphics card if i know the correct offset.
For this i downloaded the files above, extracted them with 7-Zip and was provided with Files that were quite an odd size.
I then executed the "InsydeFlasher.exe" and choose to copy the files elsewhere, which then ended up in the files being exactly 8192KB in size and a valid BIOS File in Phoenix Tools.
I opened it up in Phoenix Tools to get the Dump Folder, found the file called:
FE3542FE-C1D3-4EF8-657C-8048606FF670_1465.ROM
But "uefidump.pl" as a perl script only gave me an error and could not find packages inside the file.
I now believe that maybe the file is encrypted, but then it should not have been possible for Phoenix Tools to open it, right?
I then tried the older BIOS, also linked above, and flashed it via Recovery Mode to get an Downgrade.
The BIOS sadly still looks the same, since i hoped the advanced options were maybe available in the older BIOS.
It would be awesome if someone else could help me out here and tell me which tools to use, because i would like to learn from it and not only get the log out put with the specific value, Thank you.
UPDATE ----------------------------------------------------------------------------------------------------------------------
I now extracted the IFR from the ROM with the "Universal-IFR-Extractor", attached below.
But i am still not able to find the correct variables to change the graphics unit.
UPDATE 2----------------------------------------------------------------------------------------------------------------------
I finally found something!
Code:
Suppress If: {0A 82}
0x73F45 Variable 0x2B2 equals 0x1 {12 06 B2 02 01 00}
0x73F4B Grayout If: {19 82}
0x73F4D Variable 0x297 equals 0x2 {12 86 97 02 02 00}
0x73F53 Variable 0x296 equals 0x1 {12 06 96 02 01 00}
0x73F59 And {15 02}
0x73F5B End {29 02}
0x73F5D Setting: Primary Display , Variable: 0x186 {05 91 F0 02 F1 02 03 0A 34 12 86 01 04 10 00 04 00}
0x73F6E Option: Auto, Value: 0x3 {09 07 0E 01 00 00 03}
0x73F75 Option: IGFX, Value: 0x0 {09 07 F2 02 00 00 00}
0x73F7C Option: PEG, Value: 0x1 {09 07 F3 02 00 00 01}
0x73F83 Option: PCI, Value: 0x2 {09 07 F4 02 00 00 02}
0x73F8A Option: SG, Value: 0x4 (default) {09 07 FE 02 10 00 04}
0x73F91 End of Options {29 02}
0x73F93 End If {29 02}
0x73F95 End If {29 02}
Code:
Grayout If: {19 82}
0x7420C Variable 0x297 equals 0x2 {12 86 97 02 02 00}
0x74212 Variable 0x296 equals 0x1 {12 06 96 02 01 00}
0x74218 And {15 02}
0x7421A End {29 02}
0x7421C Setting: IGD - DVMT Pre-Allocated, Variable: 0x18C {05 91 EC 02 ED 02 00 0A 34 12 8C 01 04 10 00 3F 00}
0x7422D Option: 0 MB, Value: 0x0 {09 07 19 02 00 00 00}
0x74234 Option: 32 MB, Value: 0x1 (default) {09 07 1E 02 10 00 01}
0x7423B Option: 64 MB, Value: 0x2 {09 07 1F 02 00 00 02}
0x74242 Option: 96 MB, Value: 0x3 {09 07 22 02 00 00 03}
0x74249 Option: 128 MB, Value: 0x4 {09 07 20 02 00 00 04}
0x74250 Option: 160 MB, Value: 0x5 {09 07 23 02 00 00 05}
0x74257 Option: 192 MB, Value: 0x6 {09 07 26 02 00 00 06}
0x7425E Option: 224 MB, Value: 0x7 {09 07 24 02 00 00 07}
0x74265 Option: 256 MB, Value: 0x8 {09 07 21 02 00 00 08}
0x7426C Option: 288 MB, Value: 0x9 {09 07 27 02 00 00 09}
0x74273 Option: 320 MB, Value: 0xA {09 07 28 02 00 00 0A}
0x7427A Option: 352 MB, Value: 0xB {09 07 25 02 00 00 0B}
0x74281 Option: 384 MB, Value: 0xC {09 07 29 02 00 00 0C}
0x74288 Option: 416 MB, Value: 0xD {09 07 2A 02 00 00 0D}
0x7428F Option: 448 MB, Value: 0xE {09 07 2B 02 00 00 0E}
0x74296 Option: 480 MB, Value: 0xF {09 07 2C 02 00 00 0F}
0x7429D Option: 512 MB, Value: 0x10 {09 07 2D 02 00 00 10}
0x742A4 Option: 1024 MB, Value: 0x20 {09 07 2E 02 00 00 20}
0x742AB Option: 1536 MB, Value: 0x30 {09 07 2F 02 00 00 30}
0x742B2 Option: 2016 MB, Value: 0x3F {09 07 30 02 00 00 3F}
0x742B9 End of Options {29 02}
0x742BB End If {29 02}
0x742BD Grayout If: {19 82}
0x742BF Variable 0x297 equals 0x2 {12 86 97 02 02 00}
0x742C5 Variable 0x296 equals 0x1 {12 06 96 02 01 00}
0x742CB And {15 02}
0x742CD End {29 02}
0x742CF Setting: IGD - DVMT Size, Variable: 0x18D {05 91 EE 02 EF 02 B8 00 34 12 8D 01 00 10 01 FF 00}
0x742E0 Option: 128 MB, Value: 0x1 {09 07 20 02 00 00 01}
0x742E7 Option: 256 MB, Value: 0x2 {09 07 21 02 00 00 02}
0x742EE Option: MAX, Value: 0xFF (default) {09 07 18 02 10 00 FF}
0x742F5 End of Options {29 02}
0x742F7 End If {29 02}
Now i am searching for a way to disable the dedicated graphics card, maybe only switching the primary option to internal will do the trick, i will tryit out and report back.
UPDATE 3----------------------------------------------------------------------------------------------------------------------
I am stuck at changing/setting the variable in the EFI Shell.
My USB Stick boots fine into UEFI with the headline "grub 2.0" but as soon as i set the variable:
setup_var 0x186 0x0
It shows me the correct default value for that variable (0x4), but then it shows the following error:
"setting offset 0x186 to 0x00
error: can't set variable using efi (error: 0x000000000000001a)"
UPDATE 4----------------------------------------------------------------------------------------------------------------------
Using the UEFI Interactive Shell which also comes with Clover i am able to permanently write data to the variable, which is great!
I extracted the GUID and name by using lubuntu 16.10 and printed them using "efivar -l" and found the "SwitchableGraphicsVariable".
My Hackintosh Setup still does not boot, but i now have found a way to get what i want.
Even if i was talking to myself the whole time, thank you very much and hopefully this thread will also help someone else.