Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
118 lines (87 sloc) 2.99 KB
on early-init
start ueventd
on init
sysclktz 0
loglevel 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 EXTERNAL_STORAGE2 /mnt/sdcard/external_sd
export USBHOST_STORAGE /mnt/sdcard/usbStorage
export ASEC_MOUNTPOINT /mnt/asec
export LOOP_MOUNTPOINT /mnt/obb
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
export TMPDIR /data/local/tmp
# Backwards Compat - XXX: Going away in G*
symlink /mnt/sdcard /sdcard
symlink /system/etc /etc
mkdir /system
mkdir /data 0771 system system
mkdir /cache 0770 system cache
mkdir /mnt 0775 root system
mkdir /mnt/sdcard 0000 system system
#mount /tmp /tmp tmpfs
on early-fs
# rfs drivers
# insmod /lib/modules/fsr.ko
# insmod /lib/modules/fsr_stl.ko
# insmod /lib/modules/rfs_glue.ko
# insmod /lib/modules/rfs_fat.ko
# parameter block
mkdir /mnt/.lfs 0755 root root
insmod /lib/modules/param.ko
insmod /lib/modules/drop_caches.ko
mkdir /sdcard 0000 system system
chown system system /sdcard
chmod 0000 /sdcard
mkdir /sdcard1 0000 system system
chown system system /sdcard1
chmod 0000 /sdcard1
mkdir /system
mkdir /data 0771 system system
chown system system /data
chmod 0771 /data
mkdir /efs 0771 system system
mkdir /cache 0770 system cache
mkdir /config 0500 root root
chown system cache /cache
chmod 0770 /cache
on fs
mount tmpfs tmpfs /tmp
mount ext4 /dev/block/mmcblk0p9 /system wait
mount ext4 /dev/block/mmcblk0p10 /data nosuid nodev noatime wait
chown system system /data
chmod 0771 /data
mkdir /data/fota
chown system system /data/fota
chmod 0777 /data/fota
#mount rfs /dev/block/stl11 /cache nosuid nodev check=no
mount ext4 /dev/block/mmcblk0p7 /cache nosuid nodev noatime wait
chown system cache /cache
chmod 0770 /cache
mkdir /cache/fota
chown system system /cache/fota
chmod 0777 /cache/fota
#mount rfs /dev/block/stl3 /efs nosuid nodev check=no
on post-fs
#temp
chmod 750 /sbin/fat.format
mount rootfs rootfs / ro remount
write /proc/sys/kernel/panic_on_oops 0
write /proc/sys/kernel/hung_task_timeout_secs 0
write /proc/cpu/alignment 4
# write /proc/sys/kernel/sched_compat_yield 1
write /proc/sys/kernel/sched_child_runs_first 0
on boot
ifup lo
hostname localhost
domainname localdomain
class_start default
service ueventd /sbin/ueventd
critical
service redbend_ua /sbin/redbend_ua all
oneshot