3.9 KiB
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.
- 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.
