Promotion of android-device.lnx.1.0-00026.
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- I45bf5d18e3b4f3c7fb6c0da97eaead3c759d53e7 post_boot: start energy-awareness and keep LPM disabled I2c359ed03c6e187b319e9af6d32441f83cae49f4 device: common: Enable host based touch processing for M 959061 I2fc2be22cec927a9ebf8c80b36801c42360619e2 Common: add RCS packages in base MK If4da0ab65ee1992dee74010f4e7234dde395c4eb init_msm: Add usergroup permission to auto refresh node Ic42738ce028ce892c22015b28a9cb45b9611d171 post_boot: titanium: correcting sysfs path for cpufreq p Change-Id: I7e4d26c909d0d812890e38fc1a7d65483ef1e267 CRs-Fixed: 959061
This commit is contained in:
commit
1815e6466c
8
base.mk
8
base.mk
|
@ -635,6 +635,13 @@ VT_JNI += libimscamera_jni
|
|||
# VT QTI Permissions
|
||||
VT_QTI_PERMISSIONS := qti_permissions.xml
|
||||
|
||||
#RCS
|
||||
RCS := rcs_service_aidl
|
||||
RCS += rcs_service_aidl.xml
|
||||
RCS += rcs_service_aidl_static
|
||||
RCS += rcs_service_api
|
||||
RCS += rcs_service_api.xml
|
||||
|
||||
#IMS SETTINGS
|
||||
IMS_SETTINGS := imssettings
|
||||
|
||||
|
@ -715,6 +722,7 @@ PRODUCT_PACKAGES += $(C2DCC)
|
|||
PRODUCT_PACKAGES += $(CHROMIUM)
|
||||
PRODUCT_PACKAGES += $(CIMAX)
|
||||
PRODUCT_PACKAGES += $(CM)
|
||||
PRODUCT_PACKAGES += $(RCS)
|
||||
PRODUCT_PACKAGES += $(CONNECTIVITY)
|
||||
PRODUCT_PACKAGES += $(CHARGER)
|
||||
PRODUCT_PACKAGES += $(CURL)
|
||||
|
|
|
@ -204,6 +204,10 @@ void set_display_node_perms()
|
|||
snprintf(tmp, sizeof(tmp), "%sfb0/dyn_pu", sys_fb_path);
|
||||
setPerms(tmp, 0664);
|
||||
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
|
||||
// Set permissions for cmd auto refresh
|
||||
snprintf(tmp, sizeof(tmp), "%sfb0/msm_cmd_autorefresh_en", sys_fb_path);
|
||||
setPerms(tmp, 0664);
|
||||
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
|
||||
}
|
||||
|
||||
static int check_rlim_action()
|
||||
|
|
|
@ -1063,7 +1063,7 @@ case "$target" in
|
|||
esac
|
||||
|
||||
case "$target" in
|
||||
"msmtitanium")
|
||||
"titanium")
|
||||
|
||||
if [ -f /sys/devices/soc0/soc_id ]; then
|
||||
soc_id=`cat /sys/devices/soc0/soc_id`
|
||||
|
@ -1071,8 +1071,22 @@ case "$target" in
|
|||
soc_id=`cat /sys/devices/system/soc/soc0/id`
|
||||
fi
|
||||
|
||||
if [ -f /sys/devices/soc0/hw_platform ]; then
|
||||
hw_platform=`cat /sys/devices/soc0/hw_platform`
|
||||
else
|
||||
hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform`
|
||||
fi
|
||||
|
||||
case "$soc_id" in
|
||||
"293" | "304" )
|
||||
|
||||
# Start Host based Touch processing
|
||||
case "$hw_platform" in
|
||||
"MTP" | "Surf" | "RCM" )
|
||||
start hbtp
|
||||
;;
|
||||
esac
|
||||
|
||||
#scheduler settings
|
||||
echo 3 > /proc/sys/kernel/sched_window_stats_policy
|
||||
echo 3 > /proc/sys/kernel/sched_ravg_hist_size
|
||||
|
@ -1140,7 +1154,7 @@ case "$target" in
|
|||
|
||||
#governor settings
|
||||
echo 1 > /sys/devices/system/cpu/cpu0/online
|
||||
echo "interactive" > /sys/devices/system/cpu/cpufreq/scaling_governor
|
||||
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
||||
echo "19000 1401600:39000" > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
|
||||
echo 85 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
|
||||
echo 20000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
|
||||
|
@ -1149,7 +1163,7 @@ case "$target" in
|
|||
echo "85 1401600:80" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
|
||||
echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
|
||||
echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor
|
||||
echo 652800 > /sys/devices/system/cpu/cpufreq/scaling_min_freq
|
||||
echo 652800 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
|
||||
|
||||
# re-enable thermal & BCL core_control now
|
||||
echo 1 > /sys/module/msm_thermal/core_control/enabled
|
||||
|
@ -1179,8 +1193,8 @@ case "$target" in
|
|||
echo 1 > /sys/devices/system/cpu/cpu6/online
|
||||
echo 1 > /sys/devices/system/cpu/cpu7/online
|
||||
|
||||
# Enable low power modes
|
||||
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
# KEEP low power modes Disabled
|
||||
echo 1 > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
|
||||
# SMP scheduler
|
||||
echo 100 > /proc/sys/kernel/sched_upmigrate
|
||||
|
@ -1194,6 +1208,9 @@ case "$target" in
|
|||
|
||||
# Set Memory parameters
|
||||
configure_memory_parameters
|
||||
|
||||
# start energy-awareness service
|
||||
start energy-awareness
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
@ -1904,7 +1921,7 @@ case "$target" in
|
|||
#start perfd after setprop
|
||||
start perfd # start perfd on 8916 and 8939
|
||||
;;
|
||||
"msm8937" | "msmtitanium")
|
||||
"msm8937")
|
||||
rm /data/system/perfd/default_values
|
||||
start perfd
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue