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 a custom device


During our journey, you learned how to retrieve the source code and how to set up the build system. In this section, you are going to learn how to create a new target device and add it to the build system. The device we are going to create now has specific hardware features. It's a proof-of-concept device, with the only purpose of showing you how easily and quickly you can create a brand new device and then customize it.

Every device definition is contained in the device/ folder. First level folders contains all the manufacturer's folders. Every manufacturer folder contains its own devices. Let's create our own manufacturer and device folders: our brand is Irarref and our model is an F488. Open a Terminal, reach the WORKING_DIRECTORY folder, and run:

~$ mkdir –p device/irarref/f488

Once we have the folder structure in place, we need to create all those files that will allow the build system to detect our device and make it available as a target for the build system...

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 €14.99/month. Cancel anytime}