scrcpy is amazing software something other people might not have realised you could possibly get Dex on some unsupported devices. I got it working on my Galaxy Z Flip 5 using
scrcpy --new-display=1920x1080/284
This thing also helps capture images from stupid crap apps that prohibit screenshots. On my rooted phone with a disable-flag-secure module installed, adb screenshots are still black.
Recording a video via scrcpy works on the other hand. Amazing, agreed.
> A virtual display can now be made flex using --flex-display (or -x), meaning it can be resized dynamically along with the client window.
Amazing.