huhka_com

Xperia acro HD (IS12S) init.semc.rc (6.0.D.0.274)

Jun 24th, 2012
181
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## Disabled by CBUT - it doesn't work with Fuji
  2. ##on init
  3. ## # start master reset
  4. ## exec /sbin/mr
  5. ## # Check if flash was aborted
  6. ## exec /sbin/checkabortedflash
  7.  
  8. on early-fs
  9. # Do some post work for dump before used
  10. # by the system.
  11. exec /sbin/grabramdump
  12.  
  13. on post-fs
  14. mkdir /data/tombstones 0755 system system
  15. mkdir /data/crashsms 0711 system system
  16. mkdir /data/crashsms/crashes 0755 system system
  17. mkdir /data/mediaserver 0740 media media
  18.  
  19. on early-boot
  20. # FOTA must be started after partitions are mounted
  21. # and property service is initialized
  22. exec /sbin/fota-ua c
  23.  
  24. # Start the offline charging (This blocks booting further in some cases)
  25. exec /system/bin/chargemon
  26.  
  27.  
  28.  
  29.  
  30. # Make sure the crashsms/crashes are writable by crashmonitor
  31.  
  32.  
  33.  
  34. service updatemiscta /system/bin/updatemiscta
  35. user root
  36. oneshot
  37.  
  38. service iddd /system/bin/iddd
  39. user idd
  40. group idd log
  41.  
  42. # Set the startup flag to boot complete, run on property change
  43. service setssflagbc /system/bin/startupflag bootcomplete
  44. user root
  45. oneshot
  46. disabled
  47.  
  48. # AT+CTSA and AT+CKPD support
  49. service atfwd-daemon /system/bin/atfwd-daemon
  50. user root
  51. oneshot
  52. disabled
  53.  
  54. service fota-snoop /system/bin/fota-snoop
  55. group cache
  56. oneshot
  57. disabled
  58.  
  59. on property:dev.bootcomplete=1
  60. start setssflagbc
  61. start atfwd-daemon
  62. start fota-snoop
  63.  
  64. # Start suntrold
  65. service suntrold /system/bin/suntrold
  66. user system
  67. group system
  68. oneshot
  69.  
  70. on property:persist.kernel.log=logcat
  71. stop klogrouterd
  72. start klogrouterd
  73.  
  74. on property:persist.kernel.log=uart
  75. stop klogrouterd
  76. exec /system/bin/klogrouter uart
  77.  
  78. on property:persist.kernel.log=default
  79. stop klogrouterd
  80. exec /system/bin/klogrouter default
  81.  
  82. service klogrouterd /system/bin/klogrouter logcat
  83. oneshot
  84.  
  85.  
  86.  
  87. # Fast Dormancy
  88. service fast-dormancy /system/bin/fast-dormancy
  89.  
  90. on property:ro.semc.enable.fast_dormancy=false
  91. stop fast-dormancy
  92.  
  93. on boot
  94. # Optimized browser caching and connection handling
  95. setprop net.http.idle_cache.size 40
  96. setprop net.http.threads 10
  97. setprop net.webkit.cache.size 12582912
  98. setprop net.nw.cache.prioadvstep 86400000
  99. setprop net.nw.cache.weightadvstep 3600000
  100. setprop net.nw.cache.orderby weight
  101. setprop net.http.idle_cache.shutdown true
  102. setprop net.webkit.cache.mindeadsize 4194304
  103. setprop net.webkit.cache.maxdeadsize 4194304
  104.  
  105. service secchan /system/bin/secchand
  106. user system
  107. group system
  108. on post-fs
  109. # Run pre_hw_config.sh before entering Charge only mode.
  110. exec /system/bin/sh /system/etc/pre_hw_config.sh
  111.  
  112. on early-boot
  113. # Touch firmware update
  114. exec /system/bin/sh /system/etc/clearpad_fwloader.sh
  115.  
  116. # HDMI device permission
  117. chown system graphics /sys/class/graphics/fb1/video_mode
  118. chown system graphics /sys/class/graphics/fb1/video_mode_str
  119. chown system graphics /sys/class/graphics/fb1/connected
  120. chown system graphics /sys/class/graphics/fb1/edid_modes
  121. chown system graphics /sys/class/graphics/fb1/hdcp
  122. chown system graphics /sys/class/graphics/fb1/hpd
  123. chown system graphics /sys/class/graphics/fb1/3d_present
  124. chown system graphics /sys/class/graphics/fb1/hdcp_present
  125. chown system graphics /sys/class/graphics/fb1/format_3d
  126. chown system graphics /sys/class/graphics/fb1/hdmi_msm_irq
  127. chown system graphics /sys/class/graphics/fb1/edid_block0
  128. chown system graphics /sys/class/graphics/fb1/edid_block1
  129. chown system graphics /sys/class/graphics/fb1/edid_block128
  130. chown system graphics /sys/class/graphics/fb1/wr_underscan
  131. chown system graphics /sys/class/graphics/fb1/spd_wr_frame
  132. chown system graphics /sys/class/graphics/fb1/cec
  133. chown system graphics /sys/class/graphics/fb1/cec_logical_addr
  134. chown system graphics /sys/class/graphics/fb1/cec_rd_frame
  135. chown system graphics /sys/class/graphics/fb1/cec_wr_frame
  136. chmod 0600 /sys/class/graphics/fb1/video_mode
  137. chmod 0400 /sys/class/graphics/fb1/video_mode_str
  138. chmod 0400 /sys/class/graphics/fb1/connected
  139. chmod 0400 /sys/class/graphics/fb1/edid_modes
  140. chmod 0400 /sys/class/graphics/fb1/hdcp
  141. chmod 0600 /sys/class/graphics/fb1/hpd
  142. chmod 0400 /sys/class/graphics/fb1/3d_present
  143. chmod 0400 /sys/class/graphics/fb1/hdcp_present
  144. chmod 0600 /sys/class/graphics/fb1/format_3d
  145. chmod 0400 /sys/class/graphics/fb1/hdmi_msm_irq
  146. chmod 0400 /sys/class/graphics/fb1/edid_block0
  147. chmod 0400 /sys/class/graphics/fb1/edid_block1
  148. chmod 0400 /sys/class/graphics/fb1/edid_block128
  149. chmod 0200 /sys/class/graphics/fb1/wr_underscan
  150. chmod 0200 /sys/class/graphics/fb1/spd_wr_frame
  151. chmod 0600 /sys/class/graphics/fb1/cec
  152. chmod 0600 /sys/class/graphics/fb1/cec_logical_addr
  153. chmod 0400 /sys/class/graphics/fb1/cec_rd_frame
  154. chmod 0200 /sys/class/graphics/fb1/cec_wr_frame
  155.  
  156. on boot
  157.  
  158.  
  159.  
  160.  
  161.  
  162. chmod 0666 /dev/mtp
  163.  
  164. exec /system/bin/usbeng
  165.  
  166. # Disable C_A_D
  167. exec system/bin/ctrlaltdel soft
  168.  
  169.  
  170.  
  171. setprop ro.wifi.wps_enable true
  172.  
  173. write /proc/sys/kernel/sysrq 0
  174.  
  175. exec /system/bin/cal_data_manager
  176.  
  177. write /sys/module/usb_storage/parameters/delay_use 2
  178.  
  179. service port-bridge /system/bin/port-bridge /dev/smd0 /dev/ttyGS0
  180. disabled
  181.  
  182. on property:persist.service.adb.enable=1
  183. exec /init.usbmode.sh
  184.  
  185. on property:persist.service.adb.enable=0
  186. exec /init.usbmode.sh
  187.  
  188. on property:persist.usb.eng=1
  189. exec /init.usbmode.sh
  190.  
  191. on property:persist.usb.eng=0
  192. exec /init.usbmode.sh
  193.  
  194. on property:usb.rndis.enable=1
  195. exec /init.usbmode.sh
  196.  
  197. on property:usb.rndis.enable=0
  198. exec /init.usbmode.sh
  199.  
  200. on property:usb.pcc.enable=1
  201. exec /init.usbmode.sh
  202.  
  203. on property:usb.pcc.enable=0
  204. exec /init.usbmode.sh
  205.  
  206. on property:usb.accessory.enable=0
  207. exec /init.usbmode.sh
  208.  
  209. service illumination /system/bin/illumination_service
  210.  
  211. service touchd /system/bin/touchd
  212.  
  213. service time_daemon /system/bin/time_daemon
  214. user root
  215. group root
  216. oneshot
  217. disabled
  218.  
  219. on property:persist.timed.enable=true
  220. mkdir /data/time/ 0700 system system
  221. start time_daemon
  222. # mount mmc partitions
  223. on fs
  224. # mount /system, set up links to the modem, and remount r/o
  225. wait /dev/block/mmcblk0p12
  226. exec /sbin/resize2fs /dev/block/mmcblk0p12
  227. mount ext4 /dev/block/mmcblk0p12 /system rw barrier=1
  228. mkdir /system/etc/firmware/misc 0771 system system
  229. mount ext4 /dev/block/mmcblk0p12 /system remount ro barrier=1
  230.  
  231. # mount other partitions
  232. wait /dev/block/mmcblk0p14
  233. exec /sbin/resize2fs /dev/block/mmcblk0p14
  234. exec /system/bin/e2fsck -p /dev/block/mmcblk0p14
  235. mount ext4 /dev/block/mmcblk0p14 /data nosuid nodev barrier=1 noauto_da_alloc
  236.  
  237. exec /sbin/resize2fs /dev/block/mmcblk0p13
  238. mount ext4 /dev/block/mmcblk0p13 /cache nosuid nodev barrier=1
  239.  
  240. setprop ro.emmc 1
  241.  
  242. # SEMC, TA Daemon
  243. class_start trimarea
  244. exec /system/bin/wait4tad
  245. exec /sbin/mr
  246. exec /sbin/checkabortedflash
  247.  
  248. on post-fs
  249. chmod 0664 /sys/devices/platform/msm_sdcc.1/polling
  250. chmod 0664 /sys/devices/platform/msm_sdcc.3/polling
  251. chmod 0664 /sys/devices/platform/msm_sdcc.4/polling
  252.  
  253. mkdir /data/radio 0770 radio radio
  254.  
  255. mkdir /data/idd 0755 idd idd
  256. exec /sbin/resize2fs /dev/block/mmcblk0p10
  257. mount ext4 /dev/block/mmcblk0p10 /data/idd nosuid nodev barrier=0
  258. chown idd idd /data/idd
  259. chmod 0755 /data/idd
  260.  
  261. on early-boot
  262. # Permissions for AKM897x sensor
  263. chown system system /data/misc/akm_set.txt
  264. chown system system /sys/class/compass/akm8972/interval
  265. chown system system /sys/class/compass/akm8972/single
  266. chown system system /sys/class/compass/akm8972/registers
  267. chown system system /sys/class/compass/akm8975/interval
  268. chown system system /sys/class/compass/akm8975/single
  269. chown system system /sys/class/compass/akm8975/registers
  270.  
  271. on boot
  272. chown system system /sys/module/sco/parameters/disable_esco
  273.  
  274. chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock
  275.  
  276. mkdir /data/misc/wifi 0770 wifi wifi
  277. mkdir /data/misc/wifi/sockets 0771 wifi wifi
  278. chmod 0660 /data/misc/wifi/wpa_supplicant.conf
  279. mkdir /data/misc/dhcp 0770 dhcp system
  280.  
  281. #Set SUID bit for diag_mdlog
  282. chmod 4755 /system/bin/diag_mdlog
  283.  
  284. # LM35xx/cameralight
  285. chown system system /sys/devices/i2c-3/3-0053/torch_enable
  286. chown system system /sys/devices/i2c-3/3-0053/torch_current
  287. chown system system /sys/devices/i2c-3/3-0053/privacy_enable
  288. chown system system /sys/devices/i2c-3/3-0053/privacy_current
  289. chown system system /sys/devices/i2c-3/3-0053/flash_enable
  290. chown system system /sys/devices/i2c-3/3-0053/flash_duration
  291. chown system system /sys/devices/i2c-3/3-0053/flash_synchronization
  292. chown system system /sys/devices/i2c-3/3-0053/flash_current
  293. chown system system /sys/devices/i2c-3/3-0053/status
  294.  
  295. # Owner for the proximity sensor
  296. chown system system /sys/devices/i2c-3/3-0054/threshold
  297.  
  298. # Default tcp buffersizes for hsdpa
  299. setprop net.tcp.buffersize.hsdpa 5840,87380,165467,4096,16384,110208
  300. setprop net.tcp.buffersize.hspa 5840,87380,165467,4096,16384,110208
  301.  
  302. # Permissions for Liblights.
  303. chown system system /sys/class/leds/green/brightness
  304. chown system system /sys/class/leds/green/trigger
  305. chown system system /sys/class/leds/red/brightness
  306. chown system system /sys/class/leds/red/trigger
  307. chown system system /sys/class/leds/blue/brightness
  308. chown system system /sys/class/leds/blue/trigger
  309. chown system system /sys/class/leds/button-backlight/brightness
  310. chown system system /sys/class/leds/button-backlight/trigger
  311. chown system system /sys/class/leds/lcd-backlight/brightness
  312. chown system system /sys/class/leds/lcd-backlight/als/curve
  313. chown system system /sys/class/leds/keyboard-backlight/brightness
  314. chown system system /sys/devices/i2c-3/3-0040/adc_als_value
  315.  
  316. # bluetooth power up/down interface
  317. chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
  318. chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
  319. chmod 0660 /sys/class/rfkill/rfkill0/state
  320.  
  321. # bluetooth address programming
  322. setprop ro.bt.bdaddr_path data/etc/bluetooth_bdaddr
  323.  
  324. # power-management
  325. write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
  326. write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor ondemand
  327. write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 50000
  328. write /sys/devices/system/cpu/cpu1/cpufreq/ondemand/sampling_rate 50000
  329. write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold 90
  330. write /sys/devices/system/cpu/cpu1/cpufreq/ondemand/up_threshold 90
  331. write /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy 1
  332. write /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor 4
  333. write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 384000
  334. write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 384000
  335.  
  336. write /sys/module/rpm_resources/enable_low_power/L2_cache 1
  337. write /sys/module/rpm_resources/enable_low_power/pxo 1
  338. write /sys/module/rpm_resources/enable_low_power/vdd_dig 2
  339. write /sys/module/rpm_resources/enable_low_power/vdd_mem 2
  340. write /sys/module/rpm_resources/enable_low_power/rpm_cpu 1
  341.  
  342. write /sys/module/pm_8x60/modes/cpu0/power_collapse/suspend_enabled 1
  343. write /sys/module/pm_8x60/modes/cpu1/power_collapse/suspend_enabled 1
  344. write /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/suspend_enabled 1
  345. write /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/suspend_enabled 1
  346. write /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled 1
  347. write /sys/module/pm_8x60/modes/cpu1/power_collapse/idle_enabled 1
  348. write /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled 1
  349. write /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled 1
  350.  
  351.  
  352. chown root.system /sys/devices/system/cpu/mfreq
  353. chmod 220 /sys/devices/system/cpu/mfreq
  354. chown root.system /sys/devices/system/cpu/cpu1/online
  355. chmod 664 /sys/devices/system/cpu/cpu1/online
  356.  
  357. # Create the directories and files expected by the lcatp service
  358. # only found in eng builds.
  359. # Preferably the ONLY_IN_VARIANT macro should be used but
  360. # seems like the build system does not parse this file properly.
  361. mkdir /data/misc/tsce 0770 system system
  362. write /data/misc/tsce/userfile.txt 0
  363. write /data/misc/tsce/userfile2.txt 0
  364. write /data/misc/tsce/logfile.txt 0
  365. chown system system /data/misc/tsce/userfile.txt
  366. chown system system /data/misc/tsce/userfile2.txt
  367. chown system system /data/misc/tsce/logfile.txt
  368. chmod 0660 /data/misc/tsce/userfile.txt
  369. chmod 0660 /data/misc/tsce/userfile2.txt
  370. chmod 0660 /data/misc/tsce/logfile.txt
  371.  
  372.  
  373.  
  374. service btld /system/bin/btld -lpm 1
  375. user root
  376. group bluetooth net_bt_admin
  377. disabled
  378. oneshot
  379.  
  380. service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \
  381. --use_baudrate_for_download --reset_baudrate --scopcm 0,4,0,0,0,0,0,0,3,0 \
  382. --no2bytes --baudrate 3000000 --patchram /system/etc/firmware/BCM4330.hcd \
  383. /dev/ttyHS0
  384. user bluetooth
  385. group bluetooth net_bt_admin
  386. disabled
  387.  
  388. service cnd /system/bin/cnd
  389. socket cnd stream 660 root radio
  390.  
  391. service rmt_storage /system/bin/rmt_storage
  392. user root
  393. disabled
  394.  
  395. service updatemiscta /system/bin/updatemiscta
  396. user root
  397. disabled
  398. oneshot
  399.  
  400. # SEMC, TA rmt service
  401. service ta_rmt_service /system/bin/ta_rmt_service
  402. user root
  403. disabled
  404.  
  405. on property:ro.emmc=1
  406. start updatemiscta
  407. start rmt_storage
  408. start ta_rmt_service
  409.  
  410. # Copy calibration data from NV to kernel drivers
  411. service nvimport /system/bin/nvimport
  412. user root
  413. oneshot
  414.  
  415. service wpa_supplicant /system/bin/wpa_supplicant -Dwext -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
  416. socket wpa_wlan0 dgram 660 wifi wifi
  417. disabled
  418. oneshot
  419.  
  420. service dhcpcd_wlan0 /system/bin/dhcpcd -B -d wlan0 -t 30
  421. disabled
  422. oneshot
  423.  
  424. service iprenew_wlan0 /system/bin/dhcpcd -n
  425. disabled
  426. oneshot
  427.  
  428. service qmuxd /system/bin/qmuxd
  429.  
  430. service netmgrd /system/bin/netmgrd
  431.  
  432. # SEMC, TA Daemon
  433. service tad /system/bin/tad /dev/block/mmcblk0p1 0,16,256
  434. user root
  435. group root
  436. socket tad stream 0660 system system
  437. class trimarea
  438.  
  439. service hw_config /system/bin/sh /system/etc/hw_config.sh
  440. user root
  441. oneshot
  442.  
  443. # Local Connectivity service only present in engineer builds
  444. # Preferably the ONLY_IN_VARIANT macro should be used but
  445. # seems like the build system does not parse this file properly.
  446. service lcatp /system/bin/lcatp
  447. disabled
  448. oneshot
  449.  
  450. on property:ro.use_data_netmgrd=false
  451. # netmgr not supported on specific target
  452. stop netmgrd
  453.  
  454. service mpdecision /system/bin/mpdecision --no_sleep --avg_comp
  455. user root
  456. disabled
  457.  
  458. service thermald /system/bin/thermald -c /system/etc/thermald-semc.conf
  459. socket thermald stream 0666 root root
  460. user root
  461. disabled
  462.  
  463. on property:init.svc.bootanim=stopped
  464. start mpdecision
  465. start thermald
  466.  
  467. service media /system/bin/mediaserver
  468. user media
  469. group system audio camera graphics inet net_bt net_bt_admin net_raw radio
  470. ioprio rt 4
  471.  
  472. service nvcustomizer /system/bin/nvcustomizer
  473. user root
  474. oneshot
  475. disabled
  476.  
  477. on property:ro.nvcust=1
  478. start nvcustomizer
  479.  
  480. # ro.hsdpa_cat set by nvimport
  481. on property:ro.hsdpa_cat=8
  482. setprop net.tcp.buffersize.hsdpa 5840,87380,165467,4096,16384,110208
  483. setprop net.tcp.buffersize.hspa 5840,87380,165467,4096,16384,110208
  484. on property:ro.hsdpa_cat=10
  485. setprop net.tcp.buffersize.hsdpa 5840,87380,276427,4096,16384,110208
  486. setprop net.tcp.buffersize.hspa 5840,87380,276427,4096,16384,110208
  487.  
  488. service onesegtuner /system/bin/onesegtunerserver
  489. user system
  490. group system
  491.  
  492. service hdmid /system/bin/hdmid
  493. user system
  494. group system inet graphics
  495.  
  496. service irda /system/bin/irdaserver
  497. user system
  498. group system
  499.  
  500. service ric /system/bin/ric
  501. user root
  502. group root
  503.  
  504. on init
  505. # setup the global environment
  506. export EXTERNAL_STORAGE_ALL /mnt/sdcard:/mnt/usbdisk:/mnt/ext_card
  507. export EXTERNAL_STORAGE_USB /mnt/usbdisk
  508.  
  509. # create mountpoint
  510. mkdir /mnt/usbdisk 0000 system system
  511. mkdir /mnt/ext_card 0000 system system
  512.  
  513. # Create symlink
  514. symlink /mnt/usbdisk /usbdisk
  515. symlink /mnt/ext_card /ext_card
  516.  
  517. write /proc/sys/kernel/keys/root_maxkeys 500
  518. write /proc/sys/kernel/keys/root_maxbytes 400000
  519.  
  520. on boot
  521. chmod 666 /dev/ttyHSL3
  522. chown system system /dev/i2c-9
  523. chown system system /dev/tsif1
  524. chown system system /sys/devices/platform/oneseg_tunerpm.0/power_ctrl
  525. start onesegtuner
  526. chown system system /sys/class/irda/irda
  527. chmod 644 /sys/class/irda/irda
  528. start irda
  529. symlink /dev/ttyHS1 /dev/felica
  530. chown felica felica /dev/ttyHS1
  531. chmod 0600 /dev/ttyHS1
  532. chown felica felica /dev/felica_pon
  533. chmod 0200 /dev/felica_pon
  534. chown system system /dev/felica_cen
  535. chmod 0644 /dev/felica_cen
  536. chown felica felica /dev/felica_rfs
  537. chmod 0400 /dev/felica_rfs
  538. chown felica felica /dev/felica_rws
  539. chmod 0400 /dev/felica_rws
  540. chown system system /sys/devices/platform/semc_felica.0/ta_rwusb
  541. chmod 0200 /sys/devices/platform/semc_felica.0/ta_rwusb
  542. chown system system /sys/devices/platform/semc_felica.0/st_usbcon
  543. chmod 0200 /sys/devices/platform/semc_felica.0/st_usbcon
  544. chown system system /sys/devices/platform/semc_felica.0/st_airplane
  545. chmod 0200 /sys/devices/platform/semc_felica.0/st_airplane
  546. # Enable KDDI extended service to control special hardware
  547. setprop ro.3LM.extended 1
  548. setprop ro.camera.sound.forced 1
  549.  
  550. # Define TCP buffer sizes for various networks
  551. # ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
  552. setprop net.tcp.buffersize.evdo 1400,261800,261800,1400,261800,261800
  553. setprop net.tcp.buffersize.1xrtt 1400,261800,261800,1400,261800,261800
  554.  
  555. service uimd /system/bin/uimd
  556. socket uimd stream 666 radio radio
  557. user radio
  558. group radio
  559.  
  560. service kddiradiusd /system/bin/kddiradiusd
  561. socket aepls001 stream 666 root root
  562. user radio
  563. group radio
  564.  
  565. service tund /system/bin/tund
  566. socket tund stream 0660 vpn system
  567. user vpn
  568. group vpn net_admin net_raw
  569. ioprio be 2
  570.  
  571. on post-fs
  572. chown root sdcard_rw /sys/devices/platform/usb_mass_storage/lun0/inquiry
  573. chown root sdcard_rw /sys/devices/platform/usb_mass_storage/lun0/export
  574. chown root sdcard_rw /sys/devices/platform/usb_mass_storage/lun0/unexport
  575. chown root sdcard_rw /sys/devices/platform/usb_mass_storage/lun0/opcode-e4/buffer
  576. chown root sdcard_rw /sys/devices/platform/usb_mass_storage/lun0/opcode-e4/size
  577. chown root sdcard_rw /sys/devices/platform/usb_mass_storage/lun0/opcode-e4/update
  578. # Secure container used for sharing libraries for encrypted apps
  579. chmod 0771 /data/secure
  580. mkdir /data/secure/data 0771 system system
  581. mount tmpfs tmpfs /data/secure/data nosuid mode=0771,uid=1000,gid=1000
  582.  
  583. on boot
  584. # Disable Wifi EAP SIM
  585. setprop ro.wifi.eap_sim_enabled false
RAW Paste Data