Files
pawlet_rpi_common/apps/PawletRpiDeviceSettings/Android.bp
oxmc cff1f04c25 Add PawletRpiDeviceSettings: board-specific hardware info for RPi family
New injected EXTRA_SETTINGS app, shared between rpi4/rpi5/cm4/cm5 (same
bootloader/EEPROM/VideoCore firmware model, same code path -- matches why
this repo already exists shared between them). Shows bootloader version,
EEPROM firmware version, VideoCore firmware version, read from
ro.vendor.pawlet.hw.* properties. App code is board-agnostic; each board's
own init.rc supplies the actual values (not yet wired -- needs real
hardware access to detect correctly, tracked as a follow-up). A row hides
itself entirely if its property isn't set, rather than showing empty.

Not privileged -- read-only info display needs no privileged permissions.
vendor: true (matches this repo's placement in the vendor partition
alongside the *RpiOverlay packages already here).

See notes/axion-port-plan.md "Phase 2 selection" §1.
2026-09-29 02:52:28 -07:00

28 lines
869 B
Plaintext

// Copyright (C) 2026 oxmc / PawletOS
// SPDX-License-Identifier: Apache-2.0
// Board-specific device-info addon for the RPi family (rpi4/rpi5/cm4/cm5) --
// shared here because they use the same bootloader/EEPROM/VideoCore firmware
// model (same code path, different values), matching why this repo already
// exists shared between them. Read-only, no privileged permissions needed --
// see notes/axion-port-plan.md "Phase 2 selection" §1.
android_app {
name: "PawletRpiDeviceSettings",
srcs: ["src/**/*.kt"],
manifest: "AndroidManifest.xml",
resource_dirs: ["res"],
sdk_version: "current",
vendor: true,
certificate: "platform",
static_libs: [
"androidx.appcompat_appcompat",
"androidx.preference_preference",
],
optimize: {
enabled: false,
},
dex_preopt: {
enabled: false,
},
}