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