# Strike

Dashcam and parked surveillance for BYD head units. Strike uses the cameras and the screen the car already has.

- [Download Strike](https://github.com/UnrealSalty/Strike/releases/latest)
- [Source and install guide](https://github.com/UnrealSalty/Strike)
- [Discord](https://discord.gg/DTBZRgHX3s)

This page is the markdown version of the public website. Interface previews on the site use sample vehicle and storage values.

## What it does

- Records while you drive. All four cameras go into a single clip. Person and vehicle detections sit on the timeline.
- Watches while you are parked. Strike can arm on ignition off or when you lock the car, then save what happened.
- Opens in any browser. The same live view and recordings are available on a device that can reach the car, behind a browser access code.

Footage is stored on the car. Detection runs on the head unit. Remote access is optional. Strike has no account or subscription of its own.

## Parked surveillance

- Arms on ignition off, or locking the car
- Keeps recording 20 seconds past the last detection
- Caps each event at 2 minutes
- Optional deterrent: fills the screen with red and a message you set. Off by default.

It keeps the head unit and cameras awake, so it draws power from the car. How long it lasts depends on your vehicle and settings. It does not promise a set runtime or guaranteed detection.

## Built light

Recording, surveillance, and live view share one camera feed. Opening live view does not start a second capture. Frames stay on the GPU. Strike skips ahead to the newest frame instead of clearing a backlog.

The app has no accounts, servers, or background trackers of its own. The only address Strike calls on its own is GitHub's release API, at most once a day.

## Browser access

Open the car's address on a device that can reach it and enter the browser access code shown in the car.

Further away, you can use your own domain and a Cloudflare tunnel. The head unit has to be awake and online. A tunnel cannot wake a sleeping car.

## Install

1. Get the APK onto your head unit from the [latest release](https://github.com/UnrealSalty/Strike/releases/latest).
2. Grant permissions and authorize local ADB.
3. Pick storage and modes, then turn on Recorder.

Full steps: [Get started](https://github.com/UnrealSalty/Strike#get-started).

## Compatibility

Strike needs Android 9 or newer, 64-bit ARM, compatible cameras and ignition readings, and local ADB access. It has been tested on the Atto 2. Other camera profiles exist, but some camera systems are not supported yet.

Recording and detection do not need internet. Internet is only needed for remote access and updates.

## Two apps

- **Strike** is available now. It runs on the head unit. Nothing else is needed.
- **Strike Connect** is a separate app for iPhone and Android, with its own build for the car. It is not released yet.

## Credits

An independent project for BYD head units. Not affiliated with BYD.

Built with camera and vehicle work, and some assets, from [Overdrive](https://github.com/yash-srivastava/Overdrive-release).
