- Choose the recording folder (head unit, any mounted USB volume, or a typed path); real write test, falls back to the head unit if the stick is missing; clips/events in old folders stay managed - USB budget bounded by stick size (its free-space figure drifts on this head unit, per upstream) - Parked (P + standing still) records at 1.5 Mbit/s 10 fps by default (or medium/full/off); clips rotate on mode change; parked clips are deleted first and can age out sooner (default 7 days) - Default driving bitrate 9 -> 6 Mbit/s; quality picker shows GB/hour - Drive log sidecar per clip and per event (speed, SoC, range, gear, GPS), uploaded with the clip - Dashboard: synced speed/battery/gear readouts, route map (OSM via cached server proxy), speed graph with click-to-seek, drive distance/top speed/battery, speed+position at event press, parked footage in storage meters - Tests: parked-first deletion and parked retention
MG Utility
A landscape-first Android home-screen replacement and vehicle dashboard for Android-based MG/SAIC infotainment systems.
Safety: MG Utility is not approved by MG/SAIC. Configure it only while parked. Vehicle-affecting actions are capability-gated, reversible where possible, and excluded from safety-critical systems.
Features
- Vehicle dashboard — speed, estimated range, battery voltage, state of charge, energy counters, charging status, and connection state.
- Home replacement — use MG Utility as the Android Home app with a configurable app drawer and quick-control panel.
- Media — now-playing metadata, album art, playback controls, progress, and notification-based media integration.
- Trips and maps — automatic trip tracking, drive history, route maps, statistics, regenerative-braking events, and JSON/CSV/HTML exports.
- Dashcam — loop recording from the four factory cameras (native capture from Tommasov/MG4_Dashcam, GPL-3.0), a storage budget, auto-delete after N days (default 30), "keep" ranges for whole drives, clips or marked parts that are never auto-deleted, and verified offload to a home server (
dashcam-archive/). - Charging tools — editable
IF … THEN …automation rules for SOC, price, and time windows, with Park and connection safeguards. - Audio and visualizers — speed-reactive audio, adaptive audio leveling, soundboard events, FFT visualizers, and Ferrofluid effects.
- Vehicle settings — capability-detected settings with parked/stationary checks and getter read-back after writes.
- Customization — themes, palettes, fonts, brightness schedules, key remapping, pinned apps, and control-panel layouts.
- Backup and plugins — versioned settings export/import plus a scoped Java 8 plugin SDK and marketplace foundation.
- Local-first storage — settings, trip history, reports, and the acceleration leaderboard remain on the head unit unless explicitly exported or an optional network feature is used.
Compatibility
The MG4 Luxury 2022 is the development and validation reference. Other MG/SAIC trims and firmware versions may expose different services and capabilities. The app detects unavailable OEM services and falls back to usable local features instead of assuming compatibility.
Minimum Android version: API 28. Live vehicle data requires the vehicle's exposed SAIC service. Maps and electricity-price conditions require network access; core dashboard and local history do not.
Install
- Obtain
MG-Utility.apkfrom a trusted release or build it locally. - Install it on the Android head unit using the approved installation path.
- Open MG Utility and grant only the permissions needed for the features you use:
- location for GPS routes and arrival areas;
- notification access for media information;
- audio recording for the live visualizer.
- Select MG Utility as the default Home app if desired.
- Configure the dashboard, apps, controls, trips, charging, and optional integrations in Settings.
Build
Requirements: Linux, a JDK, Android SDK build-tools 34 or newer, an Android platform SDK, and the local signing keystore.
./build.sh
The signed APK is written to:
build/MG-Utility.apk
For the authenticated Dev release workflow:
./scripts/release-dev.sh
Development and testing
The repository includes an API 28 emulator wrapper for UI and local-feature testing:
./emulator.sh start
./emulator.sh install
./emulator.sh launch
./emulator.sh screenshot
./emulator.sh stop
The emulator does not include SAIC's proprietary vehicle service, so live vehicle integration must be validated on compatible hardware.
Documentation
Limitations
MG Utility leaves the OEM software and firmware in place. Unknown vehicle capabilities remain read-only. Test every optional integration on the target vehicle before relying on it, and never operate the app in a way that distracts from driving.
