Repository navigation
feat(root): overhaul rooted mount system with split APK support and resilient recovery - #722
Conversation
|
@SHAD0WBULLET707, I found a way to speed up mounts. If you can confirm on your end that it's noticeably faster, that would be great (and let me know if any issues occur unrelated to this, too). The artifact is linked below. Just keep in mind the note listed in the PR description above:
@Rat-Man-1015, if you could also test this build, it includes the previous changes from PR #708 (which has now moved here), which should resolve any issues you were having with dev.22 and mounting. Let me know how it goes. Artifact |
============================================================
|
Mount earlier during boot and recheck mounts after boot completes. Handle transient HyperOS force-stop failures, honor profile auto-install settings, and show repair progress while blocking conflicting actions. Also closes #737.
…thub.com/Jman-Github/Universal-ReVanced-Manager into feat/root-mount-recovery-and-performance
Summary
Overhaul URV's rooted mount system to make mounting safer, more reliable, and compatible with modern Android app installations, including split APK packages.
The new mount flow replaces and expands the previous implementation with transaction-safe mounting, stronger stock APK verification, automatic reboot recovery, split APK support, improved mount namespace handling, safer installer routing, diagnostics, repair feedback, and more reliable rollback behavior.
Root mounts now preserve and verify the identity of the original installed app before making changes, track committed mount state across restarts, recover mounts automatically after reboot, and reject stale or foreign state instead of attempting unsafe mutations.
This also extends the mount system to apps installed as split APK sets and integrates the required split handling throughout patching, installation, recovery, remounting, stock replacement, and rollback.
Addresses the root mount recovery reports in #664 and also includes the recovery and repair improvements from #737.
Root mount system overhaul
Split APK support
Recovery and reboot handling
dumpsys, launcher resolution, process-stop, and package-state operations.Mount verification and safety
Root manager and namespace compatibility
Installer integration
Repair and user feedback
Performance
The optimization reduces root-shell ownership probe overhead. Actual mount-time improvement depends on the device and root environment.
Split APK merger reliability
The mount work also required strengthening the shared split APK preparation and merge paths used to produce valid standalone inputs.
These changes ensure split archives prepared for patching or rooted mounting behave consistently with standalone APK inputs.
Artifact
https://github.com/Jman-Github/Universal-ReVanced-Manager/actions/runs/37162776840/artifacts/11288338962
Note
PR build data and regular release data are kept separate to prevent conflicts when switching between release builds and PR artifacts. Because of this, when you install a PR artifact, your app data will appear to be reset. It’s only a clean slate for that specific PR build. Your previous data is still preserved, and once you reinstall the release build you were using before, that data will be restored.
Validation
git diff --checkpassed..\gradlew.bat assembleReleasepassed.