Live data from Hacker News

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

github.com

61–70 of 148 posts

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

#61

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.

Not using this tool, but actually to use this tool. My nexus device had a cracked screen like yours and I ended up running an android emulator to find where to blindly click to finally allow adb

This is a very clever advice. Thanks you. Have to try this out.

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

#62
post #46

Earlier quoted context omitted.

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).

Thank you. I haven't tried this either. This sounds very doable. Can try this first in emulator.

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

#63
Are there any tools along this line, but act more like an external monitor does when plugged into your laptop (in external-monitor-only mode)? I.e. can run at a different resolution/size, rather than just mirroring the phone screen? Something like what Android Auto does when you plug into a head unit, but for 'normal' android.

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

#64
post #10

Earlier quoted context omitted.

Can you share more about using scrcpy to install APKs that are unavailable for the device via Play?

You can just drag and drop APK files onto the scrcpy window to initiate an install (it just does 'adb install' basically).

The real question is, where do you get trustworthy APKs, if you cant download them from playstore ?

You can already install an APK through the phone

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

#65

Are there any tools along this line, but act more like an external monitor does when plugged into your laptop (in external-monitor-only mode)? I.e. can run at a different resolution/size, rather than just mirroring the phone screen? Something like what Android Auto does when you plug into a head unit, but for 'normal' android.

Samsung Dex does this but it only works on some devices.

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

#66

Earlier quoted context omitted.

You can just drag and drop APK files onto the scrcpy window to initiate an install (it just does 'adb install' basically).

The real question is, where do you get trustworthy APKs, if you cant download them from playstore ? You can already install an APK through the phone

Some devices don't have the UI for side-loading apks (TVs etc.). You can download apks from the publisher's website, 3rd party stores like F-Droid or IzzyOnDroid, or use Yalp Store to download directly from Google Play.

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

#68
post #3

Other notable features: * Works in tandem with upstream android adb, so after usb(or wireless) debugging is enabled on the target device, there are no apps daemons or hacks needed and it just works. * Install apks that are "unavailable for your device" in the official google play store (on things like chromecasts) * Full Screen or screen section + audio recording * Stream device screen when it's physically off on tar…

And does not require a rooted phone

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

#69

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?

Why the down votes for this comment?

My Android does have that option, under: Hotspot and tethering > Allow clients to use VPNs.

Note however, my ROM is based on LineageOS, probably the reason why not everyone got it?

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

#70
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?

Was curious about the cost:

    Overall Antarctica Cruise Cost [1]: 

    Low Budget     $9,340
    Mid-Range     $13,010
    Luxury        $26,100
Guess the prices will only go up once climate change fully deploys the 3-degrees-warmer world [2].

[1] https://www.antarcticaguide.com/antarctica-travel-cost#:~:te...

[2] Impacts of Climate Change in Antarctica, https://discoveringantarctica.org.uk/challenges/sustainabili...

Post reply on HN