chris41g

Untitled

Jul 26th, 2011
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.41 KB | None | 0 0
  1. ## Daemon processes to be run by init.
  2. ##
  3. service ueventd /sbin/ueventd
  4.     critical
  5.  
  6. service console /system/bin/sh
  7.     console
  8.     user shell
  9.     group shell system log
  10.  
  11. # Samsung USB Mode : system properties are linked with sysfs
  12. # write /sys/class/sec/switch/UsbMenuSel 0
  13. on property:persist.service.usb.setting=0
  14.     write /sys/devices/platform/android_usb/UsbMenuSel 0
  15. on property:persist.service.usb.setting=1
  16.     write /sys/devices/platform/android_usb/UsbMenuSel 1
  17. on property:persist.service.usb.setting=2
  18.     write /sys/devices/platform/android_usb/UsbMenuSel 2
  19. on property:persist.service.usb.setting=3
  20.     write /sys/devices/platform/android_usb/UsbMenuSel 3
  21. on property:persist.service.usb.setting=4
  22.     write /sys/devices/platform/android_usb/UsbMenuSel 4
  23.  
  24. # adbd is controlled by the persist.service.adb.enable system property
  25. service adbd /sbin/adbd
  26.     disabled
  27.  
  28. # adbd on at boot in emulator
  29. on property:ro.kernel.qemu=1
  30.     start adbd
  31.  
  32. on property:persist.service.adb.enable=1
  33.     start adbd
  34.  
  35. on property:persist.service.adb.enable=0
  36.     stop adbd
  37.  
  38. on property:persist.service.slate_mode=1
  39.     write /sys/class/power_supply/battery/slate_test_mode 1
  40.  
  41. on property:persist.service.slate_mode=0
  42.     write /sys/class/power_supply/battery/slate_test_mode 0
  43.  
  44. # 3D init
  45. service pvrsrvinit /system/bin/pvrsrvinit
  46.     user root
  47.     group root
  48.     oneshot
  49.  
  50. service wpa_supplicant /system/bin/wpa_supplicant -Dwext -ieth0 -c/data/wifi/bcm_supp.conf
  51.     socket wpa_eth0 dgram 0660 wifi wifi
  52.     disabled
  53.     oneshot
  54.  
  55. #for WiFi MFG(TestMode)
  56. service mfgloader /system/bin/mfgloader
  57.     disabled
  58.     oneshot
  59.  
  60. #service wlandutservice /system/bin/wlandutservice
  61. #    disabled
  62. #    oneshot
  63.  
  64. service wlservice /system/bin/wlservice
  65.     disabled
  66.     oneshot
  67.    
  68. service macloader /system/bin/macloader
  69.     oneshot
  70. # end of wifi
  71.    
  72.  
  73. service dhcpcd /system/bin/dhcpcd
  74.     disabled
  75.     oneshot
  76.  
  77.  
  78. service servicemanager /system/bin/servicemanager
  79.     user system
  80.     critical
  81.     onrestart restart zygote
  82.     onrestart restart media
  83.  
  84. service vold /system/bin/vold
  85.     socket vold stream 0660 root mount
  86.     socket usbstorage stream 0660 root mount
  87.     ioprio be 2
  88.     socket enc_report stream 0660 root mount
  89.  
  90. service notified_event /system/bin/notified_event
  91.     user system
  92.     group system
  93.     socket notified_event stream 0660 root system
  94.  
  95. service netd /system/bin/netd
  96.     socket netd stream 0660 root system
  97.  
  98. service debuggerd /system/bin/debuggerd
  99.  
  100. service ril-daemon /system/bin/rild
  101.     socket rild stream 660 root radio
  102.     socket rild-debug stream 660 radio system
  103.     user root
  104.     group radio cache inet misc audio sdcard_rw log
  105.    
  106. service mobex-daemon /system/bin/npsmobex
  107.     user system
  108.     group system inet    
  109.    
  110. service DR-deamon /system/bin/drexe
  111.     user root
  112.     group system radio inet net_raw    
  113.  
  114. service pppd_cdma /system/bin/pppd_runner
  115.     user root
  116.     group radio cache inet misc system
  117.     oneshot
  118.  
  119. # Custom Script Configuration
  120. service userscript /system/bin/sh /bin/userscript.sh
  121.     user root
  122.     group system
  123.     critical   
  124.     oneshot
  125.  
  126. service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
  127.     socket zygote stream 666
  128.     onrestart write /sys/android_power/request_state wake
  129.     onrestart write /sys/power/state on
  130.     onrestart restart media
  131.     onrestart restart netd
  132.  
  133. service media /system/bin/mediaserver
  134.     user media
  135.     group system audio camera graphics inet net_bt net_bt_admin net_raw radio
  136.     ioprio rt 4
  137.  
  138. service samsungani /system/bin/samsungani
  139.     user graphics
  140.     group graphics
  141.     disabled
  142.     oneshot
  143.  
  144.  
  145. service playsound /system/bin/playsound
  146.     user media
  147.     group system
  148.     disabled
  149.     oneshot
  150.  
  151. service bootanim /system/bin/bootanimation
  152.     user graphics
  153.     group graphics
  154.     disabled
  155.     oneshot
  156.  
  157. service dbus /system/bin/dbus-daemon --system --nofork
  158.     socket dbus stream 660 bluetooth bluetooth
  159.     user bluetooth
  160.     group bluetooth net_bt_admin
  161.  
  162. # +++++++++++++++++++++++++++++++++++++++++++
  163. # for Broadcom Bluetooth
  164.  # Start BTLD -----------------------------------------
  165. service btld /system/bin/logwrapper /system/bin/btld -hb 3000000 -hp /dev/s3c2410_serial0 -lpm 1
  166.     # init.rc does not yet support applying capabilities, so run as root and
  167.     # let btld drop uid to bluetooth with the right linux capabilities
  168.     group bluetooth net_bt_admin
  169.     disabled
  170.     oneshot
  171.  
  172. service obexd /system/bin/logwrapper /system/bin/obexd
  173.     #socket bluetooth stream 660 bluetooth bluetooth
  174.     #socket dbus_bluetooth stream 660 bluetooth bluetooth
  175.     # init.rc does not yet support applying capabilities, so run as root and
  176.     # let obexd drop uid to bluetooth with the right linux capabilities
  177.     # user root
  178.     group bluetooth net_bt_admin
  179.     disabled
  180.     oneshot
  181.  
  182. service bluetoothd /system/bin/logwrapper /system/bin/bluetoothd -n -d
  183.     socket bluetooth stream 660 bluetooth bluetooth
  184.     socket dbus_bluetooth stream 660 bluetooth bluetooth
  185.     # init.rc does not yet support applying capabilities, so run as root and
  186.     # let bluetoothd drop uid to bluetooth with the right linux capabilities
  187.     group bluetooth net_bt_admin misc
  188.     disabled
  189.  
  190. service hfag /system/bin/sdptool add --channel=10 HFAG
  191.     user bluetooth
  192.     group bluetooth net_bt_admin
  193.     disabled
  194.     oneshot
  195.  
  196. service hsag /system/bin/sdptool add --channel=11 HSAG
  197.     user bluetooth
  198.     group bluetooth net_bt_admin
  199.     disabled
  200.     oneshot
  201.  
  202. service opush /system/bin/sdptool add --channel=12 OPUSH
  203.     user bluetooth
  204.     group bluetooth net_bt_admin
  205.     disabled
  206.     oneshot
  207.  
  208. service pbap /system/bin/sdptool add --channel=19 PBAP
  209.     user bluetooth
  210.     group bluetooth net_bt_admin
  211.     disabled
  212.     oneshot
  213.  
  214. service installd /system/bin/installd
  215.     socket installd stream 600 system system
  216.  
  217. service flash_recovery /system/etc/install-recovery.sh
  218.     oneshot
  219.  
  220. service racoon /system/bin/racoon
  221.     socket racoon stream 600 system system
  222.     # racoon will setuid to vpn after getting necessary resources.
  223.     group net_admin
  224.     disabled
  225.     oneshot
  226.  
  227. service mtpd /system/bin/mtpd
  228.     socket mtpd stream 600 system system
  229.     user vpn
  230.     group vpn net_admin net_raw
  231.     disabled
  232.     oneshot
  233.  
  234. service keystore /system/bin/keystore /data/misc/keystore
  235.     user keystore
  236.     group keystore
  237.     socket keystore stream 666
  238.  
  239. service immvibed /system/bin/immvibed
  240.     user shell
  241.     group shell
  242.     oneshot
  243.  
  244. service dumpstate /system/bin/dumpstate -s
  245.     socket dumpstate stream 0660 shell log
  246.     disabled
  247.     oneshot
  248.  
  249. service orientationd /system/bin/orientationd
  250.     user compass
  251.     group input
  252.  
  253. service geomagneticd /system/bin/geomagneticd
  254.     user compass
  255.     group system input
  256.    
  257. service gps-daemon /system/vendor/bin/gpsd
  258.     user system
  259.     group system inet
  260.  
  261. #end of PCInternet share
  262. # [Yagya for Victory WiMAX DHCP 20100208
  263. service dhcpcd_wimax /system/bin/dhcpcd uwbr0 -ABK
  264.     disabled
  265.     oneshot
  266. # Yagya for Victory WiMAX DHCP 20100208]
  267.  
  268. # Yagya for Victory "sprintpcs.com" realm issue as below.
  269. # wimax cannot send and receive data packet before add route, when subnet mask is 255.255.255.255
  270. service wimax_route /system/bin/route add default dev uwbr0
  271.         disabled
  272.         oneshot
  273.  
  274. # Yagya, for ip renew.
  275. service wimax_renew /system/bin/dhcpcd -n uwbr0
  276.         disabled
  277.         oneshot
  278.  
  279. on property:sys.boot_completed=1
  280. stop bootanim
Advertisement
Add Comment
Please, Sign In to add comment