Install Taskbar.
If you don't you'll automatically get redirected to the Play Store page of that app.
Just run startscreen.sh
, it should do all the magic itself.
NOTE: It may or may not prompt you to restart your device, which you have to do for a one-time setup. After that, you no longer need to do (unless you change that particular option under developer settings)
When running the startscreen.sh
script you can change the resolution and
DPI via command-line arguments, for example: ./startscreen.sh 1920x1080 120
bin
..exe
files are located within the bin folder and
not as an sub-folder.powershell
within the address bar and press enter.\startscreen.ps1 -Resolution widthxheight -DPI your_desired_dpi
and
press enter.If after running the script all you get is a black screen, that means that the Android OS that you're running is missing a "desktop launcher". This can be fixed by installing it, for example Taskbar.
In case the virtual keyboard pops up when you use this script, install No Keyboard: Hideable keyboard and enable as an input layout it within your language settings. This should prevent that from happening.
https://github.com/Genymobile/scrcpy - The magic that made this possible
https://github.com/reversegear/scrcpy-pi-omx - Where this idea came from and what the code was inspired by