[HELP REQUEST] - Modding Huawei Matebook 2017 BIOS

@Lost_N_BIOS Hi,
after bricking the Magicbook i’ve bought another Huawei but this time is a Matebook (bigger display) 2017 version (older than the other one). I think this time i’m going to be more lucky because the bios is on a 3.3V Winbond chip (or at least that’s what i think).

http://s000.tinyupload.com/?file_id=02955334577272961789

In the zip you will find two bios files.
One is dumped using CH341A tool and the other is dumped using the fptw -d command. The files are identical (hex compared) so i guess i’ve dumped the content from the right motherboard chip.
If i’m right could you please mod it for DVMT (64mb or 96MB or 128MB … the bigger you can) and the 0x2e thing or unlock what you think can be unlocked so i can modify things by myself ?
This laptop cpu cooler fans start to early (at least for my taste) do you think is possible to mod the fan behavior in the bios ?
Thanks again for all the support.

Let me know what you think.

Mattia

@tmbt - I just replied on your other thread for the smaller model, hopefully your friend does the surgery carefully!

MSR 0x2E is for MAC/OSX = CFG Lock, do you need that unlocked/disabled, or did you mean something else here (maybe BIOS Lock, so you can FPT flash easier)?
If you meant BIOS lock, your variable this time for that is >> 0x17 (Hmm, same as before, maybe same BIOS!? Compare with stock via hex, I don’t have stock one)

On the DVMT, did we try before to make this visible to you or not? If not, we can try now if you want

GTT Size, VarStoreInfo (VarOffset/VarName): 0x41, VarStore: 0x2, QuestionId: 0x1AA, Size: 1, Min: 0x1, Max 0x3, Step: 0x0 {05 91 C3 11 C4 11 AA 01 02 00 41 00 10 10 01 03 00}
0x8F31C One Of Option: 2MB, Value (8 bit): 0x1 {09 07 C5 11 00 00 01}
0x8F323 One Of Option: 4MB, Value (8 bit): 0x2 {09 07 C6 11 00 00 02}
0x8F32A One Of Option: 8MB, Value (8 bit): 0x3 (default) {09 07 C7 11 30 00 03} << Already max
0x8F331 End One Of {29 02}
0x8F333 One Of: Aperture Size, VarStoreInfo (VarOffset/VarName): 0x42, VarStore: 0x2, QuestionId: 0xA04, Size: 1, Min: 0x0, Max 0xF, Step: 0x0 {05 91 C8 11 C9 11 04 0A 02 00 42 00 10 10 00 0F 00}
0x8F344 One Of Option: 128MB, Value (8 bit): 0x0 {09 07 CA 11 00 00 00}
0x8F34B One Of Option: 256MB, Value (8 bit): 0x1 (default) {09 07 CB 11 30 00 01} << Do you want this one set to 2048MB?
0x8F352 One Of Option: 512MB, Value (8 bit): 0x3 {09 07 CC 11 00 00 03}
0x8F359 One Of Option: 1024MB, Value (8 bit): 0x7 {09 07 CD 11 00 00 07}
0x8F360 One Of Option: 2048MB, Value (8 bit): 0xF {09 07 CE 11 00 00 0F}
0x8F367 End One Of {29 02}
0x8F369 Suppress If {0A 82}
0x8F36B QuestionId: 0xAFE equals value 0x20 {12 06 FE 0A 20 00}
0x8F371 One Of: DVMT Pre-Allocated, VarStoreInfo (VarOffset/VarName): 0xDF, VarStore: 0x2, QuestionId: 0x1AB, Size: 1, Min: 0x0, Max 0xFE, Step: 0x0 {05 91 11 11 24 11 AB 01 02 00 DF 00 10 10 00 FE 00}
0x8F382 Default: DefaultId: 0x0, Value (Other) {5B 85 00 00 08}
0x8F387 Value {5A 82}
0x8F389 QuestionId: 0xAFE equals value in list (0x73, 0x74) {14 8A FE 0A 02 00 73 00 74 00}
0x8F393 64 Bit Unsigned Int: 0x1 {45 0A 01 00 00 00 00 00 00 00}
0x8F39D 64 Bit Unsigned Int: 0x2 {45 0A 02 00 00 00 00 00 00 00}
0x8F3A7 Conditional {50 02}
0x8F3A9 End {29 02}
0x8F3AB End {29 02}
0x8F3AD End {29 02}
0x8F3AF One Of Option: 0M, Value (8 bit): 0x0 {09 07 12 11 00 00 00}
0x8F3B6 One Of Option: 32M, Value (8 bit): 0x1 (default) {09 07 13 11 30 00 01}
0x8F3BD One Of Option: 64M, Value (8 bit): 0x2 {09 07 14 11 00 00 02} << I assume you want this one
0x8F3C4 One Of Option: 4M, Value (8 bit): 0xF0 {09 07 15 11 00 00 F0}
0x8F3CB One Of Option: 8M, Value (8 bit): 0xF1 {09 07 16 11 00 00 F1}
0x8F3D2 One Of Option: 12M, Value (8 bit): 0xF2 {09 07 17 11 00 00 F2}
0x8F3D9 One Of Option: 16M, Value (8 bit): 0xF3 {09 07 18 11 00 00 F3}
0x8F3E0 One Of Option: 20M, Value (8 bit): 0xF4 {09 07 19 11 00 00 F4}
0x8F3E7 One Of Option: 24M, Value (8 bit): 0xF5 {09 07 1A 11 00 00 F5}
0x8F3EE One Of Option: 28M, Value (8 bit): 0xF6 {09 07 1B 11 00 00 F6}
0x8F3F5 One Of Option: 32M/F7, Value (8 bit): 0xF7 {09 07 1C 11 00 00 F7}
0x8F3FC One Of Option: 36M, Value (8 bit): 0xF8 {09 07 1D 11 00 00 F8}
0x8F403 One Of Option: 40M, Value (8 bit): 0xF9 {09 07 1E 11 00 00 F9}
0x8F40A One Of Option: 44M, Value (8 bit): 0xFA {09 07 1F 11 00 00 FA}
0x8F411 One Of Option: 48M, Value (8 bit): 0xFB {09 07 20 11 00 00 FB}
0x8F418 One Of Option: 52M, Value (8 bit): 0xFC {09 07 21 11 00 00 FC}
0x8F41F One Of Option: 56M, Value (8 bit): 0xFD {09 07 22 11 00 00 FD}
0x8F426 One Of Option: 60M, Value (8 bit): 0xFE {09 07 23 11 00 00 FE}
0x8F42D End One Of {29 02}
0x8F42F End If {29 02}
0x8F431 One Of: DVMT Total Gfx Mem, VarStoreInfo (VarOffset/VarName): 0xE0, VarStore: 0x2, QuestionId: 0x1AC, Size: 1, Min: 0x1, Max 0x3, Step: 0x0 {05 91 25 11 26 11 AC 01 02 00 E0 00 10 10 01 03 00}
0x8F442 One Of Option: 256M, Value (8 bit): 0x2 (default) {09 07 28 11 30 00 02} << Leave this on 256M, or set MAX?
0x8F449 One Of Option: 128M, Value (8 bit): 0x1 {09 07 27 11 00 00 01}
0x8F450 One Of Option: MAX, Value (8 bit): 0x3 {09 07 29 11 00 00 03}
0x8F457 End One Of {29 02}

