Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Embedded Android N Programming

You're reading from  Learning Embedded Android N Programming

Product type Book
Published in Jul 2016
Publisher Packt
ISBN-13 9781785282881
Pages 282 pages
Edition 1st Edition
Languages
Author (1):
Ivan Morgillo Ivan Morgillo
Profile icon Ivan Morgillo

Table of Contents (15) Chapters

Learning Embedded Android N Programming
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
1. Understanding the Architecture 2. Obtaining the Source Code – Structure and Philosophy 3. Set up and Build – the Emulator Way 4. Moving to Real-World Hardware 5. Customizing Kernel and Boot Sequence 6. "Cooking" Your First ROM 7. Tailoring Your Personal Android System 8. Beyond the Smartphone Index

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 chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}