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     #symlink /storage/sdcard /sdcard
     14     #symlink /storage/sdcard /mnt/sdcard
     15 
     16 on boot
     17     setprop ARGH ARGH
     18     setprop net.eth0.gw 10.0.2.2
     19     setprop net.eth0.dns1 10.0.2.3
     20     setprop net.gprs.local-ip 10.0.2.15
     21     setprop ro.radio.use-ppp no
     22     setprop ro.build.product generic
     23     setprop ro.product.device generic
     24 
     25 # fake some battery state
     26     setprop status.battery.state Slow
     27     setprop status.battery.level 5
     28     setprop status.battery.level_raw  50
     29     setprop status.battery.level_scale 9
     30 
     31 # Disable GPU support
     32     setprop ro.kernel.qemu 1
     33     setprop ro.kernel.qemu.gles 0
     34 
     35 # disable RenderScript
     36     setprop config.disable_renderscript 1
     37 
     38 # disable some daemons the emulator doesn't want
     39     stop dund
     40     stop akmd
     41 
     42 # enable Google-specific location features,
     43 # like NetworkLocationProvider and LocationCollector
     44     setprop ro.com.google.locationfeatures 1
     45 
     46