Files
mg4/FIRMWARE.md
T
nilsandClaude Opus 5.5 fde963533d Head unit is 1920x720, not 1920x1080
FIRMWARE.md, the mise emulator profile and SPECS.md said 1920x1080.
The MG4's display is 1920x720 at 160 dpi (an app window has been seen
at 1778x720, the car's sidebar taking the rest). The floating button's
geometry test now uses 1920x720.

The app itself assumed no height: checked on an Android 9 emulator at
1920x720, all tabs render (longer ones scroll), the sidebar holds all
seven tabs, and the floating button starts at 1840,312.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki
2026-10-17 22:58:28 +02:00

2.1 KiB
Raw Blame History

Supported firmware notes

This document records project compatibility constraints and behaviour confirmed during development. It must not be treated as a vendor specification.

Identity

Tested generation SWI68-29958-1300R69
Android 9 (Pie) — API 28
Chipset MediaTek MT2712
Device mt2712_saic_eh32 (eh32 = MG4)
Display 1920×720 @ 160 dpi (the car's sidebar takes part of the width; an app window has been reported at 1778×720)
Emulator display profile 1920×720 @ 160 dpi

Signing caveat

Certificate equality alone does not prove an APK came from this project. The nightly OTA therefore also requires https and an exact-host GitHub allowlist. The same caveat applies to EVProfile's OTA.

Vendor property IDs

The vendor VHAL is vendor/bin/hw/android.hardware.automotive.vehicle@2.0-service (ARM aarch64), backed by vendor/lib64/android.hardware.automotive.YFvehicle@2.0.so ("YF" supplier implementation). The property IDs (0x2160F404 SOC, 0x2140F41C range, …) are compiled into that binary, not stored in a readable config. The project therefore treats these IDs as implementation details with firmware-specific compatibility limits.

These IDs are therefore confirmed for SWI68 (R69) only. MG4 ships other generations (SWI69/131/132/133/165) and the VHAL binary lists many SAIC platforms (eh32, as33, ec32, ip42, …); the IDs may differ there.

Only SOC and range still ride these vendor IDs. Speed, outside temperature and park state are read through EVHardware, which branches per generation internally and so covers all six firmwares — CarPropertyAdapter carries just the SWI68 EV cluster plus the standard-AAOS charge / cabin-temp reads. EVHardware has no EV-battery abstraction for any generation, which is why SOC/range cannot yet follow the same path. See AGENTS.md for the full per-signal split.

Emulator fidelity

The mise emulator tasks use an API 33 automotive AVD for the car service and an API 28 AVD at 1920×720 @ 160 dpi for the screen. Neither exposes the SAIC vendor properties, so vehicle-specific behaviour still requires on-vehicle validation.