An Android-based shell for aftermarket car head units built on the MediaTek 8227L platform (Android 8.1, 1 GB RAM). It runs as the home app and device owner, with its own screens for Bluetooth media, radio, phone, reverse camera, the car's dash display and settings.
- JDK 21, Android SDK (platform 36, build-tools 36.0.0), Android Emulator with the
android-27x86 image for the simulator build. - A head unit on the
8227L_demoplatform with ADB over network enabled, for the device build. - The helper scripts under
sim/andscripts/are PowerShell.
./gradlew test assembleSimDebug assembleDeviceDebug
./sim/create-avd.ps1
./gradlew installSimDebug
adb shell cmd package set-home-activity ro.rdstr.os/.HomeActivity
./sim/send.ps1 -File ./sim/recordings/incoming-call.jsonl
Events can also be sent one at a time: ./sim/send.ps1 ReverseGear '{"on":true}'.
./scripts/check-device.ps1 prints memory use and cold start time of the installed app.
npm install
npm run dev
Then open http://localhost:8787/. The app is built with Next.js and React and runs the shared core-car rules compiled to JavaScript. npm run dev rebuilds that bundle when the Kotlin sources change. The side panel sends car events, replays recordings and sets the shell state; the inspector shows the event log and the rules and shell state. npm run build and npm start run the production build.
core-car—CarBusinterface, event and command types, JSON Lines journal, rules engine, shell state; built for the JVM and for the browser.car-sim— simulator: journal replay and anadbbroadcast receiver (ro.rdstr.sim).car-vendor— adapter to the head unit's vendor services.core-ui— design tokens and custom views.app— service, home activity, screens. Flavors:sim,device.emulator— browser emulator and live design mockup of the screens.
MIT