You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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]>
Signed-off-by: Rick Mark <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+104-6Lines changed: 104 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# Apple Silicon to Apple Silicon VDM tool
2
2
3
-
This tool lets you get a serial console on an Apple Silicon device and reboot it remotely, using only another Apple Silicon device running macOS and a standard Type C cable.
3
+
This tool lets you send common Apple VDM messages from an Apple Sillicon Mac. It can send messages to the T2 DFU port, the Apple M1 DFU port or any USB-C based iPad. Currently it requires the sending device to be M1 based and the "DFU" port, but it should be possible to use any port and work from an Intel Mac (they have the same USB-C port controller) with some additonal patching.
4
+
5
+
`dfu` and `reboot` are confirmed to work on iPad and T2. Serial can probably be adapted to work with checkra1n.
4
6
5
7
## Disclaimer
6
8
@@ -15,17 +17,113 @@ This is based on portions of [ThunderboltPatcher](https://github.com/osy/Thunder
15
17
16
18
Thanks to t8012.dev and mrarm for assistance with the VDM and Ace2 host interface commands.
17
19
20
+
<<<<<<< HEAD
21
+
<<<<<<< HEAD
22
+
## Note about macOS 12
23
+
24
+
To have access to the serial console device on macOS Monterey (12), you need to disable the `AppleSerialShim` extension.
25
+
26
+
**Note:** This requires downgrading the system security and may cause problems with upgrades. Use it at your own risk!
27
+
28
+
Start by generating a new kernel cache, without the `AppleSerialShim` extension:
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>`).
35
+
36
+
Then, enter 1TR:
37
+
38
+
1. Power off your Mac
39
+
2. Press and hold the Power button until the boot menu appears
40
+
3. Select “Options”, then (if necessary) select your macOS volume and enter your administrative password.
41
+
42
+
Select Utilities>Startup security and switch the macOS installation to reduced security. Exit Startup security.
43
+
44
+
Select Utilities>Terminal and install your custom kernel:
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>`).
75
+
76
+
Then, enter 1TR:
77
+
78
+
1. Power off your Mac
79
+
2. Press and hold the Power button until the boot menu appears
80
+
3. Select “Options”, then (if necessary) select your macOS volume and enter your administrative password.
81
+
82
+
Select Utilities>Startup security and switch the macOS installation to reduced security. Exit Startup security.
83
+
84
+
Select Utilities>Terminal and install your custom kernel:
Replace `<volume>` with the name of your boot volume.
91
+
92
+
You can now reboot: macOS should start as normal, and the serial device `/dev/cu.debug-console` should be available.
93
+
94
+
To revert back to the default kernel, enter 1TR again, access Utilities>Startup security and switch to full or reduced security.
95
+
18
96
## Building
19
97
20
98
Install the XCode commandline tools and type `make`.
21
99
22
100
## Usage
23
101
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.
25
-
26
-
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.
27
-
28
-
Run it as root (`sudo ./macvdmtool`).
102
+
<<<<<<< HEAD
103
+
<<<<<<< HEAD
104
+
<<<<<<< HEAD
105
+
Connect the two devices via their DFU ports. That's:
106
+
- the rear port on MacBook Air and 13" MacBook Pro
107
+
- the port next to the MagSafe connector on the 14" and 16" MacBook Pro
108
+
- the port nearest to the power plug on Mac Mini
109
+
=======
110
+
Connect the two devices via their DFU ports. That's the furthest left port on M1 MacBooks, the closest left port on the T2, and the only port on the iPad. See Apple's DFU recovery support articles to identify these ports on other models.
111
+
>>>>>>> b396565 (Added T2 and iPad data)
112
+
=======
113
+
Connect the two devices via their DFU ports. That's the furthest left port on M1 MacBooks, the closest left port on the T2, and the only port on the iPad. See Apple's DFU recovery support articles to identify these ports on other models.
114
+
>>>>>>> 239e733 (Added T2 and iPad data)
115
+
=======
116
+
Connect the two devices via their DFU ports. That's:
117
+
- the rear port on MacBook Air and 13" MacBook Pro (Apple M Series)
118
+
- the port next to the MagSafe connector on the 14" and 16" MacBook Pro
119
+
- the port nearest to the power plug on Mac Mini (Apple M Series)
120
+
- the closest (to the user) USB port on T2 based MacBooks
121
+
- the only port on the iPad / iPhone
122
+
>>>>>>> 567ee0e (README: Update for Monterey and new MBPs)
123
+
124
+
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 (USB CC1/CC2 where USB-PD are transmitted). Thunderbolt cables work too.
125
+
126
+
Run it as root (`sudo ./macvdmtool`) as root privledge is required to open the needed IOKit IOService.
0 commit comments