opkg update && opkg install docker luci-app-dockerman docker-compose dockerd
reboot
docker run --name ws-scrcpy -d -p 8000:8000 haris132/ws-scrcpy
docker exec ws-scrcpy adb connect android.device.ip:5555
Pay attention to modify android.device.ip to the IP address of the Android device.
Used to control Android devices in the browser.
docker run --name ws-scrcpy -d -p 8000:8000 scavin/ws-scrcpy
docker exec ws-scrcpy adb connect android.device.ip:5555
Pay attention to modify android.device.ip to the IP address of the Android device.
- Install the adb toolkit (SDK Platform Tools)
- Turn on developer mode
- Connect the Android device using USB and authorize
- Terminal input
adb tcpip 5555
Just return restarting in TCP mode port: 5555
.
Switch back to USB mode: adb usb