# tiann/Leoric

PoC of fighting against force-stop kill process on Android

Repository: https://github.com/tiann/Leoric
Canonical: https://ross.abutalabs.com/products/leoric
Language: Java
License Family: other
Topics: android, daemon, alive
Last push: 2023-10-14T04:43:25+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2421, "days_push": 1054, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1917, forks 545 (observed 2026-08-28T04:05:53.936576+00:00)

## What it is
Leoric is a proof-of-concept Android library that demonstrates a technique for keeping an app process alive against force-stop kills on Android. It was tested on Android 9 and 10 and is rendered ineffective by Android 14's cgroup freezing before force-stop.

## Use cases
- keep android app process alive after force stop
- study android process keep-alive techniques
- protect background service from being killed on android
- learn how android force-stop works internally
- research android daemon process resurrection

## When to choose
- you are researching Android process management and force-stop internals
- you need a reference implementation of process keep-alive tricks on Android 9/10

## When to avoid
- you target Android 14 or later, where the technique no longer works
- you want production-ready keep-alive for a real app
- you need a maintained, licensed library for commercial use

## Facets
- artifact type: library
- maturity: maintenance
- function: security, developer-tools
- domain: android-tools, operating-systems, security
- platform: cpp, jvm
- tags: process-keep-alive, proof-of-concept, force-stop, daemon, android-internals, android

## Member repositories
- tiann/Leoric (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:53.936576+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-30T03:10:09.548203+00:00, confidence not recorded.
  - readme: https://github.com/tiann/Leoric (fetched 2026-08-28T04:05:53.936576+00:00, sha b31bfce6c5c0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