@Lost_N_BIOS Hi mate,
fast answers because i’m out of time …
MSR 0x2E unlocked … MSR shoud be some cpu settings to unlock native power management on mac : https://pikeralpha.wordpress.com/2016/07…comment-page-2/

About DVMT
Aperture Size : 1024MB
DVMT Pre allocated : 64MB
DVMT Total : 256MB

Thanks
Mattia

Yes, I know what MSR 0x2E does, I was asking to be sure if that was what you needed done or not. So still same to clarify, is that what you needed, or not?

Rest, I gotcha and will do, but out of time tonight will have to do tomorrow

@Lost_N_BIOS thank you ! I will patiently waiting

Mattia

You’re welcome! You still did not clarify for me, do you want CFG Lock disabled (MSR 0x2E mod), or did you mean some other MSR thing?

@Lost_N_BIOS Yes i need CFG Lock disable.

Thanks
Mattia

Hi @Lost_N_BIOS just a quick update about the bios… i was able to unlock it and patching it as i wanted using H2OUVE so i was finally able to remove the DVMT patches for MacOS and now everything is working as i want to.
There is a little question i would like an opinion… the fans of this laptop are too noise when they start … it’s like they are off and then on at full speed … i would like to tweak the fan table … is this table inside the bios ? if yes … can this be tweaked ?

EDIT : I’m attaching to this post the variables list obtained from H2OUVE utility. What i’m trying to achive are two things :
1) Modify the temperature when fans start full speed (increase it to around 55-60°)
2) Undervolt the cpu core voltage. The max undervolt for this laptop to works ok is -100mv …

Could you please help me ?

Thanks
Mattia

@Lost_N_BIOS Sorry… forgot the attachment :
http://s000.tinyupload.com/?file_id=04298950663153244957