Home | History | Annotate | Download | only in qemu
      1 on fs
      2         mount_all /fstab.ranchu
      3 
      4 on early-init
      5     mount debugfs debugfs /sys/kernel/debug
      6 
      7 on init
      8     # See storage config details at http://source.android.com/tech/storage/
      9     mkdir /storage/sdcard 0555 root root
     10 
     11     export EXTERNAL_STORAGE /storage/sdcard
     12 
     13     # Support legacy paths
     14     #symlink /storage/sdcard /sdcard
     15     #symlink /storage/sdcard /mnt/sdcard
     16 
     17 on boot
     18     setprop ARGH ARGH
     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 
     36 # disable RenderScript
     37     setprop config.disable_renderscript 1
     38 
     39 # disable some daemons the emulator doesn't want
     40     stop dund
     41     stop akmd
     42 
     43 # enable Google-specific location features,
     44 # like NetworkLocationProvider and LocationCollector
     45     setprop ro.com.google.locationfeatures 1
     46 
     47