summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChirayu Desai <chirayudesai1@gmail.com>2014-11-21 20:04:34 +0530
committerChirayu Desai <chirayudesai1@gmail.com>2014-11-30 20:20:56 +0530
commiteb1cee434cb3726ba8a45de9cd2b9ceafda3e993 (patch)
tree0d0d2885fd823d43b1af2a27909af17b61e83def
parent28d97b964643bd191faf403eb8fd9f615d432cd9 (diff)
Open source thermal management
* Use Sony's open source thermanager * Get rid of their proprietary implementation, sysmon Change-Id: I7e41d6b18273f669358b50616de57be212242151
-rw-r--r--proprietary-files.txt44
-rw-r--r--rootdir/init.qcom.rc8
2 files changed, 7 insertions, 45 deletions
diff --git a/proprietary-files.txt b/proprietary-files.txt
index ed413a5..3fd42c0 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -45,9 +45,12 @@ lib/hw/camera.qcom.so:lib/hw/camera.vendor.qcom.so
lib/libals.so
lib/libcamera_clientsemc.so
lib/libcammw.so
+lib/liblights-core.so
lib/libmmcamera_interface.so
lib/libmmjpeg_interface.so
+lib/libprotobuf-c.so
lib/libqomx_core.so
+lib/libsys-utils.so
vendor/lib/libfastcvopt.so
vendor/lib/libjpegdhw.so
vendor/lib/libjpegehw.so
@@ -324,47 +327,6 @@ etc/firmware/tzsuntory.mdt
vendor/lib/hw/sensors.msm8974.so
vendor/lib/libsensor_reg.so
-# Sysmon
-bin/system_monitor
-lib/liblights-core.so
-lib/libprotobuf-c.so
-lib/libsysmon_idd.so
-lib/libsysmon.so
-lib/libsys-utils.so
-lib/sysmon/sysmon_batt_therm.so
-lib/sysmon/sysmon_cam_therm0.so
-lib/sysmon/sysmon_charge_current_limit_level.so
-lib/sysmon/sysmon_charging.so
-lib/sysmon/sysmon_corelimit.so
-lib/sysmon/sysmon_dc_current_limit_value.so
-lib/sysmon/sysmon_emmc_therm.so
-lib/sysmon/sysmon_gpu_perflevel.so
-lib/sysmon/sysmon_lcd_brightness_level.so
-lib/sysmon/sysmon_modem_8974.so
-lib/sysmon/sysmon_msm_thermal_disable.so
-lib/sysmon/sysmon_msm_therm.so
-lib/sysmon/sysmon_pa_therm0.so
-lib/sysmon/sysmon_pa_therm1.so
-lib/sysmon/sysmon_perflevel.so
-lib/sysmon/sysmon_pm8941_tz.so
-lib/sysmon/sysmon_quiet_therm.so
-lib/sysmon/sysmon_test_sensor.so
-lib/sysmon/sysmon_tsens_interrupt.so
-lib/sysmon/sysmon_tsens_tz_sensor0.so
-lib/sysmon/sysmon_tsens_tz_sensor10.so
-lib/sysmon/sysmon_tsens_tz_sensor1.so
-lib/sysmon/sysmon_tsens_tz_sensor2.so
-lib/sysmon/sysmon_tsens_tz_sensor3.so
-lib/sysmon/sysmon_tsens_tz_sensor4.so
-lib/sysmon/sysmon_tsens_tz_sensor5.so
-lib/sysmon/sysmon_tsens_tz_sensor6.so
-lib/sysmon/sysmon_tsens_tz_sensor7.so
-lib/sysmon/sysmon_tsens_tz_sensor8.so
-lib/sysmon/sysmon_tsens_tz_sensor9.so
-lib/sysmon/sysmon_usb_current_limit_value.so
-lib/sysmon/sysmon_wlan_limit.so
-lib/sysmon/sysmon_xo_therm.so
-
# TA
bin/taimport
bin/ta_param_loader
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index ca153bb..5482123 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -586,11 +586,11 @@ service ta_qmi_service /system/bin/ta_qmi_service
user root
class main
-# Start system_monitor
-service system_monitor /system/bin/system_monitor
- socket sysmon stream 0660 root system
- class core
+# Thermal Manager service
+service thermanager /system/bin/thermanager /system/etc/thermanager.xml
+ class main
user root
+ group root
service rmt_storage /system/bin/rmt_storage
class core