Rename Magisk branding to PronBox (author: TechnoPron team), stop customize.sh from forcing Box for Magisk, and ship wg-obfuscator plus Manage Profiles templates.
Co-authored-by: Cursor <cursoragent@cursor.com>
Rename display name to VeilBox, add box.profile + sbfr p switcher, and ship scrubbed sing-box profile templates for quick TT/olcrtc flips.
Co-authored-by: Cursor <cursoragent@cursor.com>
- Add log_backup flag (default: false) for optional log backup
- Include Android user 999 in tun config
- Use -c "${sing_config}" instead of -C for sing-box check/run
- Added syntax validation for `/data/adb/box/settings.ini` at the start of:
* box.inotify
* box.iptables
* box.service
* box.tool
* ctr.inotify
* start.sh
- If validation fails, an error message is logged to
`/data/adb/box/run/settings_err.log` and the script exits immediately.
- Ensures misconfigured settings.ini do not break runtime scripts.
- subscription_url_clash now supports arrays for multiple URLs
- name_provide_clash_config updated to support arrays matching the URLs
- Added validation to ensure URL and config counts match
- When renew=true, only the first index is processed
- Loop through all subscriptions for clash_provide_config updates
- Improved logging for mismatches and update failures
- Refactored clash_provide_config to use base path clash_provide_path
- Updated settings.ini:
- subscription_url_clash → array
- name_provide_clash_config → array
- default renew=false (fetch proxies only)
- Added subscription update support for sing-box:
- Downloads config from subscription_url_singbox.
- Restarts service if update is successful.
- Updated settings.ini:
- Added subscription_url_singbox entry.
- box.inotify: redirect service actions to inotify.log instead of service.log
- box.iptables: add help|-h|--help commands with usage descriptions, remove color codes from errors
- box.service:
- rewrite log cleanup to timestamped backup with clearer messages
- add help menu for service control commands
- remove unnecessary inline comments
- box.tool:
- add detailed logging for config checks, reload, and update operations
- improve error handling and skip steps on failure
- add backup steps before updating curl, yq, and other binaries
- enhance geo data update with explicit logging and cleanup
- refine kernel updates for sing-box, clash, xray/v2fly, hysteria with clearer output and checks
- improve cgroup management log messages
- add comprehensive help menu for all commands
- Parameterize PID file and fallback values
- Improve detection and assignment of cgroup paths
- Update default memcg limit to 100M, cpuset CPU range, blkio weight
- Refine CPU core detection using /proc/[pid]/stat