Build the flashable OTA zip

make / pdpmake

Full flavour

Includes all components (proprietary and open-source):

make buildota

Test the build

Emulates an Android recovery on the PC and runs the produced zip inside it:

make test

Note

Run buildota first so that the zip exists in the output/ folder.

Gradle wrapper

Full flavour

Includes all components (proprietary and open-source):

./gradlew buildOta

Test the build

Emulates an Android recovery on the PC and runs the produced zip inside it:

./gradlew installTest

Note

Run buildOta first so that the zip exists in the output/ folder.

VS Code

Full flavour

Includes all components (proprietary and open-source):

Open the project in VS Code and run the buildOta task.

Test the build

Emulates an Android recovery on the PC and runs the produced zip inside it:

Open the project in VS Code and run the installTest task.

Note

Run buildOta first so that the zip exists in the output/ folder.