blob: 2a944923396efc6a6b7ae3e5943f52b753a08b17 [file] [log] [blame]
nebkatee1a8392012-11-10 10:36:07 +00001on early-init
2 start ueventd
3
4on init
5 export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
6 export LD_LIBRARY_PATH /vendor/lib:/system/lib
7 export ANDROID_ROOT /system
8 export ANDROID_DATA /data
9 export EXTERNAL_STORAGE /sdcard
10
11 symlink /system/etc /etc
12
13 mkdir /sdcard
14 mkdir /preload
15 mkdir /system
16 mkdir /data
17 mkdir /cache
18 mkdir /efs
19 mkdir /tmp
20 mkdir /dbdata
21 mkdir /mnt 0775 root root
22 #mount /tmp /tmp tmpfs
23
24on early-fs
25 mount ext4 /dev/block/mmcblk0p9 /system ro wait noatime
26 mount ext4 /dev/block/mmcblk0p12 /data wait nosuid nodev noatime discard,noauto_da_alloc,journal_async_commit
27
28 mkdir /data/log 0777
29 chmod 0666 /dev/log/radio
30 chmod 0666 /dev/log/main
31 chmod 0666 /dev/log/event
32
33on boot
34# write /sys/class/sec/switch/usb_sel PDA
35
36# CPU Frequency Governor
37 write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor pegasusq
38
39# EHCI runtime enable for LPA
40 write /sys/devices/platform/s5p-ehci/power/control auto
41
42 ifup lo
43 hostname localhost
44 domainname localdomain
45
46 class_start default
47
48service debuggerd /system/bin/debuggerd
49
50service ueventd /sbin/ueventd
51 critical
52
53service console /system/bin/sh
54 console
55
56service playlpm /system/bin/playlpm
57 user root
58
59service immvibed /system/bin/immvibed
60 oneshot
61
62service lpmkey /system/bin/lpmkey
63 user root
64
65# adbd is controlled by the persist.service.adb.enable system property
66service adbd /sbin/adbd
67 disabled
68
69# adbd on at boot in emulator
70on property:ro.kernel.qemu=1
71 start adbd
72
73on property:persist.service.adb.enable=1
74 start adbd
75
76on property:persist.service.adb.enable=0
77 stop adbd
78