v1.25

Genymobile/scrcpyv1.25Dec 22, 2022by rom1v

AI Summary

Focuses on Android 13 compatibility, high-precision scrolling, and shell integration improvements like autocompletion.

Key Highlights

  • Fixed copy-paste compatibility with Android 13
  • Added high-precision scrolling support
  • Added bash and zsh autocompletion for device selection
  • Added desktop entry files for Linux

New Features

  • High-precision scrolling
  • Linux desktop entry files
  • Bash and ZSH autocompletion for -s/--serial
  • Support for $ANDROID_SERIAL environment variable
  • Fallback for display information on some devices

Full Release Notes

_To receive a notification on new releases, click on **Watch > Custom > Releases** on the top._

---

**scrcpy v1.25**

Changes since v1.24:
 - Adapt copy-paste internals for Android 13 (#3497)
 - Add support for high-precision scrolling (#3363, #3369)
 - Add desktop entry files for Linux (#295, #296, #748, #1636, #3351)
 - Add bash and zsh autocompletion for -s/--serial (#3522, #3523)
 - Use current adb port (if any) for --tcpip (#3591, #3592)
 - Add fallback to get display information on some devices (#3416, #3573)
 - Fix click behavior when --forward-all-clicks is set (#3568, #3579)
 - Fix support for non-ASCII characters in window title (#2932, #3547)
 - Fix getDisplayIds() crash on some versions of Android 13 beta (#3446)
 - Upgrade platform-tools to 33.0.3 (adb) in Windows releases
 - Upgrade FFmpeg to 5.1.2 in Windows 64-bit releases
 - Upgrade SDL to 2.26.1 in Windows releases
 - Various technical fixes

---

# Highlights

## Android 13

Recent method signature changes in Android 13 broke copy-paste for scrcpy (#3497). This version adapt the calls to make it work again.


## High-precision scrolling

This version uses high-precision scrolling if the computer supports it. As a result, scrolling is smoother, as you can see in #3363.

## Serial auto-completion

When several devices are connected, it might be necessary to pass the serial of the device to mirror.

The serial is now auto-completed in _bash_ and _zsh_:

```bash
scrcpy -s <tab><tab>  # auto-complete by the devices listed by "adb devices"
```


## Menu shortcuts

Two new menu shortcuts are added on Linux (here is a screenshot on XFCE):

![menu_scrcpy](https://user-images.githubusercontent.com/543275/209130270-d2a350b0-04c5-45d8-8977-5b08988b38a4.png)

They allow to launch scrcpy (without arguments) either with a visible terminal or not.

To pass command line arguments, it must still be started from a terminal or a script though.


---

 - Twitter: [`@scrcpy_app`](https://twitter.com/scrcpy_app)
 - Reddit: [`r/scrcpy`](https://www.reddit.com/r/scrcpy)