Many of my tutorials contain more info then the tittle suggests.
That is the case here.
Before we tackle how to screencast your android device on ArcoLinux we tell you what I did prior to this test.
- we build the very latest iso – you can do this too if you follow this tutorial
- then we burn the iso with our usb burner
- then we clean install ArcoLinux on a SSD
- we use the url https://bit.ly/arcogetstarted3 to get my scripts in – more info here
- I ran the bare-start-here script
- then I git cloned the arcolinux-nemesis github – more info here
Now I have the script to install scrcpy on my machine and we install it.
sudo pacman -S android-tools yay -S scrcpy
Then we connect our android device to our pc with an USB-C cable.
Make sure that your Android device is on at all times.
Your android device will ask access to connect to your computer.
Always allow, always confirm.
Allow if you get the answer for the fingerprint and RSA.
You need to change settings in your android device in order to be able to screencast.
Let us copy/paste the explanation from the Arch Wiki.
“Enable USB Debugging on your phone or device:
- Jelly Bean (4.2) and newer: Go to Settings > About Phone tap Build Number 7 times until you get a popup that you have become a developer. Then go to Settings > Developer > USB debugging and enable it. The device will ask to allow the computer with its fingerprint to connect. Allowing it permanently will copy
~/.android/adbkey.pub
onto the devices/data/misc/adb/adb_keys
folder.”
Source : https://wiki.archlinux.org/index.php/Android_Debug_Bridge#Connect_device
If you still need more info then check out this great tutorial from howtogeek.com.
Here are the essential screens you need.
Go to settings > About phone >Software information and tap 7 times on Build number until you see the message about becoming a developer
Then you move back up in the menu until you see a new menu called Developer Options
In the developer options you can then activate the usb debugging.
Here is another video to show what you need to do on your Android machine
Links you might need