(INCOMPLETE -- NOT FOUND A GOOD DESKTOP MODE PROCESS)
My Pixel phone does not support USB video output. Which means I can't connect my phone to my display via USB-to-HDMI (or any other) cable and expect it to work. Scrcpy supports Virtual Display and wireless connection now. Which means I can view my android in 1920x1080 on my monitor in desktop mode. And if installed Termux https://termux.dev/en/ I can use it like a Linux system that I always have in my pocket.
- Download scrcpy https://github.com/Genymobile/scrcpy and extract
- Open a terminal/cmd in scrcpy folder
- Establish a connection between your computer and android phone
- Using USB cable
- Connect phone to PC with USB
- PC:
adb tcpip 5555
- Unplug USB
- PC:
adb connect YOUR_ANDROID_IP:5555
- Using pairing code (without USB cable, Android 11+ https://developer.android.com/tools/adb#wireless-android11-command-line)
- Android: Enable wireless debugging
- Android: "Pair device with pairing code"
- PC:
adb pair IP:PAIR_PORT
whereIP:PAIR_PORT
is in pairing code popup box - PC:
adb connect IP:PORT
where a different port is shown in the wireless debugging screen
- Using USB cable
- Connect to phone as Virtual Display using scrcpy https://github.com/Genymobile/scrcpy/blob/master/doc/virtual_display.md
scrcpy.exe --new-display=1920x1080
This unfortunately does not show a taskbar though
If in developer options you set the DPI very high using Smallest width
e.g. 700 it makes the display desktop like. I don't yet how to replicate this built in desktop mode to this virtual display.
- Install the Taskbar app https://github.com/farmerbb/Taskbar