huhka_com

Arrows Tab LTE F-01D build:V08R31A maker_cmd.rc

Sep 30th, 2012
310
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on early-init
  2. # Set init and its forked children's oom_adj.
  3. write /proc/1/oom_adj -16
  4.  
  5. start ueventd
  6.  
  7. # create mountpoints
  8. mkdir /mnt 0775 root system
  9.  
  10. on init
  11.  
  12. sysclktz 0
  13.  
  14. loglevel 3
  15.  
  16. # setup the global environment
  17. export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
  18. export LD_LIBRARY_PATH /vendor/lib:/system/lib
  19. export ANDROID_BOOTLOGO 1
  20. export ANDROID_ROOT /system
  21. export ANDROID_ASSETS /system/app
  22. export ANDROID_DATA /data
  23. export ASEC_MOUNTPOINT /mnt/asec
  24. export LOOP_MOUNTPOINT /mnt/obb
  25. export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar
  26. # FUJITSU:2012-06-25_[N]-12-1ST-GEN_GEN-121-SDCA-SPEC-001_SPEC-GEN_ADD-S
  27. export INTERNAL_STORAGE /mnt/sdcard
  28. export EXTERNAL_STORAGE /mnt/sdcard/external_sd
  29. export EXTERNAL_BUILDIN_STORAGE /mnt/sdcard
  30. # FUJITSU:2012-01-20_[N]-12-1ST-GEN_GEN-121-SDCA-SPEC-001_SPEC-GEN_ADD-S
  31. export EXTERNAL_SD_STORAGE /mnt/sdcard/external_sd
  32. export EXTERNAL_USB_STORAGE /mnt/sdcard/external_usb
  33. # FUJITSU:2012-01-20_[N]-12-1ST-GEN_GEN-121-SDCA-SPEC-001_SPEC-GEN_ADD-E
  34. # FUJITSU:2012-06-25_[N]-12-1ST-GEN_GEN-121-SDCA-SPEC-001_SPEC-GEN_ADD-E
  35.  
  36. # Makermode flag
  37. export FJ_MAKERMODE 1
  38.  
  39. # Backward compatibility
  40. symlink /system/etc /etc
  41. symlink /sys/kernel/debug /d
  42.  
  43. # Right now vendor lives on the same filesystem as system,
  44. # but someday that may change.
  45. symlink /system/vendor /vendor
  46.  
  47. # Create cgroup mount point for cpu accounting
  48. mkdir /acct
  49. mount cgroup none /acct cpuacct
  50. mkdir /acct/uid
  51.  
  52. # Create sst mount point************(new add)************
  53. # FUJITSU:2011-08-31 sst mount point creation start
  54. mkdir /sst 0660 root root
  55. # FUJITSU:2011-08-31 sst mount point creation end
  56.  
  57. # mkdir /system
  58. mkdir /data 0771 system system
  59. mkdir /cache 0770 system cache
  60. mkdir /config 0500 root root
  61.  
  62. # Directory for putting things only root should see.
  63. mkdir /mnt/secure 0700 root root
  64.  
  65. # Directory for staging bindmounts
  66. mkdir /mnt/secure/staging 0700 root root
  67.  
  68. # Directory-target for where the secure container
  69. # imagefile directory will be bind-mounted
  70. mkdir /mnt/secure/asec 0700 root root
  71.  
  72. # Secure container public mount points.
  73. mkdir /mnt/asec 0700 root system
  74. mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
  75.  
  76. # Filesystem image public mount points.
  77. mkdir /mnt/obb 0700 root system
  78. mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000
  79.  
  80. write /proc/sys/kernel/panic_on_oops 1
  81. write /proc/sys/kernel/hung_task_timeout_secs 0
  82. write /proc/cpu/alignment 4
  83. write /proc/sys/kernel/sched_latency_ns 10000000
  84. write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
  85. write /proc/sys/kernel/sched_compat_yield 1
  86. write /proc/sys/kernel/sched_child_runs_first 0
  87. write /proc/sys/kernel/randomize_va_space 2
  88.  
  89. # Create cgroup mount points for process groups
  90. mkdir /dev/cpuctl
  91. mount cgroup none /dev/cpuctl cpu
  92. chown system system /dev/cpuctl
  93. chown system system /dev/cpuctl/tasks
  94. chmod 0777 /dev/cpuctl/tasks
  95. write /dev/cpuctl/cpu.shares 1024
  96.  
  97. mkdir /dev/cpuctl/fg_boost
  98. chown system system /dev/cpuctl/fg_boost/tasks
  99. chmod 0777 /dev/cpuctl/fg_boost/tasks
  100. write /dev/cpuctl/fg_boost/cpu.shares 1024
  101.  
  102. mkdir /dev/cpuctl/bg_non_interactive
  103. chown system system /dev/cpuctl/bg_non_interactive/tasks
  104. chmod 0777 /dev/cpuctl/bg_non_interactive/tasks
  105. # 5.0 %
  106. write /dev/cpuctl/bg_non_interactive/cpu.shares 52
  107.  
  108. # Allow everybody to read the xt_qtaguid resource tracking misc dev.
  109. # This is needed by any process that uses socket tagging.
  110. chmod 0644 /dev/xt_qtaguid
  111.  
  112. on fs
  113. # mount mtd partitions
  114. # Mount /system rw first to give the filesystem a chance to save a checkpoint
  115. mount yaffs2 mtd@system /system
  116. mount yaffs2 mtd@system /system ro remount
  117. mount yaffs2 mtd@userdata /data nosuid nodev
  118. mount yaffs2 mtd@cache /cache nosuid nodev
  119.  
  120. on post-fs
  121. # once everything is setup, no need to modify /
  122. mount rootfs rootfs / ro remount
  123.  
  124. # We chown/chmod /cache again so because mount is run as root + defaults
  125. chown system cache /cache
  126. chmod 0770 /cache
  127.  
  128. # This may have been created by the recovery system with odd permissions
  129. chown system cache /cache/recovery
  130. chmod 0770 /cache/recovery
  131.  
  132. # __TS3000_VIB__ start
  133. # Begin Immersion changes
  134. # TouchSense Kernel Module
  135. insmod /system/lib/kmodules/tspdrv.ko
  136. # End Immersion changes
  137. # __TS3000_VIB__ end
  138.  
  139. #change permissions on vmallocinfo so we can grab it from bugreports
  140. chown root log /proc/vmallocinfo
  141. chmod 0440 /proc/vmallocinfo
  142.  
  143. #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
  144. chown root system /proc/kmsg
  145. chmod 0440 /proc/kmsg
  146. chown root system /proc/sysrq-trigger
  147. chmod 0220 /proc/sysrq-trigger
  148.  
  149. # create the lost+found directories, so as to enforce our permissions
  150. mkdir /cache/lost+found 0770 root root
  151.  
  152. # FUJITSU:2012-06-19 SensorHAL add start
  153. mkdir /data/sensors_server 0600 sensor sensor
  154. # FUJITSU:2012-06-19 SensorHAL add end
  155.  
  156. on post-fs-data
  157. # We chown/chmod /data again so because mount is run as root + defaults
  158. chown system system /data
  159. chmod 0771 /data
  160.  
  161. # Create dump dir and collect dumps.
  162. # Do this before we mount cache so eventually we can use cache for
  163. # storing dumps on platforms which do not have a dedicated dump partition.
  164. mkdir /data/dontpanic 0750 root log
  165.  
  166. # Collect apanic data, free resources and re-arm trigger
  167. copy /proc/apanic_console /data/dontpanic/apanic_console
  168. chown root log /data/dontpanic/apanic_console
  169. chmod 0640 /data/dontpanic/apanic_console
  170.  
  171. copy /proc/apanic_threads /data/dontpanic/apanic_threads
  172. chown root log /data/dontpanic/apanic_threads
  173. chmod 0640 /data/dontpanic/apanic_threads
  174.  
  175. write /proc/apanic_console 1
  176.  
  177. # create basic filesystem structure
  178. mkdir /data/misc 01771 system misc
  179. mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth
  180. mkdir /data/misc/bluetooth 0770 system system
  181. mkdir /data/misc/keystore 0700 keystore keystore
  182. mkdir /data/misc/keychain 0771 system system
  183. mkdir /data/misc/vpn 0770 system vpn
  184. mkdir /data/misc/systemkeys 0700 system system
  185. # give system access to wpa_supplicant.conf for backup and restore
  186. mkdir /data/misc/wifi 0770 wifi wifi
  187. chmod 0660 /data/misc/wifi/wpa_supplicant.conf
  188. mkdir /data/local 0771 shell shell
  189. mkdir /data/local/tmp 0771 shell shell
  190. mkdir /data/data 0771 system system
  191. mkdir /data/app-private 0771 system system
  192. mkdir /data/app 0771 system system
  193. mkdir /data/property 0700 root root
  194.  
  195. # create dalvik-cache, so as to enforce our permissions
  196. mkdir /data/dalvik-cache 0771 system system
  197.  
  198. # create resource-cache and double-check the perms
  199. mkdir /data/resource-cache 0771 system system
  200. chown system system /data/resource-cache
  201. chmod 0771 /data/resource-cache
  202.  
  203. # create the lost+found directories, so as to enforce our permissions
  204. mkdir /data/lost+found 0770 root root
  205.  
  206. # create directory for DRM plug-ins
  207. mkdir /data/drm 0774 drm drm
  208.  
  209. #/* FUJITSU:2012-02-21 FICS add start */
  210. mkdir /data/fics 0777 system media
  211. mkdir /data/fics/dev 0777 system media
  212. #/* FUJITSU:2012-02-21 FICS add end */
  213. # FUJITSU:2012-05-21 DTV add start
  214. mkdir /data/fics/fics_c_fake
  215. # FUJITSU:2012-05-21 DTV add end
  216.  
  217. # If there is no fs-post-data action in the init.<device>.rc file, you
  218. # must uncomment this line, otherwise encrypted filesystems
  219. # won't work.
  220. # Set indication (checked by vold) that we have finished this action
  221. #setprop vold.post_fs_data_done 1
  222.  
  223. chown system system /sys/class/android_usb/android0/f_mass_storage/lun/file
  224. chmod 0660 /sys/class/android_usb/android0/f_mass_storage/lun/file
  225. chown system system /sys/class/android_usb/android0/f_rndis/ethaddr
  226. chmod 0660 /sys/class/android_usb/android0/f_rndis/ethaddr
  227.  
  228. on boot
  229. # basic network init
  230. ifup lo
  231. hostname localhost
  232. domainname localdomain
  233.  
  234. # set RLIMIT_NICE to allow priorities from 19 to -20
  235. setrlimit 13 40 40
  236.  
  237. # Memory management. Basic kernel parameters, and allow the high
  238. # level system server to be able to adjust the kernel OOM driver
  239. # paramters to match how it is managing things.
  240. write /proc/sys/vm/overcommit_memory 1
  241. write /proc/sys/vm/min_free_order_shift 4
  242. chown root system /sys/module/lowmemorykiller/parameters/adj
  243. chmod 0664 /sys/module/lowmemorykiller/parameters/adj
  244. chown root system /sys/module/lowmemorykiller/parameters/minfree
  245. chmod 0664 /sys/module/lowmemorykiller/parameters/minfree
  246.  
  247. # Tweak background writeout
  248. write /proc/sys/vm/dirty_expire_centisecs 200
  249. write /proc/sys/vm/dirty_background_ratio 5
  250.  
  251. # FUJITSU:2012-03-13_12-1ND-D_TCP-TIMESTAMP-DISABLED_SPEC-D_ADD-S
  252. # IP Settings Change
  253. write /proc/sys/net/ipv4/tcp_timestamps 0
  254. # FUJITSU:2012-03-13_12-1ND-D_TCP-TIMESTAMP-DISABLED_SPEC-D_ADD-E
  255.  
  256. # Permissions for System Server and daemons.
  257. chown radio system /sys/android_power/state
  258. chown radio system /sys/android_power/request_state
  259. chown radio system /sys/android_power/acquire_full_wake_lock
  260. chown radio system /sys/android_power/acquire_partial_wake_lock
  261. chown radio system /sys/android_power/release_wake_lock
  262. chown radio system /sys/power/state
  263. chown radio system /sys/power/wake_lock
  264. chown radio system /sys/power/wake_unlock
  265. chmod 0660 /sys/power/state
  266. chmod 0660 /sys/power/wake_lock
  267. chmod 0660 /sys/power/wake_unlock
  268. chmod 0666 /dev/watchdog
  269. chown system system /sys/class/timed_output/vibrator/enable
  270. chown system system /sys/class/leds/keyboard-backlight/brightness
  271. chown system system /sys/class/leds/lcd-backlight/brightness
  272. chown system system /sys/class/leds/button-backlight/brightness
  273. chown system system /sys/class/leds/jogball-backlight/brightness
  274. chown system system /sys/class/leds/red/brightness
  275. chown system system /sys/class/leds/green/brightness
  276. chown system system /sys/class/leds/blue/brightness
  277. chown system system /sys/class/leds/red/device/grpfreq
  278. chown system system /sys/class/leds/red/device/grppwm
  279. chown system system /sys/class/leds/red/device/blink
  280. chown system system /sys/class/leds/red/brightness
  281. chown system system /sys/class/leds/green/brightness
  282. chown system system /sys/class/leds/blue/brightness
  283. chown system system /sys/class/leds/red/device/grpfreq
  284. chown system system /sys/class/leds/red/device/grppwm
  285. chown system system /sys/class/leds/red/device/blink
  286. chown system system /sys/class/leds/battery/brightness
  287. chown system system /sys/class/leds/battery/blink
  288. chown system system /sys/class/leds/battery/cycle
  289. chown system system /sys/class/leds/battery/on_time
  290. chown system system /sys/class/timed_output/vibrator/enable
  291. chown system system /sys/module/sco/parameters/disable_esco
  292. chown system system /sys/kernel/ipv4/tcp_wmem_min
  293. chown system system /sys/kernel/ipv4/tcp_wmem_def
  294. chown system system /sys/kernel/ipv4/tcp_wmem_max
  295. chown system system /sys/kernel/ipv4/tcp_rmem_min
  296. chown system system /sys/kernel/ipv4/tcp_rmem_def
  297. chown system system /sys/kernel/ipv4/tcp_rmem_max
  298. chown root radio /proc/cmdline
  299.  
  300. # Felica start
  301. symlink /dev/ttyO3 /dev/felica
  302. # Felica end
  303.  
  304. # Define TCP buffer sizes for various networks
  305. # ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
  306. setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208
  307. setprop net.tcp.buffersize.wifi 524288,1048576,2097152,262144,524288,1048576
  308. setprop net.tcp.buffersize.lte 524288,1048576,2097152,262144,524288,1048576
  309. setprop net.tcp.buffersize.umts 4094,87380,110208,4096,16384,110208
  310. setprop net.tcp.buffersize.hspa 4094,87380,262144,4096,16384,262144
  311. # FUJITSU:2012-02-07_12-1ST-GEN_TCP-WINDOW-SIZE_SPEC-GEN_ADD-S
  312. setprop net.tcp.buffersize.hsupa 4094,87380,262144,4096,16384,262144
  313. setprop net.tcp.buffersize.hsdpa 4094,87380,262144,4096,16384,262144
  314. # FUJITSU:2012-02-07_12-1ST-GEN_TCP-WINDOW-SIZE_SPEC-GEN_ADD-E
  315. setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040
  316. setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680
  317.  
  318. # FUJITSU:2012-03-13_12-1ST-D_TCP-WINDOW-SIZE_SPEC-D_ADD-S
  319. # LTE enable
  320. write /proc/sys/net/core/rmem_max 1048576
  321. write /proc/sys/net/core/wmem_max 524288
  322. # LTE disable
  323. # write /proc/sys/net/core/rmem_max 131072
  324. # write /proc/sys/net/core/wmem_max 131072
  325. # FUJITSU:2012-03-13_12-1ST-D_TCP-WINDOW-SIZE_SPEC-D_ADD-E
  326.  
  327. # FUJITSU:2012-03-13_11-2ND-D_BAC-SYSTEM2-0408_BUGFIX-D_ADD-S
  328. write /proc/sys/net/ipv6/conf/all/disable_ipv6 1
  329. # FUJITSU:2012-03-13_11-2ND-D_BAC-SYSTEM2-0408_BUGFIX-D_ADD-E
  330.  
  331. # Set this property so surfaceflinger is not started by system_init
  332. setprop system_init.startsurfaceflinger 0
  333.  
  334. class_start core
  335. class_start main
  336.  
  337. #FUJITSU:2012-01-31 NewPreinRestore start
  338. service preinrestore /system/vendor/bin/init_preinrestore.sh
  339. class main
  340. user system
  341. group system
  342. oneshot
  343. #FUJITSU:2012-01-31 NewPreinRestore end
  344.  
  345.  
  346. on nonencrypted
  347. class_start late_start
  348.  
  349. on charger
  350. class_start charger
  351.  
  352. on property:vold.decrypt=trigger_reset_main
  353. class_reset main
  354.  
  355. on property:vold.decrypt=trigger_load_persist_props
  356. load_persist_props
  357.  
  358. on property:vold.decrypt=trigger_post_fs_data
  359. trigger post-fs-data
  360.  
  361. on property:vold.decrypt=trigger_restart_min_framework
  362. class_start main
  363.  
  364. on property:vold.decrypt=trigger_restart_framework
  365. class_start main
  366. class_start late_start
  367.  
  368. on property:vold.decrypt=trigger_shutdown_framework
  369. class_reset late_start
  370. class_reset main
  371.  
  372. # Used to disable USB when switching states
  373. on property:sys.usb.config=none
  374. stop adbd
  375. write /sys/class/android_usb/android0/enable 0
  376. write /sys/class/android_usb/android0/bDeviceClass 0
  377. setprop sys.usb.state $sys.usb.config
  378.  
  379. # adb only USB configuration
  380. # This should only be used during device bringup
  381. # and as a fallback if the USB manager fails to set a standard configuration
  382. on property:sys.usb.config=adb
  383. write /sys/class/android_usb/android0/enable 0
  384. write /sys/class/android_usb/android0/idVendor 18d1
  385. write /sys/class/android_usb/android0/idProduct D002
  386. write /sys/class/android_usb/android0/functions $sys.usb.config
  387. write /sys/class/android_usb/android0/enable 1
  388. start adbd
  389. setprop sys.usb.state $sys.usb.config
  390.  
  391. # USB accessory configuration
  392. on property:sys.usb.config=accessory
  393. write /sys/class/android_usb/android0/enable 0
  394. write /sys/class/android_usb/android0/idVendor 18d1
  395. write /sys/class/android_usb/android0/idProduct 2d00
  396. write /sys/class/android_usb/android0/functions $sys.usb.config
  397. write /sys/class/android_usb/android0/enable 1
  398. setprop sys.usb.state $sys.usb.config
  399.  
  400. # USB accessory configuration, with adb
  401. on property:sys.usb.config=accessory,adb
  402. write /sys/class/android_usb/android0/enable 0
  403. write /sys/class/android_usb/android0/idVendor 18d1
  404. write /sys/class/android_usb/android0/idProduct 2d01
  405. write /sys/class/android_usb/android0/functions $sys.usb.config
  406. write /sys/class/android_usb/android0/enable 1
  407. start adbd
  408. setprop sys.usb.state $sys.usb.config
  409.  
  410. # Used to set USB configuration at boot and to switch the configuration
  411. # when changing the default configuration
  412. on property:persist.sys.usb.config=*
  413. setprop sys.usb.config $persist.sys.usb.config
  414.  
  415. # FUJITSU:2012-01-20_[N]-12-1ST-GEN_GEN-121-SDCA-SPEC-001_SPEC-GEN_ADD-S
  416. # Storage Configuration
  417. # SD_ONLY : /mnt/sdcard(SD)
  418. # BUILTIN_SD: /mnt/sdcard(eMMC), /mnt/sdcard/external_sd(SD)
  419. # FUSE_SD : fuse, /mnt/sdcard/external_sd(SD)
  420. setprop ro.STORAGE_CONFIG_TYPE BUILTIN_SD
  421.  
  422. # USB Host support
  423. # TRUE : USB Host storage supported.
  424. # FALSE : USB Host storage not supported.
  425. setprop ro.USB_HOST_STORAGE_SUPPORTED TRUE
  426. # FUJITSU:2012-01-20_[N]-12-1ST-GEN_GEN-121-SDCA-SPEC-001_SPEC-GEN_ADD-E
  427.  
  428. ## Daemon processes to be run by init.
  429. ##
  430. # FUJITSU 2012-05-21 logger ADD START
  431. # kmsg transporter
  432. service log_kmsg /system/bin/logwrapper cat /proc/kmsg
  433. class core
  434. oneshot
  435. # FUJITSU 2012-05-21 logger ADD END
  436.  
  437. service ueventd /sbin/ueventd
  438. class core
  439. critical
  440.  
  441. service console /system/bin/sh
  442. class core
  443. console
  444. user root
  445. group log
  446.  
  447. # adbd is controlled via property triggers in init.<platform>.usb.rc
  448. service adbd /sbin/adbd
  449. class core
  450. disabled
  451.  
  452. # adbd on at boot in emulator
  453. on property:ro.kernel.qemu=1
  454. start adbd
  455.  
  456. # This property trigger has added to imitiate the previous behavior of "adb root".
  457. # The adb gadget driver used to reset the USB bus when the adbd daemon exited,
  458. # and the host side adb relied on this behavior to force it to reconnect with the
  459. # new adbd instance after init relaunches it. So now we force the USB bus to reset
  460. # here when adbd sets the service.adb.root property to 1. We also restart adbd here
  461. # rather than waiting for init to notice its death and restarting it so the timing
  462. # of USB resetting and adb restarting more closely matches the previous behavior.
  463. on property:service.adb.root=1
  464. write /sys/class/android_usb/android0/enable 0
  465. restart adbd
  466. write /sys/class/android_usb/android0/enable 1
  467.  
  468. service servicemanager /system/bin/servicemanager
  469. class core
  470. user system
  471. group system
  472. critical
  473. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_DEL-S
  474. # onrestart restart zygote
  475. # onrestart restart media
  476. # onrestart restart surfaceflinger
  477. # onrestart restart drm
  478. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_DEL-E
  479. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_ADD-S
  480. onrestart restart all_reset
  481. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_ADD-E
  482.  
  483. service vold /system/bin/vold
  484. class core
  485. socket vold stream 0660 root mount
  486. ioprio be 2
  487.  
  488. service netd /system/bin/netd
  489. class main
  490. socket netd stream 0660 root system
  491. socket dnsproxyd stream 0660 root inet
  492.  
  493. service debuggerd /system/bin/debuggerd
  494. class main
  495.  
  496. #service omp-daemon /system/bin/ompd
  497. # class late_start
  498.  
  499. #service ril-daemon /system/bin/rild
  500. # class main
  501. # socket rild stream 660 root radio
  502. # socket rild-debug stream 660 radio system
  503. # user root
  504. # group radio cache inet misc audio sdcard_rw log
  505.  
  506. #service ril-daemon /system/bin/rild -l /system/lib/libril-fj-4.so -- -d /dev/ttyS0
  507. # class late_start
  508. # socket rild stream 660 root radio
  509. # socket rild-debug stream 660 radio system
  510. # socket rild-extif stream 666 root radio
  511. # user root
  512. # group radio cache inet misc audio sdcard_rw log
  513. # oneshot
  514.  
  515. service surfaceflinger /system/bin/surfaceflinger
  516. class main
  517. user system
  518. group graphics
  519. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_DEL-S
  520. # onrestart restart zygote
  521. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_DEL-E
  522. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_ADD-S
  523. onrestart restart all_reset
  524. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_ADD-E
  525.  
  526. service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
  527. class main
  528. socket zygote stream 660 root system
  529. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_DEL-S
  530. # onrestart write /sys/android_power/request_state wake
  531. # onrestart write /sys/power/state on
  532. # onrestart restart media
  533. # onrestart restart netd
  534. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_DEL-E
  535. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_ADD-S
  536. onrestart restart all_reset
  537. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_ADD-E
  538.  
  539. service drm /system/bin/drmserver
  540. class main
  541. user drm
  542. group system inet drmrpc
  543.  
  544. service media /system/bin/mediaserver
  545. class main
  546. user media
  547. group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc
  548. ioprio rt 4
  549.  
  550. service bootanim /system/bin/bootanimation
  551. class main
  552. user graphics
  553. group graphics
  554. disabled
  555. oneshot
  556.  
  557. service dbus /system/bin/dbus-daemon --system --nofork
  558. class main
  559. socket dbus stream 660 bluetooth bluetooth
  560. user bluetooth
  561. group bluetooth net_bt_admin
  562.  
  563. service bluetoothd /system/bin/logwrapper /system/bin/bluetoothd -n -d
  564. class main
  565. socket bluetooth stream 660 bluetooth bluetooth
  566. socket dbus_bluetooth stream 660 bluetooth bluetooth
  567. # init.rc does not yet support applying capabilities, so run as root and
  568. # let bluetoothd drop uid to bluetooth with the right linux capabilities
  569. group bluetooth net_bt_admin misc
  570. disabled
  571.  
  572. service installd /system/bin/installd
  573. class main
  574. socket installd stream 600 system system
  575.  
  576. service flash_recovery /system/etc/install-recovery.sh
  577. class main
  578. oneshot
  579.  
  580. service racoon /system/bin/racoon
  581. class main
  582. socket racoon stream 600 system system
  583. # IKE uses UDP port 500. Racoon will setuid to vpn after binding the port.
  584. group vpn net_admin inet
  585. disabled
  586. oneshot
  587.  
  588. service mtpd /system/bin/mtpd
  589. class main
  590. socket mtpd stream 600 system system
  591. user vpn
  592. group vpn net_admin inet net_raw
  593. disabled
  594. oneshot
  595.  
  596. service keystore /system/bin/keystore /data/misc/keystore
  597. class main
  598. user keystore
  599. group keystore
  600. socket keystore stream 666
  601.  
  602. service dumpstate /system/bin/dumpstate -s
  603. class main
  604. socket dumpstate stream 0660 shell log
  605. disabled
  606. oneshot
  607.  
  608. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_ADD-S
  609. service all_reset /system/bin/reboot warm
  610. user root
  611. disabled
  612. oneshot
  613. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0036_BUGFIX-GEN_ADD-E
  614.  
  615. # FUJITSU:2011-08-27 Start SMC Service ADD START
  616. ###################################################
  617. # MSHIELD SMC Daemon - component required to store persistent data coming
  618. # from the SMC PA to the device persistent storage
  619. ###################################################
  620. service tf_daemon /system/bin/tf_daemon \
  621. -d -c /system/bin/smc_normal_world_android_cfg.ini
  622. class core
  623. user root
  624. group root
  625. disabled
  626.  
  627. ###################################################
  628. # MSHIELD SMC PA Control - installs the SMC PA into the Secure Environment
  629. ###################################################
  630. service smc_pa /system/bin/smc_pa_ctrl \
  631. -c /system/bin/smc_normal_world_android_cfg.ini \
  632. start /system/vendor/firmware/smc_pa_2.ift
  633. class core
  634. user root
  635. group root
  636. oneshot
  637.  
  638. on property:init.svc.smc_pa=stopped
  639. start tf_daemon
  640. # FUJITSU:2011-08-27 Start SMC Service ADD END
  641. # FUJITSU:2012-02-21 FICS add start
  642. #---------------------------------------------
  643. service FICSD /system/bin/ficsd
  644. user system
  645. group root media
  646. disabled
  647.  
  648. service provd /system/bin/provd
  649. user system
  650. group root media
  651. disabled
  652.  
  653. on property:log.smc_boot=booted
  654. start FICSD
  655.  
  656. on property:log.smc_boot=booted
  657. start provd
  658.  
  659. #---------------------------------------------
  660. # FUJITSU:2012-02-21 FICS add end
  661.  
  662. service sensors_server /system/bin/sensors_server
  663. class main
  664. # FUJITSU:2012-06-19 SensorHAL add start
  665. user sensor
  666. group sensor input sdcard_rw system
  667. # FUJITSU:2012-06-19 SensorHAL add end
  668.  
  669. # FUJITSU:2012-04-25 add start
  670. service makercmd /sbin/makercmd
  671. class main
  672. user root
  673. oneshot
  674. # FUJITSU:2012-04-25 add end
RAW Paste Data