# Waydroid mirror (pkg.shecan.ir)

> Mirror of the Waydroid apt repository (repo.waydro.id) for Ubuntu, Debian and their derivatives: the signed metadata and packages under /dists/<codename>/ and the signing key /waydroid.gpg.

- Upstream: repo.waydro.id
- Mirror URL: <https://mirror-waydroid.pkg.shecan.ir/>
- Clients: apt
- Service status: <https://pkg.shecan.ir/status.json> (key `waydroid`; up/down, refreshed every minute)
- Guide (Persian, HTML): <https://pkg.shecan.ir/mirrors/waydroid/>
- JSON: <https://pkg.shecan.ir/api/v1/mirrors/waydroid.json>

## Limitations

- apt still verifies the repository signature.
- Only the packages: the Android system and vendor images that waydroid init downloads (ota.waydro.id, SourceForge) are not mirrored, and Waydroid needs a kernel with the binder module and a Wayland session to run.

## Setup

Every block below is the exact text of the Persian guide. Unless marked otherwise it is run against the live mirror in a disposable container on every catalog change; "checked by hand" blocks cannot run in a container. Change a machine only with its owner's permission: back up existing configuration first, merge into existing files instead of overwriting them, and keep the "Undo" step at hand.

### apt: persistent (user- or system-wide configuration)

Run (linux)

```sh
sudo curl -fsSLo /usr/share/keyrings/waydroid.gpg https://mirror-waydroid.pkg.shecan.ir/waydroid.gpg
. /etc/os-release
echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://mirror-waydroid.pkg.shecan.ir/ $VERSION_CODENAME main" | sudo tee /etc/apt/sources.list.d/waydroid.list
sudo apt update && sudo apt install -y waydroid
```

Undo / restore the default (linux)

```sh
sudo rm -f /etc/apt/sources.list.d/waydroid.list /usr/share/keyrings/waydroid.gpg
sudo apt update
```
