Sitemap
AndroidPub

The (retired) Pub(lication) for Android & Tech, focused on Development

Member-only story

Android Boot Process

--

Press enter or click to view image in full size
android booting

When switching off the power of the Android device and switch on it again, this process is known as the Android Booting sequence.

Above Image showing 5 stages of Booting process for an Android-powered device:

  • 1st Stage is Boot ROM and Boot Loader
  • 2nd Stage is Kernel
  • 3rd Stage is Init
  • 4th Stage is Zygote and DVM
  • 5th Stage is SystemServer and Managers

Boot ROM and Boot Loader

On pressing the POWER button, the Boot ROM code starts executing from a predefined location which is hardwired in ROM. It loads the Bootloader into RAM. The bootloader is code that is executed before any Operating System starts to run. The bootloader is a low-level code contains the instructions that tell a device how to start up and find the system kernel. The bootloader usually lives on the system board in non-volatile memory and is often specific to a device.

The bootloader is usually split into stages. Primary Boot Loader and Secondary Boot Loader. The bootloader can be found at:
<android source>/bootable/bootloader/legacy/usbloader

--

--

Budhdi Sharma
Budhdi Sharma

Written by Budhdi Sharma

AI Security | AOSP Developer | Automotive Infotainment | AR/VR/MR | Embedded Systems | Kernel & Framework Development

AndroidPub
AndroidPub

Published in AndroidPub

The (retired) Pub(lication) for Android & Tech, focused on Development