v1.24
Genymobile/scrcpyv1.24Apr 28, 2022by rom1v
AI Summary
Enhances Android 13 preview support, adds HID/OTG support for Windows 32-bit, and introduces environment variable configuration.
Key Highlights
- Fixed input injection for Android 13 preview
- Added HID/OTG support for Windows 32-bit releases
- Added support for $ANDROID_SERIAL environment variable
- Added --no-power-on option
New Features
- --no-power-on
- $ANDROID_SERIAL support
- Windows 32-bit libusb/HID/OTG support
- Emulator TCP/IP support (-e)
- Specific exit code for device disconnection
Full Release Notes
_To receive a notification on new releases, click on **Watch > Custom > Releases** on the top._ --- **scrcpy v1.24** Changes since v1.23: - Adapt input injection for Android 13 (#3186, #3190) - Add --no-power-on (#3148, #3210) - Read $ANDROID_SERIAL if no selector is specified (#3111, #3113) - Consider emulators as TCP/IP devices (-e) (#3137) - Apply requested window size in OTG mode (#3099, #3219) - Add specific exit code for device disconnection (#3083, #3085) - Enable libusb support for Windows 32-bit releases (#3204, #3206) - Upgrade libusb to 1.0.26 in Windows releases (#3206) - Upgrade platform-tools to 33.0.1 (adb) in Windows releases (#3206) - Upgrade SDL to 2.0.22 in Windows releases - Upgrade FFmpeg to 5.0.1 in Windows 64-bit releases - Improve some error messages - Various technical fixes --- # Highlights ## Android 13 (preview) Input injection from previous scrcpy versions failed on Android 13 preview (#3186). This version makes it work. ## HID/OTG support for Windows 32-bit The previous scrcpy version ([v1.23](https://github.com/Genymobile/scrcpy/releases/tag/v1.23)) added [HID/OTG](https://github.com/Genymobile/scrcpy#otg) support for all platforms except Windows 32-bit. By upgrading to the latest libusb version, Windows 32-bit is now supported. ## $ANDROID_SERIAL `adb` uses the `ANDROID_SERIAL` environment variable if no `-s` is specified. Use this same variable in `scrcpy` if no selector is specified (#3111): ```bash # via a command line parameter adb -s 0123456789abcdef shell scrcpy -s 0123456789abcdef # via an environment variable export ANDROID_SERIAL=0123456789abcdef adb shell scrcpy ``` On Windows, setting an environment variable is slightly different: ```cmd :: in cmd set ANDROID_SERIAL=0123456789abcdef ``` ```powershell # in PowerShell $env:ANDROID_SERIAL = '0123456789abcdef' ``` ## No power on By default, on start, the device is powered on. A new option has been added to disable this behavior: ```bash scrcpy --no-power-on ``` --- - Twitter: [`@scrcpy_app`](https://twitter.com/scrcpy_app) - Reddit: [`r/scrcpy`](https://www.reddit.com/r/scrcpy)