mirror android using usb code example
Example: mirror android to pc
NOTE : try these steps
// Enable developer option in Android mobile
// Enable USB debugging mode
// Paste 1 by 1 from below
> sudo snap install scrcpy
> sudo apt install abd
> sudo apt-get install android-tools-adb android-tools-fastboot
> sudo apt-get install ffmpeg