Universal Android CI/CD Pipeline, ReVanced & Morphe Patcher Engine, Open-Source Repo Builder, and Ultimate APK Storage Hub
Features • Architecture • Quick Start • Distribution Channels • Documentation
- ⚡ Dual-Engine CI/CD:
- ReVanced & Morphe Patch Engine: Automated downloading, split APK merging (
.apkm/.xapk), patch compatibility resolution, architecture stripping (arm64-v8a,arm-v7a,universal), custom keystore signing, and Magisk/KernelSU/APatch root module creation. - Open-Source Repo Builder: Clones open-source Android projects (NewPipe, Seal, Mihon, RPDev-Launcher, etc.), compiles release APKs via Gradle/Flutter/React Native, signs, and packages artifacts.
- ReVanced & Morphe Patch Engine: Automated downloading, split APK merging (
- 🌐 Multi-Source Base APK Fetcher:
- APKMirror Engine: Scrapes and downloads APKs with architecture and DPI matching.
- Google Play Store Integration: Direct APK retrieval via
gplaycli/apkeep. - Uptodown & Archive.org: Fallback mirrors for older builds or rate limit resilience.
- Direct Downloads: Pulls companion APKs (MicroG-RE, ReVanced GmsCore, Zygisk-Detach).
- 📦 The Ultimate APK Storage & Multi-Channel Distribution:
- F-Droid Repository Index (
index-v1.jar&index-v2.json): Direct subscription in F-Droid, Neo Store, or Droid-ify for background auto-updates. - Obtainium App Feed (
obtainium-feed.json): 1-click import into Obtainium. - Magisk / KernelSU OTA Updates (
*-update.json): In-root-manager automated updates. - Modern Static Web Portal (
index.html): Fast, searchable responsive web UI with architecture filters, direct downloads, SHA-256 hashes, and mobile QR codes. - GitHub Releases & Webhook Alerts: Automatic tagged releases + Discord/Telegram alerts.
- F-Droid Repository Index (
APK_Build-Patch/
├── .github/workflows/ # Automated GitHub Actions pipelines
├── .github/actions/ # Composite actions (setup-android-env, setup-patcher-tools)
├── config/ # Declarative TOML configurations
│ ├── patches.toml # Patched apps configuration (YouTube, YT Music, Reddit, TikTok, etc.)
│ ├── repos.toml # Open-source repositories to compile
│ ├── sources.toml # Downloader priorities & backend settings
│ └── storage.toml # F-Droid, Web Portal, Obtainium, and retention settings
├── src/ # Core Python orchestration framework
│ ├── cli.py # Unified CLI tool (`python -m src.cli`)
│ ├── core/ # Config loader, logger, process runner, semver helpers
│ ├── fetchers/ # APKMirror, Google Play, Uptodown, Archive, Direct
│ ├── patchers/ # ReVanced & Morphe CLI patcher, split merger, signer, Magisk packager
│ ├── builders/ # Android Gradle, Flutter, React Native builders
│ └── storage/ # F-Droid generator, Web Portal, Obtainium feed, Magisk OTA
├── bin/ # Precompiled JAR tools (apksigner, apkeditor, paccer, dexlib2)
├── modules/template/ # Flashable Magisk/KernelSU root module template
├── web/ # Static Web Portal source & assets
├── docs/ # Full technical documentation manuals
└── tests/ # Pytest test suite
# Clone the repository
git clone https://github.com/RPDevs-Builds/APK_Build-Patch.git
cd APK_Build-Patch
# Run automated setup
./scripts/setup_environment.sh# Patch all enabled applications
python -m src.cli patch
# Patch a specific application
python -m src.cli patch --app YouTube# Build all configured repositories
python -m src.cli build
# Build a specific repository
python -m src.cli build --repo NewPipepython -m src.cli storage --tag latestAdd the repository URL to F-Droid, Neo Store, or Droid-ify:
https://rpdevs-builds.github.io/APK_Build-Patch/fdroid/repo
Import the feed URL in Obtainium:
https://rpdevs-builds.github.io/APK_Build-Patch/obtainium-feed.json
- Architecture & System Design
- Configuration Guide
- Google Play Store Integration
- ReVanced & Morphe Patching Details
- Storage & Distribution Hub
- CI/CD Workflows Reference
Licensed under the GNU General Public License v3.0.