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

Cooking our first ROM


So far, we have seen an overview of the suite of tools we need to create a custom ROM from a binary system image. The most important of all is the kitchen, and it needs system.img and boot.img partition files to properly do its job.

If you are targeting Google devices, this is an easy game. Google provides system source code for its devices, so we can always build our .img files from the source, as we learned in previous chapters. We can also grab the .img files from the official system installation packages that Google also provides for its devices at every new release of the Android system.

If you are targeting a device that's not a Nexus, things become more adventurous. Most of the time you don't have the system source code; often you don't even have the downloadable system images. As you will see in the next sections, there is always a way to obtain every last piece of the puzzle to create our custom ROM.

Gathering the ingredients

The list is quite short. All you need...

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 ₹800/month. Cancel anytime}