6 ms·
Scrcpy v4.0
- OsrsNeedsf2P 6mo agoTIL Scrcpy is maintained by Genymobile and not Google. It's great for letting Claude Code operate your phone for doing QA tests
- stavros 6mo agoScrcpy is fantastic, no idea how it Just Works™ so smoothly and painlessly, but it does.
- Bilal_io 6mo agoAmazing piece of software. I discovered it very recently when my screen OLED stopped working.
- koyote 6mo agoDid you manage to get it to work without a functioning screen on the phone? I believe that unless your phone already has debugging enabled and the machine was already added a trusted machine for debugging, you're out of luck for controlling a phone with a dead screen?
- logdahl 6mo agoI once dropped my phone like 40cm the 100th time and my screen went completely black. However, the touch still worked! After loads of time and comparing to another android phone, i managed to blindly navigate to that blind mode setting and enable it! I have immense respect for those that are blind and need to interact this way. In the few days I used my phone this way I noticed multiple apps, especially my bank app with a keypad, had completely broken navigation and iirc not even numbered the actual buttons?! So it was a 'swipe right 9 times, double tap, swipe left 6 times' while the TTS was yelling nonsense!
- entropy47 6mo agoA lot of OEMs will have a shortcut to enable screen reader mode even if the display is cooked (I think maybe both volume buttons at once for 5s?). OTG keyboard can be a lifesaver too, and many modern phones will let you use a USBC to HDMI cable. Way easier if you've pre auth'd for ABD though!
- Bilal_io 6mo agoI had a screenshot of my keyboard, I opened it on my computer and zoomed in to match the size of the phone and traced the keyboard on a piece of paper. Then I cut off the letters I needed and typed my password to unlock the phone.
- IshKebab 6mo agoYeah my screen broken and I was in that situation and you're right; there's absolutely no way to access your phone. If you google it people will talk about workarounds like taking screenshots and accessing them over USB, but that no longer works because USB access requires confirmation on the screen. Plugging in a display via USB also doesn't work because that also requires screen interaction to output to it (at least on Pixel phones). The last thing I tried was plugging in a keyboard/mouse which do work automatically, but unfortunately I was using pattern unlock and there's no way to enter that via the keyboard (and good luck doing it with a mouse blind). Finally the thing that you'd think should work - plugging in a new phone and transferring everything across ALSO requires you to confirm your pattern/PIN on the old phone. It's absolutely insane. If anyone from Google is watching this.... people break screens!! Give them a way to access their stuff when the screen is broken. The obvious easy solution is for the "transfer to a new phone" flow to allow entering the old phone's PIN/pattern ON THE NEW PHONE. Jesus.
- nlehuen 6mo agoI think it's implemented now. Last time I transferred from one Android phone to another, I connected them with an USB cable and the new phone prompted me to enter the old phone's PIN. I was confused why, I guess that's the reason? The old phone's screen was OK though, and I don't remember if I had to use it to initiate the transfer.
- TuringTourist 6mo agoThis would have saved me a lot of mental anguish about 2 years ago, my phone screen died and I needed about 5 authenticators that were on it just to clock in at my (remote) job and get to what I needed to do the job. Eventually I solved the issue by blind navigating to screen brightness and turning it all the way up, this made the screen act normal until I could replace it. The lesson here is to not have a single point of such large failure, like I did.
- seba_dos1 6mo agoThis could have easily saved you all that trouble, as scrcpy is about a decade old.
- hankerapp 6mo ago> Amazing piece of software. Inb4 google somehow blocks it, because of "security" or some other bullshit.
- Bilal_io 6mo agoMicrosoft phone link offers the same features and more btw
- JeremyNT 6mo agoJust know you've gotta prep the phone BEFORE the screen dies :) First thing I do when getting a new phone is enable ADB and set up permanent trust for my PC's ADB keys so I have this trick available if/when the screen dies. PERMANENT trust - you need to disable "automatically revoke keys" on the phone or they poof. I've had several Android phones become unusable after a drop due to screen death over the years, and this saves a LOT of hassle.
- shlewis 6mo agoThis is something that non-techsavvy users would go nuts over how it seemlessly and easily works. > A virtual display can now be made flex using --flex-display (or -x), meaning it can be resized dynamically along with the client window. Amazing.
- zote 6mo agoscrcpy is amazing software something other people might not have realised you could possibly get Dex on some unsupported devices. I got it working on my Galaxy Z Flip 5 using scrcpy --new-display=1920x1080/284
- awalGarg 6mo agoYep. And the author of scrcpy is also one of the developers of VLC media player - another piece of software that just works.
- gear54rus 6mo agoThis thing also helps capture images from stupid crap apps that prohibit screenshots. On my rooted phone with a disable-flag-secure module installed, adb screenshots are still black. Recording a video via scrcpy works on the other hand. Amazing, agreed.
- password4321 6mo ago[TIL/xkcd#1053] scrcpy ("pronounced 'screen copy'") is "Display and control your Android device" > mirrors Android devices (video and audio) connected via USB or TCP/IP and allows control using the computer's keyboard and mouse. It does not require root access or an app installed on the device. It works on Linux, Windows, and macOS
- samhclark 6mo agoAgreed with everyone else. Scrcpy is amazing and is so easy to use.
- yegle 6mo agohttps://github.com/wsvn53/scrcpy-mobile https://github.com/wsvn53/scrcpy-mobile would allow you to control Android phone from an iOS device.
- utopiah 6mo agoCoincidentally enough (or not) just yesterday while skimming through the Google laptop "Googlebook" announcement and thinking "Meh... none of that is new" and wondering if I could genuinely do all that with my current Linux/GrapheneOS setup I thought "Ok... maybe the Android windows is new" and I checked more scrcpy virtual display and display id which I use for mirroring Quest headsets. I thought "OK ok Google I give you that tiny feature" only to wake up this morning, nope, not even that.
- lern_too_spel 6mo agoThat's not a new feature. ChromeOS has had app streaming since 2023. https://chromeunboxed.com/chromebook-app-streaming-guide-limitations-recommendations/ https://chromeunboxed.com/chromebook-app-streaming-guide-lim... Similarly, the other features for the Googlebook are just normal features from Google's Android builds. The announcement is really that there will be a Chromebook Plus class of devices running the new Android-based ChromeOS, so everything in Android now comes to these devices for free, and apparently, most of the features from the current CheomeOS will be ported too. I just hope this means that Linux app support in Android will match Crostini by the end of the year.
- utopiah 6mo agoThanks for the clarification I'm clearly not deep enough in the ChromeOS/Android ecosystem to be aware of that. Makes me wander what works or doesn't with AndroidXR too.
- ramses0 6mo agoAhhhh.... "when is google phasing out chromebook and chromeos and presumably near-native linux support on their machines?" """Court documents and executive statements reveal a plan to retire the existing ChromeOS software stack by 2034. This legacy system is expected to be replaced by a unified platform internally codenamed "Project Aluminium," which migrates ChromeOS fully onto the Android tech stack.""" ...so this is effectively the first pass at "Project Aluminium" hardware? The death knell of the year of linux on the desktop? w/ 8-year EOL, that does put us right at the 2034 date.
- jraph 6mo agoI recently moved, and the infra provider of the non-profit ISP I use imposes them a two month delay to set up a new fiber line. During this delay, I met neighbors who accepted to share their WiFi with me. They live a bit far, across the way. The best way I found to get a stable connection with decent speeds was to hang my phone at the top of a window using a salad bag, and share the phone connection to a computer via USB. I didn't find a way to automatically enable the USB connection sharing before plugging in the USB cable (didn't look for a solution neither, admittedly), so I had to plug the cable, enable the sharing and then put the phone in the bag and adjust the position, all that making sure the cable doesn't disconnect or everything needs to be redone from the start. I discovered far too late that my distro now has a scrcpy package, which makes enabling the sharing conveniently from the computer. Yes, I could have tried to ask immediate neighbors instead, probably. I should get my own line this morning, as it happens. scrcpy is fantastic. I used to write longer texts with it, and now that I can use it again, I'll probably start doing it again. In recent version of Android, it appears one needs to unlock blindly as the screen is black at this time, I suppose for security reasons.
- athrowaway3z 6mo agoIn the vain of redneck-network-engineering; I was lacking a wifi dongle for a server, then I realized I could plug its Ethernet directly into a macmini and set up ip forwarding; making it a strong contender for being the most expensive dongle i'll ever use.
- cevn 6mo agoI use Linux computers in this way all the time. If you have a computer with a wifi chip, congrats, you have a reverse wifi router.
- deleted 6mo ago[deleted]
- deleted 6mo ago[deleted]
- 6mo ago
- talesfromearth 6mo agoI love Scrcpy, and I miss it after switching from Android to iOS. iOS screen sharing isn’t available in the EU. Thanks Apple.
- zhang1997 6mo ago[flagged]
- PlotCitizen 6mo agoThanks EU
- pasc1878 6mo agoWhat are the functions that the EU asks Apple has to supply. 1) Remove access from Android phone to macOS. 2) Remote access from iOS to Windows. Then if both doesn't the EU regs also require remote access from Android phone to Windows Plus same questions for Linux. scrpy is lucky as not regulated so does not have to provide iOS. Could Apple package this and thus allow its iOS version to be released in EU. Or would they still need 2.
- zhang1997 6mo ago[flagged]
- zhang1997 6mo ago[flagged]
- mrdoosun 6mo ago[flagged]
- figmert 6mo agoAmazing tool, but I had to stop using it. On my Samsung phone, I gesture based navigation. And every time I use scrcpy, the navigation stops working, and I have to restart the phone to get it working again. There's a ticket open but the developer has been unable to replicate the issue. Sadly until that is fixed, it is impossible to continue using it. The inconvenience (at least for me) is too real.
- rom1v 6mo agoPlease post a link to the issue.
- figmert 6mo agoAppreciate you replying. It's https://github.com/Genymobile/scrcpy/issues/6007 https://github.com/Genymobile/scrcpy/issues/6007
- micku7zu 6mo agoHuge fan of your projects. I've learned so much exploring your work. Thanks! I narrowed down the search for the root cause off this issue, it seems to be VIRTUAL_DISPLAY_FLAG_ALWAYS_UNLOCKED: https://github.com/Genymobile/scrcpy/issues/6007#issuecomment-4444559534 https://github.com/Genymobile/scrcpy/issues/6007#issuecommen....
- coffeecloud 6mo agoIts beautifully written C code. Very readable and grokable.
- rcarmo 6mo agoNeat. I went the other way and started writing an RDP server for Android, just so that I can use _one_ client for everything. It’s been tough going, but it’s passably usable now.
- pranshuchittora 6mo agoscrcpy new disappoints. Consistently stable, butter smooth & well maintained. Kudos to the maintainers.
- tecleandor 6mo agos/new/never/ ? :)
- danlitt 6mo agoI had to read this three times before I could see this was not somehow a release of strcpy.
- gblargg 6mo agoAnother gem to avoid using a tiny phone screen even more. Worked with my old LG V20 (Android 8.0). Perfectly smooth over USB 2.0. Reasonably smooth over Wi-Fi (adb tcpip 5555 while USB is connected, then scrcpy --tcpip=192.168.1.xxx_ wirelessly).
- gblargg 5mo agoJust adding that I tried this on our old Mac OS 10.12 (Sierra) Mac and it also worked fine in addition to Kubuntu 22.04. I almost didn't try the Mac since it's so old I figured no way.
- sandos 6mo agoFor the longest time I was so focused on getting to use an android as a "good" mic for a windows PC. Scrcpy was a very hot contender, but I never got it to work well enough with low enough latency. If you feel you should try this, just buy an audio interface and a cheap XLR mic.
- IshKebab 6mo ago> just buy an audio interface and a cheap XLR mic. Don't do that. There are plenty of good USB microphones that don't need you to faff around with shitty XLR.
- jakeway 6mo agoshitty XLR? what's wrong with XLR?
- Imustaskforhelp 6mo agoI had done this in the covid lockdown days as my school was going to online classes. Droidcam and wo-mic are some good options in this space. Droidcam if you need both a webcam and mic. Wo-mic used to work on lower android versions. I remember plugging Droidcam to my win 7 (1gb-ram) crt tv computer and then taking an really old mostly junk phone outside and my parents were watching the monitor. It was really awesome :p Though after an year, I ended up buying a webcam because that unused phone used to get quite heated and was really a finnicky setup to do everyday but It was a very fun experiment that I did for quite many months. It's been a few years since covid now and I have a mac laptop now but on my desktop I still don't have webcam, and so I also use https://obs.ninja https://obs.ninja sometimes now So TLDR if someone really wishes to do this: Droidcam,wo-mic,(https://obs.ninja https://obs.ninja + OBS live camera option) I think its a good way to make use of old phones that you might not be using but imo battery life and its consumption seems to be the biggest hurdle imho
- richardboegli 6mo agoI used WO mic for this purpose and it worked quite well https://wolicheng.com/womic/download.html https://wolicheng.com/womic/download.html
- gsich 6mo ago--keep-awake, finally.
- freedomben 6mo agoFor anyone on Android who has not played with scrcpy, it is truly an incredible project. It's not very often I have a mind blown experience when trying out new things, but I very much did. There are a lot of nice switches to get it to do nearly anything you'd want, so it's worth reading through the usage
- JamesSwift 6mo agoGenymobile is also behind Genymotion which was an incredible product when it came out. Head and shoulders above the other emulator options in performance.
- JSR_FDED 6mo agoI’m not familiar enough with Android, so I’m wondering if the ability to control the phone requires special permissions? I’d love to have this on iOS but I believe you can’t inject touch events for security reasons.
- doctorpangloss 6mo agois latency a priority? what are the obstacles to reducing it?
- hyperbolablabla 6mo agoSerious question, what are people using this for?
- sir_brickalot 6mo agoI had a dead screen on a phone, so I was able to enable screenreader mode, used that to navigate to enable USB debugging and allow scrcpy screensharing. That process cost me a couple of days and a similar working phone for testing, but it worked and I could save all the data on the phone.
- VoidWhisperer 6mo agoI work doing mobile app development and scrcpy along with iphone mirroring for iphone have made it much easier to do typing which is super helpful when testing flows that involve filling out forms. Only gripe with scrcpy (and an extremely minor one at that) is that tab doesnt automatically advance input fields in the app, while it does in iphone mirroring
- akashwadhwani35 6mo agoLove how you're smiling