MAOS.git
Publicgit clone https://git.maproj.org/MAOS.gitMAOS.git / maos_branding.mk
maos_branding.mk36 lines · 1.7 KiBRaw
| 1 | # MAOS branding — inherited from modern_apps.mk. |
| 2 | # |
| 3 | # You cannot ship as "GrapheneOS"; this rebrands the build as MAOS (Modern Apps OS). |
| 4 | # Full de-branding also requires the Settings "About phone" strings and boot |
| 5 | # artwork (bootanimation/ here; see docs/BUILD_RUNBOOK.md). This file covers the |
| 6 | # build.prop-level identity. |
| 7 | # |
| 8 | # NOTE: changing brand/fingerprint means the build no longer matches GrapheneOS's |
| 9 | # attestation/OTA identity — expected for a fork. Because MAOS is self-signed, Play |
| 10 | # Integrity / stock attestation won't pass regardless; see the runbook. |
| 11 | |
| 12 | PRODUCT_BRAND := MAOS |
| 13 | PRODUCT_MANUFACTURER := MAOS |
| 14 | |
| 15 | # Marketing/version identity surfaced to our own apps (e.g. the Updater) and About. |
| 16 | # MAOS_VERSION is an independent marketing version — it is NOT the OTA build number |
| 17 | # (build-maos.sh pins that separately as BUILD_NUMBER, a date-based value), so there |
| 18 | # is nothing to keep in sync here; bump this only for a deliberate version change. |
| 19 | MAOS_VERSION ?= 1 |
| 20 | MAOS_CHANNEL ?= stable |
| 21 | |
| 22 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 23 | ro.maos.version=$(MAOS_VERSION) \ |
| 24 | ro.maos.channel=$(MAOS_CHANNEL) \ |
| 25 | ro.maos.ota.server=https://ota.maproj.org |
| 26 | |
| 27 | # Boot animation: the MAOS mouse glyph draws itself on, then holds with a |
| 28 | # gentle fade loop until boot completes. Generated by |
| 29 | # vendor/modern-apps/bootanimation/generate.py (checked-in zip; rerun the |
| 30 | # script after any artwork change). Installed to /system/media, which the |
| 31 | # bootanimation service prefers over the AOSP default. |
| 32 | PRODUCT_COPY_FILES += \ |
| 33 | vendor/modern-apps/bootanimation/bootanimation.zip:$(TARGET_COPY_OUT_SYSTEM)/media/bootanimation.zip |
| 34 | |
| 35 | # Do NOT set ro.build.tags=test-keys — we sign with our own release keys, so this must |
| 36 | # remain release-keys (handled by the release signing step, not here). |