[HELP REQUEST] - Modding Huawei MagicBook BIOS

@Lost_N_BIOS Ok seems like i’ve bricked my laptop .I’ve found on a chinese site some script to unlock the bios and modify DVMT to 64MB. I saw the scripts were using H2OUVE (same version we tried at the beginning of this thread) and also they were doing some offset check before modifying to see if the bios version matched so i’ve used them but now i’ve black screen at boot and the laptop switch off itself after some keyboard flash.
Here is what the scripts did :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
 

[001] "PchSetup"
GUID: 4570B7F1-ADE8-4943-8DC3-406472842384
Attributes: 0x7
DataSize: 0x661
Data:
00000000: 09 00 14 59 00 01 00 00 00 00 00 00 01 01 01 00
00000010: 00 01 00 01 00 00 01 00 01 01 00 01 00 01 FF 01
00000020: 00 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01
00000030: 01 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01
00000040: 00 01 00 00 01 01 01 01 01 01 01 00 00 00 00 00
00000050: 00 00 00 00 01 00 01 01 01 01 01 00 00 00 00 00
00000060: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00
00000070: 00 00 00 03 02 00 00 00 04 00 00 01 01 01 01 01
00000080: 01 01 01 01 01 00 00 00 01 00 00 00 00 00 00 00
00000090: 00 00 00 00 00 00 00 00 00 00 71 02 71 02 00 00
000000A0: 71 02 71 02 71 02 71 02 71 02 0F 0F 0F 0F 0F 0F
000000B0: 0F 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 01
000000C0: 01 01 01 01 01 01 01 01 00 00 00 00 00 00 00 00
000000D0: 00 00 00 00 00 00 00 00 04 04 04 04 04 04 04 04
000000E0: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 00
000000F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001C0: 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01 01
000001D0: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 00
000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001F0: 00 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01
00000200: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 00
00000210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03
00000240: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03
00000250: 03 03 03 03 03 03 03 01 01 01 01 01 01 01 01 01
00000260: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 02
00000270: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000280: 02 02 02 02 02 02 02 05 05 05 05 05 05 05 05 05
00000290: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 07
000002A0: 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07
000002B0: 07 07 07 07 07 07 07 06 06 06 06 06 06 06 06 06
000002C0: 06 06 06 06 06 06 06 06 06 06 06 00 00 00 00 02
000002D0: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
000002E0: 02 02 02 00 00 00 00 00 00 01 01 00 00 00 00 04
000002F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000300: 00 06 04 08 02 0A 02 02 02 02 02 01 01 01 01 01
00000310: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
00000320: 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00
00000330: 00 00 00 00 00 00 00 00 00 00 00 02 02 02 02 02
00000340: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000350: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000360: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000370: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000380: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000390: 02 02 02 02 02 02 02 02 02 02 02 3C 00 3C 00 3C
000003A0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C
000003B0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C
000003C0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C
000003D0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C
000003E0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C
000003F0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 00 00 00 00 00
00000400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000440: 00 00 00 01 00 00 00 00 00 00 07 07 00 00 00 00
00000450: 00 00 00 00 00 00 00 00 00 00 00 00 0A 00 0A 00
00000460: 0A 00 0A 00 0A 00 0A 00 11 00 11 00 0A 00 0A 00
00000470: 0A 00 0A 00 0A 00 0A 00 0A 00 0A 00 0A 00 0A 00
00000480: 0A 00 0A 00 0A 00 0A 00 0A 00 0A 00 04 04 04 04
00000490: 04 04 10 08 04 04 04 04 04 04 04 04 04 04 04 04
000004A0: 04 04 04 04 01 00 00 00 00 00 00 02 04 00 00 00
000004B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
000004C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000004D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000004E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000004F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000510: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000520: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000530: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000540: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000560: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000570: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000590: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000005A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000005B0: 00 00 00 00 00 00 00 00 00 00 01 01 00 00 01 01
000005C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000005D0: 00 00 00 00 01 01 00 00 00 00 00 00 01 00 00 01
000005E0: 0E 00 00 00 00 00 00 01 01 00 00 01 00 01 01 01
000005F0: 00 01 01 01 00 00 00 00 00 00 00 00 00 01 00 00
00000600: 00 00 00 01 01 02 03 00 00 00 01 02 03 00 00 00
00000610: 01 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00
00000620: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000640: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000650: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000660: 01
 
 


to
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
 

 
[001] "PchSetup"
GUID: 4570B7F1-ADE8-4943-8DC3-406472842384
Attributes: 0x7
DataSize: 0x661
Data:
00000000: 09 00 14 59 00 01 00 00 00 00 00 00 01 01 01 00
00000010: 00 01 00 01 00 00 01 00 01 01 00 01 00 01 FF 01
00000020: 00 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01
00000030: 01 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01
00000040: 00 01 00 00 01 01 01 01 01 01 01 00 00 00 00 00
00000050: 00 00 00 00 01 00 01 01 01 01 01 00 00 00 00 00
00000060: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00
00000070: 00 00 00 03 02 00 00 00 04 00 00 01 01 01 01 01
00000080: 01 01 01 01 01 00 00 00 01 00 00 00 00 00 00 00
00000090: 00 00 00 00 00 00 00 00 00 00 71 02 71 02 00 00
000000A0: 71 02 71 02 71 02 71 02 71 02 0F 0F 0F 0F 0F 0F
000000B0: 0F 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 01
000000C0: 01 01 01 01 01 01 01 01 00 00 00 00 00 00 00 00
000000D0: 00 00 00 00 00 00 00 00 04 04 04 04 04 04 04 04
000000E0: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 00
000000F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001C0: 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01 01
000001D0: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 00
000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001F0: 00 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01
00000200: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 00
00000210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03
00000240: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03
00000250: 03 03 03 03 03 03 03 01 01 01 01 01 01 01 01 01
00000260: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 02
00000270: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000280: 02 02 02 02 02 02 02 05 05 05 05 05 05 05 05 05
00000290: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 07
000002A0: 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07
000002B0: 07 07 07 07 07 07 07 06 06 06 06 06 06 06 06 06
000002C0: 06 06 06 06 06 06 06 06 06 06 06 00 00 00 00 02
000002D0: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
000002E0: 02 02 02 00 00 00 00 00 00 01 01 00 00 00 00 04
000002F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000300: 00 06 04 08 02 0A 02 02 02 02 02 01 01 01 01 01
00000310: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
00000320: 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00
00000330: 00 00 00 00 00 00 00 00 00 00 00 02 02 02 02 02
00000340: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000350: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000360: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000370: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000380: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
00000390: 02 02 02 02 02 02 02 02 02 02 02 3C 00 3C 00 3C
000003A0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C
000003B0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C
000003C0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C
000003D0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C
000003E0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C
000003F0: 00 3C 00 3C 00 3C 00 3C 00 3C 00 00 00 00 00 00
00000400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000440: 00 00 00 01 00 00 00 00 00 00 07 07 00 00 00 00
00000450: 00 00 00 00 00 00 00 00 00 00 00 00 0A 00 0A 00
00000460: 0A 00 0A 00 0A 00 0A 00 11 00 11 00 0A 00 0A 00
00000470: 0A 00 0A 00 0A 00 0A 00 0A 00 0A 00 0A 00 0A 00
00000480: 0A 00 0A 00 0A 00 0A 00 0A 00 0A 00 04 04 04 04
00000490: 04 04 10 08 04 04 04 04 04 04 04 04 04 04 04 04
000004A0: 04 04 04 04 01 00 00 00 00 00 00 02 04 00 00 00
000004B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
000004C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000004D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000004E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000004F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000510: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000520: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000530: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000540: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000560: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000570: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000590: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000005A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000005B0: 00 00 00 00 00 00 00 00 00 00 01 01 00 00 01 01
000005C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000005D0: 00 00 00 00 01 01 00 00 00 00 00 00 01 00 00 01
000005E0: 0E 00 00 00 00 00 00 01 01 00 00 01 00 01 01 01
000005F0: 00 01 01 01 00 00 00 00 00 00 00 00 00 01 00 00
00000600: 00 00 00 01 01 02 03 00 00 00 01 02 03 00 00 00
00000610: 01 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00
00000620: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000640: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000650: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000660: 01
 

 
 


