Barr Group FacebookBarr Group TwitterBarr Group LinkedInBarr Group Vimeo

Course Length: 
4 Days
CEUs: 
3.0

Format: Hands-On/Lecture

Barr Group's Embedded Android® Boot Camp™ is a 4-day immersion into the Linux kernel and Android operating system and its use on embedded hardware platforms. This intense educational (yet fun) program is designed to lead software engineers through the steps of bringing up embedded hardware with the Android OS, developing custom device drivers, and publishing the APIs of those custom Linux device drivers to Android apps. Attendees will complete approximately ten hands-on programming exercises, including a large app-to-driver capstone. Exercises are interspersed with the lectures and all take place on an ARM Cortex-A8 processor board that attendees can keep. Computers will be provided for each student to perform the necessary Android builds. Students will not need to bring laptops.

This course is appropriate for embedded software developers moving up to the Android operating system or Android app or Linux software developers who want to learn the internals of the Linux kernel or Android OS.

Attendees will learn to:

  • Build a bootloader, the Linux kernel, and Android
  • Create and debug Linux and Android device drivers for unique hardware
  • Add custom system services and frameworks to Android
  • Call custom C libraries from Java
  • Integrate custom Android and C apps into Android
  • Call C code from Java using JNI
  • Improve the security of your Android device
  • Tips for speeding Android ports and AOSP builds

Prerequisites

Attendees should arrive with a working familiarity of the C programming language and experience writing embedded software.

Syllabus

The following summary covers the major course topics and may be modified at the instructor's discretion based on the needs and pace of the class.

  • Building and Installing Linux and Android
    • Embedded Android Development Process
    • Architectural Overview
    • ARM SoC Development Kit Overview
    • GNU Toolchain
    • Kernel Build Configuration
    • How to Build U-Boot
    • How to Build the Linux Kernel
    • Android Development Workstation Setup
    • Downloading AOSP
    • Version Control (Git and Repo)
    • How to Build Android
    • Installing / Booting Android
    • ADB (Android Debug Bridge)
  • Linux Kernel Architecture
    • Introduction to Software Frameworks
    • Linux Kernel Architecture
    • ARM Linux Boot Process
    • ARM Linux Machine-Specific Initializations
    • Introduction to Platform Bus Devices
    • Debugging the Linux Kernel
  • Linux Kernel Modules
    • Introduction to Kernel Modules
    • Kernel Module Framework and Lifecycle
    • GNU Makefiles
    • Building a Loadable Kernel Module (LKM) Out-Of-Tree
    • Installing a Loadable Kernel Module (LKM) Using ADB
  • Linux Drivers
    • Linux Device Model
    • Sysfs Attributes
    • Bus Devices and Frameworks
    • Bus Device Drivers
    • Class Devices and Frameworks
    • File Operations
    • Kernel Memory Allocation
    • Passing Data Between Kernel and User-Space
    • Accessing MMIO
  • Android Architecture
    • Multi-User Security
    • Android Init Process
    • Android Boot Scripts
    • AOSP Directory Structure
    • AOSP Device Configuration
    • AOSP Build System
    • AOSP Makefile Templates
    • Logcat and Android Debugging
  • Java and JNI
    • Java for C Programmers
    • Java Implementation and Evolution on Android
    • Zygote
    • Bionic
    • Shared Libraries
    • JNI Introduction
    • Android NDK Overview
    • Adding Components
    • Debugging AOSP Using Logger
  • Android System Server
    • System Server Architecture
    • Android HAL
    • Binder
    • Adding Custom System Services
    • Modifying Android Application Frameworks
  • Exposing Unique Hardware to Android Apps
    • Reaching the Kernel from Android Apps
    • Pros and Cons of Different Approaches
  • Android Security
    • Application Security Issues
    • Obfuscation
    • Best Practices
    • SE Android Overview

Upcoming Sessions

Date(s) Location Regular Price Early Registration Price Register
Mar 27 to Mar 30
Embedded Android Boot Camp
Munich, Bayern, Germany 3199,00 € 2699,00 €
Apr 24 to Apr 27
Embedded Android Boot Camp
Germantown, Maryland, United States $2,899.00 $2,399.00

Find out More

Contact Us to find out more about this course or to enquire about an on-site training at your company.

Recording Policy

All Barr Group Training Public and On-site courses may not be videotaped or photographed without consent from Barr Group's executive team.