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.
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. No files were decompiled.
About this entry
- Type
- Tool
- Category
- Android tools
- Relationship
- Foundation tool
- Targets
- App
Sources reviewed
The description was reviewed against primary sources. This does not establish runtime testing, security auditing or verified compatibility.
Primary sources
- README.md GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
- README.md#L16-L28 GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
- README.md#L38-L70 GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
- jadx-core/src/main/java/jadx/core/dex/instructions/InsnDecoder.java GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
- jadx-core/build.gradle.kts GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
- LICENSE GitHub · ohos-decompiler/abc-decompiler · Revision 427c4cd
- https://github.com/ohos-decompiler/abc-decompiler/releases/tag/h1
- https://github.com/ohos-decompiler/abcde
- https://github.com/ohos-decompiler/abc-decompiler/issues/6
More in Apps
- slicer · Tool
- APK Studio · Tool
- APKiD · Tool
- dex2jar · Tool
- Aegis: trace a login-code calculation · Case study
- Notion: trace the clipboard bridge · Case study