Repository navigation
Releases
Releases · Aureliano021/ScrcpyDex
v2.0.0
Full Changelog: v1.1.0...v2.0.0
ScrcpyDeX 1.1
What's Changed in v1.1.0
New Features & Improvements
- Custom scrcpy Path Configuration: Added manual input and file browser dialog for
scrcpy.exe, alongside on-demand "Refresh" buttons in both the prerequisite banner and settings. - Automatic Settings Persistence: Settings changes now auto-save in the background (debounced), removing the need for a manual "Save" button.
- Fluent Segmented Navigation: Replaced the legacy tab bar with a Windows 11 Fluent Segmented Capsule navigation control.
- Selectable Diagnostic Logs: Implemented mouse-selectable, uneditable log console with search filter and dedicated syntax coloring (green for scrcpy, red for errors, yellow for warnings).
- Configuration Management: Moved "Reset Defaults" to a dedicated card under Device & System.
- Embedded Server Deployment: Embedded
scrcpydex-server.jardirectly into assembly resources with automatic extraction fallback. - Localization: Full English translation of UI labels, tooltips, logs, and ViewModel messages.
Bug Fixes
- Fixed DeX session lingering on device when closing the streaming window via 'X' or Alt+F4.
- Added recognition and clear status messages for "unauthorized" USB debugging states (e.g. S22 Ultra).
- Eliminated false-positive error triggers caused by benign stderr outputs (
file pushed,FLAG_SUPPORTS_PROTECTED_BUFFERS). - Set all options under Device & System (
TurnScreenOff,StayAwake,AutoConnect) tofalseby default.
ScrcpyDeX v1.0.0
Author's Note:
"Aureliano here. What you're about to read is documentation written by the AI agent I used to build this project. It might contain significant mistakes, or it might work just fine... what matters is that it solved my personal need for a replacement for Samsung's discontinued DeX for Windows app. I decided to share it here because I know I'm not the only one looking for something like this."
ScrcpyDeX v1.0.0
ScrcpyDeX is a simple open-source desktop tool to activate and run Samsung DeX on Windows PCs over a direct USB cable connection—no Wi-Fi needed, with low latency, and without root.
Key Features
- Direct USB Connection (No Wi-Fi needed): Triggers Samsung DeX locally via loopback (
127.0.0.1:7236) and streams the desktop session through ADB over USB. Avoids Wi-Fi congestion and local network restrictions. - Low Latency Video: Uses
scrcpywith Direct3D11 decoding on Windows, providing a smooth 60 FPS desktop stream. - Native Desktop Mouse (Linux
/dev/uhid): Injects mouse events via/dev/uhid(group 3011). Android sees a genuine USB mouse, enabling normal hover states, button tooltips, right-click context menus, and mouse wheel scrolling. - Audio Forwarding: Routes desktop audio from DeX directly to your PC speakers over USB.
- Standalone Windows Client (
ScrcpyDeX.exe): A small .NET 8 application to configure resolution, bitrate, and FPS, and to cleanly manage session lifecycles. - Clean Teardown: Uses Windows Job Objects to automatically shut down background processes (
scrcpy.exe,adb.exe) when the window closes, leaving no orphaned processes. - No Root Required: Operates strictly within standard Android developer shell permissions (
UID 2000) and does not touch any system partitions.
Requirements
- PC: Windows 10 (1809+) or Windows 11 (64-bit).
- Phone: Samsung Galaxy device with DeX support (Galaxy S, Note, Z Fold, Tab S). Tested on Galaxy S23 (One UI 8.5 / Android 16).
- Cable: USB-C cable (USB 2.0 or 3.0).
- scrcpy: v2.0+ installed (e.g.
winget install Genymobile.scrcpyor in system PATH). - Phone Settings: USB Debugging enabled in Developer Options.
Quick Start (3 Steps)
- Connect your Galaxy phone to your PC with a USB cable.
- Allow USB debugging on the phone when prompted.
- Open
ScrcpyDeX.exeand click "Start DeX Session".
Useful Shortcuts
Left Alt(or Windows Key): Release mouse cursor back to Windows.Alt + F: Toggle fullscreen.Alt + F4(or closing the window): Clean shutdown of the DeX session.
Verification Hashes (SHA-256)
19704b09f84a4657e7813ebf24124ff5c7a0cdba631374ee7bf70c7e177396ce ScrcpyDeX-v1.0.0-win-x64.zip
db3be93ff52613687eec0d4120c39a89ba913c406e5b00a315defc25ea604768 ScrcpyDeX.exe
aeb4329bec1ad16f051c2fa0ce415b33a1c99b078d323b27b0d7a0860a930c6f scrcpydex-server.jar
ab23870e8ae7581ecb0cc94027907b4803c1a29d00fcfdedc6dce55081ee2455 stop-dex.bat