[TOOLS] scrcpy (Android Mirroring application)

Post Reply
User avatar
meveric
Posts: 10528
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)
Has thanked: 17 times
Been thanked: 149 times
Contact:

[TOOLS] scrcpy (Android Mirroring application)

Unread post by meveric » Sat Nov 02, 2019 5:48 am

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)

Image

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 2):
odroid (Sat Nov 02, 2019 9:53 am) • rooted (Sat Nov 02, 2019 3:44 pm)
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
rooted
Posts: 6773
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 219 times
Been thanked: 41 times
Contact:

Re: [TOOLS] scrcpy (Android Mirroring application)

Unread post by rooted » Sat Nov 02, 2019 3:45 pm

Very cool, thanks.

Post Reply

Return to “Ubuntu (All Linux'es)”

Who is online

Users browsing this forum: No registered users and 11 guests