[TOOLS] scrcpy (Android Mirroring application)

Post Reply
User avatar
Posts: 11161
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4
Has thanked: 46 times
Been thanked: 399 times

[TOOLS] scrcpy (Android Mirroring application)

Post by meveric »

scrcpy - is a mirroring app for android devices using android debugging via USB which allows to mirror your android device to your ODROID (or other PC)


It uses ffmpeg and SDL2 to mirror the content of your android device via USB debugging on your ODROID in our case.
This could be helpful if you want to run a presentation from your phone on a TV which does not have Miracast.
In that case you can run the presentation on the android device and put it on the big screen with the help of your ODROID.

scrcpy is available for Debian Jessie (armhf only) and Debian Stretch and Buster (both armhf and arm64)

To do this you need to install android-tools-adb as well to connect to your device.
Activate USB Debugging on your Android device, and confirm the ODROID as a allowed device.
Then you can check with adb devices if your device is shown.

Check https://github.com/Genymobile/scrcpy for more information.

Currently the packages run with software decoder only but I'm pretty sure we can probably fix the code to run with ffmpeg hardware decoder on Exynos ODROID boards and Kernel 4.14+.

Please Note:
For Debian Buster under armhf you also need to install android-libboringssl from my backports repository:

Code: Select all

apt install -t buster android-libboringssl
since there is a bug in the crypto engine that prevents you from connecting to your device otherwise.
These users thanked the author meveric for the post (total 3):
odroid (Sat Nov 02, 2019 9:53 am) • rooted (Sat Nov 02, 2019 3:44 pm) • joy (Fri Dec 13, 2019 9:44 am)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
Posts: 7993
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 724 times
Been thanked: 244 times

Re: [TOOLS] scrcpy (Android Mirroring application)

Post by rooted »

Very cool, thanks.

Post Reply

Return to “Ubuntu (All Linux'es)”

Who is online

Users browsing this forum: No registered users and 0 guests