SlideShare a Scribd company logo
2
Most read
4
Most read
5
Most read
Android Bootup Process
• A. The Boot ROM code present in OTPA
will detect the boot media using a system
register that maps to some physical
address. This is to determine where to find
the first stage of the boot loader.
• B. Once the boot media sequence is
established the boot ROM will try to load
the first stage boot loader to internal
RAM. Once the boot loader is in place the
boot ROM code will perform a jump and
execution continues in the boot loader.
Android Bootup Sequence…
• A. The first boot loader stage will detect and set up
external RAM.
• B. Once external RAM is available and the system
is ready the to run, the first stage will load the
main boot loader and place it in external RAM.
• C. The second stage of the boot loader is the first
major program that will run. This may contain
code to set up file systems, additional memory,
network support and other things.
• D. Once the boot loader is done with any special
tasks it will look for a Linux kernel to boot. It will
load this from the boot media and place it in the
RAM. It will also place some boot parameters in
memory for the kernel to read when it starts up.
• E. Once the boot loader is done it will perform a
jump to the Linux kernel, usually some
decompression routine, and the kernel assumes
system responsibility.
Android Bootup Sequence…
Android Bootup Sequence…
Android Bootup Sequence…
• The Linux kernel sets up everything that is needed for the system to run. Initialize interrupt controllers, set
up memory protections, caches and scheduling. The kernel will look in the root file system for the init
process and launch it as the initial user space process.
• The init process is the "grandmother" of all system processes. Every other process in the system will be
launched from this process or one of its descendants. The init process will parse the init script and launch
the system service processes.
• The Zygote is launched by the init process and will basically just start executing and initialize the Dalvik
VM.
• The system server is the first java component to run in the system. It will start all the Android services
such as telephony manager and bluetooth. Start up of each service is currently written directly into the
run method of the system server. The system server source can be found in the
file frameworks/base/services/java/com/android/server/SystemServer.java in the open source project.
• Once the System Server is up and running and the system boot has completed there is a standard
broadcast action called ACTION_BOOT_COMPLETED. To start your own service, register an alarm or
otherwise make your application perform some action after boot you should register to receive this
broadcast intent.
Android Architecture
Thank You

More Related Content

PPTX
Android Booting Sequence
PPT
Learning AOSP - Android Booting Process
PDF
Android IPC Mechanism
PDF
Understanding the Android System Server
PDF
Booting Android: bootloaders, fastboot and boot images
PDF
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
PDF
Low Level View of Android System Architecture
PPT
Learning AOSP - Android Linux Device Driver
Android Booting Sequence
Learning AOSP - Android Booting Process
Android IPC Mechanism
Understanding the Android System Server
Booting Android: bootloaders, fastboot and boot images
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Low Level View of Android System Architecture
Learning AOSP - Android Linux Device Driver

What's hot (20)

PDF
Init of Android
PDF
Android Boot Time Optimization
PDF
Android Internals
PDF
Embedded Android Workshop with Pie
PPT
Android booting sequece and setup and debugging
PDF
Android Internals
PDF
Android OTA updates
PDF
Android Automotive
PPT
"Learning AOSP" - Android Hardware Abstraction Layer (HAL)
PDF
Deep Dive into the AOSP
PPTX
Binder: Android IPC
ODP
Android crash debugging
PDF
Introduction to Android Window System
ODP
Q4.11: Porting Android to new Platforms
PDF
Arm device tree and linux device drivers
ODP
Embedded Android : System Development - Part III
PDF
Project meeting: Android Graphics Architecture Overview
PDF
Inside Android's UI
PPTX
Android graphic system (SurfaceFlinger) : Design Pattern's perspective
Init of Android
Android Boot Time Optimization
Android Internals
Embedded Android Workshop with Pie
Android booting sequece and setup and debugging
Android Internals
Android OTA updates
Android Automotive
"Learning AOSP" - Android Hardware Abstraction Layer (HAL)
Deep Dive into the AOSP
Binder: Android IPC
Android crash debugging
Introduction to Android Window System
Q4.11: Porting Android to new Platforms
Arm device tree and linux device drivers
Embedded Android : System Development - Part III
Project meeting: Android Graphics Architecture Overview
Inside Android's UI
Android graphic system (SurfaceFlinger) : Design Pattern's perspective
Ad

Viewers also liked (12)

PDF
Introduction of omap4 booting sequence
PPTX
Reverse engineering android apps
PPTX
Когда предрелизный не только софт
PPTX
How to implement a simple dalvik virtual machine
PDF
Android internals 10 - Debugging/Profiling, Bluetooth/WiFI/RIL (rev_1.1)
PDF
Understanding the Dalvik Virtual Machine
PDF
Practice of Android Reverse Engineering
PDF
Deep Dive Into Android Security
PPTX
Google ART (Android RunTime)
PPTX
System Booting Process overview
PDF
Embedded Android : System Development - Part I
PPTX
booting steps of a computer
Introduction of omap4 booting sequence
Reverse engineering android apps
Когда предрелизный не только софт
How to implement a simple dalvik virtual machine
Android internals 10 - Debugging/Profiling, Bluetooth/WiFI/RIL (rev_1.1)
Understanding the Dalvik Virtual Machine
Practice of Android Reverse Engineering
Deep Dive Into Android Security
Google ART (Android RunTime)
System Booting Process overview
Embedded Android : System Development - Part I
booting steps of a computer
Ad

Similar to Android bootup process (20)

PPTX
BSP.pptx
PPT
Linux Booting Steps
PDF
Android for Embedded Linux Developers
PPTX
Lecture02_LinuxBasedEmbeddedSystemComponentStack.pptx
PPTX
Lecture02_LinuxBasedEmbeddedSystemComponentStack.pptx
PPTX
Lecture02_LinuxBasedEmbeddedSystemComponentStack.pptx
PPTX
Linux booting process!!
PDF
Android Internals at Linaro Connect Asia 2013
PPT
Ch04 system administration
PPTX
An Insight into the Linux Booting Process
PPT
Linux booting procedure
PDF
Embedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theory
PDF
Linux: the first second
PPTX
Bootloader and bootloading
PDF
Linux: the first second
PDF
Linux booting procedure
PDF
Rloader, alternative tech to achieve fast boot time for ARM Linux
PPTX
Bootloaders (U-Boot)
PPTX
Linux Kernel Tour
BSP.pptx
Linux Booting Steps
Android for Embedded Linux Developers
Lecture02_LinuxBasedEmbeddedSystemComponentStack.pptx
Lecture02_LinuxBasedEmbeddedSystemComponentStack.pptx
Lecture02_LinuxBasedEmbeddedSystemComponentStack.pptx
Linux booting process!!
Android Internals at Linaro Connect Asia 2013
Ch04 system administration
An Insight into the Linux Booting Process
Linux booting procedure
Embedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theory
Linux: the first second
Bootloader and bootloading
Linux: the first second
Linux booting procedure
Rloader, alternative tech to achieve fast boot time for ARM Linux
Bootloaders (U-Boot)
Linux Kernel Tour

Recently uploaded (20)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
web development for engineering and engineering
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Sustainable Sites - Green Building Construction
PPTX
Welding lecture in detail for understanding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
PPT on Performance Review to get promotions
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Internet of Things (IOT) - A guide to understanding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
UNIT 4 Total Quality Management .pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
bas. eng. economics group 4 presentation 1.pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
web development for engineering and engineering
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Sustainable Sites - Green Building Construction
Welding lecture in detail for understanding
Embodied AI: Ushering in the Next Era of Intelligent Systems
Lesson 3_Tessellation.pptx finite Mathematics
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Foundation to blockchain - A guide to Blockchain Tech
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPT on Performance Review to get promotions
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Internet of Things (IOT) - A guide to understanding

Android bootup process

  • 2. • A. The Boot ROM code present in OTPA will detect the boot media using a system register that maps to some physical address. This is to determine where to find the first stage of the boot loader. • B. Once the boot media sequence is established the boot ROM will try to load the first stage boot loader to internal RAM. Once the boot loader is in place the boot ROM code will perform a jump and execution continues in the boot loader. Android Bootup Sequence…
  • 3. • A. The first boot loader stage will detect and set up external RAM. • B. Once external RAM is available and the system is ready the to run, the first stage will load the main boot loader and place it in external RAM. • C. The second stage of the boot loader is the first major program that will run. This may contain code to set up file systems, additional memory, network support and other things. • D. Once the boot loader is done with any special tasks it will look for a Linux kernel to boot. It will load this from the boot media and place it in the RAM. It will also place some boot parameters in memory for the kernel to read when it starts up. • E. Once the boot loader is done it will perform a jump to the Linux kernel, usually some decompression routine, and the kernel assumes system responsibility. Android Bootup Sequence…
  • 5. Android Bootup Sequence… • The Linux kernel sets up everything that is needed for the system to run. Initialize interrupt controllers, set up memory protections, caches and scheduling. The kernel will look in the root file system for the init process and launch it as the initial user space process. • The init process is the "grandmother" of all system processes. Every other process in the system will be launched from this process or one of its descendants. The init process will parse the init script and launch the system service processes. • The Zygote is launched by the init process and will basically just start executing and initialize the Dalvik VM. • The system server is the first java component to run in the system. It will start all the Android services such as telephony manager and bluetooth. Start up of each service is currently written directly into the run method of the system server. The system server source can be found in the file frameworks/base/services/java/com/android/server/SystemServer.java in the open source project. • Once the System Server is up and running and the system boot has completed there is a standard broadcast action called ACTION_BOOT_COMPLETED. To start your own service, register an alarm or otherwise make your application perform some action after boot you should register to receive this broadcast intent.