Skip to content

Commit 50e3e08

Browse files
committed
Resolves firmware bricking issues
Closes #43 Closes #42 Closes #40 Closes #38 Closes #32 Closes #15
1 parent 3674ca4 commit 50e3e08

File tree

16 files changed

+1962
-34
lines changed

16 files changed

+1962
-34
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# OpenCore Legacy Patcher changelog
22

3+
## 0.0.9
4+
- Resolve firmware install issues bricking Macs
5+
36
## 0.0.8
47
- Fix USB Map
58
- Add HiDPI patch

OpenCore-Patcher.command

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ except NameError:
2020
pass
2121

2222
# List build versions
23-
patcher_version = "0.0.8"
23+
patcher_version = "0.0.9"
2424

2525
CustomSMBIOS=False
2626
MainMenu=True

README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,6 @@
44

55
A python script for building and booting OpenCore on legacy Macs, see [Supported SMBIOS](#supported-smbios) on whether your model is supported.
66

7-
# DO NOT USE, RISKS OF BRICKING YOUR MAC
8-
9-
Currently this patcher implementation can apply a firmware update that breaks your machine. To avoid this, we highly recommend users do not use this patcher until we've resolved this.
10-
11-
### Ivy Bridge and Haswell Notes
12-
13-
Currently in Big Sur 11.0.1 and 11.1, there are partial firmware brickings happening during the install stage. The exact issue depends on the CPU model generation:
14-
15-
16-
* **Ivy Bridge**:
17-
* Simply power cycling the machine will resolve this issue
18-
* Laptops will need to unplug the battery for a bit
19-
* To avoid this issue outright, simply shutdown the machine after Big Sur has installed macOS instread of having the installer auto reboot
20-
21-
* **Haswell**:
22-
* Power cycling *may* work however some iMac14,x users have reported needing a firmware reflash
23-
* Patcher currently has removed support for these machines till macOS 11.2's release to avoid any unnecessary headaches for users
24-
257
## Supported SMBIOS
268

279
Any hardware supporting SSE4.1 CPU and 64-Bit firmware work on this patcher. To check your hardware model, run the below command on the applicable machine:
@@ -117,7 +99,7 @@ Once you're done making your OpenCore installer, you can simply reboot holding t
11799

118100
## How to uninstall OpenCore?
119101

120-
To remve OpenCore is actually quite simply:
102+
To remove OpenCore is actually quite simply:
121103

122104
1. Remove OpenCore either from the USB or internal drive
123105
* You'll need to mount the drive's EFI partition, and delete the EFI folder
@@ -142,7 +124,7 @@ Once you've booted OpenCore at least once, your hardware should now auto boot it
142124

143125
At this time, the OpenCore Patcher won't install macOS onto the internal drive itself during installs. Instead, you'll need to either [manually transfer](https://dortania.github.io/OpenCore-Post-Install/universal/oc2hdd.html) OpenCore to the internal drive's EFI or run this patcher's Option 2 again but select your internal drive.
144126

145-
Reminder that once this is done, you'll need to select OpenCore in the boot picker again for your hardware to remenber this entry and auto boot from then on.
127+
Reminder that once this is done, you'll need to select OpenCore in the boot picker again for your hardware to remember this entry and auto boot from then on.
146128

147129
### Cannot run OpenCore Legacy Patcher
148130

Resources/BuildOpenCore.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,13 @@ def BuildEFI():
6868
print("- Adding WhateverGreen v%s" % Versions.whatevergreen_version)
6969
copy(Versions.whatevergreen_path, Versions.kext_path_build)
7070

71-
print("- Adding RestrictEvents v%s" % Versions.restrictevents_version)
72-
copy(Versions.restrictevents_path, Versions.kext_path_build)
71+
if current_model in ModelArray.MacPro71:
72+
print("- Adding RestrictEvents v%s" % Versions.restrictevents_version)
73+
copy(Versions.restrictevents_path, Versions.kext_path_build)
74+
Versions.plist_data = Versions.plist_data.replace(
75+
"<false/><!--RestrictEvents-->",
76+
"<true/><!--RestrictEvents-->"
77+
)
7378

7479
# Checks for kexts
7580
# CPU Kext Patches

Resources/ModelArray.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,9 @@
5252
"iMac12,2",
5353
"iMac13,1",
5454
"iMac13,2",
55-
#Remove due to pottential bricking with 11.0.1 and 11.1
56-
#"iMac14,1",
57-
#"iMac14,2",
58-
#"iMac14,3",
55+
"iMac14,1",
56+
"iMac14,2",
57+
"iMac14,3",
5958
# Mac Pro
6059
"MacPro3,1",
6160
"MacPro4,1",
@@ -474,7 +473,6 @@
474473
]
475474

476475
# Mac Pro and Xserve
477-
478476
MacPro71 = [
479477
"MacPro3,1",
480478
"MacPro4,1",

Resources/Versions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
import sys
1212

1313
# List build versions
14-
opencore_version = "0.6.4"
15-
lilu_version = "1.4.9"
16-
whatevergreen_version = "1.4.4"
17-
airportbcrmfixup_version = "2.1.1"
14+
opencore_version = "0.6.6"
15+
lilu_version = "1.5.0"
16+
whatevergreen_version = "1.4.6"
17+
airportbcrmfixup_version = "2.1.2"
1818
bcm570_version = "1.0.0"
1919
marvel_version = "1.0.0"
2020
nforce_version = "1.0.0"

payloads/Config/v0.6.3/config.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
<key>Comment</key>
217217
<string>Process Blocker</string>
218218
<key>Enabled</key>
219-
<true/><!--RestrictEvents-->
219+
<false/><!--RestrictEvents-->
220220
<key>MaxKernel</key>
221221
<string></string>
222222
<key>MinKernel</key>

payloads/Config/v0.6.4/config.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
<key>Comment</key>
219219
<string>Process Blocker</string>
220220
<key>Enabled</key>
221-
<true/><!--RestrictEvents-->
221+
<false/><!--RestrictEvents-->
222222
<key>MaxKernel</key>
223223
<string></string>
224224
<key>MinKernel</key>

0 commit comments

Comments
 (0)