Generated by Gemini
TL;DR Scrcpy v4.0 moves to a new framework that natively locks aspect ratios, eliminating black borders during window resizing.
A new “flex” feature allows virtual Android displays to be resized dynamically, letting apps run in standalone windows similar to native PC software.
The update also adds live hardware camera controls and a clearer “disconnected” alert.
Scrcpy (short for “screen copy”) is one of the best ways to control your Android phone from your PC. This free, open-source app lets you mirror your Android phone’s screen on your PC and control it with a keyboard and mouse. It has a whole bunch of neat features, and the cherry on top is that it works on Windows, macOS, and Linux — so you’re not left behind, irrespective of your desktop OS. Scrcpy just hit a milestone v4.0 update that swaps out its underlying framework and introduces some highly requested quality-of-life features that dramatically improve how virtual displays and windowing are handled.
The most significant architectural change in scrcpy 4.0 is the migration from SDL2 (Simple DirectMedia Layer) to SDL3. While backend engine updates don’t always translate to user-facing thrills, this transition brings an immediate visual fix. Thanks to new APIs available in SDL3, scrcpy now natively preserves your device’s aspect ratio when resizing the desktop window.
Previously, freely resizing the window would result in annoying letterboxing and black borders around the Android UI. Now, the window scales perfectly with the display. Purists who actually want the black borders can revert to the old behavior using the “–no-window-aspect-ratio-lock” flag.
Don’t want to miss the best from Android Authority? Set us as a favorite source in Google Discover to never miss our latest exclusive reports, expert analysis, and much more.
to never miss our latest exclusive reports, expert analysis, and much more. You can also set us as a preferred source in Google Search by clicking the button below.
Building on the virtual display capabilities introduced in earlier builds, v4.0 adds a powerful new flex display feature. This allows a virtual Android display to be resized dynamically right alongside the client window on your PC. So instead of just mirroring your phone’s physical screen, you can spin up a specific application in a standalone, resizable window that behaves almost like a native desktop app.
... continue reading