Utilities

Excellent Utilities: scrcpy – display and control Android devices

Last Updated on July 12, 2022

In Operation

Before you can access an Android device, there’s some configuration to do.

You’ll need to enable USB debugging from the Developer options screen. On Android the options screen is hidden by default, but it can be enabled from Settings > About phone by tapping Build number seven times.

You don’t need to have rooted the Android device. The software uses ADB to communicate with the Android device via USB. It’s also possible to access a device over TCP/IP over port 5555, with the commands:

$ adb tcpip 5555
$ adb connect IP_address_of_Android_device:5555

Then restart scrcpy.

Once you’ve performed the simple configuration step, you’re ready to start scrcpy. Here’s an image showing the program in action. The software displays only the device screen.

scrcpy
Click image for full size

We found that performance is very good, but this is dependent on the hardware you’re using.

If you do have performance issues, there’s various steps you can take to resolve the problem. These include the ability to reduce the resolution, change the bit-rate as well as reducing the maximum frame rate. It’s best to decrease the bit-rate when running over TCP/IP ($ scrcpy --bit-rate 2M ).

It’s also possible to mirror only part of the screen. By default the software encodes video at 8 MBps. The program always renders the last available decoded frame and drops any previous ones, but it’s also possible to render all frames although this may affect latency.

We like the ability to record the screen in both mp4 and mkv formats. With the record option enabled, there’s also the option not to display the device.

From extensive testing, mirroring works particularly well. There’s also the ability to turn off the device screen when mirroring although this isn’t implemented particularly well.

There’s also a good range of keyboard shortcuts that let you resize windows, switch to full size mode, perform actions like middle clicks, change the volume, rotate the device, copy and paste the device/computer clipboard, and more.

Next page: Page 3 – Summary

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Summary


Complete list of articles in this series:

Excellent Utilities
AES CryptEncrypt files using the Advanced Encryption Standard
AnanicyShell daemon created to manage processes’ IO and CPU priorities
brootNext gen tree explorer and customizable launcher
CerebroFast application launcher
cheat.shCommunity driven unified cheat sheet
CopyQAdvanced clipboard manager
crocSecurely transfer files and folders from the command-line
DeskreenLive streaming your desktop to a web browser
dufDisk usage utility with more polished presentation than the classic df
ezaA turbo-charged alternative to the venerable ls command
Extension ManagerBrowse, install and manage GNOME Shell Extensions
fdWonderful alternative to the venerable find
fkillKill processes quick and easy
fontpreviewQuickly search and preview fonts
horcruxFile splitter with encryption and redundancy
KoohaSimple screen recorder
KOReaderDocument viewer for a wide variety of file formats
ImagineA simple yet effective image optimization tool
LanguageToolStyle and grammar checker for 30+ languages
Liquid PromptAdaptive prompt for Bash & Zsh
lnavAdvanced log file viewer for the small-scale; great for troubleshooting
lsdLike exa, lsd is a turbo-charged alternative to ls
Mark TextSimple and elegant Markdown editor
McFlyNavigate through your bash shell history
mdlessFormatted and highlighted view of Markdown files
notiMonitors a command or process and triggers a notification
NushellFlexible cross-platform shell with a modern feel
nvitopGPU process management for NVIDIA graphics cards
OCRmyPDFAdd OCR text layer to scanned PDFs
Oh My ZshFramework to manage your Zsh configuration
PaperworkDesigned to simplify the management of your paperwork
pastelGenerate, analyze, convert and manipulate colors
PDF Mix ToolPerform common editing operations on PDF files
pecoSimple interactive filtering tool that's remarkably useful
ripgrepRecursively search directories for a regex pattern
RnoteSketch and take handwritten notes
scrcpyDisplay and control Android devices
StickySimulates the traditional “sticky note” style stationery on your desktop
tldrSimplified and community-driven man pages
tmuxA terminal multiplexer that offers a massive boost to your workflow
TuskAn unofficial Evernote client with bags of potential
UlauncherSublime application launcher
WatsonTrack the time spent on projects
Whoogle SearchSelf-hosted and privacy-focused metasearch engine
ZellijTerminal workspace with batteries included
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments