(This tutorial is divided into five parts: 1. Android application development 2. Android system transplantation 3Cortexa8 bare metal interface development 4. Android device driver development 5. Comprehensive project practice. The first part of the course starts from the construction of the most basic Android application development environment. After a brief explanation of the Android interface and event management, it deeply analyzes the Android Handler multithreading mechanism, focusing on the communication between the Android NDK application layer and the driver; The second part briefly explains the principles of Android system transplantation, and then step by step teaches you how to transplant Linux kernel, compile Android source code, and transplant Android to the CortexA8 development board; In the third part, we first taught you how to build a bare metal development environment, and then led you to read Samsung's chip manual, and compiled bare metal drivers such as LED, buzzer, button, interrupt, serial UART, real-time clock RTC, timer PWM, analog digital conversion ADC, etc; The fourth part explains the theories related to the construction of Linux device driver development environment and kernel development, then transplants the interface driver under the bare metal to the Android environment, and passes the NDK and JAVA interface tests; The fifth part provides a good guarantee for graduation design, project development and high-tech employment through a practical project and comprehensive use of the knowledge of each module. Consulting QQ: 1609173918)