summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/Android.mk8
-rw-r--r--rootdir/etc/init.platform-common.rc17
-rw-r--r--rootdir/etc/init.qcom.rc11
3 files changed, 11 insertions, 25 deletions
diff --git a/rootdir/Android.mk b/rootdir/Android.mk
index 993e1de..af4fe71 100644
--- a/rootdir/Android.mk
+++ b/rootdir/Android.mk
@@ -17,14 +17,6 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
-LOCAL_MODULE := init.platform-common.rc
-LOCAL_MODULE_TAGS := optional eng
-LOCAL_MODULE_CLASS := ETC
-LOCAL_SRC_FILES := etc/init.platform-common.rc
-LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
-include $(BUILD_PREBUILT)
-
-include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.power.rc
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
diff --git a/rootdir/etc/init.platform-common.rc b/rootdir/etc/init.platform-common.rc
deleted file mode 100644
index 58a3063..0000000
--- a/rootdir/etc/init.platform-common.rc
+++ /dev/null
@@ -1,17 +0,0 @@
-on boot
- # Touch
- chown system system /sys/devices/virtual/input/clearpad/wakeup_gesture
- chown system system /sys/devices/virtual/input/max1187x/wakeup_gesture
-
- # Glove input
- chown system system /sys/devices/virtual/input/clearpad/glove
- chown system system /sys/devices/virtual/input/max1187x/glove
- chmod 0660 /sys/devices/virtual/input/clearpad/glove
- chmod 0660 /sys/devices/virtual/input/max1187x/glove
-
-# TFA9890 AMP
-service tfa9890_amp /system/bin/tfa9890_amp
- class late_start
- user root
- group root
- oneshot
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 60aec1c..d3a88e6 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -265,6 +265,10 @@ on boot
chown system system /sys/devices/virtual/graphics/fb0/rgb
chmod 0660 /sys/devices/virtual/graphics/fb0/rgb
+ # Touchscreen
+ chown system system /sys/devices/virtual/input/clearpad/wakeup_gesture
+ 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
@@ -532,3 +536,10 @@ service hvdcp /vendor/bin/hvdcp
class core
user root
disabled
+
+# TFA9890 AMP
+service tfa9890_amp /system/bin/tfa9890_amp
+ class late_start
+ user root
+ group root
+ oneshot