DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to search all DEX files in an app in a single query with Dexsql Release

Query several APK or DEX inputs together to find code spread across split or multi-DEX builds.

Short answer: Download the executable for your OS and CPU from the Releases page and set it up as in the manual MCP or CLI steps; then Pass each input file with its own --input flag, for example dexsql query --input base.apk --input feature.apk --sql "SELECT DISTINCT method FROM method_strings WHERE value = '<value>'". All steps.

Authorization notice. Dexsql Release is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Reverse engineering. Combining several app packages to map their code is reverse engineering, so keep it to software you are allowed to analyze.

Who it is forA developer or analyst working with a large app that ships many DEX files, who needs one answer across all of them.

The problemRunning separate searches per DEX file misses cross-file references and forces manual merging of results.

The outcomeOne result set that covers every supplied file, so a method or string can be found wherever it lives in the app.

What you need first

  • A terminal on macOS, Linux or Windows
  • The DexSQL executable or archive from the Releases page that matches your OS and CPU
  • An APK or DEX file you have the right to analyze
  • An MCP-capable AI client such as Codex, if you want agent access

Steps

  1. Download the executable for your OS and CPU from the Releases page and set it up as in the manual MCP or CLI steps.
  2. Pass each input file with its own --input flag, for example dexsql query --input base.apk --input feature.apk --sql "SELECT DISTINCT method FROM method_strings WHERE value = '<value>'". (inferred, check the README)
  3. Use dexsql query --input base.apk --input feature.apk --interactive to run several exploratory queries against the same loaded inputs. (inferred, check the README)
  4. Note which input each result came from, since the query output shows method names and you should confirm the source file before drawing conclusions.

Prompt for your agent

Using the dexsql CLI, query <APK or DEX path 1> and <APK or DEX path 2> together for the method <method name>. Report which input files contain a matching method and state any method that appears in only one file.

Caveat. The README confirms that repeating --input queries multiple files together but does not say how results are labeled by source file, so check the output format yourself before relying on it.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for LSPosed/dexsql-release and "Search all DEX files in an app in a single query"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer