Init is the very first process that starts and is the root process of all other processes:
- Step A: The Init process will look for a script named init.rc. This is a script that describes the system services, filesystem, and other parameters that need to be set up:
- init process can be found at: <android source>/system/core/init.
- init.rc can be found at: <android source>/system/core/rootdir/init.rc.
More details about the Android file hierarchy will be covered in Chapter 3, Understanding Data Storage on Android Devices.
- Step B: The init process will parse the init script and launch the system service processes. At this stage, you will see the Android logo on the device screen: