Repository navigation
v1.1.0 — Shizuku UserService Migration & Major Refactor
Overview
Version 1.1.0 is a significant maintenance release focused on stability, architecture cleanup, mobile web experience, and anti-detection hardening. The Shizuku backend has been migrated from reflection-based IPC to the modern Binder-based UserService API, 6 screen-scoped ViewModels have been extracted from the monolithic MainViewModel, the Engine.ini generator has been refactored into modular section builders, and file I/O has been hardened to reduce detection surface.
Key Changes
Shizuku Backend (UserService Migration)
- Replaced reflection-based
Shizuku.newProcess()with Binder-basedShellUserService(extendsandroid.app.Service) - Uses Shizuku's
UserServiceAPI (requires Shizuku v10+) for stable IPC - Eliminates fragile reflection on private methods that could break with Shizuku library updates
- 60s timeout, 3x retry, script-file fallback for commands >4096 chars
Screen-Scoped ViewModels
Extracted 6 ViewModels from the 1477-line MainViewModel:
IniEditorViewModel— INI editor state, syncConfigHashes, pushSingleFileConfigGenViewModel— analysis, presets, generate, deploy, auto-tuneSettingsViewModel— theme, backgrounds, backup dirGachaViewModel— fetch history, predictions, pollingProfileViewModel— read player profile, cacheDeployHistoryViewModel— list, compare, delete
Engine.ini Refactor
buildAndroidEngineInisplit intoEngineIniContext+ 25 per-section builders- Improves maintainability and testability of INI generation logic
GachaApi Improvements
- Dynamic standard pool derivation from type "1" records (no hardcoded sets)
- Eliminates stale standard pool data when new banners are added
LogParser Improvements
decodeLogBytesreturn type changed fromBooleantoDecodeResultenum (DECRYPTED/PLAINTEXT)- More expressive return type for log decoding logic
Anti-Detection Hardening (File I/O)
- Replaced chunked shell-based file reading with single
backend.copyFile()calls- Removed complex
dd | base64 | gzipshell pipelines inreadRemoteLogTextChunked,readBattleStats, andreadFullFileText - Single
cpcommand + local file read instead of multiple shell invocations - Eliminates predictable shell command patterns (multiple
dd/base64commands per file read)
- Removed complex
- Added
copyFile()method to all 4 backends (AdbBackend,ShizukuBackend,RootBackend,SafBackend)- Reduces IPC/binder transactions (fewer separate command responses)
- Single bulk file operation instead of chunked transfers
- Removed
execCommandToFilefromShellUserServiceandShizukuBackend- Simplified Binder transaction surface (removed
TRANSACTION_EXEC_COMMAND_TO_FILE) - Reduces unique transaction codes that anti-cheat could flag
- Simplified Binder transaction surface (removed
- Added jittered delays (50-150ms) between file pushes
applyCustomConfigs()andapplyFiles()inConfigManager- Breaks burst-pattern detection from rapid sequential file writes
- Simplified ShizukuBackend IPC interface
- Removed
execCommandToFilefromIShellServiceinterface andShellServiceProxy - Fewer Binder transaction codes reduces detection surface
- Removed
Bug Fixes
- OffsetMapping crash in IniEditorScreen — custom clamped
OffsetMappingfor Compose BOM 2024.10.00 validation - ViewModelProvider ClassCastException in
reloadDeviceFileForReview— replaced with directConfigManagerinstance - syncConfigHashes uncaught exception in
IniEditorViewModel— added try-catch wrapper - ShellUserService manifest compatibility — extends
Serviceinstead ofBinder
Mobile Web Optimizations
- Disabled cursor glow, bit trails, matrix chars, and ripple effects on touch devices
- Full-width buttons on small screens
- Reduced padding and font sizes for mobile
- Removed app icon from landing page hero
Tech Stack Updates
- AGP 8.2.2 → 8.4.2
- Kotlin 1.9.22 → 1.9.24
- Compose BOM 2024.02 → 2024.10.00
- Added Gradle version catalog (
libs.versions.toml)
Files Changed
- 45+ files changed (including commit 0666594 — anti-detection hardening)
- 6 new ViewModel files
- 1 new Service file (ShellUserService)
- 3 new test files (ConfigGeneratorTest, GachaApiTest, LogParserTest)
- 1 new Gradle version catalog (libs.versions.toml)
- 1 new lint config (app/lint.xml)
Upgrade Notes
- Shizuku users: ensure Shizuku v10+ is installed for UserService support
- Users enabling/disabling anti-detection features should verify compatibility with their Shizuku version
- No breaking changes to user-facing features
- All existing presets, settings, and configurations are preserved