aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-11-27 23:56:49 +0100
committerRGIB <gibellini.roberto@gmail.com>2016-11-27 23:56:49 +0100
commitebbfd7959944ea3781c239616226f01697e5d06c (patch)
treee95f9b5416d52176d91e0b4fd814566e96e618fd /rootdir
parent1e3c6c4a20cde875b23c69afd4025c492511e822 (diff)
downloaddevice_samsung_i9305-ebbfd7959944ea3781c239616226f01697e5d06c.zip
device_samsung_i9305-ebbfd7959944ea3781c239616226f01697e5d06c.tar.gz
device_samsung_i9305-ebbfd7959944ea3781c239616226f01697e5d06c.tar.bz2
i9305 : correct gps permissions + cleanup
Change-Id: I682fa2af20411d65cefb04796b3648ebf446bffc
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.target.rc60
1 files changed, 36 insertions, 24 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index e835cc8..6593331 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -1,11 +1,12 @@
-import init.bt.rc
-
+#########################################################################################################################
on init
- # Vibetonz
+#########################################################################################################################
+
+# Vibetonz
export VIBE_PIPE_PATH /dev/pipes
mkdir /dev/pipes 0771 shell shell
- # MDM requirement
+# MDM requirement
mkdir /data/cp_log
chmod 0775 /data/cp_log
chown system radio /data/cp_log
@@ -36,12 +37,16 @@ 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
- #Create QMUX deamon socket area
+# QCRIL
+
+# Create QMUX deamon socket area
mkdir /dev/socket/qmux_radio 0777 radio radio
chmod 2777 /dev/socket/qmux_radio
mkdir /dev/socket/qmux_audio 0770 media audio
@@ -49,16 +54,16 @@ on post-fs-data
mkdir /dev/socket/qmux_gps 0770 gps gps
chmod 2770 /dev/socket/qmux_gps
- # Allow QMUX daemon to assign port open wait time
+# Allow QMUX daemon to assign port open wait time
chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait
chmod 666 /sys/devices/virtual/hsicctl/hsicctl0/modem_wait
- # To prevent out of order acknowledgements from making
- # connection tracking to treat them as not belonging to
- # the connection they belong to.
- # Otherwise, a weird issue happens in which some long
- # connections on high-throughput links get dropped when
- # an ack packet comes out of order
+# To prevent out of order acknowledgements from making
+# connection tracking to treat them as not belonging to
+# the connection they belong to.
+# Otherwise, a weird issue happens in which some long
+# connections on high-throughput links get dropped when
+# an ack packet comes out of order
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
# Restorecon
@@ -75,33 +80,40 @@ on post-fs-data
restorecon /tombstones/qcks/efs2.bin
restorecon /tombstones/qcks/efs3.bin
restorecon /tombstones/qcks/temp.dump
+ restorecon /data/.cid.info
- # 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
+# Waketime fot fast dormancy
chown system radio /sys/devices/platform/mdm_hsic_pm0/waketime
chmod 0660 /sys/devices/platform/mdm_hsic_pm0/waketime
chown radio system /sys/devices/platform/samsung-pd.5/s3c-fimc.2/range_mode
chmod 0660 /sys/devices/platform/samsung-pd.5/s3c-fimc.2/range_mode
- # make param block device link for SysScope
+# make param block device link for SysScope
symlink /dev/block/mmcblk0p7 /dev/block/param
-on boot
+# Create directories for gpsone_daemon services
+ mkdir /data/misc/gpsone_d 0770 system gps
+
+# Create directories for QuIPS
+ mkdir /data/misc/quipc 0770 system gps
+
+# Create directories for Location services
+ mkdir /data/misc/location 0770 gps gps
+ mkdir /data/misc/location/mq 0770 gps gps
+ mkdir /data/misc/location/xtwifi 0770 gps gps
# 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/devices/system/cpu/cpu0/cpufreq/scaling_governor pegasusq
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
+#########################################################################################################################
+on boot
+#########################################################################################################################
+
service qc_kickstart /system/bin/qcks s
class core
user root