nikp123 / scrcpy-desktop

Run an Android desktop environment off of a device using ONLY scrcpy
GNU General Public License v2.0
214 stars 15 forks source link

Black screen in scrcpy #7

Open patientx opened 2 years ago

patientx commented 2 years ago

Sorry for the question if it seems stupid but, do these binutils something that only those "usable as desktop" phones such as those samsungs etc or are they an installable package maybe requiring root ?

nikp123 commented 2 years ago

most likely your phone has them already, but i'm like making sure that you know what the issue is if it DOES occur

probably some guy is going to report like: "oh i dont have the ps command on my phone"

patientx commented 2 years ago

OK , to be clear, I have a xiaomi mi 8 pro at latest version of miui and android 11 , without root. When I used the sh file in linux only got black screen on android and later got to delete the overlay via command after phone screen also become black and unresponsive and had to reboot it manually.

nikp123 commented 2 years ago

It seems to be an issue with MIUI, @Paddim8 also experienced this. ||(sorry for @-ing you bakk)||

nikp123 commented 2 years ago

please try this and report results https://www.xda-developers.com/taskbar-samsung-dex-desktop-mode-android-10

PaddiM8 commented 2 years ago

please try this and report results https://www.xda-developers.com/taskbar-samsung-dex-desktop-mode-android-10

That did... something. I can now see my wallpaper, and the taskbar does show up. However, it doesn't really work still. Most buttons don't do anything. The right most one seems to work but that's about it.

nikp123 commented 2 years ago

try closing all apps before you run them in desktop mode, they're probably showing up on your phone instead of the desktop

Underknowledge commented 2 years ago

coming from here https://github.com/nikp123/scrcpy-desktop/issues/8#issuecomment-946403808 I have a stock OnePlus5 Cheeseburger and faced the same issue. after installing com.farmerbb.taskbar I got it running. only enabling display over other apps. Adding this to the readme isn't terrible.

nikp123 commented 2 years ago

did so

Underknowledge commented 2 years ago

just as an idea you could open the store with adb shell am start -a android.intent.action.VIEW -d 'market://details?id=com.farmerbb.taskbar'

Would be nice to be able to query if there is an appropriate launcher already on the phone