Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
AndroidAuto — Open-source Android Auto phone-side implementation with protocol reverse engineering, TLS mutual authentication, H.264 video projection, touch input injection, and sensor data streaming over USB AOA. | Kitploit
Tools/GitHubGitHub/mretallack/androidauto
Android SecurityBluetooth SecurityReverse EngineeringWireless SecurityMobile SecurityPapers & ResearchLearning & Education
GitHubmretallack/androidauto

AndroidAuto

Open-source Android Auto phone-side implementation with protocol reverse engineering, TLS mutual authentication, H.264 video projection, touch input injection, and sensor data streaming over USB AOA.

View Repository
1117613 days agoNot yet reviewed
Share

Open Android Auto

An open-source implementation of the Android Auto phone-side app. This app runs on your phone and projects to a car's head unit over USB, replacing Google's proprietary com.google.android.projection.gearhead APK.

⚠️ WORK IN PROGRESS

This project is in early development. The protocol handshake, video projection, touch input and vehicle-data decoding all work against a real head unit. Connection stability is much improved (runs of 15–72 minutes recorded) but not yet proven — the head unit has been observed cutting USB power (VBUS) mid-session. See the docs below.

Documentation

DocContents
docs/protocol.mdAAP reference for this implementation. Framing, TLS, channel model, per-channel message catalogue, the sensor pub-sub model and its correlation hazard, video/focus/flow-control rules, and a summary of known ambiguities and traps. Start here.
docs/connection-stability.mdConnection reliability. Protocol requirements the HU enforces; the two distinct disconnect signatures (HU VBUS cut vs. cable pull) and how to tell them apart; evidence log; ruled-out causes; reconnect/restart behaviour; instrumentation and log reference; sensors & telemetry; external research; and the prioritised TODO.
docs/research.mdEcosystem survey. History of Android Auto reverse-engineering, comparison of existing OSS projects (headunit-revived, aasdk, openauto, AACS…), head-unit-side vs phone-side, TLS/auth analysis, and APK reverse-engineering notes.
AGENT.mdGuidelines for AI agents / contributors working in this repo.

Keep these current — see AGENT.md.

Features

Protocol & Connection

  • USB AOA accessory mode detection and connection
  • TLS 1.2 mutual authentication (phone as server)
  • Version negotiation (protocol v1.7)
  • Service discovery (request/response)
  • Channel open on target channels (video, audio, input, sensor)
  • Ping/pong keepalive (bidirectional)
  • Audio focus request/response handling
  • Navigation focus request/response handling
  • Voice session request handling
  • Graceful shutdown handling
  • Priority write queue (control messages over video)
  • Wait for audio focus grant before sending audio (500ms timeout per HUIG)
  • Bluetooth pairing exchange (BluetoothPairingRequest/Response)
  • Handle multiple USB reconnections without AOAP re-init

Video Projection

  • H.264 encoding via MediaCodec (800x480 @ 30fps, Baseline profile)
  • MediaProjection screen capture (with user permission dialog)
  • Video channel setup (SETUP → CONFIG → FOCUS → START flow)
  • Zero-based timestamps in microseconds
  • SPS/PPS prepended to keyframes (Annex B format)
  • Flow control (max_unacked tracking, backpressure)
  • Event-driven frames (only on UI change + 2s idle frame, per HUIG)
  • Video focus handling — pause frames when HU takes the screen (fixes reversing-camera corruption)
  • Video config negotiation — currently non-compliant; see docs §1.7
  • Stable long-running video — event-driven builds reached 15 min; needs an unattended longer run
  • Adaptive bitrate based on connection quality

Touch Input

  • Input channel open and binding request
  • Touch event parsing (single and multi-touch)
  • Key event parsing (buttons, media keys)
  • Coordinate mapping (head unit → phone resolution)
  • TouchInjector with MotionEvent creation
  • Inject touch events into VirtualDisplay
  • Key event injection into Android system

Audio

  • Audio channel open and setup
  • Wait for audio focus grant before sending audio (500ms timeout per HUIG)
  • Send AUDIO_FOCUS RELEASE on initial connect, then GAIN when playing
  • Phone audio capture (MediaProjection AudioPlaybackCapture)
  • PCM/AAC encoding and streaming to head unit
  • Microphone input from head unit (voice commands)
  • Multiple audio channels (media, system, speech, guidance)
  • Audio silence streaming to keep channel active

Sensors

  • Sensor channel open
  • Sensor start request/response handling
  • Night mode data parsing and sending
  • Driving status data parsing and sending
  • GPS location (received from HU, ~1 Hz)
  • Car speed (received from HU, ~1 Hz)
  • Sensor capability probe — subscribe to all types and report accept/reject
  • Decode driving-status bitmask (NO_VIDEO/NO_KEYBOARD/…)
  • Vehicle-data UI showing all decoded values + what the HU does/doesn't provide
  • Parking brake state — HU provides it (0 ON/off observed)
  • Accelerometer (3-axis) — HU provides it (all-zero in test)
  • Gyroscope (3-axis) — HU provides it (all-zero in test)
  • Compass heading — HU rejects
  • RPM — HU rejects
  • Fuel level and range — HU rejects
  • Door state (hood, boot, individual doors) — HU rejects
  • Odometer (total + trip mileage) — HU rejects
  • Gear position (P/R/N/D/1-10) — HU rejects
  • OBD-II diagnostics — HU rejects
  • Environment (temperature, pressure, rain) — HU rejects
  • HVAC (target/current temperature) — HU rejects
  • Steering angle (type 14) — HU rejects
  • Passenger presence — HU rejects
  • Light state (headlights, indicators, hazards) — HU rejects
  • Tire pressure — no payload field in the proto (cannot arrive)
  • GPS satellite data — no payload field in the proto (cannot arrive)

"HU accepts/rejects" = this head unit's verified SENSOR_START_RESPONSE from a clean 2026-10-24 run (27 requests / 27 responses, zero unmatched). An earlier 2026-10-23 table was invalid — responses were mis-correlated and shifted by three. See docs/connection-stability.md §5.

Video (additional)

  • Resolution negotiation from head unit's service discovery
  • Adaptive bitrate based on connection quality
  • Support for 720p, 1080p, 1440p, 4K resolutions
  • Portrait mode resolutions (720x1280, 1080x1920, etc.)
  • UI config updates (theme, insets)

Other

  • Bluetooth pairing coordination (A2DP, HFP)
  • Navigation turn-by-turn to instrument cluster
  • Navigation state (maneuvers, lanes, distances, current position)
  • Media status (now playing info)
  • Media playback metadata (track, artist, album)
  • Media browser (browse phone media library from head unit)
  • Phone status (call state notifications)
  • Generic notifications (subscribe/unsubscribe system)
  • Vendor extensions
  • Wireless Android Auto (WiFi + Bluetooth handoff)
  • Channel close notification
  • Car connected devices request/response
  • User switch request/response
  • Battery status notification
  • Call availability status
  • Service discovery update (dynamic channel changes)
  • Input feedback (haptic/visual feedback to head unit)
  • Microphone request/response (voice input from head unit)
  • Audio underflow notification
  • Radio service (AM/FM/HD/DAB tuning, presets, RDS)

⚠️ DISCLAIMER

USE AT YOUR OWN RISK. This software is provided "as is", without warranty of any kind.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    546
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    477
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    377
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    324
  • 5

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    269
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    252

Explore all tools

Browse our collection of tools

View all tools →