Skip to content
YuhiAidaPublic
forked from agronick/aa-torque

About

Performance Monitor for cars with Android Auto

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Pipeline Status downloads license support

Torque Plugin for Android Auto

AA Torque shows the data from Torque Pro as gauges, charts and a speedometer on your Android Auto head unit. You need Torque Pro and a cheap OBD-II adapter. The app reads every PID Torque exposes, including custom ones.

This repository is a maintained fork of agronick/aa-torque. Upstream is unmaintained. The fork keeps the package name com.aatorque.stats, so it replaces the upstream build in place. You cannot install both.

On AI. I did not write this app from scratch: it is the maintained fork of agronick/aa-torque described above, which itself derives from Chillout's Performance Monitor and Martoreto's aa-stats. The AI assistance is in the changes I make to the fork, and that is not changing. AI-assisted contributions are welcome on the same bar as everything else: correct, reviewed, and green in the pipeline — not better or worse because of who or what wrote it. If AI in the tooling is a deal-breaker for you, you are free not to use the app; the source is GPL-3.0, so forking it is also an option. No hard feelings either way.

Features

  • Show any Torque PID, including custom PIDs, on the Android Auto screen
  • Up to 10 dashboards, many themes, fonts, icons and backgrounds
  • Rotary dial support
  • Custom expressions through EvalEx
  • Backup, restore and share your configuration

Gauges

Each dashboard can carry a background image of its own. Gauge opacity dims the gauges over it, so the numbers stay readable on a photo.

A dashboard with a custom background image

Install

  1. Install Torque Pro on your phone and pair your OBD-II adapter in Torque.
  2. Download the newest published APK from Releases.
  3. Install the APK with your normal package installer. Android may warn about an unknown source. Allow it.
  4. Continue with the next section. A plain install does not make the app visible in Android Auto.

Install and update problems have their own page: docs/install-faq.md. It covers the install-record gate, the update path, and what the app cannot do.

A rolling dev pre-release is also published under the dev tag. It installs beside the stable app (package com.aatorque.stats.debug) and is not the stable channel; use it only if you want to test unreleased changes.

Do not rely on the "Unknown sources" switch in the Android Auto developer options. It does not admit this app. The reason is in docs/aa-install-gate.md.

The app does not show up in Android Auto

Android Auto decides which apps it accepts from the install record, not from the developer options. For this app, both fields must read:

Field Required value
initiatingPackageName com.google.android.packageinstaller
installerPackageName com.android.vending

adb install and most file managers set one field and not the other. Kingstaller's normal mode has the same problem. Use Kingstaller with Shizuku instead.

Repair the install record

  1. Install KingInstaller.
  2. Install Shizuku from the Play Store.
  3. Start Shizuku and grant the permission it asks for. Wireless debugging is the usual method.
  4. In KingInstaller, choose Shizuku as the installation method, select the AA Torque APK, and install. Success reads App installed successfully! (AA Compatible).
  5. Force-stop Android Auto so it rebuilds its list: adb shell am force-stop com.google.android.projection.gearhead
  6. Open the Android Auto settings on the phone, then look for AA Torque under Add a shortcut to the Launcher. If it is there, the install record is correct. You do not need the car for this check.

To read the two fields yourself:

adb shell dumpsys package com.aatorque.stats | grep -E "installerPackageName|initiatingPackageName"

Phone notes

  • OnePlus, OPPO, Realme: enable Disable permission monitoring in the developer options, at the bottom of the Apps section. Without it Shizuku starts but reports that its ADB permission is limited, and the install silently falls back to the wrong record. The same switch over adb: settings put global direct_control_permission_monitoring 0.
  • Pixel: reinstall or update the Google PackageInstaller as described in the KingInstaller README, then install through KingInstaller.
  • Android 14 and newer: uninstall the old version first when an earlier build worked. An AAWireless dongle with developer mode enabled is a known workaround.

After an update

Any update installed by another path overwrites the install record, and the app disappears from Android Auto again. Always update through KingInstaller with Shizuku. The same applies when you move from the upstream build to this fork.

AA Torque checks for a newer release when you open its settings and offers a link to the release page. It does not install the APK itself — install it with KingInstaller, as above.

Use

  1. Open AA Torque Settings on the phone and grant every permission it asks for. The app does not work without them.
  2. Connect the phone to the car and start Android Auto.
  3. Open the app drawer in Android Auto. AA Torque sits there with its own icon.

The status line in the settings screen tells you what the app sees:

  • Torque bound, no adapter — the app talks to Torque, but Torque has no OBD-II adapter. No car data flows yet.
  • ECU live - N PIDs — the adapter answers queries and the gauges show real values.

A gauge that stays at zero usually binds a PID your car does not answer. See docs/pid-filtering.md.

Build from source

The build needs a JDK (19 or newer), an Android SDK and the speedviewlib submodule. The full steps, including the two common traps, are in docs/building.md.

git submodule update --init --recursive
./gradlew assembleDebug

Every APK in Releases is built and signed by the pipeline with the same debug key, restored from the DEBUG_KEYSTORE secret, so releases install over each other. Releases up to 2.0.33 were signed with a per-run generated key and cannot update in place — uninstall once, then install 2.0.34 or later normally.

Help

Credits

AA Torque derives from Chillout's Performance Monitor, which derives from Martoreto's aa-stats. The original app targeted VAG cars. This fork keeps the "any PID" approach. Licensed under GPL-3.0, see LICENSE.md.

About

Performance Monitor for cars with Android Auto

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages