# Tencent/Hardcoder

Hardcoder is a solution which allows Android APP and Android System to communicate with each other directly, solving the problem that Android APP could only use system standard API rather than the hardware resource of system.

Repository: https://github.com/Tencent/Hardcoder
Canonical: https://ross.abutalabs.com/products/hardcoder
Language: C++
License: NOASSERTION
License Family: other
Topics: android, mobile, wechat
Last push: 2023-08-17T08:55:28+00:00

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

## Adoption (not part of the score)
Stars 2199, forks 202 (observed 2026-08-28T04:06:25.546162+00:00)

## What it is
Tencent's Hardcoder is a framework that lets Android apps communicate directly with the Android system over a socket to request hardware resources like CPU frequency, big cores, and GPU. It is used by WeChat and Mobile QQ and is integrated into OEM ROMs from OPPO, vivo, Huawei, Xiaomi, Samsung, and others.

## Use cases
- speed up android app startup by requesting cpu resources
- optimize video delivery performance on android
- request large core and gpu resources from the system
- improve mini program launch performance
- adapt app performance to specific phone oem roms

## When to choose
- you build a high-load Android app and can integrate with OEM-vendor ROMs that support Hardcoder
- you need direct app-to-system hardware resource negotiation beyond standard Android APIs
- you are a device vendor wanting to expose hardware tuning to partner apps

## When to avoid
- you target stock Android or devices without Hardcoder-enabled ROMs, where the framework has no effect
- you need a simple, standard-API-only performance solution
- your app is lightweight and doesn't need CPU/GPU resource tuning

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, concurrency, developer-tools
- domain: mobile-development, android-tools, performance, hardware
- platform: cpp
- tags: hardware-acceleration, system-integration, performance-optimization, socket-communication, oem-adaptation, android, mobile

## Member repositories
- Tencent/Hardcoder (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:25.546162+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-30T02:47:06.719639+00:00, confidence not recorded.
  - readme: https://github.com/Tencent/Hardcoder (fetched 2026-08-28T04:06:25.546162+00:00, sha 981cf2aef101)
- Data as of 2026-08-30T08:39:29.467469+00:00.
