- AFAIK there is no API provided by LineageOS team, so currently the project uses bs4 to parse download page
- APKs are released on
tprasadtp/los-xx-apks
repositories to deal with multiple devices.
- Create a python virtual environment & activate it
- Install dependencies
make install
- Set device codename name. See https://download.lineageos.org/ for codenames.
export DEVICE=coral
- Download, Verify and extract payload.bin
make build-payload
- Check that images are extractd to
build/$DEVICE
- Mount desired image and check path of required APKs
- Update
data/transfer-$DEVICE.json
to match you image and APKs. For some targets, predefinedtransfer.json
is available. - Define Image name (Without extensions or path)
export APK_IMG=product
- Mount image and copy APKs (Requires root)
make apks