Mirroring Android to Linux (or Windows, or macOS)
https://mastodon.laurenweinstein.org/@lauren/109717033142086360
Greetings. If you need to mirror and control an Android device to/via
Linux, Windows, or macOS (e.g. on a desktop, Chromebook, or whatever)
and don't want to use the various apps in the Play Store since such
apps inevitably demand a long list of permissions -- a pair of open
source efforts are of particular note.
For the video side, there's "scrcpy" -
https://github.com/Genymobile/scrcpy - which I've been using for quite
some time now with Linux.
For audio -- and I've just in the last few days starting working with
this and got it going -- there's "sndcpy" -
https://github.com/rom1v/sndcpy - which is notably more complicated
but that I do have working well with Linux as of last night.
Sndcpy is a strange one -- it streams a new copy of an apk over to the
target Android device on each run, after uninstalling any existing
one already installed. I have not yet looked in depth at the source
for that apk, and frankly at the moment I'm puzzled as to why a new
apk install is needed each time (but in my testing so far, doing so is
indeed necessary for sndcpy to work). I suspect the issue relates to
thread control isolation, but I won't really know until I have a
chance to look at the code in some depth.
I threw together some wrapper scripts and such to run them both
together and to do other typical housekeeping stuff for use with
wireless ADB debugging, and these two apps really do seem to be
extremely useful. -L
- - -
--Lauren--
Lauren Weinstein
[email protected] (https://www.vortex.com/lauren)
Lauren's Blog: https://lauren.vortex.com
Twitter: https://twitter.com/laurenweinstein
Mastodon: https://mastodon.laurenweinstein.org/@lauren
Founder: Network Neutrality Squad: https://www.nnsquad.org
PRIVACY Forum: https://www.vortex.com/privacy-info
Co-Founder: People For Internet Responsibility
Tel: +1 (818) 225-2800
_______________________________________________
pfir mailing list
https://lists.pfir.org/mailman/listinfo/pfir