How Android Works — Linux, ART and the Sandbox

Free lesson 1 of 12 from Android for Beginners — The Linux under Android — ADB, APKs and a safe test setup. No account, no card.

Android is Linux, wearing a different face

Every Android phone runs a Linux kernel at its core — the same kind you met in "Linux for Hackers". On top of it sits a runtime called ART (Android Runtime) that executes your apps, plus the framework services that draw screens and handle calls. If you understand this stack, Android stops being magic and becomes a system you can reason about.

The mental model to keep

This is a beginner, setup-focused course. You'll learn how Android is built and how to stand up a safe test environment — not how to break into anything. That comes later, in Android Application Security and Mobile Pentest.

How each lesson works

You learn by reading the theory, seeing the tools and the method, then doing it yourself on your own device or emulator. Every task has a Show solution with the exact steps if you get stuck.

🛠 Tools you'll set up

⚙️ The method (every topic)

  1. Theory — understand how the piece fits together.
  2. Tools + method — what to install and how to use it.
  3. Challenge — try it on your own device/emulator.
  4. Show solution — step-by-step, only if you're stuck.
🎯 Challenge: In one sentence each, explain what the Linux kernel, the ART runtime, and the app sandbox each do on an Android phone — and why giving every app its own Linux UID keeps your data safe.
Show solution
  • Kernel → the Linux core that manages hardware, memory and processes.
  • ART → the runtime that executes each app's compiled code.
  • Sandbox → each app runs as its own Linux UID with a private data dir, so ordinary Linux file permissions stop one app from reading another's files.

⚖️ For authorized, legal use only — practise on your own devices, apps and lab.

Liked it? 11 more lessons are waiting.

12 lessons · knowledge checks · final exam · verifiable certificate

Unlock all courses · CHF 9/month Buy only this course · CHF 19

What's in Android for Beginners

Continue in the interactive course reader →