A tool for executing arbitrary code on Android by patching OAT files while preserving the original app signature.
ODEX Patcher is a tool for Android that allows developers and researchers to run arbitrary code by patching OAT files, which are Ahead-of-Time compiled artifacts created by the ART runtime. It solves the problem of executing custom code in apps that use signature verification mechanisms like SafetyNet, where traditional modification and re-signing would be detected and blocked.
Android security researchers, reverse engineers, and developers who need to modify or analyze apps on rooted devices, particularly those dealing with apps that employ integrity checks.
It provides a method to inject code while preserving the original app signature, enabling bypass of security measures like SafetyNet without detectable repackaging, which is not possible with standard Android modification tools.
Run arbitrary code by patching OAT files
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Patches OAT files without altering the original app signature, enabling modified apps to pass signature-based checks like SafetyNet without repackaging.
Specifically allows code execution in apps that use SafetyNet, where traditional modification methods would fail due to integrity verification.
Operates by modifying OAT files generated by the ART runtime, providing a direct method for advanced code injection at the runtime level.
Claims compatibility with Android 4.4+ and provides a detailed matrix, though many entries are marked as untested ('❔').
Requires rooted Android devices with Magisk recommended, limiting use to devices where rooting is feasible and permissible, which excludes many standard environments.
The compatibility matrix has numerous '❔' entries for various Android versions and configurations, and the README lacks practical examples ('Coming soon'), making reliability assessment difficult.
Building from source requires Android Studio with a specific version (Arctic Fox), adding overhead and potential version conflicts for developers.