# Rev Dex Dumper

Dump DEX files from a running Android app for unpacking/deobfuscation.

- Repository: https://github.com/P4nda0s/reverse-skills (2339 stars)
- Category: Mobile
- License: see repository
- Last updated: 2026-05-06
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add P4nda0s/reverse-skills --skill rev-dex-dumper -g -a claude-code -y`
Codex: `npx skills add P4nda0s/reverse-skills --skill rev-dex-dumper -g -a codex -y`
Cursor: `npx skills add P4nda0s/reverse-skills --skill rev-dex-dumper -g -a cursor -y`
Gemini CLI: `npx skills add P4nda0s/reverse-skills --skill rev-dex-dumper -g -a gemini-cli -y`

## Description

Dump DEX files from a running Android app for unpacking/deobfuscation. Activate when the user wants to unpack an Android APK, dump DEX from memory, extract decrypted DEX files, or defeat class-loading packing.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# rev-dex-dumper - Android DEX Dumper

Dump DEX files from a running Android application's memory using `panda-dex-dumper` via ADB.

---

## Tool Location

The `panda-dex-dumper` binary is bundled in this skill's directory. Resolve its absolute path relative to this SKILL.md file:

```
skills/rev-dex-dumper/panda-dex-dumper
```

---

## Workflow

### 1. Push the tool to device

```bash
adb push <path-to>/panda-dex-dumper /data/local/tmp/
adb shell chmod +x /data/local/tmp/panda-dex-dumper
```

### 2. Determine target package name

If the user provides a package name, use it directly. Otherwise, get the foreground app:

```bash
adb shell dumpsys activity top | grep 'ACTIVITY' | tail -1 | awk '{print $2}' | cut -d/ -f1
```

### 3. Run the dumper

```bash
adb shell "cd /data/local/tmp && ./panda-dex-dumper -p $(adb shell pidof <package_name>)"
```

The dumped DEX files are saved to `/data/local/tmp/panda/` on the device.

### 4. Pull DEX files to host

```bash
adb pull /data/local/tmp/panda/ ./
```

Pull to the user's current working directory.

### 5. Clean up device cache

```bash
adb shell rm -rf /data/local/tmp/panda/
adb shell rm /data/local/tmp/panda-dex-dumper
```

---

## Guidelines

The rest: https://github.com/P4nda0s/reverse-skills/blob/HEAD/skills/rev-dex-dumper/SKILL.md
