• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1on fs
2    mount_all /fstab.ranchu
3
4on early-init
5    mount debugfs debugfs /sys/kernel/debug
6
7on init
8    # See storage config details at http://source.android.com/tech/storage/
9    mkdir /storage/sdcard 0555 root root
10
11    # Support legacy paths
12    #symlink /storage/sdcard /sdcard
13    #symlink /storage/sdcard /mnt/sdcard
14
15    symlink /dev/goldfish_pipe /dev/android_pipe
16    symlink /dev/goldfish_pipe /dev/qemu_pipe
17
18on boot
19    setprop net.eth0.gw 10.0.2.2
20    setprop net.eth0.dns1 10.0.2.3
21    setprop net.gprs.local-ip 10.0.2.15
22    setprop ro.radio.use-ppp no
23    setprop ro.build.product generic
24    setprop ro.product.device generic
25
26# fake some battery state
27    setprop status.battery.state Slow
28    setprop status.battery.level 5
29    setprop status.battery.level_raw  50
30    setprop status.battery.level_scale 9
31
32# Disable GPU support
33    setprop ro.kernel.qemu 1
34    setprop ro.kernel.qemu.gles 0
35    symlink /system/lib64/hw/gralloc.default.aosp.so /system/lib64/hw/gralloc.default.so
36
37# disable RenderScript
38    setprop config.disable_renderscript 1
39
40# disable some daemons the emulator doesn't want
41    stop dund
42    stop akmd
43
44# enable dhcpcd on eth0 interface
45service dhcpcd_eth0 /system/bin/dhcpcd -ABDKL
46    class main
47    disabled
48    oneshot
49
50# enable Google-specific location features,
51# like NetworkLocationProvider and LocationCollector
52    setprop ro.com.google.locationfeatures 1
53
54