If you are a software developer, just use scrcpy command line tool to display and control your android smartphone or tablet on a laptop.
This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access.
Install scrcpy on Linux 🔗
To install scrcpy, just use snap package manager like this
sudo snap install scrcpy.
Choose your Linux distribution to get more information about installation.
- Elementary OS
- Linux Mint
- Arch Linux
- Red Hat Entreprise Linux
- KDE Neon
- Raspberry Pi
Install scrcpy on Mac OS X 🔗
Use package manager to install scrcpy on Mac OS such as HomeBrew. Install it like this.
brew install scrcpy
Install scrcpy on Windows 🔗
Download the scrcpy program and install it on your Windows 7/8.1/10/11 as you like.
Using scrcpy to display Android device and control it 🔗
First of all, you need to activate developer options in your settings. Then enable USB debugging feature inside developer options settings.
Then use a USB cable to attach your smartphone / tablet with your laptop, and type
scrcpy in terminal. Your smartphone will show up on your laptop and you can see it and control it.
If it doesn’t work 🔗
If your laptop does not have Android tools or adb tools, install them. To install adb tools on Linux run this command on any Debian-based distro:
sudo apt install adb. To install adb tools on Mac OS, run this command
brew install android-platform-tools.