Giter Site home page Giter Site logo

scrcpy-plus's Introduction

SCRCPY+

scrcpy-plus icon

THANKS FOR 60K DOWNLOADS

Features

  • 🚩 Supports Most SCRCPY Flags
  • πŸ“± Device Information β€’ Get Model Information About the Active Device
  • πŸ“Ά Wireless Connectivity β€’ Connect to a Device on your WiFi Network
  • πŸ“¦ Easily Manage Packages β€’ Remove System Bloat Without Root
  • πŸ“‚ File Manager β€’ Download & Delete Files
  • πŸ’Ύ Partition Dumper β€’ Coming Soon

Download

Platform Portable Installer Comments
πŸͺŸ Windows v2.1.0 v2.1.0 SCRCPY Bundled
🐧 Linux v2.1.0 N/A SCRCPY and ADB must be installed prior to running
🍎 MacOS N/A N/A Build guide

Community Downloads

NOTE: These are community-provided methods. Please use official downloads if you wish to report an issue.

Platform Link Command
πŸͺŸ WinGet Winstall winget install Frontesque.scrcpy+

Prerequisites

  • WINDOWS: None; SCRCPY and ADB come packaged with the app in both the portable and installer versions.
  • LINUX & Mac: Both SCRCPY & ADB need to be installed to your computer per your distro's instructions.

On macOS, you need to sync the dock path to the system path. You can do this by running the following command in your terminal:

launchctl setenv PATH $PATH

SCRCPY

You can view the project that this is based off of here: https://github.com/Genymobile/scrcpy

Thanks a ton Genymobile!

Screenshots

scrcpy-plus's People

Contributors

frontesque avatar milindgoel15 avatar rusydy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scrcpy-plus's Issues

Share window closing when inactive; scrcpy+ reopen needed to resume

The share window is closing after being inactive for a while (which is probably good). However, the SCRCPY+ window does not return to disconnected mode (still shows "currently running", no "start" button"). I have to close SCPCPY+ window and reopen to get the start button back. If the share window is closed manually, disconnect registers (start button).

Retains wi-fi connection previously made (does not reset to boot-up state). This only started since the last update (2.1.0); before then the share widow just stayed open indefinitely unless manually closed.

Wrong Build number

Hi there,
My device (Huawei P30 Pro) has build 12.0.0.134, however, scrpy-plus is telling me I only have android 10 hence I cannot connect audio or wifi., any workarounds or fixes please?

Lack of a way to recover from connection issues - Softlock

If the connection fails (information entry mistake) or stalls (says it connects, but then circles forever "connecting" in the device area), there is no way to retry. Everything is entirely stuck without a way to abort or retry. Even end-tasking as many processes as can be found does not fix the problem. The program remains in a locked state until the entire computer is rebooted. This is a large issue, as rebooting may not always be trivial or even possible to do. The program needs to be able to abort and retry or retry in place or at least have a way to force a full kill without touching the rest of the system; it must not irrecoverably softlock.

Issue; `information.vue:32` causing error

Summary

When I run the code, I get an error message Uncaught (in promise) TypeError: this.spb is undefined. The error is caused by the line this.spb.execute('test'); in information.vue file.

Description

Hi @Frontesque,

I found this line in your code on the vue3 branch:

<script>
export default {
  data() {
    return {
      scrcpyPlusVersion: this.$version
    }
  },
  mounted() {
    this.spb.execute('test'); <--- this line
  }
}
</script>

causing this error:

Uncaught (in promise) TypeError: this.spb is undefined
    mounted information.vue:32
    createHook runtime-core.esm-bundler.js:2879
    callWithErrorHandling runtime-core.esm-bundler.js:195
    callWithAsyncErrorHandling runtime-core.esm-bundler.js:202
    __weh runtime-core.esm-bundler.js:2859
    flushPostFlushCbs runtime-core.esm-bundler.js:378
    flushJobs runtime-core.esm-bundler.js:416
    promise callback*queueFlush runtime-core.esm-bundler.js:319
    queueJob runtime-core.esm-bundler.js:313
    effect runtime-core.esm-bundler.js:6145
    resetScheduling reactivity.esm-bundler.js:263
    triggerEffects reactivity.esm-bundler.js:307
    triggerRefValue reactivity.esm-bundler.js:1069
    set value reactivity.esm-bundler.js:1114
    finalizeNavigation vue-router.mjs:3400
    pushWithRedirect vue-router.mjs:3265
    promise callback*pushWithRedirect vue-router.mjs:3232
    push vue-router.mjs:3157
    install vue-router.mjs:3598
    use runtime-core.esm-bundler.js:3860
    <anonymous> main.js:9
    js app.js:334
    __webpack_require__ app.js:405
    __webpack_exports__ app.js:1521
    O app.js:447
    <anonymous> app.js:1522
    <anonymous> app.js:1524
information.vue:32

When I commented out the line, the error disappeared.

Before I investigate further, May I know what is the purpose of this line and what is the expected behaviour when it is executed?

Make it work with more then one connected devices

Hi, good software and simple UI.
But works with only one connected devices.
On my pc i have at least 2-3 devices at once.

Both scrcpy and adb has option -s
adb -s <Serial number>
scrcpy -s <Serial number>

Share stops randomly

The share is closing at random intervals, for no clear reason. It will just stop and the window closes. No error message or other indication of issue. The UI does not close, but the "start" button will no longer be there, and the UI must be closed and restarted to get the button back and be able to resume the share.

The connection details are not lost during this (you do not have to reenter the wireless codes, ips, etc.) and once you do restart the ui, it will immediately be able to resume.

Remember scrcpy settings

Currently, only scrcpy+ settings are saved while scrcpy settings (shown below, including the advanced options) aren't, making it a bit painful to set again every time you reconnect a device. It would be nice if those were saved too

image

Download Link (WINDOWS) Broken :(

Hey mate :)
I hope you're well.
Just a heads up your Windows download links are no longer working.
I've had a few people on YouTube ask about it.
Let me know when you get it up and running again and I'll forward the message to them.

Cheers!

Scrcpy Command Line Flags in the GUI

To increase performance for some apps and some games, being able to pass over command line flags via the GUI would be awesome. For example "scrcpy -m 1280 -b15m --no-control --render-expired-frames --prefer-text". Things like prefer-text is already included as a toggle option, and I do thing as many options should be added in that fashion with a quick description and why you might want it, but a field to enter custom commands would be awesome.

The best SCRCPY GUI going (BUT!)

Just wanted to say that this is the best and most reliable SCRCPY GUI available. All the other ones are a nightmare to use or just don't have English language support. The only downside to this so far is the lack of options. It would be nice to see more of the commands listed. If you do end up adding them at some stage I add them to my review (linked below) and probably make a YouTube video about it. We are quite a big source for SCRCPY troubleshooting and set up content.
www.downloadsource.net ](https://www.downloadsource.net/how-to-get-scrcpy-gui-graphic-user-interface/n/21549/)

Cheers!

[MacOS] Bad close button behaviour

USING scrcpy+ (develop branch) on MacOS
WHEN using the close button
THEN the app is not properly killed (it stays in the dock)
AND when reopening it, it shows a white screen

image
image (notice the dot under the icon)
image

[Request] Option to automatically keep Scrcpy up to date with Genymobile releases

Would it be possible to add an option to keep the /resources/Scrcpy version up to date with the Genymobile repo? This could be implemented in two ways:

  1. As an option in the GUI, along with automatic updates to Scrcpy+, to automatically fetch the latest release from the Genymobile repo and unpack it in the /resources/scrcpy directory.
  2. As a separate release channel for Scrcpy+, e.g. named Scrcpy+alpha. It would be a separate branch in this scrcpy-plus github repo containing a workflow Action (I believe I could help do a PR for this if needed) that would automatically merge this repo's /resources/scrcpy folder with the latest upstream from Genymobile and publish a new release. Users who choose to install Scrcpy+alpha would get automatic updates from this channel instead of the regular release channel.

Either way, users would have the option to get the latest improvements from Genymobile/scrcpy immediately, without waiting for this repo to be updated manually. Users would be warned that since you, the Scrcpy+ dev, have not had a chance to test out the latest changes for compatibility and publish an official Scrcpy+ update, some features may break as a result of upstream changes.

Android Phone Video Recording Does Not Work

Hello, the video recording on the android phone while running scrcpy plus does not work. It says failure to record. Also says video codec being used by another application. I have checked and restarted the PC to ensure no other "video" app is being used, it still does not work. Thank you Rocky

GREAT - Need - Audio Source - on PC

Hello

I have found this application great, but as soon as i plug myu headphones in mobile phone the Audio which is returned to the PC stops,
Please this is a really big request, as I can use the phone to do my work with headphones on without disturbing anyone, and also at the same time CAST my session on "PC" for others to watch - on a big screen, without "ECHO".

For Example - Duowan app has similar feature but it shows some stupid WATERMARK

Would it be possible for the APP - to take mobile - Microphone / + Sound on the Laptop , even when the headphones are plugged in ??

PLEASE this would be great

Error detecting SCRCPY on MacOS

Thanks for proving the instructions on building this great app for Mac.

I changed the .js file to linux, installed the necessary components, but get stuck on the "Electron-nuxt: Starting ..." Everything below the Nuxt [10:08:21 PM] is in red with no result in the build folder. Am sure I'm missing something...

% yarn build
yarn run v1.22.19
$ node .electron-nuxt/build.js


  Main   [10:08:20 PM]
β”‚  Hash: 9da71251201a8cdcc9b9
β”‚  Version: webpack 4.46.0
β”‚  Time: 76ms
β”‚  Built at: 07/03/2022 10:08:20 PM
β”‚     Asset      Size  Chunks             Chunk Names
β”‚  index.js  2.81 KiB       0  [emitted]  main
β”‚  Entrypoint main = index.js
β”‚  [0] external "electron" 42 bytes {0} [built]
β”‚  [1] external "path" 42 bytes {0} [built]
β”‚  [2] external "url" 42 bytes {0} [built]
β”‚  [3] external "events" 42 bytes {0} [built]
β”‚  [4] ./src/main/boot/index.prod.js 954 bytes {0} [built]
β”‚  [5] ./src/main/index.js 348 bytes {0} [built]
β”‚  [6] ./src/main/mainWindow.js + 1 modules 3.09 KiB {0} [built]
β”‚      | ./src/main/mainWindow.js 444 bytes [built]
β”‚      | ./src/main/BrowserWinHandler.js 2.65 KiB [built]

  Nuxt   [10:08:21 PM]
β”‚  /Users/XXXX/Downloads/scrcpy-plus-main/src/renderer/nuxt.config.js:12
β”‚      os: οΏ½linuxοΏ½,
β”‚          
β”‚  
β”‚  SyntaxError: Invalid or unexpected token
β”‚      at Object.compileFunction (node:vm:353:18)
β”‚      at wrapSafe (node:internal/modules/cjs/loader:1040:15)
β”‚      at Module._compile (node:internal/modules/cjs/loader:1076:27)
β”‚      at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
β”‚      at Module.load (node:internal/modules/cjs/loader:988:32)
β”‚      at Module._load (node:internal/modules/cjs/loader:834:12)
β”‚      at Module.require (node:internal/modules/cjs/loader:1012:19)
β”‚      at require (node:internal/modules/cjs/helpers:102:18)
β”‚      at Object.<anonymous> (/Users/XXXX/Downloads/scrcpy-plus-main/.electron-nuxt/renderer/nuxt.config.js:11:24)
β”‚      at Module._compile (node:internal/modules/cjs/loader:1112:14)
β”‚      at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
β”‚      at Module.load (node:internal/modules/cjs/loader:988:32)
β”‚      at Module._load (node:internal/modules/cjs/loader:834:12)
β”‚      at Module.require (node:internal/modules/cjs/loader:1012:19)
β”‚      at require (node:internal/modules/cjs/helpers:102:18)
β”‚      at Object.<anonymous> (/Users/XXXXX/Downloads/scrcpy-plus-main/.electron-nuxt/renderer/nuxt-process.js:3:20)
β”‚  
β”‚  Node.js v18.4.0
β”‚  
β ΉElectron-nuxt: Starting ...

Sensitive Content unavailable in Android 11 and above

In my device running Android 9.0 (Pie). I could sensitive Content such as WhatsApp View Once message when using SCRCPY+. But now I can't because it loads a black screen in my new Phone.

My Device is Android 13.

Report to Microsoft the app is safe

When downloading the app from Microsoft Edge browser the Download gets blocked by Microsoft defender as the app and flags it as potentially unsafe as the app doesn't get downloaded often.
Therefore, you have to report the app as safe to Microsoft. Here's how

  1. Download an exe version of the app from within Microsoft Edge
  2. When the download gets blocked Click ... and choose keep
  3. When the following warning shows up select Show More then Report this app as Safe
    image

You will be redirected to Microsoft's feedback page.

Help with Spanish translation

Hi, Your module is great.

I would love to help you to translate the app to spanish.

I would also love you to upload your app to Winget to make it easier to update via WingetUI and that will help you to spread the word about your app.

Request, add advanced scrcpy settings

There isn't an option to change the modifier key. Rather than ask for just that alone I thought I'd ask for a text box that allows for arbitrary scrcpy flags which would make coming over from pure scrpy easier.

Mirror screen while using otg mode?

Would it be possible to add an option to mirror screen while using otp mode?
So that you can click on the scrcpy window to send the mouse across.

And would it be possible to make the otg window resizable proportionately?
The current window is a little to big.

Also maybe the ability to set a shortcut to switch from and to the phone in otg mode?

Thanks

Remember devices that connected through wireless adb

I usually use wireless adb bc I don't feel like grabbing the usb cable and every time I have to input the IP address and port number. It would be a great quality of life improvement for scrcpy+ to remember past devices and/or let you save devices and rename them

Add option for --no-audio and crop options

Dear Kenny,

Thank you for such a great peace of software!

My friends and I have been using it for quite some time and one of them recently got into some encoders errors.

( bug reported on Genymobile/scrcpy#3859 )

I've found a simple workaround, use --no-audio flag.

Can you please add option for this (my friend would be extremely thankful!) 😸

I, on the other hand ,would be grateful to have an option to "crop" the stream (as per https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#crop ). I find this quite useful when using the software as whiteboard for giving lectures to students with my Galaxy Tab S8+; but the software I use for drawing (Noteshelf) doesn't support full screen drawing, so I'm always left with lot's of borders around the screen. This way I can nicely lock the paper size and trim everything not needed to declutter the working space (e.g color palette and arriving notifications).

I've already seen someone requesting saving last used settings, but if this would be combined with the option to save presets (e.g, "Lectures" with "scrcpy --no-audio -b 6M --max-fps=15 --crop=1752:2800:140:0 --display-buffer=50 -m 1024") it would be a real killer feature. This was the line of code I had to copy each time starting scrcpy, and would love to see this behind the GUI of SCRCPY+ πŸ€—

Once more, thank you and have a great day!
Bruno

build new app for win 11 arch 64

im trying to build new one from source code and the build complete done but when open the app it's return this error . and i already install it and the same error :
Error Starting SCRCPY+
This error could be caused by SCRCPY not being properly installed on your OS.
More Details
Error: Command failed: cd resources/scrcpy/&scrcpy --version
This version of C:\Users\mson\Downloads\Compressed\scrcpy-plus-2.0.2\scrcpy-plus-2.0.2\build\win-unpacked\resources\scrcpy\scrcpy.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

Option to remember Ip Address for wireless connection

Whenever we establish a new wireless connection, we have to retype the entire IP address and port. The port changes every time, but the IP can stay static if you are on the same network and using the same device often. An option to remember the IP for later would be handy. I am currently keeping this in a txt file and copy-pasting every time; this would simply put it all inside the program itself.

ios support

is it possible to add ios support to scrcpy because scrcpy is so usefull in android and ios lack this functionality.

Modified avcodec-60.dll File After Cloning Repository

Issue Description

Every time I clone the repository, I find that the resources/scrcpy/avcodec-60.dll file has been modified. In addition, I am unable to use the git checkout -- . command to discard all local changes in the working directory and revert the files to the state they were in at the last commit.

Screenshot 2024-05-30 at 14 38 25

Steps to Reproduce

  1. Clone the repository.
  2. Check the status of the repository using git status.

Expected Behaviour

No files should appear as modified immediately after cloning the repository.

Actual Behaviour

The resources/scrcpy/avcodec-60.dll file shows up as modified.

Additional Information

  • Git version: 2.42.0
  • Operating System: macOS 14.4.1 (23E224)

Please let me know if you need any further information to resolve this issue.

SCRCPY mode change - Wired and Wireless

It seems like once you are set up for wireless, the wired mode no longer works. It just forever shows the 'connecting' circle if it is plugged in. Wired mode is preferable for some things (Ie large file transfers), so having a way to switch (or even better, having it switch by detecting if you are plugged in or not) would be very useful.

Nothing happens when you click "Start Scrcpy"

Scrcpy+ v.2.0.2 on Windows 11 Pro connecting to a Samsung Galaxy S22 Ultra on Android 14.

After connecting my device via ADB and setting up the desired options (Keep awake), I click on "Start ScrCpy" and it displays "SCRCPY is currently running" but nothing else happens. There is no screen mirror window that pops up or any other indication that it activated. In fact, I can''t end the Scrcpy session without closing out of the program entirely. This happens whether the connection is wired or wireless.

Display screen shared will crash all of sudden while inactive.

I am not really sure it crashes while it's inactive but the screen sharing crashes and Scrcpy+ still shows it's running. Then I need to restart the app or tap on the changelog button and go back to refresh the main page to make the UI update.

Is there a way to get logs of this?

File Manager - Download Button

Dear developer

This is my very first time writing on GitHub, so forgive me for any missteps in formatting and wording.
Wanted to share with you the following observation.
In the file manager, the very first time I was able to select the folder "/emulated/0/Android/data/org.telegram.messenger" and the download button turned green, and the download started after I clicked on it.
After closing the app Scrcpy+ and starting it again, I could select what I wanted, the download button did not turn green again.
Know the file manager is still in beta and I don't expect stable functionality and maybe you already know the behavior.

Thank you for your attention and thank you for your work. Good luck for the future!

Translated with www.DeepL.com/Translator (free version)

Winget Support

I just saw a new update available when I opened scrcpy-plus but since I prefer to update via Winget, I checked and there was no update there. I want to know how much time does it generally take for Winget to process new updates and distribute them?

[MacOS] Device not detected

WHEN I launch scrcpy+
AND I try to connect to my android device
THEN The device doesn't appear in the list and there are no devices found

image

image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.