From £6,625 + VAT
Book online today or, if you need help choosing the right course or would like to discuss business discounts, call us on 0113 220 7150.
Sorry, there are currently no dates available to book. Submit an enquiry to hear from one of our team about when dates might become available.
Overview
This 5-day course, based on Jonathan Levin's Android Internals books, delves into the architecture and implementation of Android. Participants will explore Android’s features, its relationship to Linux, and how it diverges with its own unique 'Android-isms.' The course covers Android subsystems like the Dalvik Virtual Machine, Android Runtime (ART), Binder IPC, Hardware Abstraction Layer (HAL), and more. It combines theory with hands-on exercises to provide a deep understanding of Android’s architecture from both the user-mode and kernel-mode levels.
Prerequisites
- Strong knowledge of Android development or implementation.
- Experience in reverse engineering or security research.
- A rooted Android device (recommended Android 10 or higher) and a Linux host (VMs can be provided).
- Familiarity with Linux and Android systems.
Target Audience
- Experienced Android developers or implementers.
- Security researchers interested in the internals of the Android OS.
This course is not suitable for user-mode developers focused on Android GUI applications, but it serves as an excellent follow-up for those already familiar with the Android SDK.
Delegates will learn how to
- Describe the architecture of the Android operating system.
- Understand the similarities and differences between Linux and Android.
- Trace the core architectural changes from Android Froyo (2.2) to Android 13.0.
- Understand the functions and architecture of the Android kernel.
- Reverse engineer Android applications.
- Monitor, trace, and intercept inter-process communication (IPC) in Android.
- Gain a deep understanding of DEX, ART, and OAT formats.
- Learn to use free tools such as Dextra, bindump, and jtrace.
- Analyse Android security, its evolution, and weaknesses.
Outline
The course covers the following modules, with hands-on exercises and guided demos:
Introduction to Android Architecture (5-6 hours)
- Overview of Android features and comparison with Linux.
- Filesystem layout, runtime environment, and frameworks.
- Dalvik and ART architecture, from Android 1.5 through Android 13.0.
- User-mode and kernel-mode differences.
- Kernel modifications and recompilation.
Hardware Abstraction Layer (HAL) (1 hour)
- HAL overview and abstraction of basic devices (camera, sensors, GPS, etc.).
- Project Treble and HAL modifications.
Partitions & Filesystems (2 hours)
- Android partition layout, UFS vs. eMMC, vendor-specific partitions.
- Tour of standard Android filesystems (/system, /vendor, /data).
Booting (6 hours)
- System startup and initialisation, from bootloader to kernel and user-mode processes.
- Techniques for unlocking bootloaders and rooting devices.
Native Services (2 hours)
- Examination of Android services initiated by init (adbd, servicemanager, healthd, etc.).
Android IPC Mechanisms (2 hours)
- Detailed breakdown of Binder IPC and alternative communication mechanisms.
- Exercises: Debugging and tracing Binder IPC.
The Input Architecture (2 hours)
- Understanding Android’s input stack: Kernel input model, EventHub, InputReader, and InputDispatcher.
- Exercises: Monitoring and capturing input events.
Dalvik Virtual Machine (2 hours)
- Dalvik VM architecture, DEX file format, and reverse engineering techniques.
- Exercises: Reverse engineering Dalvik APK’s classes.dex to Java source.
Android Runtime (ART) (1 hour)
- ART evolution and its memory management, profiling, and JIT compilation.
- Exercises: Reversing ART.
Android Kernel Modifications (1 hour)
- Overview of Android-specific kernel tweaks: ASHmem, PMem, low memory killer, wakelocks, RAM console, etc.
- Exercises: Kernel-level debugging and tracing.
Android Security (4 hours)
- Analysis of Android’s security mechanisms, including SELinux, digital signatures, AVB, and buffer overflow protection.
- Android exploitation techniques and common security failures.
Connectivity (Optional) (2 hours)
- Overview of Android’s network stack, Bluetooth, RILd, and VPN mechanisms.
Why choose QA
- Award-winning training, top NPS scores
- Nearly 300,000 learners in 2020
- Our training experts are industry leaders
- Read more about QA
Cyber Security learning paths
Want to boost your career in cyber security? Click on the roles below to see QA's learning pathways, specially designed to give you the skills to succeed.
Offensive Cyber Operations learning paths
Want to boost your career in the world of Offensive Cyber Operations? View QA's learning pathway below, specially designed to give you the skills to succeed.
Frequently asked questions
How can I create an account on myQA.com?
There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.
If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".
If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.
Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.
How do QA’s virtual classroom courses work?
Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.
We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.
How do QA’s online courses work?
QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.
All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.
When will I receive my joining instructions?
Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.
When will I receive my certificate?
Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.