scrcpy
scrcpy copied to clipboard
Standalone Binary for MacOS just like Windows
Its very deterrent that MacOS users have to install a pathetic package manager which itself cost 3-4GB storage and take immense time to update repo like Homebrew , Macports to install scrcpy . Is it not going to get solved #1733 Please Close it if its not possible at all . Others are cashing it out like paid software Wormhole for mac performing same thing essentially using scrcpy source at core .
@Genxster1998 in contrast to scrcpy:
- for Android, Wormhole also needs an app installed on the phone as per their FAQ (haven't used the software yet)
- in macOS, it asks to allow access via System Prefs > Security > Privacy > Accessibility
How do you know that Wormhole for Mac is using scrcpy source at core if there is a core difference to begin with? Can you please share links regarding your claim to follow and read?
(at least their Mac app "only" weighs 124 MB, and their current Android app from October 14, 2021 only 6.8 MB)
@LeeBinder I meant with technology idea ... You think scrcpy don't need a server or only need it to be temporarily injected in art /dalvik runtime via a jar not apk ,come on ! I have seen same dependencies like avcodec, avutil avformat libs in its app supporting files . It uses Qt but I won't say that this is a poor wrapper blatantly copy things underhood. For windows scrcpy provides fairly standalone binary instead of pulling 2GB+ other unix dependencies packages .
How do you know that Wormhole for Mac is using scrcpy source at core if there is a core difference to begin with?
Out of curiosity, I just checked: I installed the app in a VM, then decompiled Wormhole.apk (with jadx). There are a lot of additional dependencies (both for the client and the server). In the server, only one directory is obfuscated, but there is no doubt that it's the code of scrcpy (an old version).
For example (wormhole on the left, scrcpy on the right):

All the other files are also obviously the same as scrcpy source files. And the directory structure is the same.
They just replaced "com.genymobile.scrcpy" with "com.viper.wormhole".
@ Romain I am sorry to see what you just found out. Did they infringe upon the Apache license you have filed scrcpy under as per that section in your ReadMe? I don't see any official mention of scrcpy anywhere throughout their website.
Their Google Pay Store's page discloses their full address (in UK).
@Genxster1998 good job, you have sensitive detective whiskers!
I'm not a dev so even if I looked at the source code, I wouldn't be able to tell the exact digital magic Romain is using for scrcpy. Sure it's doing some live runtime injection into Android components via adb, otherwise it wouldn't perform, but like Romain states in the ReadMe:
non-intrusiveness: nothing is left installed on the Android device
@rom1v would it be of any help if you had a chance to run macOS - would that enable you to compile all the components for a stand-alone package for Mac only containing scrcpy itself + the necessary dependencies (binaries, dylds, headers etc.) analog to the nicely small Windows zip package?
@Genxster1998 thanks to neverpanic's detailed yet brief instructions, we can now build the stand-alone ourselves - it's really super-easy, see here and ff 👍
I have scrcpy stand-alone running perfectly in macOS Catalina :)
sound that it's already to support Standalone Binary for MacOS? Good :) I also don't like installing such more dependence haha..
scrcpy for macOS
@Coool could not run 'scrcpy' in Terminal. here's a hint - Could not open 'scrcpy' because the developer could not be verified
@shuosiw, scrcpy v2.0 for macOS.
P.S. Report on which macOS version binary is working!
@Coool zsh: bad CPU type in executable: ./scrcpy ,pls support Apple silicon m1&m2,pls update,thx
@Coool can you tell me , how to build a standalone binary for macOS(Apple silicon m1&m2)?
@shuosiw, scrcpy v2.0 for macOS.
P.S. Report on which macOS version binary is working!
Please update to v2.2 or refer to the provided tutorial for instructions. Thank you very much.
@shuosiw, scrcpy v2.0 for macOS. P.S. Report on which macOS version binary is working!
Please update to v2.2 or refer to the provided tutorial for instructions. Thank you very much.
Please update to v2.4 or refer to the provided tutorial for instructions. Thank you very much.