Skip to content

feat: Add split APK support#114

Draft
Aunali321 wants to merge 1 commit intoReVanced:devfrom
Aunali321:feat/split-apk-support
Draft

feat: Add split APK support#114
Aunali321 wants to merge 1 commit intoReVanced:devfrom
Aunali321:feat/split-apk-support

Conversation

@Aunali321
Copy link

@Aunali321 Aunali321 commented Mar 12, 2026

Summary

Add split APK support to the library layer for applying patched resources, signing, and installing split APKs.

  • Extract applyResources() and getSigner() helpers in ApkUtils
  • Add PatchesResult.applyToSplits() for applying patched resources to split APKs
  • Add signApks() for signing multiple APKs with a single signer instance
  • Add splitFiles parameter to Installer.Apk (backward compatible, defaults to emptyMap())
  • ADB: split install via pm install-multiple with push/cleanup
  • Local: session writes each split alongside base
  • Root: per-package mount directory, mount script handles all APKs from pm path
  • Fix inverted null-check in RootInstaller.getInstallation
  • Centralize splitFileName() in Constants
  • Update ABI dumps

Test plan

  • compileKotlinJvm passes
  • Device install via adb install-multiple — success
  • App launches and runs without crashes

Companion PRs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant