Tool Open source · Apache-2.0

Droid ASC

Droid ASC is an Android APK decompiler front end for mobile researchers and agents. It treats compiled APK and DEX data as a read-only database, querying code relationships on demand instead of building large global indexes or fully inflating all artifacts.

View repository

Overview

The engine probes Deflate bitstreams directly, uses dense Huffman lookup tables to extract metadata, exploits R8's deterministic constant relocation and instruction deduplication for cross-DEX searches, and resolves bytecode offsets to methods with an O(1) instruction-location primitive. When a target is found, it extracts the target bytecode and dependencies and reconstructs a minimal self-contained DEX in memory for decompilation.

It is distributed as the `droidasc` Python CLI, installable from PyPI or source. Its commands locate and decompile classes, decode `AndroidManifest.xml`, and find string, type, method, or field references across an APK's DEX entries. The README reports a demonstration against a 352 MB commercial APK in which cross-reference search took 1.79 seconds and target-class decompilation took 177 milliseconds using 141 MB of RAM.