-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi, im trying to run your great project on m4 pro + UTM ubuntu vm:
sudo docker run -itd --privileged \
--name redroid \
-v ~/data:/data \
-p 5555:5555 \
iceblacktea/redroid-arm64:12.0.0-241218 \
androidboot.redroid_gpu_mode=guest \
androidboot.redroid_radio=1 \
androidboot.redroid_wifi=1 \
androidboot.redroid_wifi_gateway=7.7.7.1/24 \
androidboot.redroid_magisk=1
Then im SSH forwarding port (dont know why i cant direct connect via vm ip)
ssh -L 5555:127.0.0.1:5555 root@192.168.64.4
adb connect 127.0.0.1:5555
# connected to 127.0.0.1:5555
But when i try to scrcpy getting error
scrcpy -s 127.0.0.1:5555
scrcpy 3.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO: --> (tcpip) 127.0.0.1:5555 device redroid12_arm64
/opt/homebrew/Cellar/scrcpy/3.1/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 60.4 MB/s (90640 bytes in 0.001s)
[server] INFO: Device: [redroid] redroid redroid12_arm64 (Android 12)
[server] ERROR: android.os.ServiceManager$ServiceNotFoundException: No service published for: input
java.lang.IllegalStateException: android.os.ServiceManager$ServiceNotFoundException: No service published for: input
at android.hardware.input.InputManager.getInstance(InputManager.java:327)
at android.view.KeyCharacterMap.load(KeyCharacterMap.java:352)
at com.genymobile.scrcpy.control.Controller.<init>(Controller.java:86)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:115)
at com.genymobile.scrcpy.Server.internalMain(Server.java:251)
at com.genymobile.scrcpy.Server.main(Server.java:201)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
Caused by: android.os.ServiceManager$ServiceNotFoundException: No service published for: input
at android.os.ServiceManager.getServiceOrThrow(ServiceManager.java:153)
at android.hardware.input.InputManager.getInstance(InputManager.java:325)
... 7 more
ERROR: "adb reverse --remove" exited unexpectedly
ERROR: Could not retrieve device information
ERROR: Server connection failed
connecting scrcpy --no-control -s 127.0.0.1:5555 is okay, what im missing? I used to default redroid without your patches and it worked fine
Executed modprobe binder_linux devices="binder,hwbinder,vndbinder,mac80211_hwsim" on vm start
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels