Code Monkey home page Code Monkey logo

Comments (4)

CHIZI-0618 avatar CHIZI-0618 commented on May 25, 2024

使用 blacklist 模式,尝试修改 box.tproxy

改为 uid_list=(1001)

使用 box.tproxy renew 重载透明代理,查看是否解决问题

from box4magisk.

snoolee avatar snoolee commented on May 25, 2024

还是不行,透明代理一开 VoLTE 就失联了。
只能关闭后,再开关飞行模式恢复。

# adb shell su -c "sed -i 's/uid_list=(/uid_list=(1001/' /data/adb/box/scripts/box.tproxy"
# adb shell su -c "cat /data/adb/box/scripts/box.tproxy | grep uid_list="
uid_list=(1001)
# adb shell su -c "/data/adb/box/scripts/box.tproxy renew"
[Warn]: cleaning up ip(6)tables transparent proxy rules.
[Warn]: clean up ip(6)tables transparent proxy rules done.
[Info]: use TPROXY:TCP+UDP.
[Info]: creating ip(6)tables transparent proxy rules.
[Info]: wlan0 swlan0 rndis0 transparent proxy.
[Info]: proxy mode: blacklist,  no transparent proxy.
[Info]: create iptables transparent proxy rules done.
[Warn]: disable IPv6.

from box4magisk.

snoolee avatar snoolee commented on May 25, 2024

找到解决方法了,需要:

  1. 在 box.config 里开启 IPv6
  2. 在 box.tproxy 里的 uid=() 中添加
    uid=("1000" "1001" "10108")

额外添加的这两个 UID 分别是系统 ims 服务和电话应用的 UID。
其他手机的值可能不一样,建议在 package 列表里搜 ims,或者 phone、dialer 相关的应用。
把这些应用的 UID 都加到作者发的那一行代码里,最后开启 IPv6 就可以了。

VoLTE 具体涉及的应用应该还有别的,通过 UID 统一排除暂时可行,以后有时间再测试吧。

from box4magisk.

siyue666 avatar siyue666 commented on May 25, 2024

找到解决方法了,需要:

1. 在 box.config 里开启 IPv6

2. 在 box.tproxy 里的 uid=() 中添加
   uid=("1000" "1001" "10108")

额外添加的这两个 UID 分别是系统 ims 服务和电话应用的 UID。 其他手机的值可能不一样,建议在 package 列表里搜 ims,或者 phone、dialer 相关的应用。 把这些应用的 UID 都加到作者发的那一行代码里,最后开启 IPv6 就可以了。

VoLTE 具体涉及的应用应该还有别的,通过 UID 统一排除暂时可行,以后有时间再测试吧。

感谢,我是volte一直跳,间断性没网,开启ipv6就好了

from box4magisk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.