scrcpy cannot connect device in debian11
binoctal opened this issue · 0 comments
- I want to add Magisk into device, so the script is below.
sudo docker run -itd --rm --privileged --name xm02
-v /vol1/1000/data/redroid/android-devices/xiaomi/xm02/data:/data
-v /dev/binderfs/binder:/dev/binder
-v /dev/binderfs/hwbinder:/dev/hwbinder
-v /dev/binderfs/vndbinder:/dev/wndbinder
-v /vol1/1000/data/redroid/android-devices/xiaomi/MagiskOnRedroid/remove.rc:/vendor/etc/init/remove.rc
-v /vol1/1000/data/redroid/android-devices/xiaomi/MagiskOnRedroid/setup.sh:/setup.sh
-v /vol1/1000/data/redroid/android-devices/xiaomi/MagiskOnRedroid/magisk.tar:/magisk.tar
-p 5679:5555
redroid/redroid:12.0.0-latest
ro.secure=0
- I change mode all binder as 666.
ls /dev/binderfs/* -al
crw-rw-rw- 1 666 root 249, 9 Dec 9 22:18 /dev/binderfs/binder
crw-rw-rw- 1 666 root 249, 8 Dec 9 22:18 /dev/binderfs/binder-control
crw-rw-rw- 1 666 root 249, 10 Dec 9 22:18 /dev/binderfs/hwbinder
crw-rw-rw- 1 666 root 249, 11 Dec 9 22:18 /dev/binderfs/vndbinder
/dev/binderfs/features:
-rw-rw-rw- 1 root root 0 Dec 9 22:18 extended_error
-rw-rw-rw- 1 root root 0 Dec 9 22:18 oneway_spam_detection
- conncect device by scrcpy, but hang up.
scrcpy -s localhost:5679
scrcpy 3.0.2 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO: --> (tcpip) localhost:5679 device redroid12_x86_64
The following is collected information.
redroid-debug.IjvcAmsb.zip