Skip to content
项目

关于

CarPlay and Android Auto in one app for car head units: auto-detects iPhone or Android phone (based on DiPlay and DiAuto)

其他项目

这些数字如何统计

可以做什么

  • Automatic detection. iPhone → CarPlay, Android phone → Android Auto, from the USB device or the phone's Bluetooth services. Nothing to choose.
  • USB and wireless. Wireless uses Wi-Fi Direct by default (no router or hotspot needed); the car's own hotspot and the same Wi-Fi network are options.
  • Plug and play. Plugging in starts at once; the last phone reconnects by itself when CarLink comes to the front.
  • Switch phones. A second phone asks "Switch to <phone>?" instead of taking over.

实测星标增长

24小时
+3
7天
+35
15天
+79
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
CarLink logo

CarLink

CarPlay and Android Auto in one app, for any Android car stereo or tablet.

Latest release Downloads License: AGPL-3.0 Android 7.1+

Download · Install · User guide · Troubleshooting · Docs

Install CarLink on an Android car stereo, or on an Android tablet or phone used as the car's display. Plug in or connect your phone: an iPhone gets CarPlay, an Android phone gets Android Auto, by cable (USB) or wirelessly. CarLink works out which phone it is; there is nothing to choose.

CarLink is generic: it is meant for any Android head unit or tablet, not one car brand. It combines two open-source engines, imported with their full history: DiPlay (CarPlay) and DiAuto (Android Auto), both written for BYD DiLink head units; their BYD-only features stay off unless you pick BYD as the car brand.

Home: ready to connect a known phone, with the phones list and the status line
Home: one question, your phones, and where each part stands
Connecting: live steps with timings
Connecting: live steps, and a notice when one is slow
A problem: the car hotspot is off, with the fix and a report code
A problem: the fix first, and a code to report it
Connected: CarPlay running, with the connection details
Connected: what runs, how, and a one-tap phone switch
Floating button and its panel over CarPlay
Over CarPlay and Android Auto: a movable button and its panel
Settings: categories on the left, flat rows on the right
Settings: short pages, one-tap choices
Home in the light theme
Day: follows the car's light mode
Home on a 1024x600 head unit
On a 1024×600 head unit

Rendered from the app's screens with sample data, not captured from a phone. Every screen and state, on every size (car displays, ultrawide, tablets, phones, split screen): screenshot gallery.

How is CarLink different from ZLink, Car Link 2.0, Autokit or Headunit Reloaded? CarLink is one free, open-source app that does both CarPlay and Android Auto, by cable or wirelessly, with no extra hardware, no account, no activation code and no ads. ZLink and "Car Link 2.0" are closed apps that come preinstalled on many stereos; Autokit is the companion app of Carlinkit dongles (you buy the dongle); Headunit Reloaded is Android Auto only. CarLink can live next to them, and tells you when another projection app is getting in the way.

Features

  • Automatic detection. iPhone → CarPlay, Android phone → Android Auto, from the USB device or the phone's Bluetooth services. Nothing to choose.
  • USB and wireless. Wireless uses Wi-Fi Direct by default (no router or hotspot needed); the car's own hotspot and the same Wi-Fi network are options.
  • Plug and play. Plugging in starts at once; the last phone reconnects by itself when CarLink comes to the front.
  • Switch phones. A second phone asks "Switch to <phone>?" instead of taking over.
  • A movable button over CarPlay and Android Auto. Drag it anywhere out of your way; it shows an iPhone or the Android robot and one status dot. Tap it for the phone switch, a screen dimmer, picture size, the stereo's own apps, and back to CarLink. It stays clear of CarPlay's dock and Android Auto's rail and never dims the map.
  • Simple by default, complete when you need it. Home asks one question with one button, shows your phones and where Bluetooth, the network, the phone and the picture stand, and leads with the fix when something is wrong. Settings are short pages with one-tap choices; each category's Advanced has every engine option, split into CarPlay and Android Auto.
  • Steering-wheel buttons. Learn the car's buttons for voice, calls, media, a navigation knob (Left, Right, Up, Down, Select), Back, Home and "CarLink controls". A learned knob also walks CarLink's own screens.
  • Any Android head unit or tablet, with car-display and phone/tablet layouts, dark and light, 1024×600 to ultrawide.
  • Light on cheap stereos. Flat screens with no blur or glow, an even plainer mode for weak hardware, and per-processor downloads of about 10-11 MB.
  • In-app updates from GitHub Releases, checked before they are installed.
  • Car brands. Pick your make (popular Indian makes, luxury makes, or Other); only BYD changes behaviour, turning on the DiLink extras.
  • Diagnostics and reporting. Device checks with problems first, a shareable connection log, and Report on GitHub (or a QR code to scan with your phone) with the details already filled in.

