- Have a proper USB cable that works (or a good Wi-Fi for use with ADB wireless)
- Have a PC that is ABLE to process real-time video
- Make sure that the connection is good (USB or Wi-Fi)
- Android 10 (MINIMUM) running on the device
- Developer mode enabled
- Your PC MUST have ADB access to your phone
- ADB and SCRCPY installed on your PC
- Proper binutils (for now) on the Android device
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
- Download this repo and extract the contents.
- Inside this repo, create a folder named
bin
. - Download scrcpy and extract
it's contents so that the
.exe
files are located within the bin folder and not as an sub-folder. - Open the extracted repo folder within explorer.
- Type
powershell
within the address bar and press enter - Type
.\startscreen.ps1 -Resolution widthxheight -DPI your_desired_dpi
and press enter. - If Windows bothers you with a prompt talking about trust, press R to run the script.
- Enjoy.
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.
- A very botched implementation ATM
- The Windows version has no way to automatically obtain the resolution
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