From 9d3f8fa70c5a698fbf6483f80f0731be44cbb0a4 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Wed, 6 Apr 2022 17:17:48 +0800 Subject: [PATCH] thermal: disable SKIN thermal throttling Disable SKIN thermal throttling to avoid any side effect until we receive the device which has the normal HW thermal solution. Because the Tj thermal throttling is still workable, so there should be no overheating risk. Bug: 221077673 Test: no thermalHAL crash found Change-Id: I88c23527b5add9e6b07a2ea4ab824ea4f699261c --- conf/init.felix.rc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/conf/init.felix.rc b/conf/init.felix.rc index b8b258e..a39f977 100644 --- a/conf/init.felix.rc +++ b/conf/init.felix.rc @@ -92,11 +92,8 @@ on boot && property:ro.build.type=userdebug && \ setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override} # Thermal -on late-init && property:ro.boot.hardware.revision=DEV1.0 - setprop vendor.thermal.config "thermal_info_config_proto.json" - -on late-init && property:ro.boot.hardware.revision=PROTO1.0 - setprop vendor.thermal.config "thermal_info_config_proto.json" +on late-init + setprop persist.vendor.disable.thermal.control 1 # Hall sensor on init && property:ro.bootmode=normal