Requirements

  • The display: Android 7.1 or newer on ARM (arm64-v8a or armeabi-v7a) or Intel (x86): a car stereo, a tablet or a phone used as the car's display. Install CarLink there, not on your phone.
  • iPhone (CarPlay) or Android phone (Android Auto), with a USB cable, or with Bluetooth and Wi-Fi on for wireless. Wireless needs pairing once, started from the phone.

Install

  1. Open Releases on the display (or on a computer, then copy the file over by USB stick or cable).

  2. Download the APK for your display. Which APK do I pick?

    • CarLink-X.Y.Z-arm64-v8a.apk: most car stereos and tablets (64-bit ARM).
    • CarLink-X.Y.Z-armeabi-v7a.apk: older 32-bit stereos (take it if the arm64-v8a one says "App not installed").
    • CarLink-X.Y.Z-x86.apk: Intel stereos.
    • CarLink-X.Y.Z.apk: all of the above in one larger file; always works.

    To check the file, compare its SHA-256 with the .sha256 file of the same name (sha256sum -c CarLink-X.Y.Z-arm64-v8a.apk.sha256). Later updates from inside CarLink pick the matching APK by themselves.

  3. Open the APK. Android asks you to allow installing apps from the browser or file manager you used ("Install unknown apps" › Allow from this source). Allow it, go back and tap Install. If Google Play Protect warns about an unknown or "harmful" app, that is because CarLink is not from the Play Store: tap More details › Install anyway, after checking the SHA-256 and signing certificate below if you want to be sure.

  4. Open CarLink and follow the first-time setup.

Add to Obtainium. Obtainium can track CarLink's GitHub releases and install each new one: in Obtainium tap Add app and paste https://github.com/F-e-n-y-x/CarLink, or open obtainium://add/https://github.com/F-e-n-y-x/CarLink on a device that has Obtainium (deep links). If it asks which APK to install, pick as in step 2.

Each release page repeats these steps with the APK's own SHA-256 and the signing certificate.

The release's package is com.carlink.app. It is signed with CarLink's own release key (certificate SHA-256 03:74:68:CA:5B:EB:70:EA:5F:68:54:33:29:B0:33:68:24:7D:FB:39:3D:3F:62:6A:6B:47:2D:10:E5:65:7D:21; how to check it with apksigner: user guide). An APK signed with another key is not an official build and cannot update it.

First-time setup

Setup takes about two minutes, and Skip to Home works on every step.

  1. Your device. Say what the screen is in: Car, Two-wheeler, Tablet or Mobile. The brand is optional (only BYD changes anything).
  2. Your phone. iPhone (CarPlay) or Android (Android Auto).
  3. Connect. One Allow for what CarLink needs to find your phone (Bluetooth, nearby Wi-Fi devices, location). Then pair from the phone: open its Bluetooth settings and tap the name shown on screen. A tablet cannot start the car-kit side of pairing itself, so pairing is always started on the phone. A cable works without pairing.
  4. Done. CarLink connects. On the phone, accept "Use CarPlay" or Android Auto's prompt the first time, and keep it unlocked during the first connection.
Setup: welcome screen
Hello: about two minutes
Setup: what is this screen in, Car selected
1 · Your device
Setup: which phone
2 · Your phone
Setup: let CarLink find your phone, with the permissions it needs
3 · One Allow, each permission explained
Setup: pair from the iPhone's Bluetooth settings
3 · Pair from the phone
Setup: done
4 · Done: connected; microphone and the rest whenever you like

Details: user guide › First-time setup.

Updates

CarLink checks this repository's Releases at most every 6 hours, only while its own screen is open and no phone is connecting or connected, and asks before downloading. Before installing, it checks the download's SHA-256, package, version and signing key, and deletes it if any check fails. Settings › About has Check for updates and turns the automatic checks off. Only the official release updates itself; the only data sent is the request to GitHub's public API. Details: user guide › Updates.

What works and what's tested

What CarLink supports:

Over USB Wirelessly
CarPlay (iPhone) yes yes: Wi-Fi Direct (default), the car's own hotspot, or the same Wi-Fi network (opt-in)
Android Auto (Android phone) yes yes: Wi-Fi Direct (default) or the same Wi-Fi network (opt-in)

Proven on a real device, so far one: a Redmi Pad Pro 5G (Android 16) with an iPhone and a Samsung Galaxy S25 Ultra, 2026-10-09:

  • CarPlay over USB (about 3.4 s from plug-in to picture), Android Auto over USB (about 3.8 s), Android Auto over Wi-Fi Direct (about 5 s) and CarPlay over Wi-Fi Direct (about 16-20 s, mostly paging the iPhone over Bluetooth), and Android Auto over the same Wi-Fi network;
  • CarPlay over the same Wi-Fi network failed on that router (it does not pass mDNS between clients; see known limits).