after the reboot the computer was still working so i used a script to change DVMT but this fucked up the laptop
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 

[001] "SaSetup"
GUID: 72C5E28C-7783-43A1-8767-FAD73FCCAFA4
Attributes: 0x7
DataSize: 0x1EA
Data:
00000000: 07 00 00 00 00 00 00 00 00 01 02 02 00 01 00 00
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000030: 00 17 59 00 00 00 00 01 02 00 00 00 00 00 01 03
00000040: 00 03 01 01 01 01 01 FF 01 FF 00 00 00 00 00 04
00000050: 04 04 03 03 03 02 02 02 00 00 00 00 00 00 01 01
00000060: 01 00 00 00 00 00 00 00 02 02 02 01 01 01 FF FF
00000070: FF 01 01 01 01 01 01 01 07 07 07 07 07 07 07 07
00000080: 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07
00000090: 07 07 07 07 07 07 07 07 02 02 02 02 02 02 02 02
000000A0: 02 02 02 02 02 02 02 02 00 00 00 00 00 00 00 00
000000B0: 00 B8 0B 00 00 01 02 00 00 02 10 27 02 00 02 00
000000C0: 00 00 00 00 00 4B 4B 4B 01 00 02 00 03 00 00 00
000000D0: 00 0A 00 0A 00 0A 00 04 04 04 00 1A 00 0B 00 01
000000E0: 02 00 00 01 00 01 01 02 00 00 00 01 00 00 01 02
000000F0: 00 01 04 04 04 04 07 07 07 07 02 02 02 02 03 03
00000100: 02 00 01 01 04 02 2C 01 64 00 02 1F 00 01 00 00
00000110: 00 00 00 01 01 00 00 02 01 20 03 00 00 18 01 07
00000120: 00 01 00 01 01 00 01 00 00 04 0C 00 00 00 00 00
00000130: 01 01 01 01 01 01 01 01 01 01 01 01 00 01 01 01
00000140: 01 01 01 01 01 01 01 01 01 00 00 01 01 01 00 01
00000150: 01 01 00 00 00 01 01 00 01 01 00 04 00 00 00 01
00000160: 0A 00 DE 00 00 00 00 00 00 FF FF FF FF FF FF FF
00000170: FF FF FF FF FF FF FF FF FF 0A 0A 06 06 AC AC D4
00000180: D4 DD DD 0A 0A 06 06 AC AC D4 D4 DD DD 01 00 02
00000190: 00 30 01 40 00 00 00 00 00 01 00 00 00 01 00 01
000001A0: 00 0B 00 01 00 00 01 00 00 00 00 00 00 00 00 00
000001B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001D0: 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00
000001E0: 00 00 00 00 00 00 00 00 00 01
 
 

to
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 

