• Stars
    star
    659
  • Rank 68,396 (Top 2 %)
  • Language
    Swift
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Enables Sidecar on old Mac and iPad for macOS 10.15

SidecarPatcher

Enables Sidecar on old Mac and iPad for macOS 10.15

Sidecar is disabled on these devices by Apple: iMac13,1, iMac13,2, iMac13,3, iMac14,1, iMac14,2, iMac14,3, iMac14,4, iMac15,1, iMac16,1, iMac16,2, MacBook8,1, MacBookAir5,1, MacBookAir5,2, MacBookAir6,1, MacBookAir6,2, MacBookAir7,1, MacBookAir7,2, MacBookPro9,1, MacBookPro9,2, MacBookPro10,1, MacBookPro10,2, MacBookPro11,1, MacBookPro11,2, MacBookPro11,3, MacBookPro11,4, MacBookPro11,5, MacBookPro12,1, Macmini6,1, Macmini6,2, Macmini7,1, MacPro5,1, MacPro6,1

and iPad: iPad4,1, iPad4,2, iPad4,3, iPad4,4, iPad4,5, iPad4,6, iPad4,7, iPad4,8, iPad4,9, iPad5,1, iPad5,2, iPad5,3, iPad5,4, iPad6,11, iPad6,12

You can type this in Terminal to get the model identifier of your Mac: sysctl hw.model.

You can get the model identifier of your iPad by using this app: Mactracker (iOS App Store)

This script disables this blacklist in macOS. This does NOT patch the iPadOS root system, jailbreaking is not required.

This is a command line script. If you want GUI application, try free-sidecar by ben-z.

Tested on macOS 10.15~10.15.4. Doesn't work with macOS 11.0.

How to patch

It is very unstable. There are many known issues. Read Issues. Please use this at your own risk.

  1. Backup /System/Library/PrivateFrameworks/SidecarCore.framework folder. This script doesn't provide original system file.

  2. Install the latest version of Command Line Tools from Apple Developer website.

  • Requires Apple Developer Account, you can use a free-tier developer account.
  1. Disable System Integrity Protection. How to turn off System Integrity Protection on your Mac. After disabling System Integrity Protection, reboot into normal macOS.
  • To check SIP is disabled: csrutil status
  1. Open Terminal application and clone this repository by running this command: git clone https://github.com/pookjw/SidecarPatcher

  2. Run main.swift: sudo swift SidecarPatcher/main.swift

  • You will need to enter your macOS password.

  • Ignore warnings. If you encounter error and you don't know how to fix, upload a log to Issue. (I can't reply all issues because I don't know all.)

  • About xcrun error and crashing many apps after rebooting: #4

How to revert

Simplest Method (1)

Reinstall your macOS using macOS Combo Update. You can download macOS Combo Update from here. For example, if you're using macOS Catalina 10.15.4, download macOS Catalina 10.15.4 Combo Update. It won't erase your data and it will just reinstall the system.

Simplest Method (2)

Reinstall your macOS using Install macOS Catalina.app. Install it without erasing your disk it won't erase your data and it will just reinstall the system.

Using your backup

  1. Disable System Integrity Protection. How to turn off System Integrity Protection on your Mac.

