LinuxSystemes d'exploitation

Mirror Android Screen to Ubuntu With Scrcpy | Control Android Devices From Linux PC (Complete Guide)

Fastest way to display and control your phone from PC (Debian Sid, Ubuntu, and its based distros like Linux Mint, Pop! OS, Zorin, KDE Neon, Linux Lite, Elementaey OS, etc) without root access.

Full Guide To Install Android Emulator in Linux

Get Latest Android Studio via PPA Repository

Run Adobe Photoshop CC on Ubuntu With WINE

Uninstall GNOME Extension With Manager App

How To Use USB Devices in Oracel VirtualBox

WHY CAST AND MIRROR AN ANDROID SCREEN?
A phone screen on a PC can help you in many ways e.g control Android phone or tablet using regular keyboard and mouse, respond a calls without getting up, play Android games on Linux, and if you are a developer, you can check app performance without install Android emulator for Linux.

Let say Genymotion, it has an issue since Google has started requiring app developers to update their apps with 64bit AArch64 support and some applications are only available in arm64.

Because of this, Genymotion doesn’t support arm64-v8 applications, even with ARM translation tools.

HOW TO SCREEN MIRROR ANDROID TO UBUNTU
Well, there Vysor, which is basically a chrome extension we can use to put Android screen on the desktop. unfortunately, the free version doesn’t support high quality mirroring, full-screen, wireless connection, and drag and drop files.

Thankfully, there’s Scrcpy, a free open source application for displaying and controlling your Android device through USB connection or over TCP/IP (WiFi) that works under GNU/Linux, macOS and Microsoft Windows.

It focuses on lightness (native, displays only the device screen), performance (30~60fps), quality (1920×1080 or above), low latency (35~70ms), low startup time (~1 second to display the first image), non-intrusiveness (nothing is left installed on the device).

SCRCPY MAIN FEARURES
Scrcpy Main Features
– Control Android devices from a desktop
– Works over USB cable or WiFi connection
– Allows recording the device screen while mirroring
– Drag and drop to transfer files / install APK
– Limit the Android mirroring resolution
– Changing the video bit-rate
– Mirror multiple devices in the same time
– Full screen, borderless, always on top
– Device rotation is supported
– Show physical touches
– Drag and drop APK and files
– Pinch-to-zoom
– And many more

REQUIREMENTS
To use Scrcpy, your smartphone or tablet must be running Android 5.0 or later. Enable USB debugging is mandatory. To enable developer options in Android, just go to :
– Settings System
– About Phone
– Tap 7x the Build / Version Number
– Back to System Settings
– Developer Options
– Toggle USB Debugging

You also need to enable an additional option to control it using keyboard and mouse in some devices.

To install Scrcpy on Ubuntu, Linux Mint, and so on, you don’t have to download scrcpy Linux, because the package is available on repository (Debian Sid and Ubuntu Focal Fossa or higher and derivatives).

Scrcpy doesn’t provide a desktop shortcut by the default, but it doesn’t mean we can’t create it. Copy and paste this format to text editor :

[Desktop Entry]
Name=Scrcpy
Comment=Mirror Android Screen on Linux
Exec=scrcpy
Type=Application
Icon=/path/to/your/custom/icon
Categories=AudioVideo;Audio;Development;

Save as something.desktop on ~/.local/share/applications.

For icon section, it’s better to copy it into ~/.local/share/icons (just create it if the folder doesn’t exist), so you don’t have to write the full path as described in the video.

For shortcut keys and more info, check https://www.linuxslaves.com/2019/08/how-to-mirror-android-screen-to-ubuntu-with-scrcpy.html

Consider subscribing to get latest how to install, configure, tips, use Linux and Free Libre Open Source Software (FLOSS), or if you like what you see. Thanks for watching and being here!.

Music by https://youtube.com/ikson
Copyright belongs to its respective owner(s)

Visit : https://www.linuxslaves.com
Facebook : https://facebook.com/linuxslaves
Twitter : https://twitter.com/tiwosatriatama

Views : 63517
linux

Source by Tiwo Satriatama

Mourad ELGORMA

Fondateur de summarynetworks, passionné des nouvelles technologies et des métiers de Réseautique , Master en réseaux et système de télécommunications. ,j’ai affaire à Pascal, Delphi, Java, MATLAB, php …Connaissance du protocole TCP / IP, des applications Ethernet, des WLAN …Planification, installation et dépannage de problèmes de réseau informatique……Installez, configurez et dépannez les périphériques Cisco IOS. Surveillez les performances du réseau et isolez les défaillances du réseau. VLANs, protocoles de routage (RIPv2, EIGRP, OSPF.)…..Manipuler des systèmes embarqués (matériel et logiciel ex: Beaglebone Black)…Linux (Ubuntu, kali, serveur Mandriva Fedora, …). Microsoft (Windows, Windows Server 2003). ……Paquet tracer, GNS3, VMware Workstation, Virtual Box, Filezilla (client / serveur), EasyPhp, serveur Wamp,Le système de gestion WORDPRESS………Installation des caméras de surveillance ( technologie hikvision DVR………..). ,

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *