Skip to content

feat: let Google and Fairphone devices inherit the brand's unlock - #16

Merged
NotAFlightRisk merged 2 commits into
mainfrom
feat/brand-unlock
Oct 4, 2026
Merged

NotAFlightRisk merged 2 commits into
mainfrom
feat/brand-unlock

Conversation

@NotAFlightRisk

Copy link
Copy Markdown
Owner

Category

Feature, a small one on top of #12.

Overview

#12 put a policy line on every Google and Fairphone page but left the Unlock fact itself saying Unknown. Now a device with no answer of its own takes the brand's (Google conditional, Fairphone yes) and says it's brand policy, both on the page and as a "brand" tag in the tables. Anything a device file says still wins, and every other brand stays Unknown. That moves 21 devices off Unknown, 611 down to 590.

Two data tweaks came with it. Google's note said "from 2015 on", but the AOSP page covers older devices too (fastboot oem unlock) and 12 of the 16 that inherit are from before 2015, so it now just says Pixel and Nexus devices. The Fairphone 2 gets its own line instead of inheriting, becuase Fairphone's guide covers every model except that one - LineageOS installs on it straight over fastboot with no unlock step.

The one I'm least sure about is seed, the Android One 2nd gen. It's filed under Google so it picks up Conditional, but the AOSP page only talks about Nexus and Pixel. I left it rather than add an opt-out field for a single phone.

Issue Number

None, follows on from #12.

Additional Info

The model test that was meant to go red if anyone wired inheritance up now checks it the right way round: a device's own value beats the brand, unknown takes the brand's, and a brand with no unlock leaves it alone. Reverting the model change turns the middle one red.

@vercel

vercel Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
android-rom-compat Ready Ready Preview Oct 4, 2026 1:53pm UTC

@github-actions github-actions Bot added the enhancement New feature or request label Oct 4, 2026
@NotAFlightRisk
NotAFlightRisk merged commit b88c591 into main Oct 4, 2026
7 checks passed
@NotAFlightRisk
NotAFlightRisk deleted the feat/brand-unlock branch October 4, 2026 13:58

This branch was successfully deployed

1 active deployment
Preview — 3c99717e Deployed Oct 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant