DEV Community

Cover image for Armbat: Running ARMv7 Android Apps on ARM64-Only Devices
Dzmitry Dubrova
Dzmitry Dubrova

Posted on

Armbat: Running ARMv7 Android Apps on ARM64-Only Devices

Android is gradually moving away from 32-bit application support. While modern devices increasingly ship with 64-bit-only Android environments, there are still plenty of ARMv7 applications that people want to run.

I started working on Armbat to explore whether it is possible to bring ARMv7 Android application compatibility back without root access, custom ROMs, or running a second Android system.

Project: https://armbat-web.vercel.app/
GitHub: https://github.com/dima-xd/armbat

What is Armbat?
Armbat is an experimental Android application runtime designed to run ARMv7 (armeabi-v7a) Android applications on ARM64-only devices.

It is not an emulator of an entire Android device, and it does not boot another Android instance.
Instead, it attempts to reuse the host Android environment wherever possible while providing compatibility for 32-bit application components.

How does it work?
The project combines several different approaches:
ART integration: Java and DEX code runs using the ART runtime available on the host device.
ARMv7 translation: Native ARMv7 A32 instructions are translated to ARM64 using Dynarmic JIT.
Custom ELF loader: Armbat loads 32-bit native libraries without relying on the host's missing ARMv7 ABI.
Linux ARM EABI compatibility: A syscall layer provides compatibility for native guest code.
Bionic userspace: The runtime uses components from an official ARMv7 Android system image.
Android compatibility layer: Guest applications interact with Android functionality through interfaces bridged to the host environment.

The goal is to make legacy application code work inside the existing Android environment rather than recreate the entire operating system.

Why build this?
Some Android applications are no longer available for 64-bit-only devices because they depend on ARMv7 native libraries.

I wanted to investigate a different approach to this problem:
What if a 32-bit Android application could run without requiring the device itself to support a 32-bit ABI?
That question became Armbat.

Current status
Armbat is still experimental.
Compatibility is incomplete, and not every application will work. Native Android applications can depend on many different system interfaces, libraries, graphics APIs, and undocumented behaviors.

The project is actively evolving, and compatibility reports are particularly valuable.

Try it
You can download the latest release from the project's GitHub Releases page.

Feedback and contributions
If you have an ARM64-only Android device and some old ARMv7 applications you would like to test, I would appreciate compatibility reports.

Contributions, technical discussions, and ideas are welcome.

Armbat is open source under the Apache-2.0 license.

Found a bug or an application that does not work? Please open an issue on GitHub.
Thanks for reading!

Top comments (0)