Skip to content

docs(adr): 0025 — Simlock ships Android device profiles, and a model pairs only with images that fit it - #486

Merged
V3RON merged 4 commits into
mainfrom
adr/0024-android-profile-library
Oct 12, 2026
Merged

V3RON merged 4 commits into
mainfrom
adr/0024-android-profile-library

Conversation

@V3RON

@V3RON V3RON commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Proposes ADR 0025 for #485.

  • Simlock ships 16 Android device profiles, one file each, read before the SDK and devices.xml. A library device never depends on the SDK listing its model.
  • One function decides whether a system image fits a profile, by Android Studio's rule (kind, API range, Play Store, tablet images). The catalog and resolveSpec both use it, so a TV lease gets a TV image or fails with RUNTIME_MISSING.
  • A library profile states its class, and a devices.xml profile's <d:tag-id> sets its class. Android tablet holds Medium Tablet.
  • doctor reports a devices.xml profile that a library name hides.
  • Narrows ADR 0008 §3 and ADR 0015 §3–5; their status lines and the ADR index say so.

Docs only. Merging accepts the ADR; #485 can then move to feature:ready.

Review

Spec review: 4 blocking, 4 fixed, 4 notes. Code review: skipped. Claims review: skipped.
Rounds: 2. Tokens: 0.05M.

  • Round 1 (bf20692), blocking, fixed in d85edcd: 0024 was taken on main; renumbered to 0025 with every reference.
  • Round 1, blocking, fixed in d85edcd: an image-tag request whose tag does not fit at the core's level was undefined. The maintainer accepted the gap; §4 states it, ADR 0015 §5 is listed as amended, and the rejected alternative is recorded.
  • Round 1, blocking, fixed in d85edcd: "no key the seed wrote survives" would drop the image keys; narrowed to hw.* keys and boot properties.
  • Round 1 notes, folded in d85edcd: allowDownload behaviour; SDK-only tablets take no tablet image.
  • Round 2 (d85edcd), blocking, fixed in c3287f1: hw.cpu.arch comes from the image, so it is kept with the image keys.
  • Round 2 notes, folded in c3287f1: the seed's skin.* keys are dropped; downloadable is true only when the level's google_apis image would fit.

Written by an agent.

@V3RON V3RON changed the title docs(adr): 0024 — Simlock ships Android device profiles, and a model pairs only with images that fit it docs(adr): 0025 — Simlock ships Android device profiles, and a model pairs only with images that fit it Oct 12, 2026
@V3RON
V3RON marked this pull request as ready for review October 12, 2026 18:51
@V3RON
V3RON merged commit 4a88c90 into main Oct 12, 2026
17 checks passed
@V3RON
V3RON deleted the adr/0024-android-profile-library branch November 6, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant