Connect over USB
USB is the default and the recovery path. No network setup is needed. Wireless ADB is there if you want it, off by default.
Plug your Android phone in and it appears on your PC with its own screen off. The mirror, the phone controls and every setting live in a single window. No floating toolbars, no second app.
The app takes care of ADB and scrcpy so the everyday path is boring, in the best possible way.
USB is the default and the recovery path. No network setup is needed. Wireless ADB is there if you want it, off by default.
Accept Android's standard “Allow USB debugging” prompt and tick “Always allow from this computer”. That is the only authorisation there is.
The app waits in the tray, notices the phone, wakes it, dismisses the keyguard where Android allows it and opens the mirror. If scrcpy crashes it restarts.
Each one in detail, with the settings that shape it, on the features page.
Controls, Apps, Phone, Settings and Info stay in the side panel. Press F11 to fill your display. A small translucent bar of controls fades away; drag it wherever you want it and move the pointer back there to bring it out again.
More about thisAlt + wheel or Alt + pinch scales the real video surface, so clicks land where you see them. A small navigator shows where you are; drag it to pan.
More about thisHome, back, recents, power, sleep and wake, volume, notifications, quick settings, rotation, clipboard both ways and screenshots.
More about thisDrop, choose or paste files and folders; install APKs after asking; cancel, retry and resolve name clashes without leaving the window.
More about thisBrightness, timeout, forced rotation, dark mode, text size, animations, stay awake, Wi‑Fi, mobile data, airplane mode, display size and density.
More about thisBrowse and edit the Android settings provider with search and risk labels. Keys that would cut off ADB are protected so you cannot lock yourself out.
More about thisThe mirror shows up on the phone as a plugged‑in keyboard, so numbers, symbols and AltGr type as they should. Press Ctrl+Alt+K and the arrow keys, Enter, L and M browse a feed without touching the mouse.
More about thisHold the phone upright and add live copies of it next to each other, as many as fit the window at full height. Every copy takes touch and typing, and zooming one zooms them all.
More about thisSome phones mirror their lock screen as black. For pattern locks the app draws a nine‑dot guide from Android's own layout, with keyboard calibration as a fallback.
More about thisRun one app on a display of its own beside the phone, or instead of it, at the window's size or a fixed one, while the phone shows something else.
More about thisA work phone and a personal one in one window, each in a session of its own. The side panel, the keys and the buttons follow the phone you click.
More about thisEvery setting in one place with a way back, any action on any key, and a Controls tab with only the buttons you use, in your order.
More about thisTwo fingers on the touchpad become two real fingers on the phone. Hold Alt and the same gesture moves the PC view instead. There is no ambiguity and nothing to toggle.
Both contacts are injected as touches, so TikTok, Maps and Photos see exactly what they would on the glass. Pinch and pan while pinched, just like on the phone.
The phone receives nothing. Alt + pinch zooms the mirror, Alt + two‑finger slide pans it, and the zoom stays after you let go. With a mouse use Alt + wheel and Alt + drag.
One installer, no accounts, no administrator prompt. The app walks you through the phone side on its first run.
Closing the window keeps the app in the tray; Quit is in the tray menu. Uninstall from Windows Settings → Apps like any other program; your settings stay in %LocalAppData%\REX until you delete them.
With the .NET 10 SDK installed, clone the repository and run REX.bat. It builds the app into tools\rex on first use and opens it; REX.bat --build rebuilds after a change.
git clone https://github.com/tochi-mba/Android_Headless_Mirror.gitThe installer puts rex.exe on your PATH. Add --json or start with agent and you get exactly one JSON document and no prompts.
rex status app, mirror and phone state
rex action sleep turn the phone screen off
rex zoom in | out | reset PC-side zoom of the open mirror
rex screenshot save a PNG of the phone screen
rex phone set brightness 180 friendly phone settings
rex android list global --filter animation
rex config set Mirror.MaxFps 90 one-step undo: rex config restore
rex agent capabilities the machine-readable contract
REX is designed for Android devices supported by ADB and scrcpy. Current hardware testing is primarily on the Galaxy S21 Ultra, so other phones and OEM builds may expose different encoder, settings or lock-screen behaviour.
Some manufacturers mark the secure lock screen as protected content, which Android will not stream. After a reboot you may need to unlock on the phone once. For pattern locks the app draws a guide so you can unlock blind afterwards. The pattern itself is never stored or replayed.
Yes. The screen is off, not locked. Tap the power button or press Wake in the app to turn it back on.
REX has no account or telemetry and does not upload your mirrored screen, control data, lock information or phone content. Setup and updates may connect to GitHub to download REX and the official scrcpy distribution. If you turn on the optional update check, it asks GitHub once a day which version is newest; it is off unless you turn it on.
It closes the mirror and stays in the tray. The app will not reopen until the phone reconnects or you press Start. Quit in the tray menu exits completely.
Windows sometimes attaches a generic driver to the phone's USB debugging interface without telling ADB about it, typically after the phone changes USB mode or port. The app notices and shows Repair USB driver; it registers the interface for ADB and asks for administrator approval once. The same repair is rex usb repair.
No. Everything runs as your user with standard ADB permissions. The app never roots, flashes or modifies the phone.