Not tested yet: the car-hotspot path (the tablet has no car to join), other head units and tablets, and Android 7.1-9. The signed 1.0.0 release build has not been tested on a device yet; the results above come from development builds of the same code. This README will say so when it has been. Reports from other head units are very welcome.

FAQ

Which phone gets what? An iPhone always gets CarPlay and an Android phone Android Auto. CarLink decides from the USB vendor ID or the phone's Bluetooth services, and remembers it.

Do I need a router or the car's hotspot for wireless? No. Wi-Fi Direct links the phone and the display directly. During wireless Android Auto the phone's apps use mobile data, because that link has no internet.

Why doesn't my phone connect by itself when I get in? A tablet is not a Bluetooth car kit, so the phone never connects to it on its own; CarLink starts the last phone when its Home comes to the front. A car head unit with hands-free roles is reconnected by the phone itself.

Home says "Your iPhone couldn't reach this screen". Your Wi-Fi router blocks the link CarPlay needs. Tap Use Wi-Fi Direct, or use a cable.

My stereo says "Wireless isn't available on this stereo yet". Its Bluetooth is a separate module apps can't use (common on FYT and ZLink-type stereos). Use a USB cable; see troubleshooting.

Does the car brand matter? Only BYD changes anything (head-up display, instrument cluster, steering-wheel keys). The brand never reaches the phone.

The stereo's own ZLink or "Car Link 2.0" keeps taking the phone. Many stereos ship one of these preinstalled, and it can grab the USB port or the phone's Bluetooth first. Setup and Diagnostics point it out and offer to turn it off where the stereo allows it.

How do I set up the steering-wheel buttons? Settings › Car › Steering-wheel buttons: pick an action, press the car's button. For a navigation knob, learn Left, Right and Select (CarPlay ignores the knob until they are learned). Learn "CarLink controls" to open the floating button's panel from the wheel.

Does it start by itself when the car starts? Turn on Settings › Connection › Start when the car turns on. Some stereos also need CarLink allowed in their own auto-start list.

Android 4.4 to 7.0, or other languages? Not supported: CarLink needs Android 7.1 or newer, and it is in English only for now.

Something doesn't work. See troubleshooting for every message Home shows. To report a bug from the stereo itself, tap Report on GitHub (on Home when it couldn't connect, or at the top of Diagnostics, at the foot of the Settings rail): the stereo's browser opens a new issue with the version, the screen, the error and a log excerpt filled in, and you tap Submit (the browser must be signed in to GitHub). Or use Share log and open an issue yourself.

CarPlay notice

[!WARNING] CarLink is not an Apple-certified product. As in DiPlay's releases, the release APK bundles an experimental accessory identity recovered from public Carlinkit firmware, not a newly provisioned MFi identity for CarLink. A bundled private key is extractable. Acceptance after future iOS updates, reliability across head units and suitability of that identity for general distribution are unresolved: there is no guarantee that CarPlay keeps working after an iOS update. Builds from this source contain no accessory identity (building). Android Auto does not depend on it.

For developers

Building, architecture, the reusable :carlink-core library (for a launcher or another app), releasing and the engine changes are in the documentation index: building · architecture · integration · releasing · contributing · security · changelog. Tests run locally, and scripts/release.sh runs them before every release. The only GitHub Action is a weekly report (.github/workflows/upstream-watch.yml) that opens an issue when the DiPlay, DiAuto or Open Headunit projects have new commits to review.

Credits

CarLink is built on two engines, both by shihabal3amri, kept with their full history:

Thank you to the authors of both engines and of the projects they build on. CarLink's About screen lists the other components and shows the full license texts.

Sponsors

Thank you to everyone who sponsors CarLink:

thehijacker
@thehijacker

Become a sponsor to support CarLink's development.

License

CarLink as a whole is distributed under the GNU Affero General Public License v3.0 (LICENSE). If you distribute CarLink, or let people use it over a network, you must offer its complete source code; every release is tagged in this repository (vX.Y.Z).

The engines keep their own licenses: DiPlay is GNU GPL v3.0 (vendor/diplay/LICENSE, as is xcertplay) and DiAuto is GNU AGPL v3.0 (vendor/diauto/LICENSE). GPL v3 §13 allows combining GPL-3.0 and AGPL-3.0 code; the combination is distributed under the AGPL-3.0.

Trademarks

CarLink is not affiliated with or endorsed by Apple, Google or BYD. CarPlay is a trademark of Apple Inc.; Android Auto is a trademark of Google LLC. BYD and DiLink belong to their owner. Other car makes are named only to identify the car.

探索相关项目

加载中…