Merge tag 'AU_LINUX_ANDROID_LA.HB.1.1.1.05.01.01.063.321' into HEAD
* commit '06292cd44d1f0d8143e08feb2173108ec2e25e42': audio: Add appropriate permission for avtimer driver Add support for generating signed LK image. common: init.qcom.rc: move to core class for Sensor Daemon init.qcom.post_boot: Configure cpu boost paramters for 8996 Config File for Sprint Voice Replacement RAT init.qcom.post_boot: start perfd after cpu governor is initialized init.qcom.post_boot: enable perfd for msm8996 init.qcom.rc: QSEE Proxy daemon base.mk: remove "libdrmdecrypt" library reference as the lib is obsolete Change-Id: I22c00cd75c52922fc119d69fd72ce1d8ed903ac6
This commit is contained in:
commit
2c7c87556e
9
base.mk
9
base.mk
|
@ -92,6 +92,7 @@ AUDIO_HARDWARE += audio.primary.msm8909
|
|||
AUDIO_HARDWARE += audio.primary.msm8994
|
||||
AUDIO_HARDWARE += audio.primary.msm8992
|
||||
AUDIO_HARDWARE += audio.primary.msm8996
|
||||
AUDIO_HARDWARE += audio.primary.msm8952
|
||||
#
|
||||
AUDIO_POLICY := audio_policy.mpq8064
|
||||
AUDIO_POLICY += audio_policy.apq8084
|
||||
|
@ -113,6 +114,7 @@ AUDIO_POLICY += audio_policy.msm8909
|
|||
AUDIO_POLICY += audio_policy.msm8994
|
||||
AUDIO_POLICY += audio_policy.msm8992
|
||||
AUDIO_POLICY += audio_policy.msm8996
|
||||
AUDIO_POLICY += audio_policy.msm8952
|
||||
|
||||
#tinyalsa test apps
|
||||
TINY_ALSA_TEST_APPS := tinyplay
|
||||
|
@ -331,6 +333,7 @@ LIBCAMERA += camera.msm8916
|
|||
LIBCAMERA += camera.msm8994
|
||||
LIBCAMERA += camera.msm8992
|
||||
LIBCAMERA += camera.msm8996
|
||||
LIBCAMERA += camera.msm8952
|
||||
LIBCAMERA += libcamera
|
||||
LIBCAMERA += libmmcamera_interface
|
||||
LIBCAMERA += libmmcamera_interface2
|
||||
|
@ -358,6 +361,7 @@ LIBCOPYBIT += copybit.msm7627_surf
|
|||
LIBCOPYBIT += copybit.msm7627_6x
|
||||
LIBCOPYBIT += copybit.msm7627a
|
||||
LIBCOPYBIT += copybit.msm8996
|
||||
LIBCOPYBIT += copybit.msm8952
|
||||
|
||||
#LIBGESTURES
|
||||
LIBGESTURES := libgestures
|
||||
|
@ -383,6 +387,7 @@ LIBGRALLOC += gralloc.msm7627_surf
|
|||
LIBGRALLOC += gralloc.msm7627_6x
|
||||
LIBGRALLOC += gralloc.msm7627a
|
||||
LIBGRALLOC += gralloc.msm8996
|
||||
LIBGRALLOC += gralloc.msm8952
|
||||
LIBGRALLOC += libmemalloc
|
||||
|
||||
#memtrack
|
||||
|
@ -396,6 +401,7 @@ LIBMEMTRACK += memtrack.msm8610
|
|||
LIBMEMTRACK += memtrack.apq8084
|
||||
LIBMEMTRACK += memtrack.mpq8092
|
||||
LIBMEMTRACK += memtrack.msm8996
|
||||
LIBMEMTRACK += memtrack.msm8952
|
||||
|
||||
#LIBLIGHTS
|
||||
LIBLIGHTS := lights.msm8660
|
||||
|
@ -415,6 +421,7 @@ LIBLIGHTS += lights.msm7627a
|
|||
LIBLIGHTS += lights.msm8610
|
||||
LIBLIGHTS += lights.apq8084
|
||||
LIBLIGHTS += lights.msm8996
|
||||
LIBLIGHTS += lights.msm8952
|
||||
|
||||
#LIBHWCOMPOSER
|
||||
LIBHWCOMPOSER := hwcomposer.msm8660
|
||||
|
@ -435,6 +442,7 @@ LIBHWCOMPOSER += hwcomposer.msm7627_surf
|
|||
LIBHWCOMPOSER += hwcomposer.msm7627_6x
|
||||
LIBHWCOMPOSER += hwcomposer.msm7627a
|
||||
LIBHWCOMPOSER += hwcomposer.msm8996
|
||||
LIBHWCOMPOSER += hwcomposer.msm8952
|
||||
|
||||
#LIBAUDIOPARAM -- Exposing AudioParameter as dynamic library for SRS TruMedia to work
|
||||
LIBAUDIOPARAM := libaudioparameter
|
||||
|
@ -493,7 +501,6 @@ MM_CORE += libOmxCore
|
|||
|
||||
#MM_VIDEO
|
||||
MM_VIDEO := ast-mm-vdec-omx-test
|
||||
MM_VIDEO += libdivxdrmdecrypt
|
||||
MM_VIDEO += liblasic
|
||||
MM_VIDEO += libOmxVdec
|
||||
MM_VIDEO += libOmxVdecHevc
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Copyright (c) 2015, The Linux Foundation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following
|
||||
disclaimer in the documentation and/or other materials provided
|
||||
with the distribution.
|
||||
* Neither the name of The Linux Foundation nor the names of its
|
||||
contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- If Voice Radio Technology is RIL_RADIO_TECHNOLOGY_LTE:14 this is the value
|
||||
that should be used instead. A value of RIL_RADIO_TECHNOLOGY_UNKNOWN:0 means
|
||||
there is no replacement value and VoLTE is assumed to be supported -->
|
||||
<integer name="config_volte_replacement_rat">6</integer>
|
||||
</resources>
|
||||
|
|
@ -383,7 +383,11 @@ endif
|
|||
###################################################################################################
|
||||
|
||||
.PHONY: aboot
|
||||
ifeq ($(USESECIMAGETOOL), true)
|
||||
aboot: gensecimage_target gensecimage_install
|
||||
else
|
||||
aboot: $(INSTALLED_BOOTLOADER_MODULE)
|
||||
endif
|
||||
|
||||
.PHONY: kernel
|
||||
kernel: $(INSTALLED_BOOTIMAGE_TARGET) $(INSTALLED_SEC_BOOTIMAGE_TARGET) $(INSTALLED_4K_BOOTIMAGE_TARGET)
|
||||
|
|
|
@ -901,6 +901,118 @@ case "$target" in
|
|||
;;
|
||||
esac
|
||||
|
||||
case "$target" in
|
||||
"msm8996")
|
||||
# disable thermal bcl hotplug to switch governor
|
||||
echo 0 > /sys/module/msm_thermal/core_control/enabled
|
||||
for mode in /sys/devices/soc/qcom,bcl.*/mode
|
||||
do
|
||||
echo -n disable > $mode
|
||||
done
|
||||
for hotplug_mask in /sys/devices/soc/qcom,bcl.*/hotplug_mask
|
||||
do
|
||||
bcl_hotplug_mask=`cat $hotplug_mask`
|
||||
echo 0 > $hotplug_mask
|
||||
done
|
||||
for hotplug_soc_mask in /sys/devices/soc/qcom,bcl.*/hotplug_soc_mask
|
||||
do
|
||||
bcl_soc_hotplug_mask=`cat $hotplug_soc_mask`
|
||||
echo 0 > $hotplug_soc_mask
|
||||
done
|
||||
for mode in /sys/devices/soc/qcom,bcl.*/mode
|
||||
do
|
||||
echo -n enable > $mode
|
||||
done
|
||||
# configure governor settings for little cluster
|
||||
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
||||
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load
|
||||
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif
|
||||
echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay
|
||||
echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
|
||||
echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate
|
||||
echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq
|
||||
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy
|
||||
echo 80 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
|
||||
echo 40000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time
|
||||
echo 80000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis
|
||||
echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
|
||||
# online CPU2
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/online
|
||||
# configure governor settings for big cluster
|
||||
echo "interactive" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/use_sched_load
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/use_migration_notif
|
||||
echo "19000 1400000:39000 1700000:19000" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/above_hispeed_delay
|
||||
echo 90 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/go_hispeed_load
|
||||
echo 20000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/timer_rate
|
||||
echo 1248000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/hispeed_freq
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/io_is_busy
|
||||
echo "85 1500000:90 1800000:70" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/target_loads
|
||||
echo 40000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/min_sample_time
|
||||
echo 80000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/max_freq_hysteresis
|
||||
echo 300000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
|
||||
# re-enable thermal and BCL hotplug
|
||||
echo 1 > /sys/module/msm_thermal/core_control/enabled
|
||||
for mode in /sys/devices/soc/qcom,bcl.*/mode
|
||||
do
|
||||
echo -n disable > $mode
|
||||
done
|
||||
for hotplug_mask in /sys/devices/soc/qcom,bcl.*/hotplug_mask
|
||||
do
|
||||
echo $bcl_hotplug_mask > $hotplug_mask
|
||||
done
|
||||
for hotplug_soc_mask in /sys/devices/soc/qcom,bcl.*/hotplug_soc_mask
|
||||
do
|
||||
echo $bcl_soc_hotplug_mask > $hotplug_soc_mask
|
||||
done
|
||||
for mode in /sys/devices/soc/qcom,bcl.*/mode
|
||||
do
|
||||
echo -n enable > $mode
|
||||
done
|
||||
# input boost configuration
|
||||
echo "0:1344000 2:1344000" > /sys/module/cpu_boost/parameters/input_boost_freq
|
||||
echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms
|
||||
# Setting b.L scheduler parameters
|
||||
echo 1 > /proc/sys/kernel/sched_migration_fixup
|
||||
echo 30 > /proc/sys/kernel/sched_small_task
|
||||
echo 20 > /proc/sys/kernel/sched_mostly_idle_load
|
||||
echo 3 > /proc/sys/kernel/sched_mostly_idle_nr_run
|
||||
echo 95 > /proc/sys/kernel/sched_upmigrate
|
||||
echo 90 > /proc/sys/kernel/sched_downmigrate
|
||||
echo 400000 > /proc/sys/kernel/sched_freq_inc_notify
|
||||
echo 400000 > /proc/sys/kernel/sched_freq_dec_notify
|
||||
# Enable bus-dcvs
|
||||
for devfreq_gov in /sys/class/devfreq/*qcom,cpubw*/governor
|
||||
do
|
||||
echo "bw_hwmon" > $devfreq_gov
|
||||
done
|
||||
|
||||
soc_revision=`cat /sys/devices/soc0/revision`
|
||||
if [ "$soc_revision" == "2.1" ]; then
|
||||
# Disable C4, D3, D4 and M3 LPMs
|
||||
echo 0 > /sys/module/lpm_levels/system/pwr/cpu0/fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/pwr/cpu1/fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/perf/cpu2/fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/perf/cpu3/fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/pwr/pwr-l2-gdhs/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/pwr/pwr-l2-fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/perf/perf-l2-gdhs/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/perf/perf-l2-fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/system-fpc/idle_enabled
|
||||
|
||||
# Enable C4 LPM mode
|
||||
echo 1 > /sys/module/lpm_levels/system/pwr/cpu0/fpc/idle_enabled
|
||||
echo 1 > /sys/module/lpm_levels/system/pwr/cpu1/fpc/idle_enabled
|
||||
echo 1 > /sys/module/lpm_levels/system/perf/cpu2/fpc/idle_enabled
|
||||
echo 1 > /sys/module/lpm_levels/system/perf/cpu3/fpc/idle_enabled
|
||||
echo N > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
else
|
||||
#Disable suspend for v1.0 and v2.0
|
||||
echo pwr_dbg > /sys/power/wake_lock
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$target" in
|
||||
"msm8909")
|
||||
|
||||
|
@ -1016,7 +1128,7 @@ case "$target" in
|
|||
start mpdecision
|
||||
echo 512 > /sys/block/mmcblk0/bdi/read_ahead_kb
|
||||
;;
|
||||
"msm8994" | "msm8992")
|
||||
"msm8994" | "msm8992" | "msm8996")
|
||||
rm /data/system/perfd/default_values
|
||||
setprop ro.min_freq_0 384000
|
||||
setprop ro.min_freq_4 384000
|
||||
|
@ -1111,112 +1223,3 @@ if [ -f /sys/devices/soc0/select_image ]; then
|
|||
echo $image_variant > /sys/devices/soc0/image_variant
|
||||
echo $oem_version > /sys/devices/soc0/image_crm_version
|
||||
fi
|
||||
|
||||
case "$target" in
|
||||
"msm8996")
|
||||
# disable thermal bcl hotplug to switch governor
|
||||
echo 0 > /sys/module/msm_thermal/core_control/enabled
|
||||
for mode in /sys/devices/soc/qcom,bcl.*/mode
|
||||
do
|
||||
echo -n disable > $mode
|
||||
done
|
||||
for hotplug_mask in /sys/devices/soc/qcom,bcl.*/hotplug_mask
|
||||
do
|
||||
bcl_hotplug_mask=`cat $hotplug_mask`
|
||||
echo 0 > $hotplug_mask
|
||||
done
|
||||
for hotplug_soc_mask in /sys/devices/soc/qcom,bcl.*/hotplug_soc_mask
|
||||
do
|
||||
bcl_soc_hotplug_mask=`cat $hotplug_soc_mask`
|
||||
echo 0 > $hotplug_soc_mask
|
||||
done
|
||||
for mode in /sys/devices/soc/qcom,bcl.*/mode
|
||||
do
|
||||
echo -n enable > $mode
|
||||
done
|
||||
# configure governor settings for little cluster
|
||||
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
||||
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load
|
||||
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif
|
||||
echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay
|
||||
echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
|
||||
echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate
|
||||
echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq
|
||||
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy
|
||||
echo 80 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
|
||||
echo 40000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time
|
||||
echo 80000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis
|
||||
echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
|
||||
# online CPU2
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/online
|
||||
# configure governor settings for big cluster
|
||||
echo "interactive" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/use_sched_load
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/use_migration_notif
|
||||
echo "19000 1400000:39000 1700000:19000" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/above_hispeed_delay
|
||||
echo 90 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/go_hispeed_load
|
||||
echo 20000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/timer_rate
|
||||
echo 1248000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/hispeed_freq
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/io_is_busy
|
||||
echo "85 1500000:90 1800000:70" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/target_loads
|
||||
echo 40000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/min_sample_time
|
||||
echo 80000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/max_freq_hysteresis
|
||||
echo 300000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
|
||||
# re-enable thermal and BCL hotplug
|
||||
echo 1 > /sys/module/msm_thermal/core_control/enabled
|
||||
for mode in /sys/devices/soc/qcom,bcl.*/mode
|
||||
do
|
||||
echo -n disable > $mode
|
||||
done
|
||||
for hotplug_mask in /sys/devices/soc/qcom,bcl.*/hotplug_mask
|
||||
do
|
||||
echo $bcl_hotplug_mask > $hotplug_mask
|
||||
done
|
||||
for hotplug_soc_mask in /sys/devices/soc/qcom,bcl.*/hotplug_soc_mask
|
||||
do
|
||||
echo $bcl_soc_hotplug_mask > $hotplug_soc_mask
|
||||
done
|
||||
for mode in /sys/devices/soc/qcom,bcl.*/mode
|
||||
do
|
||||
echo -n enable > $mode
|
||||
done
|
||||
# Setting b.L scheduler parameters
|
||||
echo 1 > /proc/sys/kernel/sched_migration_fixup
|
||||
echo 30 > /proc/sys/kernel/sched_small_task
|
||||
echo 20 > /proc/sys/kernel/sched_mostly_idle_load
|
||||
echo 3 > /proc/sys/kernel/sched_mostly_idle_nr_run
|
||||
echo 95 > /proc/sys/kernel/sched_upmigrate
|
||||
echo 90 > /proc/sys/kernel/sched_downmigrate
|
||||
echo 400000 > /proc/sys/kernel/sched_freq_inc_notify
|
||||
echo 400000 > /proc/sys/kernel/sched_freq_dec_notify
|
||||
# Enable bus-dcvs
|
||||
for devfreq_gov in /sys/class/devfreq/*qcom,cpubw*/governor
|
||||
do
|
||||
echo "bw_hwmon" > $devfreq_gov
|
||||
done
|
||||
|
||||
soc_revision=`cat /sys/devices/soc0/revision`
|
||||
if [ "$soc_revision" == "2.1" ]; then
|
||||
# Disable C4, D3, D4 and M3 LPMs
|
||||
echo 0 > /sys/module/lpm_levels/system/pwr/cpu0/fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/pwr/cpu1/fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/perf/cpu2/fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/perf/cpu3/fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/pwr/pwr-l2-gdhs/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/pwr/pwr-l2-fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/perf/perf-l2-gdhs/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/perf/perf-l2-fpc/idle_enabled
|
||||
echo 0 > /sys/module/lpm_levels/system/system-fpc/idle_enabled
|
||||
|
||||
# Enable C4 LPM mode
|
||||
echo 1 > /sys/module/lpm_levels/system/pwr/cpu0/fpc/idle_enabled
|
||||
echo 1 > /sys/module/lpm_levels/system/pwr/cpu1/fpc/idle_enabled
|
||||
echo 1 > /sys/module/lpm_levels/system/perf/cpu2/fpc/idle_enabled
|
||||
echo 1 > /sys/module/lpm_levels/system/perf/cpu3/fpc/idle_enabled
|
||||
echo N > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
else
|
||||
#Disable suspend for v1.0 and v2.0
|
||||
echo pwr_dbg > /sys/power/wake_lock
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2009-2012, 2014, The Linux Foundation. All rights reserved.
|
||||
# Copyright (c) 2009-2012, 2014-2015, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
|
@ -502,7 +502,7 @@ service qti /system/vendor/bin/qti
|
|||
disabled
|
||||
|
||||
service sensors /system/bin/sensors.qcom
|
||||
class late_start
|
||||
class core
|
||||
user root
|
||||
group root
|
||||
disabled
|
||||
|
@ -899,7 +899,7 @@ on property:sys.dbg.coresight.enable=1
|
|||
on property:sys.dbg.coresight.enable=0
|
||||
write /persist/coresight/enable 0
|
||||
|
||||
service fidodaemon /system/vendor/bin/fidodaemon
|
||||
service qseeproxydaemon /system/vendor/bin/qseeproxydaemon
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
|
|
|
@ -165,6 +165,7 @@
|
|||
/dev/ttyGS0 0660 system system
|
||||
/dev/i2c-5 0660 media media
|
||||
/dev/voice_svc 0660 system audio
|
||||
/dev/avtimer 0660 system audio
|
||||
|
||||
# DVB devices
|
||||
/dev/dvb/adapter0/demux* 0440 media media
|
||||
|
|
Loading…
Reference in New Issue