sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

安卓root问题

Open shizaishiben opened this issue 10 months ago • 2 comments

操作系统

Android

系统版本

Android

安装类型

sing-box for Android 图形客户端程序

如果您使用图形客户端程序,请提供该程序版本。

1.13-beta.2

版本


描述

已经给了root权限,自动重定向那里仍然需要root权限

重现方式

{ "dns": { "servers": [ { "tag": "google", "type": "https", "server": "8.8.8.8", "detour": "proxy" }, { "tag": "ali", "type": "https", "server": "223.5.5.5" }, { "tag": "fakeip", "type": "fakeip", "inet4_range": "198.18.0.0/15", "inet6_range": "fc00::/18" } ], "rules": [ { "clash_mode": "Direct", "action": "route", "server": "ali" }, { "clash_mode": "Global", "action": "route", "server": "fakeip" }, { "query_type": "HTTPS", "action": "reject" }, { "query_type": [ "A", "AAAA" ], "action": "route", "server": "fakeip", "rewrite_ttl": 1 }, { "rule_set": "cn_domain", "action": "route", "server": "ali" } ], "final": "google", "independent_cache": true }, "route": { "default_domain_resolver": { "server": "ali" }, "rules": [ { "action": "sniff", "sniffer": [ "http", "tls", "quic", "dns" ], "timeout": "500ms" }, { "type": "logical", "mode": "or", "rules": [ { "port": 53 }, { "protocol": "dns" } ], "action": "hijack-dns" }, { "ip_is_private": true, "action": "route", "outbound": "direct" }, { "clash_mode": "Global", "action": "route", "outbound": "GLOBAL" }, { "clash_mode": "Direct", "action": "route", "outbound": "direct" }, { "rule_set": [ "cn_domain" ], "action": "route", "outbound": "cn" } ], "rule_set": [ { "tag": "cn_domain", "type": "remote", "format": "binary", "url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geosite/cn.srs", "download_detour": "direct" } ], "final": "final", "auto_detect_interface": true }, "outbounds": [ { "tag": "proxy", "type": "selector", "outbounds": [

  ],
  "default": "all-auto"
},
{
  "tag": "cn",
  "type": "selector",
  "outbounds": [

] }, { "tag": "procy", "type": "selector", "outbounds": [ ] }, { "tag": "direct", "type": "direct" } ], "inbounds": [ { "type": "tun", "address": [ "172.19.0.0/30", "fdfe:dcba:9876::0/126" ], "stack": "mixed", "auto_route": true, “auto_redirect": true, "platform": { "http_proxy": { "enabled": true, "server": "127.0.0.1", "server_port": 7890 } } }, { "type": "mixed", "listen": "127.0.0.1", "listen_port": 7890 } ], "experimental": { "clash_api": { "external_controller": "127.0.0.1:9090", "external_ui": "ui", "external_ui_download_url": "https://ghfast.top/https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip", "external_ui_download_detour": "direct" }, "cache_file": { "enabled": true, "store_fakeip": true } }, "log": { "disabled": false, "level": "info", "timestamp": true } } auto_redirect在配置中也写上了true

日志


支持我们

完整性要求

  • [x] 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • [x] 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • [x] 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
  • [x] 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。

shizaishiben avatar Jan 12 '26 08:01 shizaishiben

我也遇到了这个问题!

Image Image

xiaohuangbo avatar Jan 14 '26 02:01 xiaohuangbo

我也是这样的

Uxx0 avatar Jan 14 '26 04:01 Uxx0