Skip to content
codepdbhPublic

About

AionSonda: una sola app Android que conecta el teléfono al receptor ICCOA CarLink de los GAC AION y muestra Android Auto (AionLink + Open Headunit, AGPL-3.0)

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

2,768 Commits

Folders and files

Repository files navigation

AionSonda: Android Auto on your GAC AION's screen / Android Auto en la pantalla de tu GAC AION

Your car doesn't have Android Auto. Your phone does.
Tu coche no trae Android Auto. Tu teléfono sí.

License AGPL-3.0 Android 10+ Kotlin Alpha

🇬🇧 English  ·  🇪🇸 Español

Video: how AionSonda was born, how to set it up and how it works / cómo nació AionSonda, cómo se configura y cómo funciona
▶️ Watch on YouTube / Ver en YouTube
How the project was born, how to set it up and how it works in the car (video in Spanish).
Cómo nació el proyecto, cómo se configura y cómo funciona en el coche.


🇬🇧 English

Goal · Status · How it works · Install · First use · FAQ · Credits · Español

AionSonda connects your phone to the factory ICCOA CarLink receiver in GAC AION cars and shows Android Auto on the car's screen, with sound, touch and the phone's screen off.

🎯 What we're after

Many Chinese cars, like the GAC AION, ship without Android Auto or Apple CarPlay. They only have ICCOA CarLink, a projection system made for a handful of phones and Chinese apps. With an international phone, the car's screen is left without maps, your music or your messages.

The car doesn't allow installing apps, so the whole solution has to live on the phone.

AionSonda is that solution, open and free:

  • 📱 A single app on the phone. Nothing in the car is touched, flashed or modified.
  • 🗺️ Real Android Auto on the car's screen: Maps or Waze, Spotify, YouTube Music, WhatsApp, Google Assistant…
  • 🔊 Sound comes out of the car's speakers, not the phone.
  • 👆 Touch from the car's screen.
  • 🌙 Phone screen off while projecting: the phone can stay locked in your pocket.
  • 🔓 Open source: anyone can review it, improve it and adapt it to other models.

🏁 What's been achieved

Status
Connection to the ICCOA CarLink receiver over Bluetooth LE and Wi-Fi Direct ✅ Works on GAC AION i60
Authentication with the car's 6-digit code ✅ Works on GAC AION i60
Android Auto video on the car's screen (1920×960, 30 fps) ✅ Works on GAC AION i60
Android Auto sound through the car's speakers ✅ Works; verified on the phone
Touch from the car's screen ✅ Works on GAC AION i60
Phone screen off and locked while projecting ✅ Works
Music keeps playing when connecting (no pauses) ✅ Fixed; in-car check pending
Steering-wheel buttons (next, previous, voice, call…) 🧪 Implemented; in-car check pending
Android Auto closes automatically when you leave the car 🧪 Implemented; in-car check pending
GAC AION UT 🔧 In progress: connects over Bluetooth, pairing still missing
Other ICCOA CarLink models ❓ Untested; your diagnostics help

An experimental project made by and for owners. Keep the car parked while setting it up and always pay attention to the road while driving.

✨ What it does for you

A screen that tells you what's missing

AionSonda checks the phone before connecting and takes you straight to each setting: Bluetooth, Wi-Fi, permissions, notification access, Android Auto, battery… Everything has its own button. If you installed the app from an APK and Android blocks a permission as a "restricted setting", a three-step guide shows where the option is on Samsung, Xiaomi/Redmi or Pixel.

Guided first steps with Android Auto

If Android Auto was never used on that phone, the car connects but stays blank: Android Auto is waiting for you to accept its screens on the phone. The "Primeros pasos con Android Auto" (first steps) assistant walks you through it and ends with a real test on the phone, so everything is accepted before you get in the car.

Detects when the Android Auto server is off

Android Auto turns its "head unit server" off when the phone restarts or the app updates. Without it there's no picture. AionSonda detects it by reading Android Auto's notification, without touching the server, and before searching for the car tells you «Enciende el servidor de Android Auto» (turn on the server) with a direct button.

Modern design

Material You: takes its colors from your wallpaper, with light and dark mode and large text that never gets cut off.

The app's screens are currently in Spanish; this README quotes each button by its Spanish label, with a translation in italics.

🧠 How it works

