· via dev.to (home feed)
XopProtector offers open-source alternative to commercial Android app hardening
An Apache-2.0 project called XopProtector bundles DEX encryption, VMP, native-library and runtime protection as a free, self-hosted alternative to commercial Android hardening tools like DexGuard.

An open-source project called XopProtector is being pitched on dev.to as a free alternative to commercial Android app hardening services such as DexGuard, DexProtector, 360 Jiagu, Tencent Legu and Bangcle. Hosted on GitHub under the xopJack account and released under the Apache 2.0 licence, it combines DEX encryption, virtual-machine protection, native-library protection and runtime defences into a pipeline that developers can run, inspect and modify themselves.
What the project claims to cover
According to the two dev.to posts introducing it, the current public version provides:
- DEX encryption
- PVM1, described as method-level protection
- PVM2, described as a true virtual-machine-protection layer implemented as a native interpreter
- protection for native .so libraries
- RASP, or runtime application self-protection
- Frida and hook detection
- integrity protection
- a Windows GUI alongside a command-line interface
The Chinese-language post adds that the Windows build bundles the hardening engine itself, so users do not have to set up the Android SDK, NDK or .NET before using it. The repository is said to contain both the protection engine and an Android native runtime component.
The argument about R8
One of the posts frames the project around a distinction it says developers often miss: R8, the standard Android build tool, is an optimiser and obfuscator rather than a complete APK protection system. R8 shrinks code, removes dead code, optimises and renames identifiers, but the output is still ordinary DEX bytecode that tools such as JADX, apktool, Ghidra, IDA and Frida can analyse. Renaming classes makes reverse engineering more laborious without changing how the app executes.
On that reading, the practical question is not whether to pick R8 or XopProtector but whether to chain them: R8 handles release optimisation, then XopProtector applies further hardening to the resulting build. The same post sketches a wider pipeline in which AndResGuard handles resource shrinking and packaging, and MobSF handles security analysis, with each tool addressing a different layer of the problem.
VMP and native coverage
The virtual-machine-protection claim is central to the pitch. Rather than relying exclusively on normal Android bytecode execution, selected logic is transformed into a protected representation interpreted by a custom virtual machine, so an attacker would need to understand not just the app's business logic but the custom instruction set and its interpreter. The posts also point out a common gap in R8-based builds: native .so libraries, which often carry sensitive logic, are untouched by Java-side obfuscation and need separate protection. XopProtector is designed around covering both the DEX and native layers.
Commercial context
The Chinese-language post situates the project against the hardening services common in China, including 360 Jiagu, Tencent Legu and Bangcle, alongside international products such as DexGuard and DexProtector. It argues that commercial options bring subscription costs, closed-source components, vendor dependency and limited customisation, and includes a feature table comparing DEX, VMP, SO and RASP coverage, while cautioning that commercial feature sets vary by plan and version.
The post also cites a practical trigger for interest in free alternatives: it says 360 announced in May 2026 that its free hardening service would end on 1 July 2026 as the company moves to a paid subscription model, which would leave developers who relied on free cloud hardening looking for other options.
Reasons for caution
Both posts appeared on dev.to on the same day, appear to come from the same account, and read as advocacy for the project rather than independent evaluation. They include no benchmarks, audit results, device-compatibility data or discussion of runtime performance overhead, and the descriptions of how PVM2 and the RASP layer hold up against determined attackers are the author's own. The English post itself concedes the underlying limit: no client-side protection can make an application impossible to analyse, and the realistic goal is to raise the cost and complexity of reverse engineering. Teams with genuine security requirements should audit the source before depending on it.
Why it matters
Android app hardening has been dominated by closed, per-licence commercial products, and if the reported 360 change is accurate, free cloud-based options are narrowing further. An Apache-2.0 project that bundles DEX encryption, VMP, native protection and runtime defences gives individual developers and small teams a buildable baseline they can inspect, customise and self-host, capabilities that commercial platforms typically lock away. Whether it matches commercial-grade robustness is unproven, but it shifts the question from what a vendor sells to what a team can build and verify for itself.
- #android
- #open-source
- #app-security
- #reverse-engineering
- #obfuscation