Seminars

Tufin logo
Fortinet Logo
Check Point Logo
Blue Coat
Academy for Network Security

Embedded Android

DateOrtSeminarInfo
20.07. - 23.07.2020MünchenEmbedded Android
30.11. - 03.12.2020MünchenEmbedded Android

 

Telefon: +49 (0) 30/31 00 76 0

Audience

This course is ideal for system architects, engineers and project leaders who want to know how Android works, and how to customize and extend the platform

Precognition

  • Good knowledge C/C++ and Java
  • Familiarity with Linux development and command-line tools

Learning target

In this four day course you will design your own Android product, selecting the packages and configuration appropriate for the target platform. Beginning with a clean copy of AOSP, you will build the system images and flash them using fastboot. You will add a custom native service – a web server -and integrate it with the build. Then you will learn about the Android security framework and SELinux, and add SELinux policy files for the changes you have made. Later modules describe how SurfaceFlinger renders graphics for various displays, and how the framework integrates with specific hardware using the vendor HAL and the HAL Interface Definition Language, HIDL. Finally, there is the all-important topic of debugging and profiling the final system. All code and examples are based on Android version 8.1 “Oreo” and covers the new hardware abstraction layers introduced in Project Treble.
Roughly half of the course is taken by hands-on lab sessions during which you will apply the theory to create an embedded Android device.

Contend

  • Introduction to Android
    • Android architecture: the big picture
    • The impact of Project Treble
    • The Android Open Source Project (AOSP)
    • Building Android from source
  • Creating a new Android product
      • Creating a new product
      • Setting basic hardware characteristics
      • Adding the product to the “lunch” menu
  • The kernel
      • Android-specific changes to Linux
      • Google common kernel and vendor kernels
      • Building Linux from source
      • Understanding and modifying device trees
  • Booting Android
      • Learning how the bootloader starts Android
      • Flashing images using fastboot
      • Customizing init boot scripts
      • Controlling system behaviour using system properties
  • The Android build system
      • Building a product from packages and modules
      • Android makefiles (Android.mk)
      • Android blue print files (Android.bp)
  • The Hardware Abstraction layer
      • Changes to the HAL since Project Treble
      • The Vendor INTerface: VINTF
      • Types of HAL
      • + legacy HAL
      • + passthrough and Same Process
      • + binderized HAL
      • HIDL – the HAL Interface Definition
      • Run-time linking: the Vendor Native Development Kit (VNDK)
  • Testing; CTS and VTS
      • Testing the application interface using the Compatibility Test Suite, CTS
      • Testing the Vendor HAL using the Vendor Test Suite, VTS
  • The Android framework
      • Understanding Android services
      • The role of binder and AIDL in defining interfaces to services
      • Calling native code using JNI
  • Graphics
      • How SurfaceFlinger orchestrates image rendering
      • Internal and external displays
      • Streaming multi-media
  • Applications
      • Application sandboxing
      • Dalvik and ART
      • How to write a single-use kiosk-mode application
  • Debugging and profiling
      • Debugging native code
      • Profiling CPU usage using perf
      • Profiling power usage
  • Security
      • User and group IDs
      • Android permissions
      • Understanding and modifying SELinux policy files
      • Security threats and “rooting”
  • Integrating non-Android code
      • Problems with integrating non-Android code
      • Using a chroot jail

Language

This course will be held in english

Other Informations

A printed copy of the presentations and lab notes
Worked solutions to the problems, plus electronic copies of the course materials.

An essential part of the training are the lab sessions, which take approximately 50% of the time. You will need a laptop or desktop to run the system development tools. We will provide a bootable USB hard drive with an appropriate version of Linux and cross tool-chain so there is no need to install Linux beforehand.

WOULD YOU LIKE AN INDIVIDUAL OFFER?

Sie haben noch nicht das passende offene Training gefunden oder wünschen einen individuellen Workshop? Sprechen Sie uns an – gerne unterbreiten wir Ihnen ein maßgeschneidertes Angebot: anfragen@bristol.de