The command line tool scrcpy (for "screen copy") mirrors an #Android's screen to a computer. Works on Linux, macOS, Windows, and via WiFi and USB cable. No need for root. Need to enable adb debugging via developer options on the phone.
If the packaged version does not work, try the most recent version via Snap or compile yourself.
chaos.social – a Fediverse instance for & by the Chaos community