Live data from Hacker News

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

github.com

91–100 of 148 posts

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

#95

I have tried a number of times to connect a phone with broken/dead screen. Touch and audio works. I have probably managed to enter pin and login but clicking 'Allow usb debugging' checkbox when I run scrcpy is apparently impossible or may be I am missing from some other critical step. Has someone done anything like that using this tool? It seems like a perfect use case.

The first thing I do whenever I get a new phone (or OS update on an old phone) is enable USB debugging, plug it into my computer, and then click trust this device. It's insurance for the time when the phone screen inevitably dies, because then I can plug it back in and immediately drive it using scrcpy. It's saved me twice so far.

With newer android versions, you might want to check the "disable adb authorization timeout" option too. Otherwise, phone will "forget" your computer's adb key after a week.

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

#96
post #86
post #73

Earlier quoted context omitted.

Simple, just connect your mouse with an usb converter..

How are you supposed to know where you click without a screen?

I responded to a comment about a broken digitizer, not a smashed screen (perhaps I messed up or comment got changed)

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

#97
post #91

This also solves remote-support problems for me! Afaik there is no VNC Server / TeamViewer / AnyDesk / etc (server!) for Android, but telling someone to plug their phone into some computer I can control is easy enough :-)

This is a brilliant idea. I will set it up on my Mother's PC.

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

#98

I have tried a number of times to connect a phone with broken/dead screen. Touch and audio works. I have probably managed to enter pin and login but clicking 'Allow usb debugging' checkbox when I run scrcpy is apparently impossible or may be I am missing from some other critical step. Has someone done anything like that using this tool? It seems like a perfect use case.

It's worth learning how to use TalkBack anyway because of the insight it gives you into how accessibility tooling works, and also it's perfect for this use-case.

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

#99

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.

That does depend on the hardware though -- I don't think any of the phones in my household support USB C DP or HDMI alt modes, and none of the displays are DisplayLink, so while they might manage to transfer power and possibly even connect peripherals there's no common ground for transferring video.

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

#100
As a Genymobile employee, I'm happy to see this on HN! We use scrcpy internally also, it's really handy sometimes when we need to debug display issues with our Android emulator (Genymotion).

Romain is truly a talented developer, and deserves the success of scrcpy. If I remember correctly, scrcpy was also bundled with Genydeploy (an Android device provisioning solution) at the time.

Kudos Romain for your work!

Post reply on HN