blob: 6f3084363d05ddc6e900bee51719b1c6593b2a7f [file] [log] [blame]
Mike Lockwooda2dffa92010-06-15 20:57:59 -07001on early-init
2 export EXTERNAL_STORAGE /mnt/sdcard
3 mkdir /mnt/sdcard 0000 system system
4 # for backwards compatibility
5 symlink /mnt/sdcard /sdcard
6
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08007on boot
8 setprop ARGH ARGH
9 setprop net.eth0.dns1 10.0.2.3
10 setprop net.gprs.local-ip 10.0.2.15
11 setprop ro.radio.use-ppp no
12 setprop ro.build.product generic
13 setprop ro.product.device generic
14
15# fake some battery state
16 setprop status.battery.state Slow
17 setprop status.battery.level 5
18 setprop status.battery.level_raw 50
19 setprop status.battery.level_scale 9
20
21# disable some daemons the emulator doesn't want
22 stop dund
23 stop akmd
24
25 setprop ro.setupwizard.mode EMULATOR
26
27# enable Google-specific location features,
28# like NetworkLocationProvider and LocationCollector
29 setprop ro.com.google.locationfeatures 1
30
31# For the emulator, which bypasses Setup Wizard, you can specify
32# account info for the device via these two properties. Google
33# Login Service will insert these accounts into the database when
34# it is created (ie, after a data wipe).
35#
36# setprop ro.config.hosted_account username@hosteddomain.org:password
37# setprop ro.config.google_account username@gmail.com:password
38#
39# You MUST have a Google account on the device, and you MAY
40# additionally have a hosted account. No other configuration is
41# supported, and arbitrary breakage may result if you specify
42# something else.
43
44service goldfish-setup /system/etc/init.goldfish.sh
45 oneshot
46
47service qemud /system/bin/qemud
The Android Open Source Projectf614d642009-03-18 17:39:49 -070048 socket qemud stream 666
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -080049 oneshot
50
51# -Q is a special logcat option that forces the
52# program to check wether it runs on the emulator
53# if it does, it redirects its output to the device
54# named by the androidboot.console kernel option
55# if not, is simply exit immediately
56
57service goldfish-logcat /system/bin/logcat -Q
58 oneshot