flowchart LR
    subgraph Phone["📱 Phone · AionSonda"]
        AA["Android Auto<br/>(Google app)"]
        RX["Android Auto receiver<br/>(Open Headunit Lite)"]
        AL["AionLink<br/>(ICCOA connection)"]
        AA -- "Android Auto protocol<br/>127.0.0.1:5277" --> RX
        RX -- "video · PCM audio<br/>(inside the app)" --> AL
        AL -- "touches · steering<br/>wheel buttons" --> RX
    end
    subgraph Car["🚗 GAC AION · factory ICCOA CarLink receiver"]
        SCREEN["Screen"]
        SPK["Speakers"]
    end
    AL -- "Bluetooth LE<br/>(6-digit code)" --> Car
    AL == "Wi-Fi Direct · RTSP<br/>H.264 video + AAC audio" ==> SCREEN
    AL == "AAC audio" ==> SPK
    SCREEN -. "touches (UIBC)<br/>buttons (CONTROL)" .-> AL
Loading
  1. The phone finds the car over Bluetooth LE and introduces itself with the 6-digit code shown on the car's screen.
  2. They create a Wi-Fi Direct network just between the two and authenticate the way the official CarLink client would.
  3. Android Auto starts inside the phone and draws its interface on an invisible surface, not on the phone's screen.
  4. AionLink encodes that picture (H.264) and the sound (AAC) and sends them to the car's screen and speakers.
  5. Touches and steering-wheel buttons travel back from the car to the phone and reach Android Auto as if it were a factory Android Auto radio.

Everything happens inside a single app. The bridge between the part that receives Android Auto and the part that talks to the car is internal: no second app, no shared signatures.

📦 Installation

You need:

  • An Android 10 or later phone (works on Galaxy S25 Ultra; being tested on Redmi).
  • The Android Auto app from Google Play, up to date.
  • A GAC AION with ICCOA CarLink (tested on AION i60).

Steps:

  1. Get the AionSonda APK (from Releases once a version is published, or build it as shown below) and open it to install. If Android asks, allow installing apps from that source.
  2. Open AionSonda. The «Antes de conectar» (before connecting) list tells you what to turn on, with a button for each item.

It installs alongside other versions (AionLink Sonda, OpenHeadunit Lite) without replacing them.

🚗 First use

🎬 Prefer to watch? The project video shows the full setup step by step.

  1. Follow the «Primeros pasos con Android Auto» assistant with the phone in hand:
    1. Install or update Android Auto.
    2. Open it once and accept its screens.
    3. Enable its developer mode by tapping "Version" 10 times in its settings.
    4. Menu ⋮ → "Start head unit server".
    5. Tap «Probar ahora» (test now) and accept whatever the phone asks.
  2. With the car parked, open CarLink on the car's screen.
  3. In AionSonda tap «Buscar mi coche» (find my car) → «Conectar» and type the 6-digit code the car shows.
  4. Done: Android Auto appears on the car's screen. You can turn the phone's screen off.

❓ FAQ

The car connects but the screen stays black and disconnects after 10 seconds

It's almost always Android Auto's head unit server, which turns off when the phone restarts or Android Auto updates. AionSonda warns you if it has notification access. To turn it on: Android Auto → menu ⋮ → "Start head unit server". If it was already on, stop it and start it again.

Can the app turn the Android Auto server on by itself?

No. Android Auto declares it as a private service and no other app can start it. The practical approach is to leave it always on: it doesn't drain the battery, it just waits for connections. AionSonda tells you when it goes off.

I can't enable touch or notification access ("restricted setting")

Android 13 and later block those permissions for apps installed from an APK. Tap «Activar» (enable) in AionSonda and follow the three-step guide: try to enable it, go to the app info → menu ⋮ → "Allow restricted settings", then enable it again.

Is anything installed in the car?

No. The car's ICCOA CarLink receiver stays exactly as it came from the factory; the phone does all the work. No flashing, no root, no CAN bus writes.

My car is a different model or won't connect

In AionSonda, go to «Opciones avanzadas y diagnóstico» → «Exportar diagnóstico anonimizado» (export anonymized diagnostic) right after trying to connect, without closing the app, and share it in an issue. The diagnostic doesn't include names, MAC addresses, passwords or the car's code.

🗂️ Project structure

Path Contents License
aionlink/ AionLink: Bluetooth LE, Wi-Fi Direct, ICCOA session, RTSP, video, audio, touch and keys GPL-3.0-or-later
app/ Android Auto receiver (Open Headunit). The single app is the sonda flavor AGPL-3.0
app/src/sonda/ AionSonda's own manifest, icon and checks AGPL-3.0
AIONSONDA.md Technical notes: how both parts fit together and how to build —

Build (Windows):

$env:JAVA_HOME = 'C:\Program Files\Android\Android Studio\jbr'
./gradlew.bat :app:testSondaDebugUnitTest :app:assembleSondaDebug

The APK ends up in app/build/outputs/apk/sonda/debug/.

🤝 Contributing

What helps most right now:

  • Diagnostics from other models with ICCOA CarLink: AION UT, AION Y, Hyptec, Trumpchi…
  • Testing on more phones: Xiaomi, Motorola, Pixel, OnePlus…
  • Fixes and improvements in small, well-explained pull requests.

This project is based on interoperability analysis: it includes no proprietary code or libraries, no private credentials and no way around the car's security.

🙏 Credits and license

AionSonda is distributed under the GNU AGPL-3.0. AionLink's own code keeps its GPL-3.0-or-later license (aionlink/LICENSE). Every distributed version must come with its complete source code.

⬆ Back to top · Español ➜


🇪🇸 Español

Qué se busca · Qué se ha logrado · Cómo funciona · Instalación · Primer uso · Preguntas · Créditos · English

AionSonda conecta el celular al receptor de fábrica ICCOA CarLink de los GAC AION y muestra Android Auto en la pantalla del coche, con sonido, táctil y la pantalla del teléfono apagada.

🎯 Qué se busca

Muchos coches chinos, como los GAC AION, no traen Android Auto ni Apple CarPlay. Solo traen ICCOA CarLink, un sistema de proyección pensado para unos pocos teléfonos y apps chinas. Si tu teléfono es internacional, la pantalla del coche se queda sin mapas, sin tu música y sin tus mensajes.

El coche no permite instalar apps, así que la solución tiene que vivir entera en el teléfono.

AionSonda es esa solución, abierta y gratuita:

  • 📱 Una sola app en el teléfono. No se toca, flashea ni modifica nada del coche.
  • 🗺️ Android Auto real en la pantalla del coche: Maps o Waze, Spotify, YouTube Music, WhatsApp, el asistente de Google…
  • 🔊 El sonido sale por los altavoces del coche, no por el teléfono.
  • 👆 Táctil desde la pantalla del coche.
  • 🌙 Pantalla del teléfono apagada mientras proyecta: el celular puede ir guardado y bloqueado.
  • 🔓 Código abierto: cualquiera puede revisarlo, mejorarlo y adaptarlo a otros modelos.

🏁 Qué se ha logrado

Estado
Conexión con el receptor ICCOA CarLink por Bluetooth LE y Wi-Fi Direct ✅ Funciona en GAC AION i60
Autenticación con el código de 6 dígitos del coche ✅ Funciona en GAC AION i60
Vídeo de Android Auto en la pantalla del coche (1920×960, 30 fps) ✅ Funciona en GAC AION i60
Sonido de Android Auto por los altavoces del coche ✅ Funciona; verificado en el teléfono
Táctil desde la pantalla del coche ✅ Funciona en GAC AION i60
Pantalla del teléfono apagada y bloqueada durante la proyección ✅ Funciona
La música sigue sonando al conectar (sin pausas) ✅ Corregido; verificación en el coche pendiente
Botones del volante (siguiente, anterior, voz, llamar…) 🧪 Implementado; verificación en el coche pendiente
Cierre automático de Android Auto al bajarse del coche 🧪 Implementado; verificación en el coche pendiente
GAC AION UT 🔧 En progreso: conecta por Bluetooth, falta el emparejamiento
Otros modelos con ICCOA CarLink ❓ Sin probar; tus diagnósticos ayudan

Proyecto experimental hecho por y para propietarios. Úsalo con el coche estacionado mientras lo configuras y conduce siempre con atención a la vía.

✨ Lo que hace por ti

Una pantalla que te dice qué falta

AionSonda revisa el teléfono antes de conectar y te lleva directo a cada ajuste: Bluetooth, Wi-Fi, permisos, acceso a notificaciones, Android Auto, batería… Todo tiene su botón. Si instalaste la app desde un APK y Android bloquea un permiso como «ajuste restringido», una guía de tres pasos te explica dónde está la opción en Samsung, Xiaomi/Redmi o Pixel.

Primeros pasos con Android Auto, guiados

Si Android Auto nunca se usó en ese teléfono, el coche se conecta pero se queda sin imagen: Android Auto está esperando que aceptes sus pantallas en el celular. El asistente «Primeros pasos con Android Auto» te lleva paso a paso y termina con una prueba real en el teléfono, para que todo quede aceptado antes de subir al coche.

Detecta si el servidor de Android Auto está apagado

Android Auto apaga su «servidor de unidad principal» al reiniciar el teléfono o al actualizarse. Sin él no hay imagen. AionSonda lo detecta leyendo la notificación de Android Auto, sin tocarlo, y antes de buscar el coche te dice «Enciende el servidor de Android Auto» con un botón directo.

Diseño moderno

Material You: toma los colores de tu fondo de pantalla, con modo claro y oscuro y letra grande sin que nada se corte.

🧠 Cómo funciona

flowchart LR
    subgraph Phone["📱 Teléfono · AionSonda"]
        AA["Android Auto<br/>(app de Google)"]
        RX["Receptor Android Auto<br/>(Open Headunit Lite)"]
        AL["AionLink<br/>(conexión ICCOA)"]
        AA -- "protocolo Android Auto<br/>127.0.0.1:5277" --> RX
        RX -- "vídeo · audio PCM<br/>(dentro de la app)" --> AL
        AL -- "toques · botones<br/>del volante" --> RX
    end
    subgraph Car["🚗 GAC AION · receptor de fábrica ICCOA CarLink"]
        SCREEN["Pantalla"]
        SPK["Altavoces"]
    end
    AL -- "Bluetooth LE<br/>(código de 6 dígitos)" --> Car
    AL == "Wi-Fi Direct · RTSP<br/>vídeo H.264 + audio AAC" ==> SCREEN
    AL == "audio AAC" ==> SPK
    SCREEN -. "toques (UIBC)<br/>botones (CONTROL)" .-> AL
Loading
  1. El teléfono encuentra el coche por Bluetooth LE y se presenta con el código de 6 dígitos que muestra la pantalla del coche.
  2. Crean una red Wi-Fi Direct solo entre los dos y se autentican como lo haría el cliente oficial de CarLink.
  3. Android Auto arranca dentro del teléfono y dibuja su interfaz en una superficie invisible, no en la pantalla del celular.
  4. AionLink codifica esa imagen (H.264) y el sonido (AAC) y los envía a la pantalla y a los altavoces del coche.
  5. Los toques y los botones del volante vuelven del coche al teléfono y llegan a Android Auto como si fuera una radio con Android Auto de fábrica.

Todo ocurre dentro de una sola app. El puente entre la parte que recibe Android Auto y la que habla con el coche es interno, así que no hay segundas apps ni firmas compartidas.

📦 Instalación

Necesitas:

  • Un teléfono Android 10 o posterior (funciona en Galaxy S25 Ultra; en pruebas en Redmi).
  • La app Android Auto de Google Play, actualizada.
  • Un GAC AION con ICCOA CarLink (probado en AION i60).

Pasos:

  1. Consigue el APK de AionSonda (en Releases cuando haya una versión publicada, o compílalo como se indica más abajo) y ábrelo para instalarlo. Si Android lo pide, permite instalar apps de esa fuente.
  2. Abre AionSonda. La lista «Antes de conectar» te dirá qué activar, con un botón para cada cosa.

Se instala junto a otras versiones (AionLink Sonda, OpenHeadunit Lite) sin reemplazarlas.

🚗 Primer uso

🎬 ¿Prefieres verlo? En el video del proyecto se muestra la configuración completa paso a paso.

  1. Sigue el asistente «Primeros pasos con Android Auto» con el teléfono en la mano:
    1. Instala o actualiza Android Auto.
    2. Ábrelo una vez y acepta sus pantallas.
    3. Activa su modo desarrollador tocando 10 veces «Versión» en sus ajustes.
    4. Menú ⋮ → «Iniciar servidor unidad princ.».
    5. Pulsa «Probar ahora» y acepta lo que pida en el teléfono.
  2. Con el coche estacionado, abre CarLink en la pantalla del coche.
  3. En AionSonda pulsa «Buscar mi coche» → «Conectar» y escribe el código de 6 dígitos que muestra el coche.
  4. Listo: Android Auto aparece en la pantalla del coche. Puedes apagar la pantalla del teléfono.

❓ Preguntas frecuentes

El coche se conecta pero la pantalla se queda negra y se desconecta a los 10 segundos

Casi siempre es el servidor de unidad principal de Android Auto, que se apaga al reiniciar el teléfono o al actualizar Android Auto. AionSonda te avisa si tiene acceso a notificaciones. Para encenderlo: Android Auto → menú ⋮ → «Iniciar servidor unidad princ.». Si ya estaba encendido, detenlo y vuelve a iniciarlo.

¿La app puede encender sola el servidor de Android Auto?

No. Android Auto lo declara como un servicio privado y ninguna otra app puede arrancarlo. Lo práctico es dejarlo siempre encendido: no gasta batería, solo espera conexiones. AionSonda te avisa cuando se apague.

No puedo activar el táctil o el acceso a notificaciones («ajuste restringido»)

Android 13 o posterior bloquea esos permisos en apps instaladas desde un APK. Pulsa «Activar» en AionSonda y sigue la guía de tres pasos: intenta activarlo, ve a la información de la app → menú ⋮ → «Permitir ajustes restringidos» y vuelve a activarlo.

¿Se instala algo en el coche?

No. El receptor ICCOA CarLink del coche se queda tal cual viene de fábrica; todo el trabajo lo hace el teléfono. No hay flasheo, ni root, ni escritura en el bus CAN.

Mi coche es otro modelo o no conecta

En AionSonda, ve a «Opciones avanzadas y diagnóstico» → «Exportar diagnóstico anonimizado» justo después de intentar conectar, sin cerrar la app, y compártelo en un issue. El diagnóstico no incluye nombres, direcciones MAC, contraseñas ni el código del coche.

🗂️ Estructura del proyecto

Ruta Qué contiene Licencia
aionlink/ AionLink: Bluetooth LE, Wi-Fi Direct, sesión ICCOA, RTSP, vídeo, audio, táctil y teclas GPL-3.0-or-later
app/ Receptor Android Auto (Open Headunit). La app única es la variante sonda AGPL-3.0
app/src/sonda/ Manifest, icono y comprobaciones propias de AionSonda AGPL-3.0
AIONSONDA.md Notas técnicas: cómo se integran las dos partes y cómo compilar —

Compilar (Windows):

$env:JAVA_HOME = 'C:\Program Files\Android\Android Studio\jbr'
./gradlew.bat :app:testSondaDebugUnitTest :app:assembleSondaDebug

El APK queda en app/build/outputs/apk/sonda/debug/.

🤝 Contribuir

Lo que más ayuda ahora:

  • Diagnósticos de otros modelos con ICCOA CarLink: AION UT, AION Y, Hyptec, Trumpchi…
  • Pruebas en más teléfonos: Xiaomi, Motorola, Pixel, OnePlus…
  • Correcciones y mejoras en pull requests pequeños y bien explicados.

Este proyecto se basa en análisis de interoperabilidad: no incluye código ni bibliotecas propietarias, credenciales privadas ni formas de saltarse la seguridad del coche.

🙏 Créditos y licencia

AionSonda se distribuye bajo la GNU AGPL-3.0. El código propio de AionLink conserva su licencia GPL-3.0-or-later (aionlink/LICENSE). Cada versión que se distribuya debe ir acompañada de su código fuente completo.

⬆ Volver arriba · English ➜


Android Auto is a trademark of Google LLC. GAC, AION and CarLink are trademarks of their respective owners. AionSonda is an independent project, not affiliated with Google, GAC or ICCOA.
Android Auto es una marca de Google LLC. GAC, AION y CarLink son marcas de sus respectivos dueños. AionSonda es un proyecto independiente, sin relación con Google, GAC ni ICCOA.

About

AionSonda: una sola app Android que conecta el teléfono al receptor ICCOA CarLink de los GAC AION y muestra Android Auto (AionLink + Open Headunit, AGPL-3.0)

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages