Star on GitHubStar1.1k stars

Tool

abc-decompiler

Decompiler for HarmonyOS Ark bytecode (.abc), the format HarmonyOS app packages carry in modules.abc, built by adapting the jadx decompiler and reading files through a patched copy of the abcde library. Because much of Ark bytecode is semantically close to DEX, it reuses jadx's GUI, IR and passes: an .abc file dropped into the jadx-based window is shown as decompiled code. The README reports that all 227 usable instructions of the 282 Ark opcodes are implemented, most special instructions as pseudo-functions.

Targets
App
Category
Android tools
Relationship
Foundation tool
Sources reviewed

Requirements & limits

  • The README describes the project as still in development: decompilation passes for more readable output, a custom IR and data-flow analysis are listed as unfinished. The only release, h1, published 2024-12-20, ships a single jadx-dev-all.jar built from the reviewed master commit, and the repository has had no pushes since.
  • Building needs JDK 17+; the patched abcde fork must first be published to the local Maven repository and its version substituted into the Gradle files before ./gradlew dist. Input is the modules.abc file from the user's own HarmonyOS HAP package.
  • The repository is a modified jadx code base: jadx's DEX input, test samples and inherited CI files remain, and it has no GitHub Actions workflow of its own, so no tests of Ark bytecode output are reported.
  • Apache-2.0, as inherited from jadx; the abcde fork is also Apache-2.0.

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
  2. README.md#L16-L28 GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
  3. README.md#L38-L70 GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
  4. jadx-core/src/main/java/jadx/core/dex/instructions/InsnDecoder.java GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
  5. jadx-core/build.gradle.kts GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
  6. LICENSE GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
  7. https://github.com/ohos-decompiler/abc-decompiler/releases/tag/h1
  8. https://github.com/ohos-decompiler/abcde
  9. https://github.com/ohos-decompiler/abc-decompiler/issues/6

More in Apps

All 174 entries in Apps

↑↓ move↵ open⌘↵ new tab