back to home

andreknieriem / headunit-revived

Headunit App for displaying Android Auto

441 stars
32 forks
17 issues
CKotlinJava

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing andreknieriem/headunit-revived in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/andreknieriem/headunit-revived)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Headunit Revived Headunit Revived is an Android app that allows you to turn your Android tablet or phone into an Android Auto receiver. This project is a revived version of the original headunit project by the great Michael Reid. The original project can be found here: https://github.com/mikereidis/headunit Screenshots How to use **Check out the Wiki for detailed documentation, setup guides and troubleshooting!** Wired USB Connection • Connect your Android device (phone) to the tablet running Headunit Revived via USB cable. • Make sure that Android Auto is installed on your phone. • Set your phone to Host-Mode if nescessary and select Android Auto • Click the USB Button in Headunit Revived, find your phone and click the right button to allow connection • Click on your phone in the list and wait for Android Auto to start Wireless Helper (Recommended) This is the most reliable way to connect wirelessly. It uses our companion app on your phone to trigger the connection. • **Download:** Wireless Helper on Google Play Store • **Features:** Minimal configuration, supports NSD, Wi-Fi Direct Auto-Connect, and Bluetooth Auto-Start. **Setup:** • In Headunit Revived Settings: Set **Wireless Mode** to **Helper Mode**. • Ensure both devices are in the same network (Hotspot or WiFi). • Open the Wireless Helper app on your phone and start the service. • The helper will find your headunit and initiate the connection automatically. Legacy Wireless Options • **Wireless Launcher:** You can still use the original Wireless Launcher by Emil Borconi. • **Manual / Native:** Uses the native "Headunit Server" built into Android Auto developer settings (may fail on 10.x.x.x networks). Connect Wirelessly via Intent (Power Users) You can trigger a wireless connection attempt using an Android Intent. This is useful for automation tools like **Tasker**, **MacroDroid**, or via **ADB**. **URI Scheme:** **Example ADB Command:** Known Issues • **Google Maps in Portrait Mode:** Touch interactions (searching, scrolling) within Google Maps may not work as expected when using Portrait Mode on some devices. **Fix:** Try reducing the **Pixel density (DPI)** setting to **below 200** (e.g., 190) in the app settings. This often restores full functionality. • **Wireless Connection Drops:** If the connection drops frequently, disable **"WiFi Assistant"** or **"Switch between networks"** in your phone's WiFi settings to prevent it from killing the connection due to "no internet." Changelog v.2.0.2-beta • Fixed: 60FPS never applied • Fixed: SSL Handshake fix for truncated messages • Added: dark mode and xtreme dark mode setting for the app itself thanks to @andrecuellar! • Removed: App category="maps" so nav buttons recognize the app again • Fixed: Multiple Button Events and double/tripple skips • Fixed: USB Permission Request thanks to @Bastel2020 v.2.0.1 • Fixed: Multiple volume sliders appearing on modern devices (Pixel 9 fix) • Added: Support for Media Button emulation (SWC improvement for MacroDroid etc.) • Added: App shortcut and deep link for full app exit (headunit://exit) • Added: Improved Wi-Fi Direct reliability with recursive discovery and ping handoff • Added: Romanian translation 🇷🇴, thanks to @LeeWiu • Merged PR #189: Adding navigation message handling, thanks to @Bastel2020 • Merged PR #215: Fix USB reconnect race and stale dongle data after AA exit, thanks to @andrecuellar • Merged PR #205: Fix wireless dongle disconnect on network changes, thanks to @andrecuellar • Merged PR #216: Add Bluetooth SCO microphone support, thanks to tgigli v.2.0.0 • Added Wi-Fi Direct (P2P): Support. Connect your phone to the headunit without a shared network or hotspot. The headunit now automatically becomes visible as a P2P peer. • Refactored Connection Core: Complete rewrite of the internal connection handling using the new **CommManager**. Improved stability, faster handshakes, and better coroutine integration. • Enhanced Fullscreen Logic: Choose between "Immersive" (hide all), "Status Only" (keep navigation bars), or "None". Improved compatibility for devices where buttons were previously obscured. • Added Auto-Optimization Wizard: Automatically recommends the best Resolution, DPI, and Codec for your specific hardware. • Added Early MediaSession Initialization: Fixes audio routing issues where the phone would sometimes play sound through its own speakers instead of the headunit. • Added New Logging System: Integrated log level control and file capture for easier debugging. • **IMPORTANT** Fixing Android Auto 16.4 intents for selfmode. In Wireless Helper too. Please update to 1.2.0 v.1.15.1 • New Feature: Added Auto-Optimization Wizard to automatically find the best Resolution, DPI, and Codec settings for your hardware. • Bugfix: Fixed Self Mode failing to start in offline/hotspot scenarios (Network ID 0 fix). • Bugfix: Improved Audio Routing. The phone is now more likely to route audio to the headunit immediately upon connection by using an early-initialized MediaSession with remote playback metadata. • Bugfix: Fixed GPS Speed calculation. Speeds were previously doubled due to an incorrect unit conversion (knots instead of mm/s). • UI: Improved Settings readability on small screens by allowing multi-line descriptions. v.1.15.0 • Added arabic language thanks to A5H0 • Added new intent for setting day/night mode for maps • Added new window flags for older devices to finally fix fullscreen issues • Added new intents to make the headunit recognize the app as navigation app • Added LegacyOptimizer which will handle things directly and faster for single core cpus. Should improve the performance on Android 4.1 - 4.4 Devices • Fixed BT Permission Bug • Changed the Twilight-Calculator for better switch to day/night on auto mode to prevent to bright display • Added more mediasession logic to gain audio focus and audio routing • Merged Retry Button on connect screen, thanks to @andrecuellar • Merged auto connect usb feature, t…