|
|
发表于 2022-9-2 21:28:04
|
显示全部楼层
本帖最后由 mmc199 于 2022-10-6 15:07 编辑
先别开硬解,我13开硬解也报你这个错误了,而且给我iptables损坏了,,而且给我ashmem_linux,binderfs模块删没了,害我重新dd了系统,软解目前只有9不行,9加了软解参数,logcat看它还是在连硬解,导致错误,adb连不上
================
如果已经报了 iptables v1.8.4 (legacy): -j DNAT unknown option "--to-destination" 错误,是直接开了安卓13导致了内核错误,只能先reboot。reboot即可恢复正常状态。
我多次尝试发现,运行安卓13的必须先运行一遍安卓8.1。不然100%触发这个bug,先安卓8.1再开13就一切正常。注意8.1和13的映射的data文件夹要分开,不然运行后会导致8.1没网,或者scrcpy无法访问软解显卡web屏幕页空白。
安卓9的包加软解参数,docker的sh里的logcat里看还是在尝试连硬解显卡,导致报错adb连不上。
docker: Error response from daemon: driver failed programming external connectivity on endpoint scrcpy-web (7b755240ca7231d006456cdd8b399faec61e23fe54b439987afcbd604d0783ed): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 48000 -j DNAT --to-destination 172.17.0.3:8000 ! -i docker0: iptables v1.8.4 (legacy): unknown option "--to-destination"
Try `iptables -h' or 'iptables --help' for more information.
(exit status 2)).
重安内核和iptables或ufw可用下面命令(不必要,reboot后,先运行8.1再运行13就不会报错。)
apt reinstall ufw
apt reinstall iptables
apt reinstall linux-image-`uname -r`
apt reinstall linux-headers-`uname -r`
apt reinstall linux-modules-`uname -r`
apt reinstall linux-modules-extra-`uname -r` |
|