Anti-AIClone

Log date · Fri

What can jadx reveal in an Android release build?

jadx can make code and resources in a release build easier to inspect, but its output may be incomplete. Review the actual release artifact.

What can a release build reveal?

jadx can turn code and resources in an Android release into a form that is easier to inspect. Shorter names do not guarantee that strings or business branches disappear. In a small comparison with another tool, our readable output was 278 bytes and the minified output was 194 bytes. Both printed priority support, and DEMO-PRO and DEMO-FREE remained visible after minification.

Questions and findings
QuestionResult
What changed in 1.5.6?A call-graph module and improved graph/code synchronization.
What survived in our minified sample?Both branch strings and their results were readable.
Is decompiled output the original source?No; decompilation can be incomplete or erroneous.

Released on 2026-07-10 at 19:07 UTC, jadx 1.5.6 also improved restoration of the Kotlin 1.9+ $ENTRIES enum pattern, enums with argument-less constructors and string switches. [1] These changes are a reason to review artifacts periodically, instead of judging readability only by the names changed during a build.

Experiment: shorter names, visible branches

jadx was unavailable on this machine. We used Node.js 20.19.5 and esbuild 0.28.2 to produce readable and minified versions of our own JavaScript sample. This illustrates the same review question; it is not a test of jadx 1.5.6, Android DEX or R8. esbuild documents --minify as a minification option. [3]

Branches in our sample; the complete sample also prints the result.
function label(plan) {
  switch (plan) {
    case 'DEMO-PRO': return 'priority support';
    case 'DEMO-FREE': return 'community support';
    default: return 'unknown plan';
  }
}

Both builds returned priority support for the default input. The minified version changed label and plan to n and r, yet left the conditions and return values in a single line. The 84-byte reduction describes this tiny sample only; it is neither a security measurement nor an expected compression ratio for an app.

Run results and byte counts, copied from the transcript.
readable.js: priority support
compact.js: priority support
== size in bytes ==
     278 readable.js
     194 compact.js
     472 total
Complete minified output, copied from the transcript.
"use strict";function n(r){switch(r){case"DEMO-PRO":return"priority support";case"DEMO-FREE":return"community support";default:return"unknown plan"}}console.log(n(process.argv[2]||"DEMO-PRO"));

How to interpret jadx output

The jadx project documents APK and DEX input, Java-form output and decoding of resources such as the manifest. It also warns that decompilation may not cover all code. [2] A clear result is a lead for review; failing to find a string or method does not prove it is absent. Check errors, resources and other paths, then validate against the original build and tests.

The graph views and call-graph module described in the release notes help navigate relationships, but do not replace runtime validation. The Kotlin enum and string-switch fixes concern how output is reconstructed; they do not imply complete reconstruction for every project. This release also lists XML parser hardening, safer manifest number parsing and XAPK subdirectory handling. [1]

R8 can rename, move or remove code. Android recommends keep rules that are as specific as possible for indirect uses such as reflection. [4] Review both the rules and the actual release: a retained name may be necessary for compatibility, while an overly broad rule may leave unnecessary semantic clues.

Review your own app

Choose the APK intended for release and record its build, tool version and configuration. Run the commands below in an isolated directory, replacing the paths with your own. They are a review procedure based on the jadx CLI documentation, not output from our experiment. [2] Keep the log, inspect errors and examine both decoded code and resources.

For your own APK; replace example strings with known test placeholders.
jadx --version
jadx -d ./review-output ./your-release.apk 2>&1 | tee ./jadx-review.log
rg -n "DEMO-KEY-not-a-real-credential-0000|DEMO-PRO" ./review-output

A search covers only the specified text and misses split or transformed values. Also read key paths, the manifest and resources by feature, looking for endpoints, feature flags and names that describe business rules. Do not put real credentials in command lines or shared logs. If a shared privileged credential is found, restrict and rotate it and keep necessary secrets on the server.

Associate mapping.txt with the exact build and restrict access; check that it was not accidentally packaged. After upgrading AGP, R8, Kotlin or the inspection tool, repeat the review using the same build process and test startup, reflection and critical features. Record differences and failures rather than treating no search matches as a pass.

What to record when comparing results

Record the APK hash, build variant and tool version in an internal report for each review. Apply the same checklist to old and new output, separating newly visible content, existing findings and tool errors. Confirm apparent call relationships against source: optimization can merge methods or change structure, so names and boundaries in the output may differ from the original. For each risky finding, record its location, scope and owner, then verify the fix in a new build.

Recommendations by case

These are engineering recommendations, not protection effects measured by our experiment. First decide whether exposed information actually needs to remain secret, then choose a remedy.

Recommendations by finding
QuestionResult
Shared privileged credentialRestrict and rotate it; keep the secret on a controlled server.
Name retained for reflectionIdentify the dynamic dependency, narrow the rule and run compatibility tests.
Decompilation error or missing outputInspect logs and other representations, then check the build and runtime tests.
Business rule visible in clientDecide whether the server should make the authoritative decision; retain necessary client UX logic.

Your checklist

  • Record the APK, build and inspection tool versions.
  • Review decompilation errors, code, manifest and resources.
  • Inventory credentials and rotate exposed privileged secrets.
  • Review keep rules and test reflection paths.
  • Protect the matching mapping file and repeat after tool upgrades.

Primary sources

All sources and reproduction status ↗