QQ feedback group: 1128172672
mcarplay is an experimental Android app that turns a phone into a wireless CarPlay sender. Xiaomi CarWith is the primary content source today: mcarplay receives CarWith's native video and audio over local CarLife channels, sends them to a wireless CarPlay receiver, and routes receiver touch events and night-mode changes back to CarWith while handling receiver media keys. The head unit displays the CarWith interface, not the native iOS CarPlay launcher.
The long-term objective is broader: build a highly compatible, adaptive and sustainable universal wireless CarPlay sender for Android, not merely a CarWith-to-CarPlay adapter. CarWith remains the current content source, but the sender protocol, session lifecycle, compatibility and display-geometry layers are intended to outlive that source.
The project is guided by three principles: Stability, Universality and Adaptability. The long-term work is organized around five outcomes:
- Move sender protocol behavior closer to a real iPhone without shipping Apple's private assets.
- Replace default per-vehicle adaptation with receiver capabilities, bounded probing, fallback and local memory.
- Make the connection lifecycle explicit: one user session, isolated attempts and deterministic cancellation and cleanup.
- Use one display and HID geometry model for video size, canvas, aspect ratio and touch coordinates.
- Combine agent-assisted implementation, protocol replay, architecture tests, independent review and separate device evidence.
flowchart TB
subgraph SOURCES["Content sources"]
CW["CarWith (current)"]
CL["CarLife (future)"]
OT["Other sources (future)"]
end
subgraph SENDER["Universal CarPlay Sender"]
MI["Unified media-source interface"]
CS["ConnectionSession<br/>state machine · AttemptRunner · lifecycle"]
CE["Adaptive compatibility engine<br/>ReceiverProfile · Resolver · Memory"]
PROTO["iAP2 | AirPlay | Network | Media"]
GEO["DisplayGeometry / HID mapping"]
DIAG["Diagnostics · regression · protocol replay"]
end
subgraph RECEIVERS["Wireless CarPlay receivers"]
OEM["Factory head units"]
AFTER["Aftermarket head units"]
SOFT["Software receivers"]
end
CW
8000
--> MI
CL -.-> MI
OT -.-> MI
MI --> CS
CS --> CE
CE --> PROTO
PROTO --> GEO
GEO --> OEM
GEO --> AFTER
GEO --> SOFT
DIAG -. cross-cutting .-> CS
classDef future stroke-dasharray: 6 4,stroke:#8a8a8a,color:#666666;
class CL,OT future;
The solid CarWith path is the current scope. Dashed content sources are architectural
extension points, not committed deliverables. The sender, compatibility and geometry
layers are the long-term core. The dashed CarLife node means a future direct CarLife
content source; the local CarLife channels used by CarWith remain part of the current
path.
Work is split into two tracks:
| Track | Purpose | Current status |
|---|---|---|
| R: architecture modernization | Turn working orchestration code into explicit, testable lifecycle ownership without changing receiver-visible behavior. | Phase 0-3c merged. Phase 4a-1a is PR #162, open and awaiting T1 bench evidence. |
| C: universal compatibility | Move from receiver-specific patches toward capability negotiation, bounded probing, fallback and evidence-backed memory. | C0/C1 iAP2 audits are the next compatibility gates; C2-C4 remain planned. |
The canonical roadmap and acceptance criteria live in the master issue #164. Architecture contracts live in docs/ARCHITECTURE-REFACTOR.md, and implemented evidence is recorded in IMPLEMENTATION_PLAN.md.
Experimental. The latest formal release is v0.1.7 (2026-11-30). The current
architecture baseline is dev at d7fc19d (2026-12-01); Phase 3c is merged and
PR #162 has not yet completed T1 acceptance. The immediate gate is T1 evidence and
merge for #162; the next implementation slice is Phase 4a-1b (ConnectionSession
and Attempt), followed by 4a-2a/2b (AttemptRunner).
Source-side CarWith streaming has AVD evidence across HyperOS OS1-OS4 as of November 4,
2026. DiPlay, WinPlay 1.2.5 and one manual Chery Arrizo 8 wireless path have bench or
vehicle evidence as of October 31, 2026. Auto-connect and day/night relay code landed
on dev in December 2026. Auto-connect still lacks complete lock-screen and vehicle
acceptance; day/night relay lacks vehicle acceptance.
"Implemented" below means the code path exists; only the cited bench or vehicle evidence supports a compatibility claim. No row is a blanket model or vehicle support statement.
| Capability | Status | Evidence boundary |
|---|---|---|
| Bluetooth iAP2 | Implemented | Link bring-up, identification, MFi challenge exchange, EA and media-key paths exist; tested on the documented receivers, not all phones or head units |
| Wireless Wi-Fi handoff | Implemented | Bench and manual Chery paths reached picture, sound and touch; automatic hotspot and cold-start flows still lack broad acceptance |
| mDNS and endpoint discovery | Implemented | Combined with Bluetooth identity and late endpoint handling; unknown receivers can still expose different network behavior |
| MFi challenge/auth flow | Implemented, sender side | Challenge length, tunnel auth and auth-setup paths exist; mcarplay is not an MFi-certified product |
| AirPlay pairing, crypto and RTSP | Implemented | Pairing, pair-verify, session SETUP, RECORD and teardown paths have protocol tests and receiver evidence |
| H.264 video and transcode fallback | Implemented | Pass-through and on-phone transcode fallback exist; Chery display/touch fixes await vehicle retest |
| Audio | Implemented | PCM to AAC-LC, PCM fallback, navigation ducking and per-receiver audio memory; call uplink and microphone are not in scope |
| HID touch and keys | Implemented | Touch mapping follows the HID descriptor; full steering-wheel, focus and call-key matrices remain unverified |
| Screen resource arbitration | Implemented | ModeArbiter and screen ownership paths exist; vehicle-specific return/re-entry sequences still need evidence |
| Receiver identification and policy | Partial | ReceiverProfile, capability probes and ReceiverCompatibility.Policy are foundations, not yet one adaptive engine |
| Automatic connection | Implemented code path | ACL trigger, deduplication, cancellation, cooldown and diagnostics exist; full lock-screen ignition to picture/sound/touch is unverified |
| Day/night relay | Implemented code path | CarWith theme change is driven from receiver night mode on supported CarWith versions; no vehicle acceptance yet |
| Adaptive compatibility engine | Not complete | Existing VehiclePreset and policy rules are migration inputs and fallbacks, not the final design |
| Unified display geometry engine | Not complete | Geometry negotiation, HID mapping and mismatch transcode exist in separate paths; one shared model is not complete |
This is an evidence summary, not a support list.
| Receiver / family | Current status | Boundary |
|---|---|---|
| DiPlay 0.2.21/0.2.22 | 0.2.21: multiple bench scenarios with picture, audio and touch; one combined run of about 6 minutes 36 seconds without audio drops. 0.2.22: only a /feedback compatibility fix is recorded |
Current-build long-run and reconnect are not fully verified |
| WinPlay 1.2.4/1.2.5 | 1.2.5: picture, touch and music; about 25 minutes after Bluetooth release; reconnected after manual disconnect and network loss. 1.2.4: shorter picture and sound runs | Software-receiver results are not vehicle claims |
| Chery Arrizo 8 | Manual wireless path validated with picture, sound and touch; S1-S6 regression and two sessions totaling about 107 minutes, longest about 99 minutes | The 1280/1920 display and HID-touch fixes from issue reports still need vehicle retest |
| MacPlay | Partially exercised | Regression matrix is incomplete |
| Volkswagen Cinemo / MIB3 | Targeted reconnect, resource and mode handling exists | Targeted policy is not broad vehicle support |
| Audi MMI | Targeted protocol handling exists | Current CarWith bridge evidence is incomplete |
| BMW | iAP2 negotiation adaptations exist | Limited validation; no general support claim |
| Mercedes MBUX / MB_E | Manual experimental presets and multiple protocol trials exist | Black-screen issue #62 remains open; the preset is not proof of compatibility |
| Unknown receiver | Generic connection path exists | No compatibility guarantee; behavior must be diagnosed from evidence |
Test phone: Xiaomi 17 Pro Max (2509FPN0BC), HyperOS OS4.0.4.0.XPBCNXM,
Android 17, CarWith 4.0.20-20260923, Xiaomi CarLife 8.8.5 (8.8.4 for the earlier DiPlay runs).
Receivers covered below: a 2022 Chery Arrizo 8 head unit, PA2353 Android 14 tablet running
DiPlay 0.2.21, and WinPlay 1.2.4/1.2.5 (x64) on Windows.
The minimum SDK is Android 12 / API 31; this does not establish compatibility
with every Android 12+ device. Upstream CarDeck vehicle results are not mcarplay
vehicle compatibility claims.
On 2026-11-04 we tested the available public CarWith builds with Xiaomi CarLife
8.6.8/260 across HyperOS OS1-OS4. A streaming result required all seven CarLife
channels, RSA/AES setup, phone-channel admission, VIDEO_INIT_DONE 1280x720@30, and at
least 20 seconds of nonzero H.264 video.
| Phone / HyperOS | Android | Tested CarWith builds | Sustained streaming |
|---|---|---|---|
OS1.0.4.0.TGACNXMMi 10S / thyme system partitions |
13 | 50 | 37 |
OS2.0.215.0.VMCCNXMXiaomi 13 / fuxi system partitions |
15 | 50 | 38 |
OS3.0.2.0.WMCCNXMHyperOS AVD |
16 | 50 | 39 |
OS4.0.24.0.XFRCNXMHyperOS AVD |
17 | 5, starting at the system's initial 4.0.16-20260907 |
4 |
Key boundaries:
2.0.0-20231103through2.3.0-20240606(11 builds) produced no video frames on OS1-OS3.2.3.1-20240712is the first build with sustained streaming.3.8.2-20260117crashed inside CarWith only on OS1;3.8.3-20260203fixed it.4.0.20-20261009is gated internally to Android SDK 36 and exits on OS1, OS2 and OS4. mcarplay cannot bypass that APK-level restriction.- The OS4 set was
4.0.16-20260907,4.0.20-20260929,4.0.20-20261009,4.0.21-20260929, and4.0.23-20261016; four streamed successfully.
This is source-side AVD evidence, not a complete physical-device compatibility claim. OS1-OS3 combined Xiaomi system partitions with a ranchu vendor/kernel and ran permissive; OS4 ran enforcing but still used the emulator hardware base. Old builds without the current public entry used a root-assisted internal-service probe. The matrix does not establish physical Qualcomm vendor behavior, receiver decoding, audio, touch, or long-run stability.
Each image documents the pictured session only. The Chery images are privacy-redacted screen crops made from the two user photos with AI-assisted image editing: the windshield, surroundings and interior were removed, and location text was blurred. They are derivative, AI-redacted evidence rather than raw screenshots; the originals remain outside Git and the logs take precedence for pixel-level or timing claims. Select an image to open the full-size version.
| Workstream | Deliverable | Status |
|---|---|---|
| R Phase 0-3c | Guardrails, component extraction, cancellable waits and unified attempt ownership | Complete and merged |
| R Phase 4a | ConnectionSession, Attempt, AttemptRunner and explicit per-attempt ownership |
4a-1a is PR #162, open; T1 bench evidence is pending. 4a-1b, 4a-2a and 4a-2b follow. |
| R Phase 4b | Event-driven session state machine with shadow comparison before authority switch | Not started |
| R Phase 4c | Read-only UI session snapshots and removal of mutable public facade state | Not started |
| C0/C1 | iAP2 zero-retry audit, SYN parameter truth table, ACK/window/reassembly tolerance | Next compatibility gates; no protocol guesswork before the audit |
| C2 | Per-channel liveness, KeepAlive boundaries, dual-stack discovery and Wi-Fi identity | Planned |
| C3 | ReceiverProfile + resolver + bounded memory for capability-based adaptation |
Planned after the R-track boundaries are stable |
| C4 | Shared display geometry and HID mapping, introduced through observation and shadow modes first | Planned; can start with evidence collection and pure functions in parallel |
Known constraints:
- Only one documented manual vehicle path (Chery Arrizo 8) has end-to-end picture, sound and touch evidence; no other vehicle family has complete end-to-end evidence.
- A 2026-11-04 AVD matrix covers Xiaomi HyperOS OS1-OS4 with CarWith 2.x-4.x; physical evidence is limited to one Xiaomi 17 Pro Max configuration.
- Full lock-screen ignition, day/night switching, long-run reconnect and the complete steering-wheel/focus matrix still need device acceptance.
- Mercedes MBUX black-screen behavior and several display/touch issues remain open; experimental presets are diagnostic tools, not support declarations.
- The target is that a new receiver should not require a new
VehiclePresetby default. Only evidence-backed protocol defects should need a dedicated rule.
These are planned validation steps, not compatibility guarantees.
- Download an APK from this repository's Actions artifacts or Releases. See automatic builds. No external download mirror is maintained here.
- Install it on a Xiaomi phone with CarWith and the Xiaomi CarLife component.
- Pair the phone with the wireless CarPlay receiver and follow its Wi-Fi/hotspot flow. Select the intended receiver in mcarplay and start the connection. The "Prefer car network" switch applies on the next connection. When off, mcarplay requests the car hotspot for projection only; Android independently chooses the default Internet route for other apps. A saved hotspot or missing Internet does not block projection. If the local Wi-Fi join itself fails while Android is already on the car hotspot, check system Wi-Fi, forget that hotspot manually if needed, or turn on "Prefer car network" and reconnect.
- Choose whether to enable sound. Native CarWith audio requires no separate screen-recording grant in mcarplay.
- For bench testing, use a second Android device running DiPlay, or WinPlay on a Windows PC. Disconnect other CarLife receivers before starting the native session.
CarWith's native video, audio and touch use ordinary application intents and local sockets on versions with the public entry. Legacy builds without that entry require an already-started native session, verified root to launch the legacy service, or manual setup in CarWith; ordinary Shizuku shell identity cannot start the protected service. Some receivers, including WinPlay 1.2.4 and 1.2.5, also check the phone's real Bluetooth identity. Android does not let ordinary apps read it: with Shizuku running, mcarplay reads and remembers it; without Shizuku, enter the address from the phone's settings under 本机蓝牙地址 in the Connect tab's readiness list. A live Shizuku read takes precedence over a typed address. Optional utilities may also use Shizuku. Receiver capabilities, Bluetooth handoff, pairing fallback and audio memory follow the receiver compatibility design. Its policy matrix describes implementation and evidence boundaries, not a device support list. If pairing stalls after reinstalling, restart the test receiver to clear its previous session.
On the phone, choose Display source → Custom dashboard before connecting. Start Shizuku and grant mcarplay access. On wide screens, the dashboard opens the preferred map beside a music card. The left dock shows the phone's time, network and battery status, with shortcuts for navigation, apps and settings. The apps page opens installed copies of Google Maps, Waze, Amap, and Baidu Maps, along with music players. Amap uses its car-mode entry when available. The music card shows track information and artwork when the player exposes them and mcarplay has notification access.
The dashboard optionally requests the Phone permission (READ_PHONE_STATE) to show signal strength and the 4G/5G
label for each active SIM. The permission is not needed for CarWith; if denied, per-SIM indicators are hidden.
mcarplay does not record SIM identifiers or phone numbers.
Choose Enable audio at connection time and grant recording and screen capture permission. Android's playback capture rules and each app's capture policy determine which audio reaches the car. Both display sources default to an app-only car hotspot connection, preserving the phone's internet route. Prefer car network overrides that default for the next connection. Disconnect before selecting a different display source.
The phone UI has three tabs: Connect (status, the start button and a readiness checklist), Settings (screen behavior, car settings, language, updates, disclaimer) and Diagnostics (self-test, Bluetooth capture analysis, logs). It follows the system light/dark theme. Screenshots come from an Android emulator, not a vehicle, and say nothing about vehicle compatibility.
Dark theme: Connect, Settings, Diagnostics, Car display settings.
Open 检查更新 in the Settings tab while parked and disconnected. The app checks GitHub Releases, shows release notes, and lets you download an APK and open the Android installer. Include previews is enabled by default for this experimental project; disable it for stable releases only. Nothing is installed silently.
Downloads are checked against SHA-256, package/version, Android compatibility and
the installed signing certificate. A debug APK generally cannot receive a release-signed
update. Older builds without a recorded release tag cannot order previews of the
same base version; use the release page for those. The remote flavor is excluded
from standard APK updates. The signed v0.1.3 APK has been installed over the prior
signed build on the test phone; the in-app download and system-installer flow still
needs dedicated on-device acceptance.
See update behavior, limitations and acceptance checks.
The interface is available in Simplified Chinese (default) and English. Change it under 界面语言 / Language in the Settings tab; on Android 13 and later it also appears in the system per-app language settings. Logs and diagnostic reports stay in Chinese so they can be compared with existing evidence.
After each update, the first launch shows that version's release notes in the chosen
language, taken from the CHANGELOG.md entry bundled into the APK (validation lines are
omitted). A fresh install shows the disclaimer instead. The update page shows release
notes in the chosen language as well.
Tap 导出脱敏诊断报告 on the main connection card, review it, then share the file with reproduction steps, failure time and receiver model/firmware. Recent previous processes are included automatically; reopen and export after an unexpected exit, before reinstalling or clearing app data. No computer or Shizuku is needed, and there is no automatic upload. See diagnostic contents and error codes.
The remote/debug diagnostic build exports full, unredacted reports after an on-device notice.
These can contain real device/network identities, original exceptions and retained session information;
its configured debug bridge can also stream runtime logs. Standard builds and all release exports stay redacted.
Select a paired target in 选择设备, then open 检测当前车机 → 开始检测(含声音). The wizard uses the normal connection pipeline, shows source/sender/input evidence, and asks you to confirm the actual picture, sound and touch before saving local settings. A single optional Bluetooth-stage trial temporarily disconnects that target's HFP/A2DP profiles. Cancelled or unsuccessful trials keep the previous configuration; unknown results stay unverified. Saved settings are reused for that device, with environment and capability checks. No model list or automatic upload is used. Coordinate calibration and configuration import are future work. See implementation and limits.
Two fallbacks from earlier versions are off by default. They have no vehicle evidence; turn one on only for the symptom below, then reconnect. Open Settings → 车机设置 → 显示 and find:
| Switch | Symptom it addresses | What it does | Risk |
|---|---|---|---|
| 兼容兜底:配对失败后尝试明文 | Pairing fails every time on an older receiver that you know accepts only unencrypted sessions | After an ordinary pairing failure on a reachable receiver, retries once with an unencrypted (et=NONE) session. A 403 reply never falls back. |
Uses the receiver's reconnect window; the session may be rejected |
| 兼容兜底:音频格式未声明时仍尝试 | Video works but the app always streams video only, while the receiver can play sound | When the receiver lists no usable media audio format, still tries PCM 48 kHz (and non-media audio types) | No sound, or the receiver may disconnect shortly after audio starts |
Chery: ask head unit to turn off Bluetooth (奇瑞:连接后请车机关蓝牙, off by default) |
Troubleshooting Bluetooth interference or audio-routing conflicts on a Chery head unit | Sends disableBluetooth after session setup on Chery head units (matching iPhone behavior) |
Turning off the ignition without disconnecting first can leave the head unit's Bluetooth turned off on the next start |
Experimental: transcode immediately on size mismatch (实验:源画面尺寸不符时直接转码, off by default) |
The head unit stays black or stretched without sending key-frame storms when CarWith emits an H.264 SPS size different from the head-unit stream size | When valid /info displays[0] geometry is active and CarWith's first SPS dimensions still differ from the stream dimensions, starts on-phone H.264 transcoding immediately without waiting for forceKeyFrame requests |
Increases phone heat, CPU/GPU load, and battery drain; applies on the next connection |
| Experimental: Passat return to CarPlay (pick one, off by default; requires Vehicle profile = Volkswagen on the home page) | Passat 2025 (VW4211) only sometimes re-enters CarPlay after returning to the native UI | Rebuild on fail: rebuild the screen stream once if the car shows no touch and asks for no key frame within 3 s; Disconnect on fail: end the session after two such failures in a row; No rebuild: tapping the icon only re-asserts ownership and resends parameter sets | No vehicle evidence for any of them; try one at a time; Disconnect on fail may misfire if you do not touch the screen |
Turn the switch off again if it does not help. When reporting a problem, mention which
switches were on; the diagnostic log records a COMPAT: line or an audio fallback line.
When a hardware head unit reports valid display geometry, a CarWith picture that is more than 10%
wider than that geometry is transcoded automatically. The Generic vehicle preset disables this
automatic path, and software receivers (WinPlay/DiPlay) are excluded because they scale the picture
themselves. Touch coordinates follow the HID descriptor's logical range, which can be wider than
displays[0]. The first touch log line EVENT: 触摸坐标范围 ... records the range actually used.
Current runtime path:
Xiaomi CarWith (current content source)
-> authenticated local CarLife channels
-> H.264 + native PCM + touch translation
-> Bluetooth iAP2 + Wi-Fi / AirPlay
-> wireless CarPlay receiver
The target layered architecture is shown above. In the current implementation, CarWith creates the source display and encoder; mcarplay consumes its media and handles receiver discovery, iAP2, AirPlay, media transport, display/touch mapping and diagnostics.
The refactor separates the current working path without changing receiver-visible behavior:
ConnectionSessionowns one logical user connection.AttemptandAttemptScopeown one endpoint attempt, its resources and cancellation.AttemptRunnerexecutes join Wi-Fi, discovery, pairing, setup and streaming.ReceiverProfileandReceiverCompatibility.Policyare the current compatibility inputs; the target adds a bounded resolver and memory layer.DisplaySurfaceReport, geometry negotiation and HID descriptor parsing are the current foundations for the future unified geometry engine.
See docs/ARCHITECTURE-REFACTOR.md for invariants, failure history and phase-level acceptance criteria. No CarWith, CarLife, OcarPlay or receiver APK is included in the source distribution.
Use JDK 21, Android SDK Platform 35 and Build Tools 35.0.0. Set ANDROID_HOME,
or set sdk.dir=/path/to/Android/sdk in an untracked local.properties file.
./gradlew spotlessCheck :app:testStandardDebugUnitTest \
:app:lintStandardDebug :app:assembleStandardDebug \
:app:testRemoteDebugUnitTest --tests 'com.mcarplay.app.bridge.*'Output: app/build/outputs/apk/standard/debug/app-standard-debug.apk.
Use ./gradlew spotlessApply to format Kotlin. Run git config core.hooksPath .githooks once to
check commits locally. standard is the normal flavor;
remote contains additional development tools.
Optional diagnostic-tool tests:
python3 -m venv .venv
.venv/bin/python -m pip install -r tools/requirements.txt
.venv/bin/python -m unittest discover -s tools -p 'test_*.py'Workflows work with any repository owner, without changing repository URLs:
| Workflow | Trigger | Output |
|---|---|---|
| Android CI | Branch push, pull request or manual run (documentation-only changes are skipped) | Debug APK, SHA-256 checksum and check reports |
| Signed APK | v* tag push or manual run |
Signed release APK, checksum and signing-certificate report |
Android CI needs no signing secrets. Open Actions → Android CI → a successful
run → Artifacts, download mcarplay-debug-<run number> and extract the APK.
Artifacts expire after 14 days. Hosted-runner debug certificates can change
between runs; these test APKs may require uninstalling an older build.
For stable release signing, add repository secrets under Settings → Secrets and variables → Actions:
| Secret | Value |
|---|---|
KEYSTORE_BASE64 |
Base64-encoded release keystore file |
KEYSTORE_PASSWORD |
Keystore password |
KEY_ALIAS |
Signing-key alias |
KEY_PASSWORD |
Signing-key password |
Follow GitHub setup to generate a keystore and publish a tag.
A stable tag such as v0.1.0, or a test tag such as v0.1.0-test.1, must match
appVersionName in app/build.gradle.kts; test tags publish as GitHub prereleases.
Manual runs only upload artifacts.
Before pushing a tag, add its exact ## [vX.Y.Z-test.N] (or stable tag) entry to
CHANGELOG.md; the signed workflow uses that entry as the release description.
Missing secrets fail the signed workflow; it never substitutes a debug certificate.
Retain the same private signing key for subsequent updates.
For local signing, copy keystore.properties.example to keystore.properties,
fill in your own values, and run:
./gradlew -Pmcarplay.requireReleaseSigning=true :app:assembleStandardReleaseapp/src/main/java/com/mcarplay/app/: CarLife bridge, CarPlay transport, media and UI.app/src/test/java/: JUnit protocol, crypto, audio and lifecycle tests.tools/: diagnostic probe, Python tests and clean upload preparation.docs/: device findings, receiver compatibility, auto-connect, architecture and release setup.- IMPLEMENTATION_PLAN.md: current baseline, implemented evidence and historical milestones.
- docs/ARCHITECTURE-REFACTOR.md: R/C architecture contracts, invariants and phase gates.
- docs/RECEIVER-COMPATIBILITY.md: current receiver policy matrix and evidence boundaries.
- docs/VEHICLE-COVERAGE.md: vehicle/receiver evidence tracking by protocol fingerprint.
- docs/AUTO-CONNECT.md: lock-screen auto-connect behavior and acceptance.
- AGENTS.md: contributor commands and conventions.
Run python3 tools/prepare_upload.py for a source-only upload folder and ZIP
under dist/. SDK settings, signing files, caches, logs, captures and reference
APKs are excluded. When uploading through GitHub's website, include .github/
and the root dotfiles.
mcarplay builds upon CarDeck by shaonialife and its contributors. Its MIT copyright notice is retained in LICENSE and NOTICE. Thanks to DiPlay and xcertplay for receiver research and the test environment; these are separate projects with their own licenses.
Thanks also to the libraries and tools used by this repository:
| Project | Role | License |
|---|---|---|
| AndroidX | Core, AppCompat, RecyclerView, ViewPager2 | Apache-2.0 |
| Kotlin | Language and standard library | Apache-2.0 |
| Bouncy Castle | Pairing and transport cryptography | Bouncy Castle license |
| JmDNS | DNS-SD discovery | Apache-2.0 |
| SLF4J | Logging API and no-op backend | MIT |
| Shizuku API | Shell utilities and Bluetooth identity where required | MIT |
| JUnit 4 | JVM tests | EPL-1.0 |
| JSON-java | JSON for local tests | Public domain |
| cryptography | Python diagnostics | Apache-2.0 OR BSD-3-Clause |
| Gradle, Spotless, ktlint | Build and formatting | Apache-2.0 / Apache-2.0 / MIT |
Versions, the distinction between runtime dependencies and research references, and license texts are documented in THIRD_PARTY_NOTICES.md.
Source is distributed under MIT, subject to preserved upstream and dependency notices. This unofficial experimental project is unaffiliated with Apple, Xiaomi or vehicle manufacturers. Configure and test while parked. See DISCLAIMER.md for scope, permissions and limitations.