Mirror Android on PC (Linux, OS/X & Windows)

Post Reply
Message
Author
User avatar
handy
Posts: 611
Joined: Mon Apr 23, 2018 2:00 pm

Mirror Android on PC (Linux, OS/X & Windows)

#1 Post by handy »

I hope I haven't put this thread in the wrong part of the forum? If I have, sorry about that, please move it to where it belongs?
--------------------------------------------------------------------


I just saw this over on the Manjaro forum, & it looks incredibly interesting. I tried to install scrcpy via apt, & I looked in the MX package installer, & in Synaptic & couldn't see scrcpy. Perhaps it goes by another name?

Anyway, here are a couple of links, for those that are interested in controlling the Android phone via their PC:

https://www.omgubuntu.co.uk/2019/07/scr ... untu-linux

https://github.com/Genymobile/scrcpy

It works on X.org & on Wayland too. :)

You can download & build the package from the github page (which is apparently not hard to do).
1_MSI: MAG B560 TORP', i5, RAM 16GB, GTX 1070 Ti 12GB, M2 238GB + USB, MX-23 Fb to Openbox
2_Lenovo: Ideapad 520S, i5, RAM 8GB, GPU i620, HDD 1TB, MX-21 - Openbox
3_Clevo: P150SM-A, i7, RAM 16GB, nVidia 8600, 2x 1TB HDD & M.2 256 GB, MX-21 - Openbox

User avatar
m_pav
Developer
Posts: 1413
Joined: Sun Aug 06, 2006 3:02 pm

Re: Mirror Android on PC (Linux, OS/X & Windows)

#2 Post by m_pav »

This one captured my interest so I downloaded and followed the instructions to build and install it on the latest live MX18.3 64-bit iso running in a VM.

The build was very easy as the developer said and all I needed to do when finished was to run it from its current location.

Code: Select all

./run x
If you want a copy of the finished build, PM me and I will send you a link to download a ready to use compressed copy. You will need to install the adb package before you try to run it and have your phone prepared (usb debugging enabled) and connected through the USB, or maybe you can ask nicely on the package requests page and one of the packagers may be able to package it for you.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD FX 6100 CPU, nVidia, 8Gb, 3.25TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
handy
Posts: 611
Joined: Mon Apr 23, 2018 2:00 pm

Re: Mirror Android on PC (Linux, OS/X & Windows)

#3 Post by handy »

@m_pav, I'm glad that you have found it interesting/useful. :)
1_MSI: MAG B560 TORP', i5, RAM 16GB, GTX 1070 Ti 12GB, M2 238GB + USB, MX-23 Fb to Openbox
2_Lenovo: Ideapad 520S, i5, RAM 8GB, GPU i620, HDD 1TB, MX-21 - Openbox
3_Clevo: P150SM-A, i7, RAM 16GB, nVidia 8600, 2x 1TB HDD & M.2 256 GB, MX-21 - Openbox

User avatar
mk@weja.ch
Posts: 1
Joined: Tue Apr 14, 2020 5:56 am

Re: Mirror Android on PC (Linux, OS/X & Windows)

#4 Post by mk@weja.ch »

The build was very easy as the developer said and all I needed to do when finished was to run it from its current location.

Code: Select all

./run x
Hi
I just read about Scrpy and downloaded the sourcecode. But there is no ./configure file in it ....
How did you compile it? I would really like to use the keyboard instead of the small touchscreen for texting.

Thanx 4 ur help

User avatar
timkb4cq
Developer
Posts: 3205
Joined: Wed Jul 12, 2006 4:05 pm

Re: Mirror Android on PC (Linux, OS/X & Windows)

#5 Post by timkb4cq »

The 1.9 version of scrcpy has been available in the MX Main repository since July 2019.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

NickStone
Posts: 104
Joined: Sat Dec 08, 2018 1:43 pm

Re: Mirror Android on PC (Linux, OS/X & Windows)

#6 Post by NickStone »

timkb4cq wrote: Tue Apr 14, 2020 12:00 pm The 1.9 version of scrcpy has been available in the MX Main repository since July 2019.
I've just searched using mxpi and synaptic and could not find this package. I'm using MX18.3. Is it only available in MX19?

User avatar
eriefisher
Posts: 142
Joined: Fri Sep 07, 2007 8:11 am

Re: Mirror Android on PC (Linux, OS/X & Windows)

#7 Post by eriefisher »

Yes, it seems so.

User avatar
RR184
Posts: 1
Joined: Tue Apr 14, 2020 3:40 pm

Re: Mirror Android on PC (Linux, OS/X & Windows)

#8 Post by RR184 »

Does this only work via USB cable or is there a way to do it over wifi/ bluetooth?
Dell Latitude E7470 - 7936MiB System memory - Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz - HD Graphics 520
- BCM4350 802.11ac WNA

User avatar
timkb4cq
Developer
Posts: 3205
Joined: Wed Jul 12, 2006 4:05 pm

Re: Mirror Android on PC (Linux, OS/X & Windows)

#9 Post by timkb4cq »

Yes, it can be used over wifi. It requires some manual setup. The scrcpy package in the repository includes the necessary documentation with a separate launcher for it in the Accessories menu.

I just updated it to 1.12.1 and added it for MX-17/18 as well.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

Post Reply

Return to “MX Repositories”