Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

GGBondLab/OpenHC

System Tools

Android head unit receiver that mirrors HiCar phones over USB or Wi-Fi, for drivers with Huawei phones and Android car screens.

230
56
Kotlin
GPL-3.0
2 days old

What it does

OpenHC is an open-source HiCar receiver that runs on the Android head unit, not on the phone. A Huawei or Honor phone with HiCar projects to the car screen over a USB cable or wirelessly; the car unit draws the picture, handles multi-touch, and splits navigation and music audio onto separate channels with selectable output IDs. It does not need root, ADB, system signing, an account, or any server, and it does not rely on the head unit's built-in HiCar implementation.

The project is primarily an Android application written in Kotlin. Directional-wheel keys for previous/next/play-pause, a remembered connection code, and automatic reconnect when the phone's Bluetooth meets the car are included. The author credits ideas from the CarPlay receiver DiPlay, and the pairing code is ported from OpenHarmony security_device_auth under Apache-2.0; third-party licenses are listed in the notices.

Quick start

  1. Install the APK on the head unit from the latest release; the car unit must allow APK installation. If a self-built debug build was installed before, uninstall it first because the signatures differ.
  2. Wired: tap “Start” on the home screen, plug the phone into the car's USB port, tap “Connect” on the phone, and enter the connection code shown on the car the first time.
  3. Wireless: tap “Start” under “Wireless connection”, then scan the QR code on the car screen with the phone. After one successful connection, the car can automatically connect to previously used phones when the phone's Bluetooth joins the car (Settings → Startup → “Auto connect phone”, on by default).

Wired needs Android 6.0 or later on the car; wireless needs Android 8.0 or later. On wired connections, USB debugging must be off on the phone.

Limits and compatibility

The only validated combination is a BYD Android 10 head unit with a “pure HarmonyOS” Huawei phone. Other car brands and phones were not tested, and the author states that issues on them usually cannot be reproduced or fixed. Phones on HarmonyOS 4.x or earlier can try the alternative hicar-android-receiver, which supports wireless only.

Known constraints from the README: a phone that previously used the car's built-in HiCar may need its old car record deleted before the first connection; the car's own Wi-Fi drops while its hotspot serves the wireless link, and on Android 10+ it may need to be re-enabled manually; 2.4 GHz hotspot and Bluetooth share a band, so frame drops can occur during Bluetooth activity; calls and the car microphone are untested. On Android 10+, background relaunch and boot auto-start require overlay permission. On BYD units, the built-in background-start switch must be turned off after every OpenHC update.

Build from source

Building requires JDK 17 and Android SDK 36. Run ./gradlew check assembleDebug; the debug APK lands in app/build/outputs/apk/debug/. A successful connection also needs an openhc-identity.json file, which is not shipped with the source: put it in its own directory, point openhc.identity.dir in local.properties (or OPENHC_IDENTITY_DIR) at it, and the build packs it in. The format is shown in the identity example, and the architecture notes describe the code layout. The core modules are pure Kotlin and must not use android.* so they can run on Android 6.0; contributions must not include decompiled code or vendor class/path names, and must use fabricated test data. The project is GPL-3.0-only.

HotRepo's take

HotRepo's new-project list recorded OpenHC on 2026-11-23 with 178 stars and 42 forks, a net gain of 78 stars and 20 forks over a roughly 10.5-hour window starting 2026-11-22 19:16 UTC; the hourly sampling shows the count moving from 101 to 178 within that span. That is a short-lived spurt, not a long trend, and the project has no recorded GitHub all-language daily ranking. The narrow hardware validation — one BYD unit and one HarmonyOS phone — is the practical ceiling on adoption described in the README, so growth here is best read as interest in an under-served HiCar receiver rather than evidence of broad device support.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. nobcdz/CarUpConnect an iPhone to an Android head unit via wired or wireless CarPlay and use its apps on the car screen.431
  2. cocombee/glass-tvReplaces ad-filled Android TV home screens with a lightweight glass launcher and debloats the TV over Wi-Fi.Java125
  3. mihirgupta0900/tv-homeDebloat an Android TV over Wi-Fi and replace its ad-heavy home screen with a minimal custom launcher.Java453
  4. kulwantnagi/android-tv-makeoverA reversible Android TV makeover: disable preinstalled apps, replace the ad-heavy home screen, and drive the TV from a phone.Java167
  5. 0xCodez/iphone-mirror-windowsWindows tool that receives iPhone AirPlay mirroring and optionally adds USB mouse and keyboard control.Python101