Is posible add scrcpy in easyos last version ?
Can I use Scrcpy in EasyOS?
Moderator: BarryK
Re: Can I use Scrcpy in EasyOS?
These instructions are for Fatdog and debian-ubuntu but for easyos last versions how would be ?
Re: Can I use Scrcpy in EasyOS?
Is posible install scrcpy.deb ? If not where is the file for install ?
- OscarTalks
- Posts: 623
- Joined: Tue Jul 14, 2020 10:11 pm
- Location: London UK
- Has thanked: 2 times
- Been thanked: 247 times
Re: Can I use Scrcpy in EasyOS?
Scrcpy
Load the EasyOS devx via Menu > Setup > SFSget
Grab the source code from https://github.com/Genymobile/scrcpy/releases/tag/v1.23
Extract the source tarball archive
Enter extracted source top level directory
Open the script install_release.sh as text
Add --prefix=/usr to the meson options (Line 15)
( Now reads meson "$BUILDDIR" --prefix=/usr --buildtype=release --strip -Db_lto=true \ )
Run the script from the directory with ./install_release.sh
That installs scrcpy
Looks like adb is a daemon - so if necessary, start it - try adb & in terminal
My problem is that I don't normally use an android phone
So don't have one available to connect and test
When I run scrcpy in terminal it returns:-
Code: Select all
# scrcpy
scrcpy 1.23 <https://github.com/Genymobile/scrcpy>
ERROR: Could not find any ADB device
ERROR: Server connection failed
#
Note - see below for .pet of scrcpy by BarryK, the one I attached previously has now been removed.
Re: Can I use Scrcpy in EasyOS?
@jesudia ,
I have also compiled scrcpy and created a PET:
https://bkhome.org/news/202204/scrcpy-d ... evice.html
A photo:
I can see various scenarios where this would be very useful, for example...
Clipboard copy and paste.
Snapshots of the phone screen.
Creating instructional video doing something on phone.
Drag and drop a file to phone.
Use computer keyboard for typing input.
- p310don
- Posts: 357
- Joined: Tue Dec 03, 2019 7:17 am
- Location: Brisbane, Australia
- Has thanked: 72 times
- Been thanked: 103 times
Re: Can I use Scrcpy in EasyOS?
I can see various scenarios where this would be very useful, for example...
I have found a few software vendors are making free android versions of their programs, otherwise they're SAAS models that cost $X per month. I use one in particular on my phone, that I don't want to pay for. It took me about an hour to do what needed to be done on my phone, now it takes me about ten minutes on my phone via scrcpy. Most of the extra time was undoing my mistakes from fat fingers on a touch screen.
Re: Can I use Scrcpy in EasyOS?
I see the the scrcpy man page, it also supports APK drag and drop. You drag it onto the phone screen, and it installs. Cool.
Yeah, I also have apps on my phone that aren't available for Linux, paid or free.
"Safe-in Cloud" is one of them, a great password manager.
Re: Can I use Scrcpy in EasyOS?
Thank you very much by your PET of scrcpy, i would like make sfs of others .deb, i do not know if this IS posible
Re: Can I use Scrcpy in EasyOS?
I would like know how do .PET of .deb for easyos, i am interested for do this with puffin-internet-terminal.deb
Re: Can I use Scrcpy in EasyOS?
You can right-click on a .deb file and use Xarchive to open it up. Make sure you expand into a folder, named like <name>-<version>
Xarchive will also create folder <name>-<version>/DEBIAN, and you need to look in there for anything useful, such as the post-install script -- see if you need to apply anything. Then delete the DEBIAN folder.
Then you can use 'dir2pet' utility.
# dir2pet <name>-<version>
- BologneChe
- Posts: 510
- Joined: Sun Aug 23, 2020 12:29 am
- Location: Stoneham, Québec
- Has thanked: 318 times
- Been thanked: 140 times
Re: Can I use Scrcpy in EasyOS?
@jesudia
You can get this in the browsers settings. I know it's possible in Firefox, Chrome/Chromium.
For Firefox : https://support.mozilla.org/fr/kb/dns-via-https-firefox
Born to lose; live to win
Re: Can I use Scrcpy in EasyOS?
There is now a GUI frontend for scrcpy:
https://bkhome.org/news/202205/easyshar ... aring.html
It is really neat that you can enable screen-sharing and file-sharing at the same time, as shown by the two ticked checkboxes. I tested with a video playing on the phone, and simultaneously drag a file from phone to PC, doesn't seem to be any conflict.
This will be in the next release of EasyOS, probably version 3.4.8.
Re: Can I use Scrcpy in EasyOS?
I am not getting scrcpy tcpip to work using Barrys pet. The USB connection works fine but I get the following when I try using tcpip
Code: Select all
scrcpy --tcpip=192.168.0.16
scrcpy 1.23 <https://github.com/Genymobile/scrcpy>
INFO: Connecting to 192.168.0.16:5555...
unable to connect to 192.168.0.16:5555:5555
ERROR: Could not connect to 192.168.0.16:5555
ERROR: Server connection failed
anyone getting this to work?
Update:
Ok, so I got this to work on my Moto I suspect certain phones have somewhat different behavior. My laptop is connected by ethernet and my phone connected to wifi on same network.
Went to https://github.com/Genymobile/scrcpy and they have a manual connection procedure
Code: Select all
Manual
Alternatively, it is possible to enable the TCP/IP connection manually using adb:
Plug the device into a USB port on your computer.
Connect the device to the same Wi-Fi network as your computer.
Get your device IP address, in Settings → About phone → Status
Enable adb over TCP/IP on your device: adb tcpip 5555.
Unplug your device.
Connect to your device: adb connect DEVICE_IP:5555 (replace DEVICE_IP with the device IP address you found).
Run scrcpy as usual.
So after performing the above procedure to do a new connection I do
# adb start-server
# adb connect 192.168.0.16:5555
# scrcpy
Thats it.