Live data from Hacker News

Scrcpy: Display and control your Android devices connected over USB or TCP/IP

github.com

41–50 of 148 posts

Re: Scrcpy: Display and control your Android devices connected over USB or TCP/IP

#42
post #14

Stupidly useful when I broke my phone in Antarctica and had to wait months for a replacement to arrive (it did, mere days before station close). Also a shout out to gnirehtet which is I think by the same devs? Reverse tether your phone for times when wifi and cell are both unavailable.

Wow you went to Antarctica? Why?

Probably science.

Re: Scrcpy: Display and control your Android devices connected over USB or TCP/IP

#43
post #39

My 7 year-old phone has had a completely smashed screen for the past year. Thanks to this (super-easy-to-run script), I haven't felt the need to repair the screen at all. 10/10 would recommend.

That's a surprisingly great idea. A mobile phone can be used as a server, and for their capabilities, they are cheaper than Raspberry Pi when with some issues especially. Out of curiosity I just found an offer for a used Pixel 6 Pro for 70 EUR, supposedly only broken screen and the rest is working, where it has 12GB RAM with CPU Octa-core (copypasting: 2x2.80 GHz Cortex-X1 & 2x2.25 GHz Cortex-A76 & 4x1.80 GHz Cortex-A55), that's a fairly good offer.

Re: Scrcpy: Display and control your Android devices connected over USB or TCP/IP

#44
For the use cases mentioned in the comments here, I don't think you really need a third party tool like this.

Connect your phone to a USB-C display and viola! Screen is mirrored and network, mouse and keyboard connected to the display are now connected to the phone.

There is also the Microsoft phone app for win10/11, and Samsung Dex.

Re: Scrcpy: Display and control your Android devices connected over USB or TCP/IP

#45

If anyone's looking for an android project, please make one that forwards all hotspot traffic over whatever VPN is enabled. I guess the phone will need rooting.

I think my Wireguard VPN already does this, sans root? I enable my VPN and my hotspot connected laptop is now routing its traffic via my house. Or am I missing what you're looking for?

Are you sure? By default if you use a VPN, only apps on the device will use it. If you enable a wifi hotspot, any devices connected to the hotspot won't route their traffic over the VPN. Have you tried checking your IP from your laptop?

Re: Scrcpy: Display and control your Android devices connected over USB or TCP/IP

#46
post #20

Earlier quoted context omitted.

You can use mouse with usb otg.

still have to hit an invisible button

Once the authorization popup is on the screen, press Tab, Enter, Tab, Tab, Enter (of course, it's more difficult if USB debugging is not enabled at all).

Re: Scrcpy: Display and control your Android devices connected over USB or TCP/IP

#47
This is one of those tools that you really want to know about just in case of disaster. Very nice indeed! I unfamiliar with mobile apps, that been said now dumb question: are there nice tools out there that you would recommend to do full backups from a mobile phone to alinux box with the command line? I was thinking about rsync but I don't know if possible, or any limitations at all.
Post reply on HN