v4.0.2
Features
-
Enhance symlink handling and logging in mount processes
-
Refactor app initialization to improve error handling and load configuration
-
kasumiExpose KSM_FEATURE_FAKE_SELINUXFS bit and name Sync the vendored Kasumi UAPI header to bit 10 (KSM_FEATURE_FAKE_SELINUXFS) so bindgen surfaces the new constant, then re-export it from src/sys/kasumi.rs and register the corresponding "fake_selinuxfs" entry in FEATURE_NAMES so daemon status reports and the WebUI chip list pick it up automatically. No toggle ioctl is needed - the LKM installs the selinuxfs/access and /context shadow file_operations at bootstrap and gates per-call behaviour internally, so mount/kasumi/runtime.rs requires no changes. -
kasumiExpose SELinux Guard toggle and sync mock to protocol 16 Sync vendored Kasumi UAPI to protocol 16 with KSM_FEATURE_SELINUX_FIX and add enable_selinux_fix to the kasumi config schema. runtime now calls kasumi::set_selinux_fix() based on enable_selinux_fix or the legacy enable_hidexattr umbrella. WebUI gains a "SELinux Guard" tile beside HideXattr/Stealth/Kernel Debug, plumbed through the API contract, codec, service and mock. Locales (zh-CN/zh-TW/en/ja/it/ru/uk/vi/es) carry the new title and toast strings. Mock kasumi status and system info updated to protocol 16, feature mask 0x7f7 (incl. selinux_bypass/fake_mountinfo/selinux_fix), KMI android16-6.12 and kernel 6.12.0-android16-gki to match current device baseline. -
Add lite build flavor
-
Add nano flavor for config-only builds - Updated README and README_ZH to include information about the new
nanoflavor. - Modified build scripts to support building thenanopackage. - Enhancedcustomize.shto handle thenanomode, removing unnecessary files. - Adjusted configuration loading to accommodate the newnanooverlay whitelist. - Implemented logic in various modules to differentiate behavior based on the presence of thecontrol-planefeature. - Added support for overlay whitelisting innanomode. - Introduced a new update JSON file for thenanoflavor. -
Add function to strip TOML preamble and corresponding tests
Fixes
-
Restore lint checks
-
Silence lite build warnings
-
Allow dead code warnings for hybrid mount constants and functions
Refactors
-
Merge mount sync and planning
-
Extract shared storage cleanup helpers
-
Tighten mirror sync lifecycle
-
Implement runtime config caching for improved performance
-
Simplify test configuration initialization
-
Remove architecture-specific ABI handling in customize.sh and main.rs
-
Update version number and enhance configuration options in README files
Maintenance
- Commit remaining workspace updates