Skip to content

Commit 8ed5fd8

Browse files
committed
Misc fixes
Closes #53 Closes #47 Closes #52
1 parent c655c4a commit 8ed5fd8

File tree

11 files changed

+64
-12
lines changed

11 files changed

+64
-12
lines changed

CHANGELOG.md

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

3+
## 0.0.10
4+
- Increment binaries
5+
- OpenCore 43f5339(0.6.6 release)
6+
- Lilu d107554(1.5.1 release)
7+
- WhateverGreen 9e53d8a(1.4.7 release)
8+
- Add IDE support to MacPro3,1
9+
- Set SecureBootModel to iMac Pro(should aid in booting older OSes with OpenCore)
10+
- Update MacBookPro SMBIOS
11+
312
## 0.0.9
413
- Resolve firmware install issues bricking Macs
514

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.9"
23+
patcher_version = "0.0.10"
2424

2525
CustomSMBIOS=False
2626
MainMenu=True

Resources/BuildOpenCore.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,14 @@ def BuildEFI():
228228
"<true/><!--SSDT-CPBG-->"
229229
)
230230

231+
if current_model in ModelArray.IDEPatch:
232+
print("- Adding AppleIntelPIIXATA v%s" % Versions.piixata_version)
233+
copy(Versions.piixata_path, Versions.kext_path_build)
234+
Versions.plist_data = Versions.plist_data.replace(
235+
"<false/><!--AppleIntelPIIXATA-->",
236+
"<true/><!--AppleIntelPIIXATA-->"
237+
)
238+
231239
usb_map_path = os.path.join(Versions.current_path, "payloads/Kexts/Maps/Zip/" "USB-Map-%s.zip" % current_model)
232240
if os.path.exists(usb_map_path):
233241
print("- Adding USB Map for %s" % current_model)
@@ -277,9 +285,9 @@ def BuildSMBIOS():
277285
elif current_model in ModelArray.MacBookPro111:
278286
print("- Spoofing to MacBookPro11,1")
279287
new_model = "MacBookPro11,1"
280-
elif current_model in ModelArray.MacBookPro112:
281-
print("- Spoofing to MacBookPro11,2")
282-
new_model = "MacBookPro11,2"
288+
elif current_model in ModelArray.MacBookPro113:
289+
print("- Spoofing to MacBookPro11,3")
290+
new_model = "MacBookPro11,3"
283291
elif current_model in ModelArray.Macmini71:
284292
print("- Spoofing to Macmini7,1")
285293
new_model = "Macmini7,1"

Resources/ModelArray.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,10 @@
393393
"MacBookPro10,2",
394394
]
395395

