Skip to content

Module-only Rebuilds

Use this workflow when you are iterating on a single system module and do not want to rebuild the full OS image.

If you want the shortest path, you can do the whole loop from your laptop with one command:

Terminal window
just run-module user@host GaugeCluster com.mrselectronics.gaugecluster

That command syncs the build-server helper files and os/ customizations, starts the module build on the server, pulls back just the rebuilt APK, and deploys it to the connected board.

On the build server, run:

Terminal window
cd /srv/android-automotive
just build-module GaugeCluster

That recipe reuses the same source tree and containerized build environment as the full OS build, but it only runs m GaugeCluster after lunch mrs_mek_8q-nxp_stable-userdebug.

When it finishes, the published artifacts are under:

/srv/android-automotive/releases/imx-automotive-16.0.0_1.1.0/apps/GaugeCluster

The directory contains the built APK and a build-time.txt summary. The build recipe clears the entire releases/<release>/ tree first so stale flash artifacts from a previous full build do not mix into the module output.