1 2on early-init 3 mount debugfs debugfs /sys/kernel/debug 4 5on init 6 # Support legacy paths 7 symlink /sdcard /mnt/sdcard 8 9 # By default, primary storage is physical 10 setprop ro.vold.primary_physical 1 11 12on boot 13 setprop ARGH ARGH 14 setprop net.eth0.gw 10.0.2.2 15 setprop net.eth0.dns1 10.0.2.3 16 setprop net.dns1 10.0.2.3 17 setprop net.gprs.local-ip 10.0.2.15 18 setprop ro.radio.use-ppp no 19 setprop ro.build.product generic 20 setprop ro.product.device generic 21 22# fake some battery state 23 setprop status.battery.state Slow 24 setprop status.battery.level 5 25 setprop status.battery.level_raw 50 26 setprop status.battery.level_scale 9 27 28# disable some daemons the emulator doesn't want 29 stop dund 30 stop akmd 31 32# start essential services 33 start qemud 34 start goldfish-logcat 35 start goldfish-setup 36 37 setprop ro.setupwizard.mode EMULATOR 38 39# enable Google-specific location features, 40# like NetworkLocationProvider and LocationCollector 41 setprop ro.com.google.locationfeatures 1 42 43# For the emulator, which bypasses Setup Wizard, you can specify 44# account info for the device via these two properties. Google 45# Login Service will insert these accounts into the database when 46# it is created (ie, after a data wipe). 47# 48# setprop ro.config.hosted_account username@hosteddomain.org:password 49# setprop ro.config.google_account username@gmail.com:password 50# 51# You MUST have a Google account on the device, and you MAY 52# additionally have a hosted account. No other configuration is 53# supported, and arbitrary breakage may result if you specify 54# something else. 55 56on fs 57 mount_all /fstab.goldfish 58 59service goldfish-setup /system/etc/init.goldfish.sh 60 user root 61 group root 62 oneshot 63 64# The qemu-props program is used to set various system 65# properties on boot. It must be run early during the boot 66# process to avoid race conditions with other daemons that 67# might read them (e.g. surface flinger), so define it in 68# class 'core' 69# 70service qemu-props /system/bin/qemu-props 71 class core 72 user root 73 group root 74 oneshot 75 76service qemud /system/bin/qemud 77 socket qemud stream 666 78 oneshot 79 80# -Q is a special logcat option that forces the 81# program to check wether it runs on the emulator 82# if it does, it redirects its output to the device 83# named by the androidboot.console kernel option 84# if not, is simply exits immediately 85 86service goldfish-logcat /system/bin/logcat -Q 87 oneshot 88 89service fingerprintd /system/bin/fingerprintd 90 class late_start 91 user system 92