summaryrefslogtreecommitdiffstats
path: root/rootdir/init.target.rc
diff options
context:
space:
mode:
authorRoberto Gibellini <gibellini.roberto@gmail.com>2016-11-19 17:22:19 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-11-19 16:37:05 -0800
commit0488ab51809a1203a0bab41692743b4c7adb917d (patch)
treec5883e180ab22880ed63df0fb5f68551df4b70f6 /rootdir/init.target.rc
parentf2a3063bc88ee0a075c04fa274c10c39c7abfc9b (diff)
downloaddevice_samsung_i9305-0488ab51809a1203a0bab41692743b4c7adb917d.zip
device_samsung_i9305-0488ab51809a1203a0bab41692743b4c7adb917d.tar.gz
device_samsung_i9305-0488ab51809a1203a0bab41692743b4c7adb917d.tar.bz2
Revert "i9305 : first cleanup"
I'll push single commits This reverts commit 59404fd3487ba4b00a342434ce11a694c41bc954. Change-Id: I935bb25cf6f47bcb768522bc4ad846dabd720e65
Diffstat (limited to 'rootdir/init.target.rc')
-rw-r--r--rootdir/init.target.rc58
1 files changed, 49 insertions, 9 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index 2f9b9ed..c2d8c5c 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -1,7 +1,6 @@
-###########################################################################################################
-on init
-###########################################################################################################
+import init.bt.rc
+on init
# Vibetonz
export VIBE_PIPE_PATH /dev/pipes
mkdir /dev/pipes 0771 shell shell
@@ -37,14 +36,11 @@ on init
rmdir /tombstones/efs
mkdir /tombstones/efs 771 system system
-###########################################################################################################
on post-fs-data
-###########################################################################################################
-
chown system radio /dev/block/platform/dw_mmc/by-name
chmod 0775 /dev/block/platform/dw_mmc/by-name
-# QCRIL
+ #QCRIL
#Create QMUX deamon socket area
mkdir /dev/socket/qmux_radio 0777 radio radio
chmod 2777 /dev/socket/qmux_radio
@@ -80,6 +76,10 @@ on post-fs-data
restorecon /tombstones/qcks/efs3.bin
restorecon /tombstones/qcks/temp.dump
+ # for AT distributor
+ chown system radio /sys/module/cpuidle_exynos4/parameters/enable_mask
+ chmod 0664 /sys/module/cpuidle_exynos4/parameters/enable_mask
+
# Waketime fot fast dormancy
chown system radio /sys/devices/platform/mdm_hsic_pm0/waketime
chmod 0660 /sys/devices/platform/mdm_hsic_pm0/waketime
@@ -90,21 +90,52 @@ on post-fs-data
# make param block device link for SysScope
symlink /dev/block/mmcblk0p7 /dev/block/param
-###########################################################################################################
on boot
-###########################################################################################################
# SISO-ANDR_PERF :: START Changing scheduler to cfq and reseting cpu min freq to -1 after boot complete
on property:sys.boot_completed=1
write /sys/block/mmcblk0/queue/scheduler cfq
write /sys/power/cpufreq_min_limit -1
+# write /proc/sys/net/ipv6/conf/rmnet_usb0/accept_ra 2
+# write /proc/sys/net/ipv6/conf/rmnet_usb1/accept_ra 2
+# write /proc/sys/net/ipv6/conf/rmnet_usb2/accept_ra 2
+# write /proc/sys/net/ipv6/conf/rmnet_usb3/accept_ra 2
# SISO-ANDR_PERF :: END
+# AT Distributor for factory test
+service at_distributor /system/bin/at_distributor
+ class late_start
+ user root
+ group radio log
+
+# diag app for cp uart
+service diag_uart_log /system/bin/diag_uart_log
+ class main
+ user root
+ group radio
+
+service netmgrd /system/bin/netmgrd
+ class late_start
+
+service SMD-daemon /system/bin/smdexe
+ class main
+ user root
+ group system radio inet net_raw
+
service qc_kickstart /system/bin/qcks s
class core
user root
+ seclabel u:r:kickstart:s0
group radio cache inet misc audio sdcard_rw log
+service ril-daemon /system/bin/rild
+ class main
+ socket rild stream 666 root radio
+ socket rild-debug stream 666 radio system
+ user root
+ group radio cache inet misc audio sdcard_rw qcom_oncrpc diag log sdcard_r
+
+#For EncryptionMode - remove disabled, Modify class main
service qmiproxy /system/bin/qmiproxy
class main
user radio
@@ -115,3 +146,12 @@ service qmuxd /system/bin/qmuxd
user root
seclabel u:r:qmux:s0
group radio log audio bluetooth gps log
+
+# TVout
+service TvoutService_C /system/bin/bintvoutservice
+ class main
+ user system
+ group graphics
+
+on property:ro.tvout.enable=false
+ stop TvoutService_C