Reader small image

You're reading from  Learning Embedded Android N Programming

Product typeBook
Published inJul 2016
Reading LevelIntermediate
PublisherPackt
ISBN-139781785282881
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Ivan Morgillo
Ivan Morgillo
author image
Ivan Morgillo

Ivan Morgillo is a computer engineer, a conference speaker, and a community organizer. He is passionate about programming and embedded systemsfrom DIY domotics to Android devices. He is cofounder of Alter Ego Solutions, a mobile development consulting company. He is also the author of RxJava Essentials, by Packt Publishing and Grokking Rx, by Manning Publications.
Read more about Ivan Morgillo

Right arrow

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/envsetup.sh && 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 dist_output/*target_files*

Now we should see a .zip file that will also have in its name the name of the target we are compiling for.

At this point, you only need to generate the OTA package containing all the necessary files for the update....

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Embedded Android N Programming
Published in: Jul 2016Publisher: PacktISBN-13: 9781785282881

Author (1)

author image
Ivan Morgillo

Ivan Morgillo is a computer engineer, a conference speaker, and a community organizer. He is passionate about programming and embedded systemsfrom DIY domotics to Android devices. He is cofounder of Alter Ego Solutions, a mobile development consulting company. He is also the author of RxJava Essentials, by Packt Publishing and Grokking Rx, by Manning Publications.
Read more about Ivan Morgillo