396+
IDEPatch = [
397+
"MacPro3,1"
398+
]
399+
396400
# 11" Air
397401
MacBookAir61 = [
398402
"MacBookAir3,1",
@@ -424,7 +428,7 @@
424428

425429
# MacBook Pro 15" and 17"
426430

427-
MacBookPro112 = [
431+
MacBookPro113 = [
428432
"MacBookPro3,1",
429433
"MacBookPro4,1",
430434
"MacBookPro5,1",

Resources/Versions.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
# List build versions
1414
opencore_version = "0.6.6"
15-
lilu_version = "1.5.0"
16-
whatevergreen_version = "1.4.6"
15+
lilu_version = "1.5.1"
16+
whatevergreen_version = "1.4.7"
1717
airportbcrmfixup_version = "2.1.2"
1818
bcm570_version = "1.0.0"
1919
marvel_version = "1.0.0"
@@ -25,6 +25,7 @@
2525
io80211mojave_version = "1.0.0"
2626
voodoohda_version = "296"
2727
restrictevents_version = "1.0.0"
28+
piixata_version = "1.0.0"
2829

2930
# List current location
3031
os.chdir(os.path.dirname(os.path.realpath(__file__)))
@@ -51,6 +52,7 @@
5152
marvel_path = os.path.join(current_path, "payloads/Kexts/Ethernet/" "MarvelYukonEthernet-v%s.zip" % marvel_version)
5253
nforce_path = os.path.join(current_path, "payloads/Kexts/Ethernet/" "nForceEthernet-v%s.zip" % nforce_version)
5354
mce_path = os.path.join(current_path, "payloads/Kexts/Misc/" "AppleMCEReporterDisabler-v%s.zip" % mce_version)
55+
piixata_path = os.path.join(current_path, "payloads/Kexts/Misc/" "AppleIntelPIIXATA-v%s.zip" % piixata_version)
5456
mousse_path = os.path.join(current_path, "payloads/Kexts/SSE/" "AAAMouSSE-v%s.zip" % mousse_version)
5557
telemetrap_path = os.path.join(current_path, "payloads/Kexts/SSE/" "telemetrap-v%s.zip" % telemetrap_version)
5658
io80211high_sierra_path = os.path.join(current_path, "payloads/Kexts/Wifi/" "IO80211HighSierra-v%s.zip" % io80211high_sierra_version)

payloads/Config/v0.6.5/config.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<!--OpenCore 0.6.4 config-->
4+
<!--OpenCore 0.6.5 config-->
55
<dict>
66
<key>ACPI</key>
77
<dict>

payloads/Config/v0.6.6/config.plist

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<!--OpenCore 0.6.4 config-->
4+
<!--OpenCore 0.6.6 config-->
55
<dict>
66
<key>ACPI</key>
77
<dict>
@@ -117,6 +117,9 @@
117117
<dict>
118118
<key>MmioWhitelist</key>
119119
<array/>
120+
<key>Patch</key>
121+
<array>
122+
</array>
120123
<key>Quirks</key>
121124
<dict>
122125
<key>AllowRelocationBlock</key>
@@ -462,6 +465,24 @@
462465
<key>PlistPath</key>
463466
<string>Contents/Info.plist</string>
464467
</dict>
468+
<dict>
469+
<key>Arch</key>
470+
<string>x86_64</string>
471+
<key>Comment</key>
472+
<string>AppleIntelPIIXATA</string>
473+
<key>Enabled</key>
474+
<false/><!--AppleIntelPIIXATA-->
475+
<key>MaxKernel</key>
476+
<string></string>
477+
<key>MinKernel</key>
478+
<string>20.0.0</string>
479+
<key>BundlePath</key>
480+
<string>AppleIntelPIIXATA.kext</string>
481+
<key>ExecutablePath</key>
482+
<string>Contents/MacOS/AppleIntelPIIXATA</string>
483+
<key>PlistPath</key>
484+
<string>Contents/Info.plist</string>
485+
</dict>
465486
<dict>
466487
<key>Arch</key>
467488
<string>x86_64</string>
@@ -565,6 +586,8 @@
565586
<false/>
566587
<key>PowerTimeoutKernelPanic</key>
567588
<false/>
589+
<key>SetApfsTrimTimeout</key>
590+
<integer>-1</integer>
568591
<key>ThirdPartyDrives</key>
569592
<false/>
570593
<key>XhciPortLimit</key>
@@ -592,6 +615,10 @@
592615
<string>Auto</string>
593616
<key>HideAuxiliary</key>
594617
<true/>
618+
<key>LauncherPath</key>
619+
<string>Full</string>
620+
<key>LauncherOption</key>
621+
<string>Default</string>
595622
<key>PickerAttributes</key>
596623
<integer>1</integer>
597624
<key>PickerAudioAssist</key>
@@ -640,8 +667,6 @@
640667
<integer>0</integer>
641668
<key>AuthRestart</key>
642669
<false/>
643-
<key>BootProtect</key>
644-
<string>Bootstrap</string>
645670
<key>BlacklistAppleUpdate</key>
646671
<true/>
647672
<key>DmgLoading</key>
@@ -659,7 +684,7 @@
659684
<key>ScanPolicy</key>
660685
<integer>0</integer>
661686
<key>SecureBootModel</key>
662-
<string>x86legacy</string>
687+
<string>j137</string>
663688
<key>Vault</key>
664689
<string>Optional</string>
665690
</dict>
@@ -817,6 +842,8 @@
817842
<true/>
818843
<key>UpdateSMBIOSMode</key>
819844
<string>Create</string>
845+
<key>UseRawUuidEncoding</key>
846+
<false/>
820847
</dict>
821848
<key>UEFI</key>
822849
<dict>
@@ -951,6 +978,8 @@
951978
</dict>
952979
<key>Quirks</key>
953980
<dict>
981+
<key>DisableSecurityPolicy</key>
982+
<false/>
954983
<key>ExitBootServicesDelay</key>
955984
<integer>0</integer>
956985
<key>IgnoreInvalidFlexRatio</key>
65.3 KB
Binary file not shown.
211 KB
Binary file not shown.
36.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)