remote-android / redroid-doc

redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here
4.1k stars 294 forks source link

how to use in openwrt? #731

Open hengwuming opened 1 month ago

hengwuming commented 1 month ago

when i install it in openwrt,i cant connect it by adb, it warn the device is offline,but it is living in docker,i cant find any log in docekr. some message: docker exec -it redroid11 logcat logcat: Logcat read failure: No such file or directory

zhouziyang commented 4 weeks ago

Started a global VPN in redroid? Try start per-app VPN, otherwise the adb network packets are also tunneled.

zhouziyang commented 4 weeks ago

I believe it's feasible to start a global VPN if adbd is moved to a new net namespace. This requires emulate 2 network stack in different net namespace.

hengwuming commented 4 weeks ago

I believe it's feasible to start a global VPN if adbd is moved to a new net namespace. This requires emulate 2 network stack in different net namespace.

i use commond get some logs Collecting, please wait... dmesg: unrecognized option: T BusyBox v1.35.0 (2023-07-05 07:27:39 UTC) multi-call binary.

Usage: dmesg [-cr] [-n LEVEL] [-s SIZE]

Print or control the kernel ring buffer

    -c              Clear ring buffer after printing
    -n LEVEL        Set console logging level
    -s SIZE         Buffer size
    -r              Print raw message buffer

Error: argument "eth0" is wrong: table id value is invalid

=================================== Please provide the collected logs (zh_CN) 请提供此处收集的日志

redroid-debug.XXcJiaek.tar.gz

zhouziyang commented 3 weeks ago

From dmesg.txt: DEBUG: Abort message: 'Binder driver could not be opened. Terminating.'. The binderfs related modules are not working as expected. Currently, I not test redroid on this platform, and possible other kernel features are missing.