Repository navigation
Tech Installation, Shizuku, Root & WorkManager
DurchEins edited this page Nov 25, 2026
·
1 revision
This page covers ApkUp's download orchestration, background scheduling, multi-path installation pipeline (PackageInstaller, Shizuku, su), and rollback architecture.
-
User-Initiated Data Transfer (
UpdateDownloadWorker): Interactive single updates, multi-select batch updates, and Install All runs execute through AndroidXWorkManagerwith live progress (DownloadTaskState), smoothed transfer speed, and batch ETA calculation. -
24-Hour Private Cache: Verified APK/split files reside in private internal app storage (
cacheDir) so cached updates (readyUpdateIds) can be installed immediately without re-downloading. -
Save APK /
.apksExport: Exports verified single.apkfiles or.apkssplit bundles toDownload/ApkUp/or a user-configured Storage Access Framework (SAF) directory.
Before any installer backend is invoked, ApkIntegrityVerifier validates SHA-256 checksums (when expectedSha256 is supplied) and verifies APK Signature Scheme v2/v3 certificates against the installed app, blocking mismatches and unintended version downgrades.
-
Standard
SessionInstaller(PackageInstaller):- Stages single or split APKs into
PackageInstaller.Session(createSession→openWrite→fsync→commit), prompting the Android system confirmation sheet. - Handles Android 14+ Background Activity Launch (BAL) restrictions gracefully with explicit user prompt fallbacks.
- Stages single or split APKs into
-
Shizuku Binder IPC (
ShizukuAutoUpdateWorker):- Uses Shizuku's scoped ADB binder privileges to execute
pm install-create/install-write/install-commitwithout Root, enabling silent batch updates and unattended background installs. - Checks live Shizuku availability and permission state on resume and before background execution.
- Uses Shizuku's scoped ADB binder privileges to execute
-
Optional Root Installer (
RootInstallerviasu):- Performs explicit pre-checks on staged package paths and executes
pm installviasuwhen Root mode is enabled. - Supports in-place downgrade (
-r -d) for rollback restoration when Root is available.
- Performs explicit pre-checks on staged package paths and executes
-
Scheduled Background Checks (
UpdatesWorker): Respects user-configured Wi-Fi only, While charging, and active Time Window constraints with catch-up scheduling when a window opens. -
Consolidated Summary Notifications: Groups discovered or installed updates cleanly without notification spam, and triggers
UpdatesWidgetProvider.notifyWidgetDataChangedto keep the home screen widget synchronized. - Configurable Rollback Backups: Before updating, ApkUp can archive installed base + split APKs within user-defined storage caps (up to 2 GB) and retention limits (7–30 days or unlimited), exposing one-tap cleanup and live storage usage in Setup.
📖 User-friendly guide: Shizuku & Silent Background Installations
🏠 Wiki Home · 📦 Releases · 🐛 Report an Issue · 🛡️ Security · Licensing & Third-Party Notices · GPL-3.0-or-later
Found this helpful? ⭐ Star on GitHub · ☕ Buy Me a Coffee · 💛 Coindrop
- 🌐 Update Sources & Signature Protection
- 📦 F-Droid & Index V2 Repositories
- 🔑 GitHub, GitLab & Codeberg Tokens
- 📲 Installing Unknown Apps
⚠️ Google’s 24h Lock & Keep Android Open- ⚡ Shizuku & Background Installation
- ♿ Accessibility & Accessible Mode
- 🛠️ Apps, Filters, Rollbacks & Backup
- 🔄 Obtainium Migration & Sync Guide
- 🌐 Sources, Networking & Parsing
- ⚡ Installation, Shizuku & WorkManager
- 🛡️ Security, Cryptography & Privacy
- 🎨 UI, Accessibility & Website
- 🚀 CI/CD, Releases & Checksums
- 🏷️ Versioning (Legacy vs. SemVer 2.0.0)
- 💾 Storage, Backups, Logs & Widget
- 🧪 Build System, R8 & Tests
- 🌍 Localization, Weblate & Assets