Need to choose File Transfer/Android Auto
- Prepare Android Device:
- Enable ‘USB debugging’: Settings > About phone > Tap ‘Build number’ 7 times > Back > Developer options > USB debugging.
- Enable ‘USB debugging (Security settings)’.
- Setup on Ubuntu:
- Install ADB:
sudo apt install adb -y - Install Scrcpy:
sudo apt install scrcpy -y - Connect Device:
- Use USB to connect Android to Ubuntu.
- Check connection:
adb devices - Restart ADB if needed:
adb kill-serveradb start-server
- Start Mirroring:
- Command:
scrcpy --bit-rate 2M --max-size 800 - Troubleshooting:
- Restart the phone if issues arise.