Advertisement
huhka_com

Xperia acro HD (IS12S) init.goldfish.rc (6.1.D.0.170)

Jul 31st, 2012
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. on 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.  
  7. on fs
  8. # mount mtd partitions
  9. # Mount /system rw first to give the filesystem a chance to save a checkpoint
  10. mount yaffs2 mtd@system /system
  11. mount yaffs2 mtd@system /system ro remount
  12. mount yaffs2 mtd@userdata /data nosuid nodev
  13. mount yaffs2 mtd@cache /cache nosuid nodev
  14.  
  15. on boot
  16. setprop ARGH ARGH
  17. setprop net.eth0.gw 10.0.2.2
  18. setprop net.eth0.dns1 10.0.2.3
  19. setprop net.gprs.local-ip 10.0.2.15
  20. setprop ro.radio.use-ppp no
  21. setprop ro.build.product generic
  22. setprop ro.product.device generic
  23.  
  24. # fake some battery state
  25. setprop status.battery.state Slow
  26. setprop status.battery.level 5
  27. setprop status.battery.level_raw 50
  28. setprop status.battery.level_scale 9
  29.  
  30. # disable some daemons the emulator doesn't want
  31. stop dund
  32. stop akmd
  33.  
  34. # start essential services
  35. start qemud
  36. start goldfish-logcat
  37. start goldfish-setup
  38.  
  39. setprop ro.setupwizard.mode EMULATOR
  40.  
  41. # enable Google-specific location features,
  42. # like NetworkLocationProvider and LocationCollector
  43. setprop ro.com.google.locationfeatures 1
  44.  
  45. # For the emulator, which bypasses Setup Wizard, you can specify
  46. # account info for the device via these two properties. Google
  47. # Login Service will insert these accounts into the database when
  48. # it is created (ie, after a data wipe).
  49. #
  50. # setprop ro.config.hosted_account username@hosteddomain.org:password
  51. # setprop ro.config.google_account username@gmail.com:password
  52. #
  53. # You MUST have a Google account on the device, and you MAY
  54. # additionally have a hosted account. No other configuration is
  55. # supported, and arbitrary breakage may result if you specify
  56. # something else.
  57.  
  58. service goldfish-setup /system/etc/init.goldfish.sh
  59. user root
  60. group root
  61. oneshot
  62.  
  63. # The qemu-props program is used to set various system
  64. # properties on boot. It must be run early during the boot
  65. # process to avoid race conditions with other daemons that
  66. # might read them (e.g. surface flinger), so define it in
  67. # class 'core'
  68. #
  69. service qemu-props /system/bin/qemu-props
  70. class core
  71. user root
  72. group root
  73. oneshot
  74.  
  75. service qemud /system/bin/qemud
  76. socket qemud stream 666
  77. oneshot
  78.  
  79. # -Q is a special logcat option that forces the
  80. # program to check wether it runs on the emulator
  81. # if it does, it redirects its output to the device
  82. # named by the androidboot.console kernel option
  83. # if not, is simply exits immediately
  84.  
  85. service goldfish-logcat /system/bin/logcat -Q
  86. oneshot
  87.  
  88. service media /system/bin/mediaserver
  89. class main
  90. user media
  91. group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc
  92. ioprio rt 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement