SHARE
TWEET

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

huhka_com Sep 30th, 2012 288 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import init.omap4430.usb.rc
  2.  
  3. on early-init
  4. # FUJITSU:2012-06-25_[N]-12-1ST-GEN_GEN-121-SDCA-SPEC-001_SPEC-GEN_ADD-S
  5.     export INTERNAL_STORAGE /mnt/sdcard
  6.     export EXTERNAL_STORAGE /mnt/sdcard/external_sd
  7.     export EXTERNAL_BUILDIN_STORAGE /mnt/sdcard
  8.     export EXTERNAL_SD_STORAGE /mnt/sdcard/external_sd
  9. # FUJITSU:2012-06-25_[N]-12-1ST-GEN_GEN-121-SDCA-SPEC-001_SPEC-GEN_ADD-E
  10.     mkdir /mnt/sdcard 0000 system system
  11.     # for backwards compatibility
  12.     symlink /mnt/sdcard /sdcard
  13.  
  14. # create Ext SDcard mountpoint
  15.     mkdir /mnt/ext_sdcard 0000 system system
  16.  
  17. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0040_BUGFIX-GEN_ADD-S
  18. on init
  19.     export ANDROID_DNS_MODE local
  20. # FUJITSU:2012-05-17_[P]-11-2ND-GEN_121-8x55-PARTS1-0040_BUGFIX-GEN_ADD-E
  21.  
  22. on post-fs-data
  23.     # we will remap this as /mnt/sdcard with the sdcard fuse tool
  24. # FUJITSU:2012-06-26_[P]-11-2ND-GEN_121-BAC-SYSTEM2-0304_BUGFIX-GEN_DEL-S
  25.     # mkdir /data/media 0775 media_rw media_rw
  26.     # chown media_rw media_rw /data/media
  27. # FUJITSU:2012-06-26_[P]-11-2ND-GEN_121-BAC-SYSTEM2-0304_BUGFIX-GEN_DEL-E
  28.         mkdir /data/smc 0770 drmrpc drmrpc
  29.         chown drmrpc drmrpc /data/smc/counter.bin
  30.         chown drmrpc drmrpc /data/smc/storage.bin
  31.         chown drmrpc drmrpc /data/smc/system.bin
  32.  
  33.         setprop vold.post_fs_data_done 1
  34.  
  35. #Bluetooth
  36.         insmod /system/lib/ti-bluez-ko/bluetooth.ko force_acl_master=1 enable_mgmt=1 enable_le=1
  37.         insmod /system/lib/ti-bluez-ko/rfcomm.ko
  38.         insmod /system/lib/ti-bluez-ko/hidp.ko
  39.         insmod /system/lib/ti-bluez-ko/btwilink.ko
  40.         insmod /system/lib/ti-bluez-ko/bnep.ko
  41. on boot
  42.         mount debugfs /sys/kernel/debug /sys/kernel/debug
  43.         chmod 0666 /dev/pvrsrvkm
  44.         chmod 0444 /system/usr/keychars/omap4-keypad.kcm.bin
  45.         setprop ro.crypto.keyfile.userdata /dev/block/platform/omap/omap_hsmmc.1/by-name/crypto
  46.  
  47. # cpufreq interactive governor: timer 20ms, min sample 20ms, hispeed 800MHz
  48.         write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 20000
  49.         write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 20000
  50.         write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 800000
  51.  
  52. # autosuspend root hubs immediatly after attached devices
  53.         write /sys/bus/usb/devices/usb1/power/autosuspend_delay_ms 0
  54.         write /sys/bus/usb/devices/usb2/power/autosuspend_delay_ms 0
  55.  
  56. # wi-fi
  57.         mkdir /data/misc/wifi/sockets 0770 wifi wifi
  58.         mkdir /data/misc/dhcp 0770 dhcp dhcp
  59.         insmod /system/lib/modules/compat.ko
  60.         insmod /system/lib/modules/cfg80211.ko
  61.         insmod /system/lib/modules/mac80211.ko
  62.         insmod /system/lib/modules/wl12xx.ko debug_level=0x63c00
  63.  
  64. # GPS
  65. # FUJITSU:2012-04-25 GPS start
  66.         mkdir /cache/gps 0771 system system
  67. # FUJITSU:2012-04-25 GPS end
  68.         insmod /system/lib/modules/gps_drv.ko
  69.  
  70. # FUJITSU:2012-07-18 SYSTEM2-0598 add start
  71.     chown media media /data/data/jp.pixela.StationMobile/
  72.     chown media media /data/data/jp.pixela.StationMobile/dtvgreg.grg
  73.     chown media media /data/data/jp.pixela.StationMobile/files/
  74.     chown media media /data/data/jp.pixela.StationMobile/files/0.chlst
  75.     chown media media /data/data/jp.pixela.StationMobile/files/1.chlst
  76.     chown media media /data/data/jp.pixela.StationMobile/files/2.chlst
  77.     chown media media /data/data/jp.pixela.StationMobile/files/TV_Cpro.dat
  78.     chown media media /data/data/jp.pixela.StationMobile/files/TV_CproBookmark.dat
  79.     chown media media /data/data/jp.pixela.StationMobile/files/TV_CproBookmarkInfo.dat
  80.     chown media media /data/data/jp.pixela.StationMobile/shared_prefs/
  81.     chown media media /data/data/jp.pixela.StationMobile/shared_prefs/CORE.xml
  82.     chown media media /data/data/jp.pixela.StationMobile/shared_prefs/SCMST.xml
  83.     chown media media /data/data/jp.pixela.StationMobile/shared_prefs/ReservationList.xml
  84.     chown media media /data/data/jp.pixela.StationMobile/shared_prefs/jp.pixela.StationMobile_preferences.xml
  85. # FUJITSU:2012-07-18 SYSTEM2-0598 add end
  86. # FUJITSU:2012-05-14 Add Partition start
  87. on init
  88.         mkdir /persist2 0771 system system
  89. #on emmc-fs
  90. on fs
  91.         mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/crashdumpapp /persist2 wait noatime nosuid nodev
  92. on post-fs
  93.         chown system radio /persist2
  94.         chmod 0771 /persist2
  95.         mkdir /persist2/Logs 0775 system radio
  96. # FUJITSU:2012-05-14 Add Partition end
  97.  
  98. on fs
  99.         mkdir /factory 0775 radio radio
  100.         mkdir /log 0775 root radio
  101.         mkdir /persist 0771 system system
  102.         mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/system /system wait ro
  103.         setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000
  104.         mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/userdata /data wait noatime nosuid nodev nomblk_io_submit auto_da_alloc
  105.         mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/cache /cache wait noatime nosuid nodev nomblk_io_submit auto_da_alloc
  106.         mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/efs /factory wait ro
  107. # FUJITSU:2012-06-26_[P]-11-2ND-GEN_121-BAC-SYSTEM2-0304_BUGFIX-GEN_DEL-S
  108.         #setprop ro.crypto.fuse_sdcard true
  109. # FUJITSU:2012-06-26_[P]-11-2ND-GEN_121-BAC-SYSTEM2-0304_BUGFIX-GEN_DEL-E
  110.  
  111.         mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/log /log wait noatime nosuid nodev
  112.  
  113. # change permissions for ION driver
  114.     chmod 0777 /dev/ion
  115.  
  116. # We chown/chmod /factory because mount is run as root + defaults
  117.         chown radio radio /factory
  118.         chmod 0775 /factory
  119.  
  120. # FUJITSU:2012-06-22 SYSTEM2-375 DEL-S
  121. # add symlink for HDCP key
  122. #       symlink /factory/hdcp.keys /system/vendor/firmware/hdcp.keys
  123. # FUJITSU:2012-06-22 SYSTEM2-375 DEL-E
  124.  
  125. # change permissions for Sensors
  126.     chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c
  127.     chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c/enable
  128.     chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c/delay
  129.     chown system system /sys/devices/platform/sfh7741.1
  130.     chown system system /sys/devices/platform/sfh7741.1/state
  131.     chown system system /sys/bus/i2c/drivers/bmp085/4-0077
  132.     chown system system /sys/bus/i2c/drivers/bmp085/4-0077/enable
  133.     chown system system /sys/bus/i2c/drivers/hmc5843/4-001e
  134.     chown system system /sys/bus/i2c/drivers/hmc5843/4-001e/enable
  135.     chown system system /sys/bus/i2c/drivers/hmc5843/4-001e/rate
  136.  
  137. # change permissions for USB
  138.     chown system system /sys/devices/platform/omap/musb-omap2430/musb-hdrc/otg_vbus
  139.     chmod 0664 /sys/devices/platform/omap/musb-omap2430/musb-hdrc/otg_vbus
  140.  
  141. # camera calibration - DCC folder permission
  142.     chown media media /data/misc/camera
  143.     chown media media /data/misc/camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43
  144.     chown media media /data/misc/camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42
  145.     chown media media /data/misc/camera/R8_MVEN002_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1042
  146.  
  147. # Change permissions on the governor (this is for debug only)
  148.     write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
  149.     chown system system /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq
  150.     chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq
  151.     write /sys/devices/system/cpu/cpufreq/ondemand/boost 1008000
  152.     write /sys/devices/system/cpu/cpufreq/ondemand/boost_timeout 120000000
  153.     write /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq 1
  154.     chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  155.     chmod 444 /sys/devices/system/cpu/cpu1/online
  156.     chmod 444 /proc/cmdline
  157.  
  158. # change permissions for Bluetooth/FM/GPS
  159. #    chmod 0600 /sys/class/rfkill/rfkill0/state
  160. #    chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
  161.     chmod 0600 /dev/ttyO1
  162.     chown bluetooth bluetooth /dev/ttyO1
  163.  
  164. # change permissions for S3D hardware
  165.     chown system system /sys/devices/platform/omapdss/display0/s3d_enable
  166.     chown system system /sys/devices/platform/omapdss/display1/s3d_enable
  167.     chown system system /sys/devices/platform/omapdss/display1/s3d_type
  168.  
  169. # We chown/chmod /log again so because mount is run as root + defaults
  170.     chown system radio /log
  171.     chmod 0775 /log
  172.     chown system system /persist
  173.     chmod 0771 /persist
  174.     symlink /log /persist/Logs
  175.  
  176. # FUJITSU:2011-09-12 TRIUMPH sst start
  177. # mount sst device************(new add)************
  178.     mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/sst /sst wait noatime nosuid nodev
  179.     # We chown/chmod /sst again so because mount is run as root + defaults
  180.     chown root root /sst
  181.     chmod 0660 /sst
  182. # FUJITSU:2011-09-12 TRIUMPH sst end
  183.  
  184. # /* FUJITSU:2012-02-21 Thermal Manager start */
  185. service thermaldaemon /system/bin/thermaldaemon
  186.         class core
  187.         user root
  188.         group system
  189.         critical
  190. # /* FUJITSU:2012-02-21 Thermal Manager end */
  191.  
  192. service pvrsrvinit /vendor/bin/pvrsrvinit
  193.         class core
  194.         user root
  195.         group root
  196.         oneshot
  197.  
  198. # create filesystems if necessary
  199. service setup_fs /system/bin/setup_fs \
  200.                 /dev/block/platform/omap/omap_hsmmc.1/by-name/cache \
  201.                 /dev/block/platform/omap/omap_hsmmc.1/by-name/userdata
  202.         class core
  203.         user root
  204.         group root
  205.         oneshot
  206.  
  207. #shared transport user space mgr service for Bluetooth, FM and GPS
  208. service uim /system/bin/uim-sysfs
  209.         class core
  210.         user root
  211.         group bluetooth net_bt_admin
  212.  
  213. ###################################################
  214. # MSHIELD SMC Daemon - component required to store persistent data coming
  215. #   from the SMC PA to the device persistent storage
  216. ###################################################
  217. #service tf_daemon /system/bin/tf_daemon \
  218. #    -d -c /vendor/etc/smc_normal_world_android_cfg.ini
  219. #    class main
  220. #    user root
  221. #    group root
  222. #    oneshot
  223. #    disabled
  224. #
  225. ###################################################
  226. # MSHIELD SMC PA Control - installs the SMC PA into the Secure Environment
  227. ###################################################
  228. #service smc_pa /system/bin/smc_pa_ctrl \
  229. #    -c /vendor/etc/smc_normal_world_android_cfg.ini \
  230. #    start /vendor/firmware/smc_pa.ift
  231. #    class core
  232. #    user root
  233. #    group root
  234. #    oneshot
  235. #
  236. # bugreport is triggered by holding down volume down, volume up and power
  237. service bugreport /system/bin/bugmailer.sh -v
  238.         class main
  239.         disabled
  240.         oneshot
  241.         keycodes 16 25
  242.  
  243. # create virtual SD card at /mnt/sdcard, based on the /data/media directory
  244. # daemon will drop to user/group system/media_rw after initializing
  245. # underlying files in /data/media will be created with user and group media_rw (1023)
  246. # FUJITSU:2012-04-13_[N]-12-1ST-GEN_GEN-121-SDCA-SPEC-001_SPEC-GEN_DEL-S
  247. # service sdcard /system/bin/sdcard /data/media 1023 1023
  248. #       class late_start
  249. # FUJITSU:2012-04-13_[N]-12-1ST-GEN_GEN-121-SDCA-SPEC-001_SPEC-GEN_DEL-E
  250.  
  251. service wpa_supplicant /system/bin/wpa_supplicant -Dnl80211 -iwlan0
  252.         class main
  253.         socket wpa_wlan0 dgram 660 wifi wifi
  254.         disabled
  255.         oneshot
  256.  
  257. #/* FUJITSU:2012-06-04_AUTO-IP_ADD-S */
  258. # service dhcpcd_wlan0 /system/bin/dhcpcd -ABKL
  259. service dhcpcd_wlan0 /system/bin/dhcpcd -BK -d -t 20 -y 5
  260. #/* FUJITSU:2012-06-04_AUTO-IP_ADD-E */
  261.         class main
  262.         disabled
  263.         oneshot
  264.  
  265. service iprenew_wlan0 /system/bin/dhcpcd -n
  266.         class main
  267.         disabled
  268.         oneshot
  269.  
  270. service dhcpcd_p2p /system/bin/dhcpcd -aABKL
  271.         class main
  272.         disabled
  273.         oneshot
  274.  
  275. service iprenew_p2p /system/bin/dhcpcd -n
  276.         class main
  277.         disabled
  278.         oneshot
  279.  
  280. service dhcpcd_eth0 /system/bin/dhcpcd -ABKL
  281.         class main
  282.         disabled
  283.         oneshot
  284.  
  285. service dhcpcd_bnep0 /system/bin/dhcpcd -ABKL
  286.         class main
  287.         disabled
  288.         oneshot
  289.  
  290. service iprenew_bnep0 /system/bin/dhcpcd -n
  291.         class main
  292.         disabled
  293.         oneshot
  294.  
  295. service hostapd_bin /system/bin/hostapd -d /data/misc/wifi/hostapd.conf
  296.         socket wpa_wlan1 dgram 660 wifi wifi
  297.         class main
  298.         disabled
  299.         oneshot
  300.  
  301. #on property:init.svc.smc_pa=stopped
  302. #       start tf_daemon
  303.  
  304. on property:wlan.driver.status=ok
  305.     chown wifi wifi /sys/devices/platform/wl1271/bt_coex_state
  306.  
  307. service navl_server /system/bin/navd --android_log NAVD  -p3 -nav\"-c/system/etc/gps/config/pathconfigfile.txt\"
  308.         class main
  309.         disabled
  310.         oneshot
  311.  
  312. # FUJITSU:2012-05-08_[P]-12-1ST-GEN_GEN-121-LOG-DETAL-001_SPEC-GEN_ADD-S
  313. service initial_log /system/bin/initial_log
  314.     class late_start
  315.     user root
  316.     group root
  317.     oneshot
  318. # FUJITSU:2012-05-08_[P]-12-1ST-GEN_GEN-121-LOG-DETAL-001_SPEC-GEN_ADD-E
  319.  
  320. service ftad /system/xbin/ftad
  321.         class core
  322.         user root
  323.         group root
  324.  
  325. # FUJITSU:2012-06-04_DLNA_ADD-S
  326. service ddtcps /system/bin/ddtcps
  327.     class late_start
  328.     user root
  329. # FUJITSU:2012-06-04_DLNA_ADD-E
  330.  
  331. # FUJITSU:2012-06-26 add log_cleaner start
  332. service log_cleaner /sbin/log_cleaner.sh
  333.     class main
  334.     user root
  335.     group root
  336.     oneshot
  337. # FUJITSU:2012-06-26 add log_cleaner end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top