huhka_com

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

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