Home | History | Annotate | Download | only in vbox_x86
      1 on 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 (a] hosteddomain.org:password
     31 #   setprop ro.config.google_account username (a] 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 
     38 service goldfish-setup /system/etc/init.goldfish.sh
     39    oneshot
     40 
     41 service qemud /system/bin/qemud
     42     socket qemud    stream 666
     43     oneshot
     44 
     45 # -Q is a special logcat option that forces the
     46 # program to check wether it runs on the emulator
     47 # if it does, it redirects its output to the device
     48 # named by the androidboot.console kernel option
     49 # if not, is simply exit immediately
     50 
     51 service goldfish-logcat /system/bin/logcat -Q
     52     oneshot
     53