Overview
Shevery 14.6.5 (versionCode 1068) brings a full Rust rewrite of the native layer, stronger IPC and binder security enforcement, expanded Dhizuku UserService support, new manager usability and diagnostics features, and dynamic commit-count versioning.
Highlights
Native Rust Architecture
- Rewrote the legacy C/C++ native layer (
starter,rish,adb_pairing) in Rust, removing BoringSSL andlibc++native build dependencies:starter: SELinux context transition, cgroup v1/v2 setup, process enumeration, andapp_processlaunch.rish: PTY management, rawtermios,SIGWINCHself-pipe handling, and JNI bridges.adb_pairing& ADB crypto: pure-Rust SPAKE2 (curve25519-dalek), HKDF-SHA256, AES-128-GCM, packet framing/checksums, and RSA-2048 Montgomery public key encoding.- Stealth & module helpers: Rust Stealth APK binary swapper, AXML manifest patcher, DEX header fixer, APK v2 Merkle digest, SHA-256 tree fingerprinter, and FD tail reader.
- Integrated
cargo-ndkacross all four ABIs (arm64-v8a,armeabi-v7a,x86,x86_64).
Security Hardening
- Enforced
callingUidvalidation acrossSheveryProviderand privileged IPC endpoints, plus package ownership validation inClientManager. - Extended
android.app.ServiceinDhizukuServicewith caller authentication on all binder calls. - Enforced custom module access permissions, blocked
cwd/environment injection, and hardened theadbshim. - Zeroized SPAKE2 secret material, added nonce overflow guards, and closed leaked file descriptors across
rish/starter.
Manager, Diagnostics & Compatibility
- Smart Logs Diagnostics: added Shevery smart logs viewer with copy and download support.
- Appearance & Settings: added experimental Autoscale option, custom TCP port support (#385), optional home diagnostics card (#389), firewall search and auto-block, and app search in Hide Developer options.
- Dhizuku & Device Owner: added isolated
:dhizuku_user_serviceprocess with UserService lifecycle,remoteProcess, lock-task listeners, real versions, scope auth, and API-level-guardedDevicePolicyManagerdelegation scopes. - Localization: completed
zh-rTWandzh-rCNtranslations and aligned Chinese READMEs with side-by-side install guidance.
Tooling, Refactoring & Tests
- Updated
build.gradlesogitCommitCount(versionCode) dynamically computes the total repository commit count viagit rev-list --count HEAD(1068in this release), and bumpedShevery-APIto14.6.5. - Upgraded Gradle, AGP, Kotlin, AndroidX, Material3 (
1.5.0-rc01), and Rust dependencies. - Migrated non-critical manager, server, common, and stub utilities from Java to Kotlin.
- Expanded unit test coverage across API, manager, server, errorprotect, tasker, and Rust crates.
Bug Fixes
- Fixed UTF-8 byte overflow when patching AXML manifest labels in Stealth builds.
- Removed unconditional
|| truefallback inAdbMdns.isLocalAddress. - Fixed diagnostics state retention inside
LazyListScopeitems on Home. - Fixed Kotlin and Material3
1.5.0-rc01compilation regressions (ShizukuSettings,Logger,ToggleButtonDefaults.colors,ExposedDropdownMenu).
Verification & Assets
| Artifact | Size | SHA-256 |
|---|---|---|
shevery-release.apk
| 10,528,551 bytes | b793b2ecbdbed943c1df6819057d472c461b67ff94011c092b9c9c67b3626bb9
|
- Built and APK-signature verified by GitHub Actions workflow
Build Android APK#43706160539 onmain. - Full Changelog: 14.6.4...14.6.5