# Pangu-Immortal/KeepAlivePerfect

💰Android终极保活：Android4.1 到 Android16.0  完美的保活方案

Repository: https://github.com/Pangu-Immortal/KeepAlivePerfect
Canonical: https://ross.abutalabs.com/products/keepaliveperfect
Language: Kotlin
License: MIT
License Family: permissive
Last push: 2026-02-21T01:52:34+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 68, release rhythm 35, longevity 100
- inputs: {"age_days": 1941, "days_push": 194, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1033, forks 365 (observed 2026-08-28T04:03:18.333309+00:00)

## What it is
KeepAlivePerfect is an Android process keep-alive library that revives killed app processes using JNI communication with the Binder framework, with an optional ioctl-based variant for higher revival rates. It bundles multiple strategies including foreground services, silent audio playback, a one-pixel Activity, dual-process AIDL guarding, and JobScheduler-based periodic checks, supporting Android 7.0 through 16.

## Use cases
- keep my android app process alive after being killed
- implement dual-process daemon guarding for background services
- prevent android service from being killed in background
- revive a killed android process via binder
- keep background tasks running on chinese roms
- play silent audio to keep cpu awake on android

## When to choose
- you need maximum process persistence for a system tool or enterprise app on Android 7.0-16
- you want a one-line API integrating multiple keep-alive strategies
- you can accept native JNI/binder dependencies for higher revival rates

## When to avoid
- building consumer-facing apps where aggressive keep-alive hurts battery and UX
- you need guaranteed effectiveness on all vendor ROMs with strict background killing
- your target is Android versions below 7.0

## Facets
- artifact type: library
- maturity: active
- function: sdk, concurrency
- domain: android-tools, mobile-development, developer-tools
- platform: -
- tags: process-keep-alive, jni, binder, background-services, foreground-service, job-scheduler, dual-process-guard, kotlin, android

## Member repositories
- Pangu-Immortal/KeepAlivePerfect (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.333309+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-30T07:06:38.252388+00:00, confidence not recorded.
  - readme: https://github.com/Pangu-Immortal/KeepAlivePerfect (fetched 2026-08-28T04:03:18.333309+00:00, sha dd24e6851645)
- Data as of 2026-08-30T08:39:29.467469+00:00.
