# AeonLucid/AndroidNativeEmu

Allows you to partly emulate an Android native library.

Repository: https://github.com/AeonLucid/AndroidNativeEmu
Canonical: https://ross.abutalabs.com/products/androidnativeemu
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: emulator, android, arm, android-native-library, unicorn
Last push: 2025-02-13T23:10:05+00:00

## Health v2 (maintenance only)
Score: 26/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 6, release rhythm 8, longevity 100
- inputs: {"age_days": 2977, "days_push": 566, "days_rel": 566, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1549, forks 428 (observed 2026-08-28T04:05:02.039219+00:00)

## What it is
A Python library that partially emulates Android native (.so) libraries on a host machine using the Unicorn CPU emulator. It emulates the JNI Invocation API, native memory, syscalls, and symbol-based hooking so native code can run and be analyzed outside a device.

## Use cases
- emulate an android native library without a device
- run jni_onload from an .so file in python
- reverse engineer android native code
- hook native functions by symbol table
- analyze arm native library behavior offline
- trace syscalls in an android .so

## When to choose
- you need to execute or analyze Android .so files from Python without an emulator or device
- you want to hook JNI functions and native symbols programmatically
- you are studying ELF loading and JNI internals

## When to avoid
- you need full Android app emulation or a complete runtime environment
- you require perfect fidelity for all syscalls or file system behavior
- you need a maintained production-grade emulation platform rather than an educational tool

## Facets
- artifact type: library
- maturity: active
- function: simulation, reverse-engineering, security, parser
- domain: reverse-engineering, security, android-tools, developer-tools
- platform: python, windows, cross-platform
- tags: android, jni, unicorn-engine, arm-emulation, elf, native-library, emulation, linux, macos

## Member repositories
- AeonLucid/AndroidNativeEmu (main) score 26

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:02.039219+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:20.803886+00:00, confidence not recorded.
  - readme: https://github.com/AeonLucid/AndroidNativeEmu (fetched 2026-08-28T04:05:02.039219+00:00, sha 71a3c73abc0c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
