32 lines
1.2 KiB
Markdown
32 lines
1.2 KiB
Markdown
# Offline Bundle
|
|
|
|
This directory describes the local offline bundle required by the current Android 13 `5570` build path.
|
|
|
|
The large bundle payloads are intentionally not tracked in Git. Keep them in the local `downloads/` and `images/` directories and use `manifest.json` plus `verify_offline_bundle.py` to validate what is on disk.
|
|
|
|
## Layout
|
|
|
|
- `downloads/`
|
|
- `mindthegapps.zip`
|
|
- `libhoudini.zip`
|
|
- `libhoudini_hack.zip`
|
|
- `magisk.apk`
|
|
- `magisk.version`
|
|
- `images/`
|
|
- `redroid-redroid-13.0.0-latest.tar`
|
|
- `manifest.json`
|
|
|
|
## Verification
|
|
|
|
```bash
|
|
python verify_offline_bundle.py
|
|
```
|
|
|
|
## Offline build flow
|
|
|
|
1. Make sure your container runtime can load local image archives.
|
|
2. Populate `downloads/` and `images/` with the files listed in `manifest.json`.
|
|
3. Run `python redroid.py -mtg -i -m` (add `--offline` or set `REDROID_OFFLINE=1` to forbid any network use).
|
|
4. The build prefers a local container image, then `images/redroid-redroid-13.0.0-latest.tar`, then a registry pull (skipped when offline-only).
|
|
5. Archives in `downloads/` are preferred when present and match the expected checksum; otherwise the build downloads from upstream (skipped when offline-only).
|