How corentin-c/spotifyautopatcher works
Spotify Auto Patcher is an Android app for patching installed Spotify or YouTube Music packages, rather than a general-purpose patching tool. The documented flow is: choose a supported app, extract its installed APK, retrieve current ReVanced patches, apply them and rebuild the APK, then optionally uninstall the store version, install the patched APK, or save it. The README establishes these product stages; source excerpts are limited, so implementation-level links are not asserted beyond those documented relationships.
Main entry points: PatcherViewModel.kt Patcher workflow · MainActivity.kt Split extraction · ApplicationChoice.kt App choice · AutoPatcherScreen.kt Patcher screen
Components 16
App interaction
- App choice
app/src/main/java/com/corentinc/screens/patcher/ui/choice/ApplicationChoice.kt - Patcher screen
app/src/main/java/com/corentinc/screens/patcher/ui/autoPatcher/AutoPatcherScreen.kt - Patcher workflow
app/src/main/java/com/corentinc/screens/patcher/ui/autoPatcher/PatcherViewModel.kt
APK acquisition
- Installed app
- Split extraction
app/src/main/java/com/abdurazaaqmohammed/AntiSplit/main/mainActivity/MainActivity.kt - App metadata
app/src/main/java/com/abdurazaaqmohammed/AntiSplit/main/AppInfo.java
Patch and rebuild
- ReVanced patcher
app/src/main/java/com/corentinc/patcher/ReVancedPatcher.kt - Patch information
app/src/main/java/com/corentinc/patcher/ReVancedPatchesInfo.kt - Patch downloader
app/src/main/java/com/corentinc/patcher/UrlDownloader.kt - APK module
- APK rebuild
app/src/main/java/com/reandroid/apkeditor/compile/Builder.java
Install and export
- Patched APK
- Package installer
app/src/main/java/com/corentinc/patcher/AppInstaller.kt - Existing app removal
app/src/main/java/com/corentinc/patcher/AppUpdater.kt - Downloads folder
Other components
- User
Connections 18
- User → App choice: chooses app
README.md - App choice → Patcher screen: starts patching
README.md - Patcher screen → Patcher workflow: runs workflow
- Patcher workflow → Split extraction: extracts APK
README.md - Installed app → Split extraction: provides installed APK
README.md - Split extraction → App metadata: uses app details
- Patcher workflow → Patch downloader: retrieves patches
README.md - Patch downloader → Patch information: downloads patch set
- Patcher workflow → ReVanced patcher: applies patches
README.md - ReVanced patcher → APK module: patches APK
- Patcher workflow → APK rebuild: rebuilds APK
README.md - APK rebuild → Patched APK: produces APK
README.md - User → Package installer: requests install
README.md - Package installer → Patched APK: installs APK
README.md - User → Existing app removal: requests uninstall
README.md - Existing app removal → Installed app: uninstalls store app
README.md - User → Downloads folder: saves APK
README.md - Patched APK → Downloads folder: exports APK
README.md