Forum RSS Feed Follow @ Twitter Follow @ Twitter

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[REQUEST] Huawei Matebook X Pro Unlock
#1
Hi guys, for hackintosh purposes, I would be pleased to have the advanced menu of my laptop unlocked, and change my DVMT value to 96 or 128mb although I think the max might be 64mb, and the DVMT Total Gfx Mem set to max. I tried to change the values with EFI Shell but it outputs an error when I type setup_var 0xDF 0x2.(error: 0x000000000000000008)
Laptop:
HUAWEI Matebook X Pro I7 16G+512GB (Mach-W29C)
insydeh20

How should I Dump my bios? I have a .FD bios file, but I don't think that's it.
Thank you all!
find
quote
#2
(10-05-2018, 10:24 PM)ericdong886 Wrote: Hi guys, for hackintosh purposes, I would be pleased to have the advanced menu of my laptop unlocked, and change my DVMT value to 96 or 128mb although I think the max might be 64mb, and the DVMT Total Gfx Mem set to max. I tried to change the values with EFI Shell but it outputs an error when I type setup_var 0xDF 0x2.(error: 0x000000000000000008)
Laptop:
HUAWEI Matebook X Pro I7 16G+512GB (Mach-W29C)
insydeh20

How should I Dump my bios? I have a .FD bios file, but I don't think that's it.
Thank you all!
Hi
First make bios dump
Check your PM
find
quote
#3
Hi, I need the advanced menu of the Matebook X Pro bios for hackintosh reasons. 

Model: Huawei Matebook X Pro i5 8gb 256gb (MACH-W19C)
Bios: InsydeH20 Rev. 5.0
Bios image: https://consumer-tkb.huawei.com/tkbapp/d...eId=962390
Bios dump: http://www.mediafire.com/file/rx2v2jw49b...8.rom/file

Thank you in advance,
Stu
find
quote
#4
(12-29-2018, 01:14 PM)stu2014 Wrote: Hi, I need the advanced menu of the Matebook X Pro bios for hackintosh reasons. 

Model: Huawei Matebook X Pro i5 8gb 256gb (MACH-W19C)
Bios: InsydeH20 Rev. 5.0
Bios image: https://consumer-tkb.huawei.com/tkbapp/d...eId=962390
Bios dump: http://www.mediafire.com/file/rx2v2jw49b...8.rom/file

Thank you in advance,
Stu

Hello Stu2014, how did you make bios dump? I have a Matebook D also with Rev 5...full bios lockdown Sad
To make H2OFFT work, I had to change platform.ini, look for Bios_Version_Check and set Flag=0
then 
then added
[BackupROM]
Flag=1
FilePath=
FileName=

Process ran, but no bios dump was made in H2OFFT folder, so then tried
[BackupROM]
Flag=1
FilePath=c:
FileName=bios.rom

Still no dump was created.
Any suggestions? Did you use another process?

thanks,
Davee
find
quote
#5
(01-30-2019, 05:00 PM)Davee Wrote: Hello Stu2014, how did you make bios dump? I have a Matebook D also with Rev 5...full bios lockdown Sad
To make H2OFFT work, I had to change platform.ini, look for Bios_Version_Check and set Flag=0
then 
then added
[BackupROM]
Flag=1
FilePath=
FileName=

Process ran, but no bios dump was made in H2OFFT folder, so then tried
[BackupROM]
Flag=1
FilePath=c:
FileName=bios.rom

Still no dump was created.
Any suggestions? Did you use another process?

thanks,
Davee

UEFITool can open BIOS_Capsule.FD directly.
After opening BIOS_Capsule.FD in UEFITool, I found SetupUtility in it by doing Ctrl-F for "SetupUtility".
Then I did "Extract as is" to a .FFS file.
[Image: UEFITool-SetupUtility.png]
You can then use Universal IFR Extractor to parse the .FFS into a txt file like
.txt   setup IFR.txt (Size: 1.26 MB / Downloads: 0) .
I'm currently trying to follow donovan6000's guide, which says you can then use IDA Pro modify the menus, after dumping the individual volumes using PhoenixTool.
The IFR says the address for the Advanced menu is 0xA7A84. I found that in IDA Pro here:
[Image: IDA-Pro-Setup.png]
I don't understand what to do from here. By the way, this is on a 2019 MateBook X Pro (MACHR-W29) so the values you see will be different. I'm trying to slightly raise the 90°C TCC activation temperature. I also want to change the fan curve. Looks like they are using Active Trip Points in Platform Thermal Configuration to control it. Or those might be dummy settings and the actual control is in the EC.

I tried using the setup_var method to directly change the settings, but multiple settings in the Setup IFR have the same address! Can somebody explain how to deal with that?

We'll eventually need a way to flash the modified image. Is there a way to package the modified contents back into a .FD?
The official "BIOS Upgrade Guide" in the BIOS package downloaded from Huawei's support site shows using Insyde H2OFFT (Flash Firmware Tool) 5.65 to update BIOS, but that guide appears to be written for the MateBook E.

find
quote
#6
I was looking into getting the advanced options on my Matebook X Pro (2018) aswell and while I'm not experienced at all with modding BIOSes I thought I'd share my findings here.

First thing that I'm not sure about is whether the hidden form sets are invisible because all their content is greyed-out/suppressed or if there's a explicit line somewhere that sets the entire form set to hidden. Though I couldn't find anything like that so I assume it's the former..
That leads me to thinking that if just one part of Advanced Menu is unhidden, we should see the Advanced tab show up..



I found a version of H2O's EZE which warns me when opening the .bin file about it being singed and that it would need to be re-signed after making any changes. So I guess it's a signed BIOS and unless we figure out the signature and the re-sign progress we would be unable to flash the modded (unsigned) BIOS.

Also I think I saw some Intel Boot Guard stuff while looking through the BIOS.. not good for BIOS mod attempts from what I've read

Anyway, H20EZE is a GUI programm that does not only expose all the (otherwise hidden) options but also allows you to overwrite the defaults for each setting which I think could be the best/easiest way of modding the BIOS without the need of HEX and stuff.

I've uploaded H20EZE and a bunch of tools I found during my investigations here: https://drive.google.com/drive/folders/1...sp=sharing
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)
Expand chat
Expand chat
Expand chat

To join us in the community live chat, please register or log-in