ArticleslgStudy

science

Booting process of Android devices

Booting process of Android devices is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Booting process of Android devices rather than just read about it. In short: The booting process of Android devices starts at the power-on of the SoC (system on a chip) and ends at the visibility of the home screen, or special modes like recovery, fastboot, or Odin mode for Samsung devices. The boot process of devices that run Android is influenced by the firmware design of the SoC manufacturers.

Key takeaways

  • Booting process of Android devices belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Booting process of Android devices to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Booting process of Android devices from memory before moving on to harder problems.

Reference excerpt

The booting process of Android devices starts at the power-on of the SoC (system on a chip) and ends at the visibility of the home screen, or special modes like recovery, fastboot, or Odin mode for Samsung devices. The boot process of devices that run Android is influenced by the firmware design of the SoC manufacturers.

Background As of 2018, 90% of the SoCs of the Android market are supplied by either Qualcomm, Samsung or MediaTek. Other vendors include UNISOC, Rockchip, Marvell, Nvidia and previously Texas Instruments.

History Verified boot, a booting security measure, was introduced with Android KitKat.

Stages

Primary Bootloader The Primary Bootloader (PBL), which is stored in the Boot ROM is the first stage of the boot process. This code is written by the chipset manufacturer. The PBL verifies the authenticity of the next stage. On Samsung smartphones, the Samsung Secure Boot Key (SSBK) is used by the boot ROM to verify the next stages. On SoCs from Qualcomm, it is possible to enter the Qualcomm Emergency Download Mode (EDL) from the primary bootloader. If the verification of the secondary bootloader fails, it will enter EDL.

Secondary Bootloader Because the space in the boot ROM is limited, a secondary bootloader on the eMMC or eUFS is used. The secondary bootloader initializes TrustZone. On the Qualcomm MSM8960 for example, the Secondary Bootloader 1 loads the Secondary Bootloader 2. The Secondary Bootloader 2 loads TrustZone and the Secondary Bootloader 3. The SBL is now called XBL by Qualcomm which is a UEFI firmware library, and on smartphone and tablet type devices, the firmware is usually an EDK2 implementation. Qualcomm formerly uses LK (Little Kernel) plus Aboot, or now uses XBL (eXtensible Bootloader) plus ABL. Samsung Exynos uses S-Boot; very old Exynos use U-Boot based S-Boot, recent Exynos use UEFI based S-Boot. Very old MediaTek SoC's use Das U-Boot, and recent MediaTek SoC's use EDK2 based UEFI. Little Kernel is a microkernel for embedded devices, which has been modified by Qualcomm and MediaTek to use it as a bootloader. The Android Bootloader (Aboot or ABL) implements the fastboot interface. Android Bootloader verifies the authenticity of the boot and recovery partitions. By pressing a specific key combination, devices can also boot in recovery mode. Android Bootloader then transfers control to the Linux kernel.

Kernel and initramfs

The initramfs is a gzipped cpio archive that contains a small root file system. It contains init, which is executed. The Android kernel is a modified version of the Linux kernel. Init then mounts the partitions. dm-verity verifies the integrity of the partitions that are specified in the fstab file. dm-verity is a Linux kernel module that was introduced by Google in Android since version 4.4. The stock implementation only supports block based verification, but Samsung has added support for files.

Zygote

Zygote is spawned by the init process, which is responsible for starting Android applications and service processes. It loads and initializes classes that are supposed to be used very often into the heap. For example, dex data structures of libraries. After Zygote has started, it listens for commands on a socket. When a new application is to be started, a command is sent to Zygote, which executes a fork() system call.

Partition layout The Android system is divided across different partitions. The Qualcomm platform makes use of the GUID partition table. This specification is part of the UEFI specification, but does not depend on UEFI firmware.

See also coreboot Booting process of Linux Booting process of macOS Booting process of Windows

Explanatory notes

References

External links Android.com - Boot Flow Managing Boot Time Qualcomm Bootloaders Qualcomm's Chain of Trust Secure Boot and Image Authentication Secure boot on Snapdragon 410 Analysis of Qualcomm Secure Boot Chains msm8916-mainline/qhypstub Android system init process startup and init.rc full analysis Android Init Language

Worked examples

Example 1 — a first encounter with Booting process of Android devices

Start with the simplest possible case. Write down what Booting process of Android devices claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Booting process of Android devices before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Booting process of Android devices ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Booting process of Android devices

In research
Booting process of Android devices appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Booting process of Android devices in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Booting process of Android devices is common in secondary-school and first-year university syllabi. It links to neighbouring topics Android (operating system), Boot loaders, Booting processes, so understanding it makes those chapters shorter.
In everyday life
Look for Booting process of Android devices outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Booting process of Android devices” →

How to study Booting process of Android devices in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Booting process of Android devices means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Booting process of Android devices out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Booting process of Android devices in simple terms?

The booting process of Android devices starts at the power-on of the SoC (system on a chip) and ends at the visibility of the home screen, or special modes like recovery, fastboot, or Odin mode for Samsung devices. The boot process of devices that run Android is influenced by the firmware design of…

Why does Booting process of Android devices matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Booting process of Android devices?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Booting process of Android devices.

Tags

  • Android (operating system)
  • Boot loaders
  • Booting processes

Keep exploring