apk-modding-workflow
Use for Android APK decompile, modify, and proper signing.
Skill by harezadmm
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/harezadmm-apk-modding-workflow
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
apk-modding-workflow- Description
- Use for Android APK decompile, modify, and proper signing.
- License
- MIT
- Instructions
- 269 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (23)
- SKILL.md
- README.md · references/
- apks-bundle-detection.md · references/
- carrom-pool-split-apk-case-study.md · references/
- device-fingerprint-spoofing.md · references/
- dex-string-scanning-for-mod-targets.md · references/
- flutter-apk-rebuild-failures.md · references/
- flutter-app-early-detection.md · references/
- flutter-xposed-module-build.md · references/
- frida-gadget-no-root-injection.md · references/
- jni-and-login-bypass-pitfalls.md · references/
- large-apk-decompilation.md · references/
- mod-menu-injection.md · references/
- native-library-auto-injection.md · references/
- native-library-bypass-patterns.md · references/
- rushed-cracking-pitfalls.md · references/
- server-side-validation-detection.md · references/
- server-side-validation-reality-check.md · references/
- signing-troubleshooting.md · references/
- split-apk-compatibility-fix.md · references/
- split-apks-signature-consistency.md · references/
- split-apks-signature-mismatch-fix.md · references/
- wibuku-premium-ads-gems-analysis.md · references/
SKILL.md (first lines)
# APK Modding Workflow Proper workflow for decompiling, modifying, and repackaging Android APK files with modern signature schemes that work on Android 7-15. ## When to Use This Skill Trigger when the user: - Wants to mod an APK (premium unlock, remove ads, inject features) - Asks to modify AndroidManifest.xml or app resources - Needs to patch smali code or inject custom logic - Gets "paket tidak valid" / "package appears invalid" install errors - Asks about APK signing, zipalign, or signature schemes ## Core Problem **Manual Python `zipfile` repacking FAILS.** It doesn't preserve APK alignment and binary XML structure, causing "Application not installed because package appears invalid" errors on Android 7+. **`jarsigner` alone is INSUFFICIENT for Android 7+.** It only signs with v1 scheme (JAR signature). Modern Android requires APK Signature Scheme v2/v3. ## The Working Workflow ### Step 1: Install Tools ```bash # Download apktool (proper decompile/recompile) cd ~/tools curl -L -o apktool.jar "https://github.com/iBotPeaches/Apktool/releases/download/v2.10.0/apktool_2.10.0.jar" # Download uber-apk-signer (zipalign + v1/v2/v3/v4 signing in one step) curl -L -o uber-apk-signer.jar "https://github.com/patrickfav/uber-apk-signer/releases/download/v1.3.0/uber-apk-signer-1.3.0.jar" ``` ### Step 2: Decompile APK ```bash java -jar apktool.jar d original.apk -o app-decompiled -f ``` **What this does:** - Decodes binary `AndroidManifest.xml` to readable XML - Decompiles `classes.dex` to smali code - Extracts resources with proper structure preservation - Preserves 9-patch images, binary XMLs, and native libs ### Step 3: Modify Common modifications: **A. Make Debuggable (for Frida/runtime hooking):** Edit `app-decompiled/AndroidManifest.xml`: ```xml <application android:debuggable="true" ...> ``` **B. Change App Label:** ```xml <application android:label="App Name PRO" ...> ``` **C. Disable SSL Pinning (if present):** Search smali for `TrustManager`, `SSLContext`, `HostnameVerifier` and patch validation methods to always return true. **D. Patch Premium Checks (Java/Kotlin apps only):** Search smali for `isPremium`, `isSubscribed`, `hasLicense`: ```bash cd app-decompiled/smali grep -r "isPremium" . grep -r "license" . ``` Modify methods to return `const/4 v0, 0x1` (true). **E. Remove Ads:** Delete ad library directories from `smali/` (e.g., `smali/com/google/android/gms/ads/`). ### Step 4: Recompile ```bash java -jar apktool.jar b app-decompiled -o app-modded-unsigned.apk ``` ### Step 5: Sign with Modern Signature Schemes ```bash java -jar uber-apk-signer.jar --apks app-modded-unsigned.apk --allowResign ``` **Output:** `app-modded-aligned-debugSigned.apk` **What uber-apk-signer does:** - Zipaligns the APK (4-byte alignment for resources) - Signs with v1 + v2 + v3 schemes (Android 7-15 compatible) - Verifies signature after signing - Uses embedded debug keystore (valid until 2044) ### Step 6: Install ```bash adb install app-modded-aligned-debugSigned.apk ``` Or send to user via Telegram: ``` MEDIA:/path/to/app-modded-aligned-debugSigned.apk ``` ## Alternative: Custom Keystore If you need a custom keystore (not debug): ```bash # Generate keystore (one time) keytool -genkey -v -keystore my.keystore -alias mykey -keyalg RSA -keysize 2048 -validity 10000 -storepass password123 -keypass password123 -dname "CN=YourName, OU=Mod, O=Org, L=City, ST=State, C=ID" # Sign with custom keystore
From harezadmm/omp-enhanced, MIT.
More from harezadmm/omp-enhanced
- 0.548score
sdlc-review
harezadmm
Review Kanban handoffs and route verified outcomes.
SkillBFreshness: B★ 2Claude Code +9 - 0.548score
android-permission-detection-bugs
harezadmm
Fix permission detection loops in Android monitoring apps.
SkillBFreshness: B★ 2Claude Code +9 - 0.548score
cheat-lua-encryption
harezadmm
Encrypt/decrypt game cheats and Lua scripts.
SkillBFreshness: B★ 2Claude Code +9 - 0.543score
aiwg-project-obliteratus-quickref
harezadmm
Project-specific orientation for OBLITERATUS
SkillBFreshness: B★ 2Claude Code +9 - 0.543score
apk-vvvip-modding
harezadmm
Mod APKs for Android 16 with anti-detect and SSL bypass.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Sep 6, 2026 (1 month ago)
- Last release
- Sep 6, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/harezadmm/omp-enhanced
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from harezadmm
- 0.548score
sdlc-review
harezadmm
Review Kanban handoffs and route verified outcomes.
SkillBFreshness: B★ 2Claude Code +9 - 0.548score
android-permission-detection-bugs
harezadmm
Fix permission detection loops in Android monitoring apps.
SkillBFreshness: B★ 2Claude Code +9 - 0.548score
cheat-lua-encryption
harezadmm
Encrypt/decrypt game cheats and Lua scripts.
SkillBFreshness: B★ 2Claude Code +9 - 0.543score
aiwg-project-obliteratus-quickref
harezadmm
Project-specific orientation for OBLITERATUS
SkillBFreshness: B★ 2Claude Code +9 - 0.543score
apk-vvvip-modding
harezadmm
Mod APKs for Android 16 with anti-detect and SSL bypass.
SkillBFreshness: B★ 2Claude Code +9
Cite this page
apk-modding-workflow skill. Agent Mart. https://agentmart.dev/skills/harezadmm-apk-modding-workflow (last updated 2026-10-24)