# gzu-liyujiang/Android_CN_OAID

安卓设备唯一标识解决方案，可替代移动安全联盟（MSA）统一 SDK 闭源方案。包括国内手机厂商的开放匿名标识（OAID）、海外手机平台的安卓广告标识（AAID），另外也提供了 IMEI/MEID、AndroidID、WidevineID、PseudoID、GUID 等常见的设备标识的获取方法。

Repository: https://github.com/gzu-liyujiang/Android_CN_OAID
Canonical: https://ross.abutalabs.com/products/android_cn_oaid
Homepage: https://gzu-liyujiang.github.io/Android_CN_OAID/
Language: Java
License: NOASSERTION
License Family: other
Topics: oaid, guid, uuid, utdid, imei, imsi, androidid, deviceid, uniqueid, udid, msa, aaid, miit, meid, widevine
Last push: 2026-05-18T07:34:07+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 83, release rhythm 75, longevity 100
- inputs: {"age_days": 2287, "days_push": 107, "days_rel": 165, "gap_med": 8, "n_releases_24m": 8}
- 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 2845, forks 468 (observed 2026-08-28T04:07:24.922442+00:00)

## What it is
An open-source Android library providing a unified solution for obtaining unique device identifiers, serving as an open alternative to the closed-source Mobile Security Alliance (MSA) unified SDK. It supports OAID from Chinese phone vendors, AAID on overseas platforms, and fallback identifiers like IMEI/MEID, AndroidID, WidevineID, PseudoID, and GUID.

## Use cases
- get OAID on Chinese Android phones without MSA SDK
- obtain advertising ID (AAID) on overseas Android devices
- replace the closed-source miit_mdid SDK for personal apps
- collect device unique identifiers for analytics or attribution
- fallback to IMEI, AndroidID, or GUID when OAID is unavailable
- integrate device ID retrieval via Gradle/JitPack in an Android app

## When to choose
- you are an individual developer ineligible for the MSA SDK and need device identifiers on Android
- you need a single library covering OAID across Huawei, Honor, Xiaomi, OPPO, vivo, Samsung, and other vendors
- you want an open-source, self-auditable alternative to proprietary device ID SDKs

## When to avoid
- your app is enterprise-owned and can/should use the official MSA SDK for compliance
- you need device identifiers on non-Android platforms
- your use case requires guaranteed legal clearance for commercial device fingerprinting

## Facets
- artifact type: library
- maturity: active
- function: sdk, developer-tools, security
- domain: android-tools, mobile-development, privacy, developer-tools
- platform: jvm
- tags: oaid, device-identifier, aaid, imei, androidid, msa-alternative, device-fingerprinting, advertising-id, android, mobile

## Member repositories
- gzu-liyujiang/Android_CN_OAID (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:24.922442+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:37:05.040470+00:00, confidence not recorded.
  - readme: https://github.com/gzu-liyujiang/Android_CN_OAID (fetched 2026-08-28T04:07:24.922442+00:00, sha 422893a2f836)
  - homepage: https://gzu-liyujiang.github.io/Android_CN_OAID/ (fetched 2026-08-29T09:52:38.939922+00:00, sha 54f042a1364b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
