summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rootdir/init.smdk4210.rc2
-rw-r--r--rootdir/recovery.rc3
2 files changed, 3 insertions, 2 deletions
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc
index eebfdef..ecb63c5 100644
--- a/rootdir/init.smdk4210.rc
+++ b/rootdir/init.smdk4210.rc
@@ -177,7 +177,7 @@ on post-fs-data
chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_update_status
chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_update
chown system radio /sys/devices/virtual/sec/sec_touchkey/updated_version
- chown system radio /sys/devices/virtual/sec/sec_touchkey/led_timeout
+ chown system radio /sys/devices/virtual/sec/sec_touchkey/timeout
chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_firm_version
chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_threshould
diff --git a/rootdir/recovery.rc b/rootdir/recovery.rc
index efaac10..844b2e3 100644
--- a/rootdir/recovery.rc
+++ b/rootdir/recovery.rc
@@ -25,7 +25,8 @@ on boot
chown system media_rw /sys/class/mdnie/mdnie/mode
chown system media_rw /sys/class/mdnie/mdnie/outdoor
chown system media_rw /sys/class/mdnie/mdnie/scenario
- write /sys/class/mdnie/mdnie/scenario 4
+ write /sys/class/mdnie/mdnie/scenario 0
+ write /sys/class/mdnie/mdnie/mode 1
ifup lo
hostname localhost