[001] "SaSetup"
GUID: 72C5E28C-7783-43A1-8767-FAD73FCCAFA4
Attributes: 0x7
DataSize: 0x1D9
Data:
00000000: 05 00 00 00 00 00 00 00 00 01 02 02 00 01 00 00
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000030: 00 17 59 00 00 00 00 01 02 00 00 00 00 00 01 03
00000040: 00 03 01 01 01 00 01 FF 01 FF 00 00 00 00 00 04
00000050: 04 04 03 03 03 02 02 02 00 00 00 00 00 00 01 01
00000060: 01 00 00 00 00 00 00 00 02 02 02 01 01 01 FF FF
00000070: FF 01 01 01 01 01 01 01 07 07 07 07 07 07 07 07
00000080: 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07
00000090: 07 07 07 07 07 07 07 07 02 02 02 02 02 02 02 02
000000A0: 02 02 02 02 02 02 02 02 00 00 00 00 00 00 00 00
000000B0: 00 B8 0B 00 00 01 02 00 00 02 10 27 02 00 02 00
000000C0: 00 00 00 00 00 4B 4B 4B 01 00 02 00 03 00 00 00
000000D0: 00 0A 00 0A 00 0A 00 04 04 04 00 1A 00 0B 00 03
000000E0: 02 00 00 01 00 01 01 02 00 00 00 01 00 00 01 02
000000F0: 00 01 04 04 04 04 07 07 07 07 02 02 02 02 03 03
00000100: 02 00 01 01 04 02 2C 01 64 00 02 1F 00 01 00 00
00000110: 00 00 00 01 01 00 00 02 01 20 03 00 00 18 01 07
00000120: 00 01 00 01 01 00 01 00 00 04 0C 00 03 00 00 00
00000130: 01 01 01 01 01 01 01 01 01 01 01 01 00 01 01 01
00000140: 01 01 01 01 01 01 01 01 01 00 00 01 01 01 00 01
00000150: 01 01 00 00 00 01 01 00 01 01 00 04 00 00 00 01
00000160: 0A 00 DE 00 00 00 00 00 00 FF FF FF FF FF FF FF
00000170: FF FF FF FF FF FF FF FF FF 0A 0A 06 06 AC AC D4
00000180: D4 DD DD 0A 0A 06 06 AC AC D4 D4 DD DD 01 00 02
00000190: 00 30 01 40 00 00 00 00 00 01 00 00 00 01 00 01
000001A0: 00 0B 00 01 00 00 01 00 00 00 00 00 00 00 00 00
000001B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001D0: 00 00 00 00 00 00 00 01 00
 

 
 

Here something went wrong because if you see the patched text too many bytes are changed.
After that at the reboot i've a black screen.
The only positive thing is that i've a bios backup i've done first thing before doing anything else using ftpw -d backup.bin . Using that i can confirm that the chip who has the bios is the w25q64fw because during the dump ftpw reported that chip has the bios flash chip.

What can i do now ?

