Guide

Your Mac on your Android phone over a USB cable, no Wi-Fi needed

Wi-Fi is fine most of the time, but a cable is quicker and doesn’t care what network you’re on. Since version 1.62, plugging an Android phone into a Mac moves Nightdesk’s link onto the cable by itself.

By Sheroze, who built Nightdesk · All guides

01Set it up

Pair once, then plug it in

  1. Pair the phone with the Mac once

    Install Nightdesk for Mac and the Android app from Google Play, and scan the code in the Mac’s window. Both need version 1.62 or later, and the downloads are newer.

  2. Plug the phone into the Mac

    Use a USB cable. The first time, Android asks whether Nightdesk should open for this Mac: tick Always and tap OK.

  3. The link moves to the cable

    The phone says Cable while it’s on the cable. Pull it out and the link carries on over Wi-Fi, or through the relay from anywhere.

You don’t need developer mode, USB debugging or tethering, and it works even when the phone is set to charge only. Plugging in only to charge never pulls Nightdesk up on the phone. On the Mac, Nightdesk’s window has a USB cable link switch under System that shows when the cable is ready.

02How fast

About a millisecond on the wire.

I measured it on my Fold on a USB 2 cable, with the phone as an extra screen, first through the relay and then on the cable. These are the typical (median) numbers:

MeasuredThrough the relayOn the cable
Round trip37 to 39 ms1 ms
From the Mac to the picture on the phone29 to 34 msabout 16 ms

What’s left on the cable is the Mac’s video encoder and the phone’s decoder. The wire itself takes less than a millisecond each way. The pointer on the phone’s screen moves 120 times a second, so it moves as smoothly as on a real monitor.

03What it’s good for

A second screen, and no network at all.

  • A second screen beside the MacBook. Extra screen mode makes the phone a display of its own, and the Mac remembers which side you put it on. On the cable it doesn’t touch the Wi-Fi at all.
  • Places without a network. A train, a plane, or a hotel Wi-Fi that won’t let two devices see each other. The cable needs no Wi-Fi and no internet.
  • Everything else works too, and quicker. Every screen shape works on the cable, along with the keys, gestures, files and the tools for coding agents.

04Good to know

Details and limits

Android only

The cable link is for Android phones and tablets. iPhone and iPad link over Wi-Fi or the relay.

Same security as everywhere else

The cable is one more path for the same encrypted link. A phone plugged into a Mac it isn’t paired with gets nothing.

File transfer

While Nightdesk uses the cable, Android’s own USB file transfer isn’t available. Nightdesk sends files both ways over its link anyway. If you need Android’s, turn off USB cable link on the Mac and plug in again: the phone is then left as it is.

How it works

The Mac switches the phone into Android’s accessory mode, the protocol Android Auto uses, and the link runs over that. macOS needs no driver, no root and no special entitlement for it.

05Other ways

Other ways to use a phone as a Mac screen.

On an iPad, Apple’s Sidecar does the second screen over a cable, and it’s very good at it. For Android there are second-screen apps too. Nightdesk’s cable link is the whole remote desktop on the cable: the Mac’s keys and gestures, the phone as a screen or a window into the Mac, and it picks the cable by itself when you plug in. When you’re away from the Mac, the same app reaches it through the relay.

What it looks like on an ordinary day

A café counter at night: a laptop and, beside it on a stand, a phone glowing like a second monitor.

Use your phone as a second screen for your MacBook

Wednesday, 3:30 p.m.Leo, frontend developer

Leo is working from a café with only his MacBook. His browser, editor and terminal take turns on thirteen inches.

Every switch loses his place, and his agent’s output scrolls by behind the browser.

How

  1. He links his phone and picks Extra screen. His Mac now has a second display beside it.
  2. He drags the terminal with his agent’s session onto it, and stands the phone next to the laptop.

Two screens, from the phone already in his pocket.

Extra screen is for Macs.

A meetup in a warehouse at night: a projector beam through haze, a speaker at a lectern, rows of listeners.

Hold your speaker notes while the slides play

Thursday, 7 p.m.Fatima, developer advocate

Fatima is speaking at a meetup in a warehouse. Her MacBook sits on a table by the projector.

She’d rather walk the stage than keep glancing back at the laptop for her notes.

How

  1. She links her phone and picks Extra screen, so macOS sees one more display.
  2. In Keynote she puts the presenter display on it: notes, timer and the next slide in her hand. The arrows on the key bar move the slides.

Notes in her hand, and her eyes on the room.

Extra screen is for Macs.

Every use case

More guides

Try it on your own computer.

The Mac and Linux apps are free. On Android, everything is on for 3 days from your first link, with no card and no account, and after that it’s $4.99 a month or $57 once (US prices; Google Play shows yours). Nightdesk for iPhone and iPad is coming to the App Store.