chinleez/ebpfdexdumper-rs/android-dex-dump
Claude Code and agent skill by chinleez/ebpfdexdumper-rs
- community
Checking that the SKILL.md file is still in the repository.
From a Windows, macOS, or Linux PC, dump and validate runtime DEX files from an authorized local APK on a rooted ARM64 Android emulator/device using eBPFDexDumper-rs. Use for local APK runtime capture, APK-vs-runtime DEX comparison, and optional JADX decompilation.
Install
npx vskill@latest install chinleez/ebpfdexdumper-rs/android-dex-dumpSKILL.md
Android runtime DEX dump from PC
Use only for APKs and devices the user is authorized to test. The PC is the host that runs this workflow; the live target remains a rooted ARM64 Android emulator/device.
Host support
- Windows 10/11: PowerShell + Python 3.9+ with
run_dump.ps1. - macOS/Linux: Python 3.9+ with
run_dump.sh. - All hosts need:
adb, a rooted ARM64 Android target, andapkanalyzeroraapt.
From repository root:
Both wrappers call run_dump.py. It tries full → lifecycle → maps-only in order, pulls results, and writes report.txt.
Workflow
- Build:
sh build_android.sh(macOS/Linux) orcargo ndk -t arm64-v8a build --release(Windows). - Push binary and run:
su -c './eBPFDexDumper dump -n com.example.app -o /data/local/tmp/dex_out'. - Default
fullmode auto-repairs DEX on exit — fixes header bounds, map list, format fields, and missing code_items. All repaired DEX pass post-fix validation. - Output in
repair/subdirectory (notfinal/). - Validate:
dex\nmagic, headerfile_size, SHA-1, Adler32.
Probe modes
| Mode | Probes | Auto-fix output | When to use | |
|---|---|---|---|---|
full (default) | Interpreter + lifecycle + libc native | repair/ with bytecode | Best coverage, may cause UI lag | |
lifecycle | Lifecycle only | repair/, no bytecode | App crashes in full mode | |
maps-only | None | repair/, no bytecode | App detects uprobes |
Auto-repair features (v0.2.6+)
- Header bounds: fix
file_size/data_off/data_size - Map list: rebuild if out of order or not at end of file
- Format fields: zero out-of-bounds
debug_info_off/tries_size/interfaces_off/annotations_off/static_values_off - Bytecode restore: write captured method bodies back into code_items
- Missing code_items: synthesize new ones for methods the packer stripped
- Post-fix validation:
DexParser::newcheck after repair, reportsvalidation OK/FAILED - Parallel repair: multiple DEX files repaired concurrently
Subcommands
| Command | Purpose | |
|---|---|---|
dump | Capture DEX + method bytecode (auto-repair on exit) | |
fix | Restore bytecode into DEX using _code.json | |
repair | Full repair: header, format, missing code_items | |
dumpso | Capture native .so from memory | |
fixso | Repair .so segment offsets, inject JNI symbols | |
offsets | Inspect ART hook targets and layout |
Output
Failure handling
- If no DEX produced: check
pidof,logcat, whether the launcher crashed. - For native
SIGSEGV: record signal, fault address, API level. - For ART differences: retry another AVD, report API level and detected layout.
- Never overwrite APK or original dump. Use
--no-clean-oatunless user requests oat cleanup.
Reporting
Always include: package, API/ABI, probe mode, valid DEX count and total size, output path, APK hash comparison, and crash/fragment evidence.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/android-dex-dump/SKILL.md
Popularity
- Repository stars
- 85
- Repository forks
- 15
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chinleez/ebpfdexdumper-rs/android-dex-dump)