Skip to content

Commit e5aea82

Browse files
committed
Add Sidecar support
1 parent 85fc1d6 commit e5aea82

File tree

7 files changed

+46
-2
lines changed

7 files changed

+46
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
- RestrictEvents 9e2bb0f (1.0.1 rolling - 05-01-2021)
2222
- Allow CPUFriend on all El-Capitan Era Macs
2323
- Fix UEFI 2.0 Application support on upgraded Nvidia GPUs
24+
- Add Sidecar support
25+
- Requires Mac with Metal Intel iGPU and the iPad to be directly plugged in, wireless highly unstable
26+
- SidecarFixup efdf11c (1.0.0 release - 05-02-2021)
2427

2528
## 0.1.1
2629
- Fix iMac11,3 GFX0 pathing

Resources/Build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ def build_efi(self):
128128
("AppleALC.kext", self.constants.applealc_version, self.constants.applealc_path, lambda: self.model in ModelArray.LegacyAudio or self.model in ModelArray.MacPro71),
129129
# IDE patch
130130
("AppleIntelPIIXATA.kext", self.constants.piixata_version, self.constants.piixata_path, lambda: self.model in ModelArray.IDEPatch),
131+
# Misc
132+
("SidecarFixup.kext", self.constants.sidecarfixup_version, self.constants.sidecarfixup_path, lambda: self.model in ModelArray.SidecarPatch),
131133
]:
132134
self.enable_kext(name, version, path, check)
133135

Resources/Constants.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def __init__(self):
3636
self.cputscsync = "1.0.3"
3737
self.hibernationfixup = "1.3.9"
3838
self.nvmefix_version = "1.0.7"
39+
self.sidecarfixup_version = "1.0.0"
3940
self.payload_version = "0.0.4"
4041

4142
# Get resource path
@@ -187,6 +188,8 @@ def hibernationfixup_path(self): return self.payload_kexts_path / Path(f"Acidant
187188
@property
188189
def nvmefix_path(self): return self.payload_kexts_path / Path(f"Acidanthera/NVMeFix-v{self.nvmefix_version}.zip")
189190
@property
191+
def sidecarfixup_path(self): return self.payload_kexts_path / Path(f"Acidanthera/SidecarFixup-v{self.sidecarfixup_version}.zip")
192+
@property
190193
def plist_folder_path(self): return self.payload_kexts_path / Path(f"Plists")
191194
@property
192195
def platform_plugin_plist_path(self): return self.plist_folder_path / Path(f"PlatformPlugin")

Resources/ModelArray.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,20 +443,37 @@
443443
]
444444

445445
SidecarPatch = [
446+
"MacBook8,1",
446447
"MacBookAir5,1",
447448
"MacBookAir5,2",
449+
"MacBookAir6,1",
450+
"MacBookAir6,2",
451+
"MacBookAir7,1",
452+
"MacBookAir7,2",
448453
"MacBookPro9,1",
449454
"MacBookPro9,2",
450455
"MacBookPro10,1",
451456
"MacBookPro10,2",
457+
"MacBookPro11,1",
458+
"MacBookPro11,2",
459+
"MacBookPro11,3",
460+
"MacBookPro11,4",
461+
"MacBookPro11,5",
462+
"MacBookPro12,1",
452463
"Macmini6,1",
453464
"Macmini6,2",
465+
"Macmini7,1",
454466
"iMac13,1",
455467
"iMac13,2",
456468
"iMac13,3",
457469
"iMac14,1",
458470
"iMac14,2",
459471
"iMac14,3",
472+
"iMac15,1",
473+
"iMac16,1",
474+
"iMac16,2",
475+
"MacPro5,1",
476+
"MacPro6,1",
460477
"Dortania1,1"
461478
]
462479

docs/BENIFITS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ With OpenCore Legacy Patcher we recommend users go through the below table to un
1414
| BootCamp Switching | <span style="color:red">Requires EFI Conversion for Start Disk support, otherwise still supported</span> | <span style="color:#30BCD5">Native</span> |
1515
| Brightness Control on Legacy GPUs | <span style="color:#30BCD5">Supported</span> | <span style="color:#30BCD5">Supported</span> |
1616
| Legacy GPU Acceleration | <span style="color:#30BCD5">In active development</span>, see Acceleration Progress Tracker: [Link](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108) | <span style="color:red">Currently not researching</span> |
17-
| WPA Wifi Support | <span style="color:#30BCD5">Native, stable</span> | <span style="color:red">Unstable</span> |
17+
| WPA Wifi and Personal Hotspot Support | <span style="color:#30BCD5">Native, stable</span> | <span style="color:red">Unstable</span> |
1818
| HEVC/H.265 Support for Mac Pros and iMacs with Polaris+ GPUs | <span style="color:#30BCD5">Supported</span> | <span style="color:red">Not supported</span> |
1919
| Big Sur-styled Boot Picker | <span style="color:#30BCD5">Available</span> | <span style="color:red">Not available</span> |
2020
| El Capitan-era Wifi cards | <span style="color:#30BCD5">Supported</span> | <span style="color:red">Not supported</span> |
21-
| Hibernation Support | <span style="color:#30BCD5">Supports 3rd party SATA SSDs in addition to stock models</span> | <span style="color:red">Only supports stock drives</span> |
21+
| Hibernation Support | <span style="color:#30BCD5">Supports 3rd party SATA SSDs in addition to stock models</span> | <span style="color:red">Only supports stock drives</span> |
22+
| Sidecar Support | <span style="color:#30BCD5">Supports any Mac with Metal Intel iGPU</span> | <span style="color:red">Not supported at all</span> |

payloads/Config/config.plist

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,24 @@
806806
<key>PlistPath</key>
807807
<string>Contents/Info.plist</string>
808808
</dict>
809+
<dict>
810+
<key>Arch</key>
811+
<string>x86_64</string>
812+
<key>Comment</key>
813+
<string>SidecarFixup</string>
814+
<key>Enabled</key>
815+
<false/>
816+
<key>MaxKernel</key>
817+
<string></string>
818+
<key>MinKernel</key>
819+
<string>19.0.0</string>
820+
<key>BundlePath</key>
821+
<string>SidecarFixup.kext</string>
822+
<key>ExecutablePath</key>
823+
<string>Contents/MacOS/SidecarFixup</string>
824+
<key>PlistPath</key>
825+
<string>Contents/Info.plist</string>
826+
</dict>
809827
</array>
810828
<key>Block</key>
811829
<array/>
15.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)