Skip to content

Commit 0b7f364

Browse files
VinDuvmarcan
authored andcommitted
README: Update for Monterey and new MBPs
- Indicate how to get the serial device on Monterey - Document the location of the debug port on 14"/16" MBPs Signed-off-by: Vincent Duvert <[email protected]>
1 parent 2d8d29b commit 0b7f364

1 file changed

Lines changed: 38 additions & 1 deletion

File tree

README.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,50 @@ This is based on portions of [ThunderboltPatcher](https://github.com/osy/Thunder
1515

1616
Thanks to t8012.dev and mrarm for assistance with the VDM and Ace2 host interface commands.
1717

18+
## Note about macOS 12
19+
20+
To have access to the serial console device on macOS Monterey (12), you need to disable the `AppleSerialShim` extension.
21+
22+
**Note:** This requires downgrading the system security and may cause problems with upgrades. Use it at your own risk!
23+
24+
Start by generating a new kernel cache, without the `AppleSerialShim` extension:
25+
26+
```
27+
sudo kmutil create -n boot -a arm64e -B /Library/KernelCollections/kc.noshim.macho -V release -k /System/Library/Kernels/kernel.release.<soc> -r /System/Library/Extensions -r /System/Library/DriverExtensions -x $(kmutil inspect -V release --no-header | awk '!/AppleSerialShim/ { print " -b "$1; }')
28+
```
29+
30+
Replace `<soc>` with `t8101` on M1 Macs and `t6000` on M1 Pro/Max Macs. If you’re unsure, `uname -v` and look at the end of the version string (`RELEASE_ARM64_<soc>`).
31+
32+
Then, enter 1TR:
33+
34+
1. Power off your Mac
35+
2. Press and hold the Power button until the boot menu appears
36+
3. Select “Options”, then (if necessary) select your macOS volume and enter your administrative password.
37+
38+
Select Utilities>Startup security and switch the macOS installation to reduced security. Exit Startup security.
39+
40+
Select Utilities>Terminal and install your custom kernel:
41+
42+
```
43+
kmutil configure-boot -c /Volume/<volume>/Library/KernelCollections/kc.noshim.macho -C -v /Volume/<volume>
44+
```
45+
46+
Replace `<volume>` with the name of your boot volume.
47+
48+
You can now reboot: macOS should start as normal, and the serial device `/dev/cu.debug-console` should be available.
49+
50+
To revert back to the default kernel, enter 1TR again, access Utilities>Startup security and switch to full or reduced security.
51+
1852
## Building
1953

2054
Install the XCode commandline tools and type `make`.
2155

2256
## Usage
2357

24-
Connect the two devices via their DFU ports. That's the rear port on MacBooks and the port nearest to the power plug on Mac Minis.
58+
Connect the two devices via their DFU ports. That's:
59+
- the rear port on MacBook Air and 13" MacBook Pro
60+
- the port next to the MagSafe connector on the 14" and 16" MacBook Pro
61+
- the port nearest to the power plug on Mac Mini
2562

2663
You need to use a *USB 3.0 compatible* (SuperSpeed) Type C cable. USB 2.0-only cables, including most cables meant for charging, will not work, as they do not have the required pins. Thunderbolt cables work too.
2764

0 commit comments

Comments
 (0)