Box for Root:Magisk、KernelSU、APatch 的透明代理模块

Box for Root
三种 Root 框架透明代理
| 平台 | Android |
|---|---|
| 代理内核 | sing-box |
| 开源状态 | 开源(GPL-3.0) |
| 价格 | 免费 |
| 维护状态 | 活跃维护(2026-09 更新) |
| 最新版本 | v1.10.2(2025-09-05 发布) |
| 最近提交 | 2026-09-24 |
| 安装包 | 共 1 个文件,下方列常用安装包 |
| 开发方 | taamarin(GitHub 仓库所有者) |
| GitHub | ★ 2530 · Fork 284 |
| 数据核验 | 2026-10-11 · 来源 GitHub API |
这是什么
Box for Root(BFR)不是普通 Android 图形客户端,而是给 Root 设备使用的透明代理模块。它接入 Magisk、KernelSU 和 APatch,模块里可以管理 clash、sing-box、v2ray、hysteria 与 xray 等代理工具。
BFR 服务默认随系统启动,也可以通过 Magisk、KernelSU 或 APatch 的管理应用控制。项目还提供可选的 BFR Manager,用于管理 Box for Root。
模块目录固定在 /data/adb/box,日志在 /data/adb/box/run,设置文件是 /data/adb/box/settings.ini。源码位于 Box for Root GitHub 仓库。
适合谁
- 已经拥有 Root Android,并使用 Magisk、KernelSU 或 APatch 的用户。
- 需要透明代理,而不是只在单个应用里配置代理的人。
- 想在同一个模块里管理 clash、sing-box、v2ray、hysteria 和 xray 服务的人。
- 能通过
su命令查看服务、iptables 状态和运行日志的人。
和同类怎么比
| 对比 | Box for Root | FlClash | Clash Meta for Android |
|---|---|---|---|
| 产品形态 | Root 透明代理模块 | 图形客户端 | 图形客户端 |
| 服务管理 | Magisk、KernelSU、APatch | 素材未提供 | 素材未提供 |
| 可管理的核心 | clash、sing-box、v2ray、hysteria、xray | 素材未提供 | 素材未提供 |
Box for Root 的价值在系统级透明代理与多核心服务管理,前提是 Android 已具备 Root 环境。
八卦生态
仓库创建于 2022 年 11 月,是独立项目而非 fork;README 的 credits 写明,Box4Magisk 提供了原始 Box for Magisk 模块。仓库 topics 同时出现 Magisk module、root、mihomo、hysteria2 和 Android,项目身份很清楚地落在 Root 模块而非普通 App。
避坑
- 修改
/data/adb/box/settings.ini前必须关闭 BFR,README 明确提示否则可能产生配置问题。 - tproxy 相关配置要和
settings.ini的定义保持一致;改动核心配置文件前先确认两边关系。 - 服务启动与 iptables 启用是两条命令,停止时也要先关闭 iptables,再停止服务。
- 如果系统持续弹通知,README 给出的处理路径是 Magisk Manager → SuperUser,搜索
BoxForRoot后关闭日志和通知。
深入教程
本站没有独立长教程;服务、iptables、目录和卸载命令均写在 Box for Root GitHub 仓库 的 README,BFR Manager 的下载入口也在那里列出。