aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/etc/init.qcom.rc')
-rw-r--r--rootdir/etc/init.qcom.rc29
1 files changed, 1 insertions, 28 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 6fb9141..a815a3b 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -46,9 +46,6 @@ on init
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
- # Enable panic on out of memory
- write /proc/sys/vm/panic_on_oom 2
-
# Setup zram options
write /sys/block/zram0/comp_algorithm lz4
@@ -83,9 +80,6 @@ on early-boot
write /sys/kernel/boot_adsp/boot 1
- # Run pre_hw_config.sh before entering charge only mode.
- exec /system/bin/sh /system/etc/pre_hw_config.sh
-
on boot
write /sys/module/qpnp_power_on/parameters/forcecrash_on 1
@@ -223,10 +217,6 @@ on boot
# an ack packet comes out of order
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
- # Set the console loglevel to < KERN_INFO
- # Set the default message loglevel to KERN_INFO
- write /proc/sys/kernel/printk "6 6 1 7"
-
chown system /sys/devices/virtual/timed_output/vibrator/vtg_level
# charger
@@ -250,11 +240,6 @@ on boot
chown system system /sys/devices/virtual/input/max1187x/wakeup_gesture
on post-fs
- # Change to socket location on libkeyctrl/suntory for /data encryption
- # Create suntory data directory
- mkdir /dev/socket/suntory 0755 system system
- mkdir /data/suntory 0755 system system
-
# led RGB
chown system system /sys/class/leds/rgb/sync_state
chown system system /sys/class/leds/rgb/start_blink
@@ -360,10 +345,6 @@ on post-fs-data
# SONY: Create dir for marlin sdata
mkdir /data/persist/marlin 0700 system system
- # SONY: Create a dir for pin-cache components
- mkdir /data/pc 0600 radio radio
- mkdir /cache/pc 0770 radio system
-
on property:bluetooth.isEnabled=true
# start btwlancoex
write /sys/class/bluetooth/hci0/idle_timeout 7000
@@ -380,8 +361,7 @@ service qmuxd /vendor/bin/qmuxd
service netmgrd /vendor/bin/netmgrd
class late_start
user root
- group root wifi wakelock radio inet system
- seclabel u:r:netmgrd:s0
+ group root wifi wakelock radio inet oem_2950
on property:ro.radio.noril=true
stop ril-daemon
@@ -447,17 +427,11 @@ service sensors /vendor/bin/sensors.qcom
user root
group root wakelock
-service qcom-sensor-sh /vendor/bin/init.qcom-sensor.sh
- class main
- user root
- oneshot
-
# HexagonDSP FastRPC daemon
service adsprpcd /vendor/bin/adsprpcd
class main
user media
group media
- seclabel u:r:adsprpcd:s0
service charger /system/bin/charger
class charger
@@ -503,7 +477,6 @@ service uim /vendor/bin/brcm-uim-sysfs
class late_start
user root
group bluetooth net_bt
- seclabel u:r:uim:s0
# Quick Charge
service hvdcp /vendor/bin/hvdcp