{{ message }}
Repository navigation
更新多语言 - #10
Open
xx2901318208 wants to merge 113 commits into
Open
更新多语言#10xx2901318208 wants to merge 113 commits into
xx2901318208 wants to merge 113 commits into
Conversation
- 完成模块全面中文汉化(文档、界面、安装脚本) - 新增 network_config.sh 集中管理网络配置,减少代码重复 - 添加网络质量检测功能(延迟、抖动监控) - 支持 Android 17+ 新特性(MPTCP、TCP 优先级等) - 根据网络状况自适应优化参数 - WebUI 新增网络质量显示区域 - 增强错误处理和调试信息 - 更新 README 和 CHANGELOG 文档
- 添加酷安 @R1263599071 二改汉化说明 - 添加原项目链接
- update-binary 增加 KernelSU 和 APatch 安装支持 - 修复 banner URL 指向正确仓库 - 兼容 Magisk/KernelSU/APatch 三大框架
- 替换已弃用的 actions/create-release 和 actions/upload-release-asset - 使用 softprops/action-gh-release@v2 自动创建非草稿 Release - 修复 banner URL 指向正确仓库 - 添加 ZIP 内容检查步骤 - 添加 contents: write 权限
KernelSU/APatch 兼容 Magisk 模块格式,不需要额外处理
- 恢复 update-binary 为原始 Magisk 标准格式 - 修复 Release 创建,添加 GITHUB_TOKEN 和 release body - 版本号将在构建时自动递增
- 添加推荐配置表(Wi-Fi/5G/4G/游戏场景) - 添加 QDISC 队列调度规则详细说明 - 添加 TCP 拥塞算法说明 - 添加帮助表格样式
- 汉化 service.sh 中所有日志信息 - 添加内存总量和网络接口信息 - 优化日志格式和可读性 - 增强网络质量检测信息
…stent knobs, correct PLB names, fix update.json, read-only network check, VPN handling)
…dog restores CC, keep full log - customize.sh: rmnet_data marker now uses detected CONG/QDISC (bbr on this 6.6 kernel) instead of hardcoded cubic; existing markers untouched - service.sh: detect_network_quality runs in background (its 5-packet ping blocked the main loop up to ~6s per interface switch for a log line) - service.sh: qdisc watchdog now also watches tcp_congestion_control and restores the target algorithm when the system/another module resets it - utils.sh: log truncation keeps all 200 lines instead of dropping half
…ion, keep 200 lines - logs.html: add a Copy button next to Clear - logs.css: overflow-x hidden + overflow-wrap anywhere so long lines (URLs, long numbers, interface lists) wrap instead of stretching the page into a horizontally scrollable wide screen; allow text selection - logs.js: fix updateLogsUI counter bug (logsList.length = prev_logs_count truncated the list and left prev at 0, forcing a full re-render every 5s); re-render now preserves scroll position unless already at bottom, so scrolling up to select/copy no longer gets reset - logs.js: copy handler with clipboard API + textarea fallback, toasts the copied line count; log trim keeps all 200 lines like utils.sh
- utils.sh: get_wifi_calling_state now returns 0 active / 1 wait / 2 not provisioned; active recognizes ColorOS vowifiState=true as well as the AOSP slot='vowifi' pattern (this device's dump only has the former, so every Wi-Fi connect waited the full 20s); returns 2 when both SIMs show shouldShowVowifi=false so the wait is skipped entirely - service.sh: handle the new state 2 (apply Wi-Fi settings immediately); apply_wifi_settings sets Wi-Fi power_save off when the wifi_powersave_off marker exists, on otherwise (iw-gated) - webroot: new settings toggle for Wi-Fi power_save (marker file + settings.js + router.js params); home page VoWiFi display uses the same ColorOS pattern; gaming recommendation row now says fq_codel because sch_cake cannot be loaded on this kernel (tc add fails) - README: document the wifi_powersave_off marker file
- service.sh: apply_private_dns() reads the private_dns_<hostname> marker and writes the system Private DNS setting (settings put global private_dns_mode/specifier) on boot, network change and force_apply; private_dns_default restores the system default (mode off); no marker means the module never touches the setting; only writes when the current value differs - webroot: new Private DNS dropdown in settings (Off / restore system default / AdGuard / AliDNS / Tencent DNSPod; custom hostnames such as NextDNS shown as custom instead of being silently dropped), home page shows the live Private DNS state - README: document the marker files, the verified provider list and safety notes (Cloudflare/Google dropped: unusable from mainland China; AdGuard no-logs vs AliDNS/DNSPod logs per Chinese law)
- module/hosts: StevenBlack unified list (ads + malware), 2026-11-08, 78215 domains, 2.3 MB - service.sh: apply_hosts_block() bind-mounts the bundled hosts file over /system/etc/hosts when the adblock_hosts marker exists, unmounts when removed; idempotent via /proc/mounts; yields to another hosts tool (AdAway / Systemless Hosts) instead of fighting it; runs on boot, network change and force_apply alongside apply_private_dns() - webroot: new '去广告(hosts)' settings toggle (marker file + settings.js + router.js); amber note under the Private DNS dropdown advising against enabling Private DNS and hosts blocking together - README: document the marker, list source/date, the don't-use-both rule and how to swap the list
…nce guard - webroot: new '去广告' page (adblock.html/js/css, shield nav icon) with the Private DNS dropdown, hosts toggle and don't-use-both note moved out of settings; its Apply also touches force_apply so the change takes effect within ~5 s instead of waiting for the next network change; settings page keeps only TCP options - logs.js: initLogs reads the log file on page open instead of only rendering whatever the startup pass had loaded, so the logs page no longer looks empty until the next 5 s tick - service.sh: single-instance guard via service.pid (kills a previous loop after verifying its cmdline, so a module update can't leave two/three loops logging and applying in parallel); Wi-Fi band detection retries the iw freq read up to 3x and logs a clear warning instead of an empty ' MHz' line - README: ad-blocking docs now point at the new page
…7 内部优化(MTU解析/看门狗/检测合并/mtu_probing/123pan清单去重)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.