I was not too worry about the script because i thought we reached the conclusion that using H2OUVE was useless but apparently the first script worked to unlock the bios because the second script was able to write where i wasn't able before.
None of this is your fault obviosly but i would be really happy if you could help me solving this (if you think it's possible).
Here is the dumped bios just in case :
http://s000.tinyupload.com/?file_id=42731934368767517177
Mattia

Sorry, I was not able to find schematic, only thing you can try is email Huawei and ask for schematic and how to program SPI via KB ribbon or other method.
That’s what I linked on that other thread, some systems there is a method to write to BIOS through the keyboard ribbon cable, like SPI header pins on a motherboard. This method or similar probably on your system, since main BIOS chip is SMD (Surface mounted) instead of SOIC type chip like the little one.
And yes, sorry, you’d have to be really good at soldering to do what I was referring too. You’d have to solder 8 wires to the very end of the traces coming out from under that chip, then solder pins to those wires and insert to the programmer.
Or remove that chip with hot air and replace it with a regular BIOS chip instead, pads should be same/similar length there to allow either

Not sure what you were doing up there with the scripts? Did you at least translate it all and make sure it was for your model? You mean too few bytes there at the end, if before first and after later. You didn’t notice the bytes missing before flashing?
Since it’s bricked, nothing I can do looking into any of that would help anyway. Sorry to see this happened to your system!

What is this dumped BIOS at very end? Did you get the clip connected? If you can get the schematic for the board I’m sure you can program it via ribbon cable as I mentioned, hopefully Huawei will be nice and send you this info!

The dumped bios was taken before beginning the script procedure so it’s the original untocuhed bios. If i ever will be able to remove the chip can i program it using that dump?

About the replace of that chip … suppose i will bring the motherboard in a laboratory i know and make it remove … with what kind of chip should i replace it ? Same W25Q64FW but SOIC8 instead of SMD ? Does it exist in that version?

Thanks
Mattia

P.S. I noticed there is a thing called mini grabber smd … basically it’s a mini clamp to grab a single pin of the chip ( I would need 8 of them) . Do you think they could solve my problem?

https://rover.ebay.com/rover/0/0/0?mpre=…%2F122650848121

Yes, you can use that to insert into a full dumped BIOS and then reprogram (Since the dump is BIOS region only, unless you dumped entire BIOS)

Yes, replace with W25Q64FW or W25Q64BV, and yes they come in standard SOIC8 (this is the normal package), you can get on ebay for only few $$, https://www.ebay.com/itm/123223245280
I believe it will fit there, since the trace landing pads are usually sized so various chip mounts can be placed in same location, but you can’t be 100% sure until it’s removed.
Anyone that knows how to remove chips via hot air and does BIOS rework, or motherboard rework, likely has this flash roms already in stock (I have a pile of all kinds and I only repair boards at home)

Those grabbers you linked, you can try to see if they can grab anything, but if it’s actually SMD chip there is nothing to grab it’s just ball soldered underneath the chip (Like memory stick chips, look at those and see if you think this is same)
From what I can see there is no pins there, only flat chip and it’s soldered underneath (SMD), what you see coming out of the sides is the landing pads on the board where actual SOIC8 type chip legs would go.
Look with a magnifying glass and see if you see legs on the side, or only the slick silver pads on the board and all connections are underneath the chip like a regular stick of memory

@Lost_N_BIOS Thanks for all the info. On monday i will decide how to procede. What is not clear to me is why calling the product mini grabber SMD if they are not SMD compatible …

I wrote you a PM.

Thanks
Mattia

@tmbt - Chinese listing is why, to get more views/possible customers etc. There’s usually nothing to grab usually, definitely not on this chip.
But yes, in general some SMD/SMT stuff you can get a leg if you’re lucky, like a through hole capacitor is also technically surface mounted, and you can grab it’s leg, and regular BIOS chip (SOIC) is surface mounted too and you can grab, but not this type of SMD Package you’re BIOS is using.

Did you look up close at the chip, no legs there just appears to be floating/soldered to the board, like memory sticks look without heatsink on them. Of course you can see the landing pads there, which you can solder to, but with no legs you can’t grab them.
I believe this is flip chip type, kind of like BGA (NB/SB/PCH, DRAM etc), but again I can’t see it perfectly from all angles and up close to be 100% sure, only you can do that.
It’s kind of like QFP package, QFN8, but less leads (only 8) Actual name of the package type is WSON. Here is some image examples, so you can see what it looks like underneath (See also W25Q64 PDF figure 3.2 page 6)

WSON.png

WSON-1.png

WSON-2.png



They make adapters for this for only $1 on ebay (QFN8 to DIP8), that would work in your programmer, but you have to have rework station and soldering/hot air skills

Here, this user was able to modify his clip and made it work! On the first reply, expand the hidden comment (I used tweezers to bend the tips of my SOIC clip’s pins in-ward)
https://www.reddit.com/r/Dell/comments/a…disable_ime_or/

Thank you for the link I will certainly give it a try.
The bios image I dumped before starting the procedure who bricked my laptop Is 8mb . Is this the right bios size? (It should be because the chip is 8mb correct?)

Mattia

@tmbt - possibly correct BIOS, but size is not what decides this, you can dump empty 8MB file, or partial BIOS that’s 8MB file still. Which BIOS do you mean, if it’s linked here what post #, I will check and let you know if it’s complete BIOS or not.
I think you can get lip to work how they mentioned, with needle, pulling the pins inside the clamp out some so they bend inwards and grab like a curved claw instead of flat fingers.

Yes the bios is at the end of post #41.

Thanks
Mattia

@tmbt - looks complete and OK to me What did you back it up with?

The usual command : fptw -d backup.bin


We already did that some days ago and you also modified that bios for me but i wasn’t able to flash the modified bios due to a write protection error.
Without rush could you please modify my last bios backup to have dvmt at 64mb and 0x02e disable in the cpu properties so when i will have my laptop back i can try to flash the modded bios using the programmer ?
Yesterday i spoke to a friend who work in an electronic lab and will do the chip replace job for me so he will be able to remove the old DSM chip and install a standard soic8 chip (already ordered on ebay). Is this ok ? : https://www.ebay.it/itm/1-Unidad4-W25Q64…CYAAOSwuTtZ3Oif

Thanks
Mattia

@tmbt - You want W25Q64FV, the chip you linked W25Q64FW is a 1.6-1.8V chip, special adapters are needed for 1.8V chips, better to get 3.3V one. Also, generally it’s cheaper to get 3pcs or 5pcs
BIOS coming shortly, doing it now

* Edit - @tmbt - here is new mod - http://s000.tinyupload.com/index.php?fil…701044934319712
FD Unlocked
BIOS Lock >> Disabled
CFG Lock >> Disabled + MSR 0xE2 Patched out (NOP) in SiInit PE32 PEI Module
DVMT >> Set 64MB Default

Great thank you! About the chip… I’m replacing a 1.8v chip … can I use a 3.3v chip in the same place without modding anything else? I mean … the motherboard is expecting a 1.8v chip in that spot… is it going to work a 3.3v chip?

Mattia

How do you know that is 1.8V chip, did you look it up spec-wise? If yes, great choice then, sorry I didn’t think it check it’s specs, my bad
Yes, if you know it’s 1.8V then get 1.8V replacement, this voltage is set in the BIOS/ME, so it can be changed if needed, but since you already ordered 1.8V and confirmed the original is 1.8V we can leave like that.

For 1.8V chips, you or the person helping will need the 1.8V adapter for programming, unless they have more expensive programmer that has voltage selection options on it already.

@Lost_N_BIOS Hi mate,
just to inform you that the chip has arrived and i was able to program it using the modded bios you made.
First i erased the chip, then verified it was blank, then i wrote the modded bios and then verified the content. All these actions was succesfull.
This evening i will give the chip and the motherboard to a friend and i hope i will have a working laptop soon.

I will keep you posted

Thanks
Mattia

Great @tmbt - hopefully all works out when he replaces it now!

Hi mate,
sorry to bring back to life this old thread but i haven’t solved my problem yet.
I’ve bought an adapter to connect the new chip i’ve bought to my ch341a but i can’t read or write the chip.
Here is the adapter i have :
https://www.ebay.it/itm/SOIC8-SOP8-to-DI…CYAAOSwPNBdQmNS

The new chip is the same model of the chip that was installed originally so it’s a deep surface but when i try to read it using the software i always got the same read error (chip unrecognize or all the bytes are 0).

Is the adapter i’m using the right one ?

Thanks
Mattia

@tmbt - sorry I missed your reply in Sept!! I ran into this post just now while searching for w25q64fw

Sounds like you have the chip in programmer wrong, does it get hot instantly when you plug it in? If not, you may also have the adapter inserted into programmer wrong too.
Show me some images of how you have chip into adapter, and how you have adapter connected to programmer.

@Lost_N_BIOS Don’t worry, I tought you were angry for something … Anyway i’m haven’t solved this issue yet even if i was able to program it. To do so i had to soldering it on a empty base that come with the programmer and has 8 pin on the other side so i was able to connect it like it was a normale chip.
I programmed it using the old bios backup i had but after soldering it back on the MB the computer still doesn’t switch on. The strange thing now is that the keyboard flash for a second and then switch off while before it stayed switched on with a black screen so maybe the chip is not correctly soldered on the MB … Any ideas ?

Thanks
Mattia