Creating over the air updates

Google provided plenty of developer tools to generate the different types of OTA. If you want to generate a Full Update OTA, the following two steps are required:

  1. Generate a ZIP file containing the full update files
  2. Generate the OTA package with all the necessary toolsets for the update

To generate the zip file containing the chosen target files, navigate to the root folder of the AOSP sources and run the following commands:

. build/ && lunch aosp-shamu
mkdir dist_output
make dist DIST_DIR=dist_output

If the process has been successful, we should have the zip file containing the target files in the directory dist_output. As an example, let's try listing the folder content with the following command:

ls -l ...

Get Learning Embedded Android N Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.