|
|
@@ -164,7 +164,7 @@ on post-fs-data |
|
|
mkdir /persist/sensors 0775 system root
|
|
|
write /persist/sensors/sensors_settings 1
|
|
|
chmod 0644 /persist/sensors/sensors_settings
|
|
|
- chown system root /persist/sensors/sensors_settings
|
|
|
+ chown system.root /persist/sensors/sensors_settings
|
|
|
mkdir /data/misc/sensors 0775 system system
|
|
|
restorecon_recursive /data/misc/sensors
|
|
|
|
|
|
@@ -185,7 +185,8 @@ on post-fs-data |
|
|
mkdir /data/connectivity/nsrm 0771 system system
|
|
|
chown system system /data/connectivity/nsrm
|
|
|
|
|
|
-
|
|
|
+ # write /dev/wcnss_wlan 1
|
|
|
+ # write /sys/module/wcnss_ssr_8960/parameters/enable_riva_ssr 1
|
|
|
|
|
|
#Create directories for Location services
|
|
|
mkdir /data/misc/location 0770 gps gps
|
|
|
@@ -222,22 +223,9 @@ on post-fs-data |
|
|
chown system system /sys/devices/virtual/graphics/fb0/cabc
|
|
|
chmod 0660 /sys/devices/virtual/graphics/fb0/cabc
|
|
|
|
|
|
- chown system system /sys/devices/virtual/graphics/fb0/sre
|
|
|
- chmod 0660 /sys/devices/virtual/graphics/fb0/sre
|
|
|
-
|
|
|
- chown system system /sys/devices/virtual/graphics/fb0/color_enhance
|
|
|
- chmod 0660 /sys/devices/virtual/graphics/fb0/color_enhance
|
|
|
-
|
|
|
chown system graphics /sys/devices/virtual/graphics/fb0/panel_calibration
|
|
|
chmod 0660 /sys/devices/virtual/graphics/fb0/panel_calibration
|
|
|
|
|
|
- chown system system /sys/class/timed_output/vibrator/vtg_level
|
|
|
- chown system system /sys/class/timed_output/vibrator/vtg_max
|
|
|
- chown system system /sys/class/timed_output/vibrator/vtg_min
|
|
|
- chmod 0644 /sys/class/timed_output/vibrator/vtg_level
|
|
|
- chmod 0644 /sys/class/timed_output/vibrator/vtg_max
|
|
|
- chmod 0644 /sys/class/timed_output/vibrator/vtg_min
|
|
|
-
|
|
|
setprop vold.post_fs_data_done 1
|
|
|
|
|
|
on charger
|
|
|
@@ -296,9 +284,9 @@ on property:service.bootanim.exit=1 |
|
|
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 300000
|
|
|
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 300000
|
|
|
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq 300000
|
|
|
- chown root system /sys/devices/system/cpu/cpu1/online
|
|
|
- chown root system /sys/devices/system/cpu/cpu2/online
|
|
|
- chown root system /sys/devices/system/cpu/cpu3/online
|
|
|
+ chown root.system /sys/devices/system/cpu/cpu1/online
|
|
|
+ chown root.system /sys/devices/system/cpu/cpu2/online
|
|
|
+ chown root.system /sys/devices/system/cpu/cpu3/online
|
|
|
chmod 664 /sys/devices/system/cpu/cpu1/online
|
|
|
chmod 664 /sys/devices/system/cpu/cpu2/online
|
|
|
chmod 664 /sys/devices/system/cpu/cpu3/online
|
|
|
@@ -316,13 +304,18 @@ on property:init.svc.bootanim=stopped |
|
|
write /sys/devices/system/cpu/cpufreq/interactive/io_is_busy 1
|
|
|
write /sys/devices/system/cpu/cpufreq/interactive/target_loads "85 1500000:90 1800000:70"
|
|
|
write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 40000
|
|
|
+ write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 30000
|
|
|
write /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor 100000
|
|
|
+ write /sys/devices/system/cpu/cpufreq/interactive/sync_freq 1036800
|
|
|
+ write /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_load 50
|
|
|
+ write /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_freq 1190400
|
|
|
+ write /sys/devices/system/cpu/cpufreq/interactive/timer_slack 20000
|
|
|
|
|
|
- write /sys/module/cpu_boost/parameters/boost_ms 20
|
|
|
+ write /sys/module/cpu_boost/parameters/boost_ms 10
|
|
|
write /sys/module/cpu_boost/parameters/sync_threshold 1728000
|
|
|
write /sys/module/cpu_boost/parameters/input_boost_freq 1497600
|
|
|
write /sys/module/cpu_boost/parameters/input_boost_ms 40
|
|
|
- write /sys/class/kgsl/kgsl-3d0/devfreq/governor msm-adreno-tz
|
|
|
+ write /sys/class/kgsl/kgsl-3d0/devfreq/governor
|
|
|
write /dev/cpuctl/apps/cpu.notify_on_migrate 1
|
|
|
|
|
|
write /sys/block/mmcblk0/queue/scheduler row
|
|
|
@@ -598,22 +591,12 @@ service audiod /system/bin/audiod |
|
|
user system
|
|
|
group system
|
|
|
|
|
|
-service wcnss_init /system/bin/sh /system/etc/init.bacon.wifi.sh
|
|
|
- class main
|
|
|
- user system
|
|
|
- group system wifi
|
|
|
- oneshot
|
|
|
-
|
|
|
-service init_wlan /system/bin/sh /system/etc/init_wlan.sh
|
|
|
+service wcnss-service /system/bin/wcnss_service
|
|
|
class late_start
|
|
|
- user root
|
|
|
- group root
|
|
|
- disabled
|
|
|
+ user system
|
|
|
+ group system wifi qcom_diag radio
|
|
|
oneshot
|
|
|
|
|
|
-on property:init.svc.wcnss_init=stopped
|
|
|
- start init_wlan
|
|
|
-
|
|
|
# GPS
|
|
|
service gsiff_daemon /system/bin/gsiff_daemon
|
|
|
class late_start
|
|
|
@@ -628,32 +611,3 @@ service ppd /system/bin/mm-pp-daemon |
|
|
|
|
|
on property:init.svc.surfaceflinger=stopped
|
|
|
stop ppd
|
|
|
-
|
|
|
-# diag logging
|
|
|
-service diag_mdlog_start /system/bin/diag_mdlog
|
|
|
- class late_start
|
|
|
- user sdcard_rw
|
|
|
- group system qcom_diag sdcard_rw sdcard_r media_rw
|
|
|
- disabled
|
|
|
- oneshot
|
|
|
-
|
|
|
-service diag_mdlog_stop /system/bin/diag_mdlog -k
|
|
|
- class late_start
|
|
|
- user sdcard_rw
|
|
|
- group system qcom_diag sdcard_rw sdcard_r media_rw
|
|
|
- disabled
|
|
|
- oneshot
|
|
|
-
|
|
|
-service qlogd /system/xbin/qlogd
|
|
|
- class main
|
|
|
- disabled
|
|
|
-on property:persist.sys.qlogd=1
|
|
|
- start qlogd
|
|
|
-on property:persist.sys.qlogd=0
|
|
|
- stop qlogd
|
|
|
-
|
|
|
-service ssr_diag /system/bin/ssr_diag
|
|
|
- class late_start
|
|
|
- disabled
|
|
|
- user system
|
|
|
- group system
|
0 comments on commit
43c904a