Skip to Content
Embedded Android
book

Embedded Android

by Karim Yaghmour
March 2013
Intermediate to advanced
410 pages
11h 49m
English
O'Reilly Media, Inc.
Book available
Content preview from Embedded Android

Appendix D. Default init.rc Files

This appendix contains the default init.rc files found in 2.3/Gingerbread and 4.2/Jelly Bean.[38] I usually dislike books where files are printed for pages on end, and you won’t find much of this in my writings. However, init.rc is one case where the best way to explain something is to actually show it to you. To make it easier for you to follow the operations conducted in the file, I’ve added some callouts throughout to provide insight on key parts of the files. Refer to Chapter 6 for more information regarding the actions, triggers, commands, services, and service options used in init.rc files.

2.3/Gingerbread’s default init.rc

on early-init 1
    start ueventd

on init 2

sysclktz 0

loglevel 3

# setup the global environment 3 export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin export LD_LIBRARY_PATH /vendor/lib:/system/lib export ANDROID_BOOTLOGO 1 export ANDROID_ROOT /system export ANDROID_ASSETS /system/app export ANDROID_DATA /data export EXTERNAL_STORAGE /mnt/sdcard export ASEC_MOUNTPOINT /mnt/asec export LOOP_MOUNTPOINT /mnt/obb export BOOTCLASSPATH /system/framework/core.jar:/system/framework/bouncycast le.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framewo ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Embedded Android N Programming

Learning Embedded Android N Programming

Ivan Morgillo, Stefano Viola
Learning Android, 2nd Edition

Learning Android, 2nd Edition

Marko Gargenta, Masumi Nakamura
Android High Performance Programming

Android High Performance Programming

Enrique López Mañas, Diego Grancini

Publisher Resources

ISBN: 9781449327958Errata Page