Closed Okra0o0 closed 3 months ago
Currently Android 15 devices have no screen, but it can be control, whether it's scrcpy-server.jar problem, can you fix it? Thanks~
Yeah, been trying to create scrcpy-server.jar from the latest version of scrcpy, but to no avail
Currently Android 15 devices have no screen, but it can be control, whether it's scrcpy-server.jar problem, can you fix it? Thanks~
Yeah, been trying to create scrcpy-server.jar from the latest version of scrcpy, but to no avail
I also trid the Genymobile/scrcpy v2.5, but it didn't work, after all, Genymobile/scrcpy has committed many versions
Currently Android 15 devices have no screen, but it can be control, whether it's scrcpy-server.jar problem, can you fix it? Thanks~
Yeah, been trying to create scrcpy-server.jar from the latest version of scrcpy, but to no avail
With this Issue 4657, I modified the source code based on NetrisTV/scrcpy version 1.19 and compiled a new version of the scrcpy-server.jar. It can work in Android 15 beta.
Currently Android 15 devices have no screen, but it can be control, whether it's scrcpy-server.jar problem, can you fix it? Thanks~
Yeah, been trying to create scrcpy-server.jar from the latest version of scrcpy, but to no avail
With this Issue 4657, I modified the source code based on NetrisTV/scrcpy version 1.19 and compiled a new version of the scrcpy-server.jar. It can work in Android 15 beta.
HI, i would appreciate if you could share your scrcpy-server.jar with me, been trying to do it myself but no success, thanks
Currently Android 15 devices have no screen, but it can be control, whether it's scrcpy-server.jar problem, can you fix it? Thanks~
Yeah, been trying to create scrcpy-server.jar from the latest version of scrcpy, but to no avail
With this Issue 4657, I modified the source code based on NetrisTV/scrcpy version 1.19 and compiled a new version of the scrcpy-server.jar. It can work in Android 15 beta.
HI, i would appreciate if you could share your scrcpy-server.jar with me, been trying to do it myself but no success, thanks
You can give it a try, although it needs to be optimized. scrcpy-server15.zip
Currently Android 15 devices have no screen, but it can be control, whether it's scrcpy-server.jar problem, can you fix it? Thanks~
Yeah, been trying to create scrcpy-server.jar from the latest version of scrcpy, but to no avail
With this Issue 4657, I modified the source code based on NetrisTV/scrcpy version 1.19 and compiled a new version of the scrcpy-server.jar. It can work in Android 15 beta.
HI, i would appreciate if you could share your scrcpy-server.jar with me, been trying to do it myself but no success, thanks
You can give it a try, although it needs to be optimized. scrcpy-server15.zip
It worked, thanks man
@Okra0o0 I've tried it with your updated scrcpy server and it didnt worked with android 14 pixel. Which scrcpy version did you use for it?
or may i see your codebase to debug?
Check out this issue: https://github.com/NetrisTV/ws-scrcpy/issues/306
@Okra0o0 I've tried it with your updated scrcpy server and it didnt worked with android 14 pixel. Which scrcpy version did you use for it?
or may i see your codebase to debug?
Check out this issue: #306
Caused by: java.lang.NoSuchMethodException: android.view.SurfaceControl.createDisplay [class java.lang.String, boolean] ---> SurfaceControl will be deprecated in new version, so change to VirtualDisplay. Associated files such as attachments. And these changes based on NetrisTV/scrcpy version 1.19 branch. By the way, it worked in my android 14 (AP1A.240405.019.A1) pixel 6 pro. java.zip
@Okra0o0 can you give some instruction what to do with the attached files? I'm assuming by the heart reactions it fixes the issue...
@Okra0o0 can you give some instruction what to do with the attached files? I'm assuming by the heart reactions it fixes the issue...
You just need to replace the scrcpy .jar file in the project
It's somewhere in the vendors / Genymobile folder
I tried, but the screen of my Pixel remained blank :eyes: . It works fine with a xiaomi device... I'm just running npm start after replacing the jar, is that enough or even more required?
Yes it haven't worked with my pixel at first time too. After clearing caches, few pc restarts and phone restarts it suddenly started to work. Idk what of them exactly fixed the problem
Awesome, a reboot did indeed fix the issue.
@Okra0o0 could you still share your changes somewhere? I'd like to be able to further customize the server jar.
Awesome, a reboot did indeed fix the issue.
@Okra0o0 could you still share your changes somewhere? I'd like to be able to further customize the server jar.
Here you go java.zip
Credits to @Okra0o0
So those four files are the only changes in the scrcpy fork we have to make to build that jar?
I saw them earlier, but thought that can't be it 😅 .
awesome! thanks @Okra0o0 and thanks everyone! for this support.
Currently Android 15 devices have no screen, but it can be control, whether it's scrcpy-server.jar problem, can you fix it? Thanks~