32 lines
1.0 KiB
Markdown
32 lines
1.0 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`.
|
|
4. If the base image tag is missing, `redroid.py` will automatically load `images/redroid-redroid-13.0.0-latest.tar`.
|
|
5. The build modules read the zip/apk files from `downloads/` first and do not need the network when those files are present and valid.
|