1 import /init.bluetooth.rc
2 import /init.superuser.rc
5 write /proc/sys/kernel/ctrl-alt-del 1
7 write /sys/module/xt_qtaguid/parameters/ctrl_write_limited N
9 export force_s3tc_enable true
10 export EGL_LOG_LEVEL info
11 # export EGL_DRIVERS egl_dri2
14 symlink /sdcard /mnt/sdcard
15 symlink /sdcard /storage/sdcard0
17 # Backward compatibility
18 symlink system/lib /lib
21 mount_all /fstab.${ro.hardware}
24 exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh
27 mkdir /data/misc/wifi 0770 wifi wifi
28 mkdir /data/misc/wifi/sockets 0770 wifi wifi
29 mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
30 mkdir /data/misc/dhcp 0770 dhcp dhcp
31 mkdir /data/system 0775 system system
33 # Set indication (checked by vold) that we have finished this action
34 setprop vold.post_fs_data_done 1
37 setprop ro.radio.use-ppp yes
38 setprop status.battery.state Slow
39 setprop status.battery.level 5
40 setprop status.battery.level_raw 50
41 setprop status.battery.level_scale 9
43 # merge from system.prop
44 setprop ro.config.sync yes
45 setprop app.setupwizard.disable 0
46 setprop ro.alarm.volume.adjustable true
47 setprop ro.simulated.phone false
48 # disable red frame boarder in eng build
49 setprop persist.sys.strictmode.visual 0
50 setprop persist.sys.strictmode.disable 1
51 # workaround for h.265 slowness
52 setprop sys.media.vdec.drop 0
54 service wpa_supplicant /system/bin/wpa_supplicant -c/data/misc/wifi/wpa_supplicant.conf \
56 -O/data/misc/wifi/sockets \
57 -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
58 # we will start as root and wpa_supplicant will switch to user wifi
59 # after setting up the capabilities required for WEXT
61 # group wifi inet keystore
63 socket wpa_wlan0 dgram 660 wifi wifi
66 service dhcpcd_wlan0 /system/bin/dhcpcd -aABDKL
71 service iprenew_wlan0 /system/bin/dhcpcd -n
76 service dhcpcd_eth0 /system/bin/dhcpcd -ABDKL
81 service iprenew_eth0 /system/bin/dhcpcd -n
86 service nativebridge /system/bin/enable_nativebridge
91 service powerbtnd /system/bin/powerbtnd
94 service logcat /system/bin/logcat -v threadtime -f /data/log.txt
97 service btattach /system/bin/btattach -Pbcm
102 service wacom-input /system/bin/wacom-input
106 service tablet-mode /system/bin/tablet-mode
110 on property:init.svc.wpa_supplicant=stopped
113 on property:system_init.startsurfaceflinger=0
114 # disable cursor blinking
115 write /dev/tty0 "
\e[?17;0;0c"
119 on property:sys.boot_completed=1
120 write /proc/sys/kernel/ctrl-alt-del 0
121 exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh bootcomplete
123 on property:init.svc.bluetoothd=running
124 exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh hci
126 on property:init.svc.bluetoothd=stopped
127 exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh hci
129 on property:net.dns1=*
130 exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh netconsole
132 on property:debug.logcat=1
135 on property:persist.sys.nativebridge=1
136 mkdir /data/arm 0775 system system
139 on property:persist.sys.nativebridge=0
142 on property:debug.egl.hw=0
143 setprop ro.kernel.qemu 1