To check SIP is disabled: csrutil status

  1. Run sudo mount -uw / command.

  2. Copy the original SidecarCore folder: sudo cp /path/to/original /System/Library/PrivateFrameworks/SidecarCore.framework

  • Make sure you put the right path for SidecarCore /path/to/original.
  1. Set permission as 755: sudo chmod -R 755 /System/Library/PrivateFrameworks/SidecarCore.framework

  2. Reboot. If you want to enable System Integrity Protection again, you can do so now. (Testing #54)

More Repositories

1

NightPatch

Enable Night Shift on any old Mac models.
Shell
78
star
2

ClockWidget

iOS 14 Clock Widget
Swift
27
star
3

ActionButtonEnabler

Enable Action Button on all iOS 17 devices!
Objective-C++
27
star
4

CheckOTA

Check Apple OTA Update infinitely
Shell
25
star
5

DynamicAlert

Objective-C++
25
star
6

CustomSPCDetent

Swift
18
star
7

BlurredPreferrences

Make your Preferences app blurry.
Objective-C
13
star
8

darksun

get whole file system
Shell
12
star
9

MetalHudLoader

Enable Graphics Overview on all Metal driven apps.
Objective-C
10
star
10

NewBattery16

Enable iOS 16 style battery indicator on non-notch iOS devices.
Objective-C
9
star
11

MiscellaneousWWDC24

Objective-C++
7
star
12

EmojiExplorer

Swift
6
star
13

URLSchemeFinder

Finds URL Schemes of iOS app easily from APP or IPA.
Shell
5
star
14

NoPasteboard

Hide my Clipboard contents!
C
5
star
15

HookVisualEffect

Adjust blur intensity on UIVisualEffectView
Swift
5
star
16

SurfWorld

https://developer.apple.com/documentation/visionos/world
Swift
5
star
17

StandPad

Enable StandBy feature on iPadOS.
Objective-C++
5
star
18

BackOn

ํƒˆ์˜ฅ๋œ iOS ๊ธฐ๊ธฐ๋ฅผ ๋ฐฑ์—…
Shell
4
star
19

InfinityCollectionView

Infinity Orthogonal Scrolling on UICollectionViewCompositionalLayout
Swift
4
star
20

SAEEnabler

Enable System Assistant Experience on iOS 18
Objective-C++
4
star
21

NoLemonadeUI

Rollback old Photos UI on iOS 18
Objective-C++
4
star
22

iUpdate

Apple Mobile Device Update Assets Parser
Swift
3
star
23

ImagePlaygroundExample

Objective-C++
3
star
24

RevealLoader

Load RevealServer on jailbroken devices
Objective-C
3
star
25

AnimatedSFSymbol

Animate your all SF Symbols!
Objective-C++
3
star
26

HUDEnablerPU

Enable Debug HUD on PhotosPosterProvider
Objective-C++
3
star
27

RaycastPhotoPicker

Swift
3
star
28

MyPoster

[In Progress] Create custom Poster for PosterBoard
Objective-C++
3
star
29

ClienTV

Apple TV๋ฅผ ์œ„ํ•œ ํด๋ฆฌ์•™ ์–ดํ”Œ์ž…๋‹ˆ๋‹ค.
Swift
2
star
30

Kerberos_Algorithm_Swift

Not a real Kerberos Protocol. Just Model.
Swift
2
star
31

PanoramaPortal

Swift
2
star
32

AddToHomeScreen

Objective-C
1
star
33

DateUI

Swift
1
star
34

CenteredClock

watchOS 10 Private API - Set the status bar in center placement
Objective-C
1
star
35

Practice_Combine

Swift
1
star
36

Practice_WatchKit

Objective-C
1
star
37

QRCodeURLScheme

Logos
1
star
38

SplittableProKeyboard

Enable Splittable Pro Keyboard on iPadOS
Objective-C++
1
star
39

Practice_Cocoa

Swift
1
star
40

Life_Cycle

Swift
1
star
41

GainMap

Make Dynamic Island View using CAGainMapLayer
Swift
1
star
42

BomSukLove

์ฟ ํŒก์—์„œ ์‹ค๊ตฌ๋งค๊ฐ€ ์ฒดํฌ๋ฅผ ํ•ด์ฃผ๋Š” iOS 15 Safari ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ
JavaScript
1
star
43

PnamuLove

Hearthstone Deck Tracker for jailbroken iOS devices
Objective-C
1
star
44

Practice_RxSwift

Practice of RxSwift
Swift
1
star
45

MusicHapticsDemo

Objective-C++
1
star
46

PepperPad

Cocoa App Launcher using CoreServices Private API.
Objective-C
1
star
47

NamuTracker

Hearthstone deck tracker for jailbroken iOS devices.
Objective-C
1
star
48

Silicon

[WIP] Virtual Machine app for Apple Silicon Macs
Objective-C++
1
star
49

IvarDescription

Backporting IvarDescription
Objective-C++
1
star
50

CompactSplitView

Objective-C++
1
star
51

CustomPride

Objective-C++
1
star
52

ClearClassicScene

Make clear background for iPhone apps running on iPadOS.
Objective-C++
1
star
53

CoreDataXPC

Example of Core Data with XPC Mach Service on Cocoa
Objective-C
1
star
54

YTPIPHelper

Watch Youtube videos using Picture-in-Picture!
Objective-C
1
star
55

MultiItemContextMenu

Swift
1
star
56

Where2Use

watchOS + UIKit (Private)๋ฅผ ์ด์šฉํ•œ ์žฌ๋‚œ์ง€์›๊ธˆ ์ง€์—ญ ์กฐํšŒ ์–ดํ”Œ
Objective-C
1
star
57

ARSticker

Objective-C++
1
star
58

xrOS_AVPlayerContollerTrimming

FB13787738
Objective-C
1
star
59

CustomNavigationItemAlert

Objective-C++
1
star
60

pookjw.github.io

Swift
1
star
61

BRLayer

Render CALayer in Background Thread
Objective-C++
1
star
62

CameraControlEnabler

Enable Camera Control on any devices
Objective-C++
1
star