├── system ├── lib64 │ └── libthermalservice.so └── vendor │ ├── bin │ ├── mi_thermald │ ├── thermal-engine │ ├── thermal_factory │ └── thermal-engine-v2 │ └── etc │ ├── init │ └── android.hardware.thermal@1.0-service.rc │ ├── thermal-engine.conf │ ├── thermal-4k.conf │ ├── thermal-map.conf │ ├── thermal-camera.conf │ ├── thermal-cgame.conf │ ├── thermal-class0.conf │ ├── thermal-huanji.conf │ ├── thermal-mgame.conf │ ├── thermal-normal.conf │ ├── thermal-phone.conf │ ├── thermal-tgame.conf │ ├── thermal-video.conf │ ├── thermal-hp-mgame.conf │ ├── thermal-hp-normal.conf │ ├── thermal-nolimits.conf │ ├── thermal-per-cgame.conf │ ├── thermal-per-video.conf │ ├── thermal-videochat.conf │ ├── thermal-yuanshen.conf │ ├── thermal-cclassvideo.conf │ ├── thermal-dolbyvision.conf │ ├── thermal-navigation.conf │ ├── thermal-per-class0.conf │ ├── thermal-per-normal.conf │ ├── thermal-per-navigation.conf │ ├── thermal-per-cclassvideo.conf │ ├── thermal-chg-only.conf │ └── thermald-devices.conf ├── META-INF └── com │ └── google │ └── android │ ├── updater-script │ └── update-binary ├── common ├── system.prop ├── post-fs-data.sh ├── uninstall.sh └── service.sh ├── module.prop ├── version.json ├── CHANGELOG.md ├── .github └── FUNDING.yml ├── README.md └── install.sh /system/lib64/libthermalservice.so: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /system/vendor/bin/mi_thermald: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /system/vendor/bin/thermal-engine: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /system/vendor/bin/thermal_factory: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /system/vendor/bin/thermal-engine-v2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /META-INF/com/google/android/updater-script: -------------------------------------------------------------------------------- 1 | #MAGISK 2 | -------------------------------------------------------------------------------- /system/vendor/etc/init/android.hardware.thermal@1.0-service.rc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /system/vendor/etc/thermal-engine.conf: -------------------------------------------------------------------------------- 1 | # File empty by default. 2 | # Replace contents of this file with custom configuration. 3 | -------------------------------------------------------------------------------- /system/vendor/etc/thermal-4k.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-4k.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-map.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-map.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-camera.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-camera.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-cgame.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-cgame.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-class0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-class0.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-huanji.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-huanji.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-mgame.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-mgame.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-normal.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-normal.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-phone.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-phone.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-tgame.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-tgame.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-video.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-video.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-hp-mgame.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-hp-mgame.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-hp-normal.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-hp-normal.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-nolimits.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-nolimits.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-per-cgame.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-per-cgame.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-per-video.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-per-video.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-videochat.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-videochat.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-yuanshen.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-yuanshen.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-cclassvideo.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-cclassvideo.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-dolbyvision.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-dolbyvision.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-navigation.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-navigation.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-per-class0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-per-class0.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-per-normal.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-per-normal.conf -------------------------------------------------------------------------------- /system/vendor/etc/thermal-per-navigation.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-per-navigation.conf -------------------------------------------------------------------------------- /common/system.prop: -------------------------------------------------------------------------------- 1 | # This file will be read by resetprop 2 | # Kreapic Disable Thermal 3 | 4 | ro.vendor.dfps.enable=false 5 | ro.vendor.smart_dfps.enable=false 6 | -------------------------------------------------------------------------------- /system/vendor/etc/thermal-per-cclassvideo.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahisataruna/Kreapic-Disable-Thermal/HEAD/system/vendor/etc/thermal-per-cclassvideo.conf -------------------------------------------------------------------------------- /common/post-fs-data.sh: -------------------------------------------------------------------------------- 1 | #!/system/bin/sh 2 | # Please don't hardcode /magisk/modname/... ; instead, please use $MODDIR/... 3 | # This will make your scripts compatible even if Magisk change its mount point in the future 4 | MODDIR=${0%/*} 5 | 6 | # This script will be executed in post-fs-data mode 7 | # More info in the main Magisk thread 8 | -------------------------------------------------------------------------------- /module.prop: -------------------------------------------------------------------------------- 1 | id=kreapic-disable-thermal-universal 2 | name=Kreapic Disable Thermal Universal 3 | version=1.1 4 | versionCode=101 5 | author=Kreapic X AlgorithmIDN 6 | description=This is a Magisk module that is useful for disabling the thermal of your smartphone. 7 | Use it wisely, and all risks are your own responsibility. 8 | device=Universal 9 | -------------------------------------------------------------------------------- /version.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1", 3 | "versionCode": 101, 4 | "author" : "AlgorithmIDN", 5 | "update-time": "20241130", 6 | "changelog": "https://github.com/mahisataruna/Kreapic-Disable-Thermal/blob/v1.0/CHANGELOG.md", 7 | "zipUrl": "https://github.com/mahisataruna/Kreapic-Disable-Thermal/releases/tag/v1.0-beta" 8 | } 9 | -------------------------------------------------------------------------------- /common/uninstall.sh: -------------------------------------------------------------------------------- 1 | # Don't modify anything after this 2 | if [ -f $INFO ]; then 3 | while read LINE; do 4 | if [ "$(echo -n $LINE | tail -c 1)" == "~" ]; then 5 | continue 6 | elif [ -f "$LINE~" ]; then 7 | mv -f $LINE~ $LINE 8 | else 9 | rm -f $LINE 10 | while true; do 11 | LINE=$(dirname $LINE) 12 | [ "$(ls -A $LINE 2>/dev/null)" ] && break 1 || rm -rf $LINE 13 | done 14 | fi 15 | done < $INFO 16 | rm -f $INFO 17 | fi -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## [Releases] 4 | 5 | ## [1.1] - 2024-11-30 6 | 7 | ### Changed 8 | - Minor Update `service.sh` 9 | 10 | ### Fixed 11 | - Stabilization system `HOT_ISSUES` 12 | 13 | ## [Unreleased] 14 | 15 | ## [1.0] - 2023-11-17 16 | 17 | ### Added 18 | - Universal Initial Build version 1.0 `BETA` 19 | 20 | [releases]: https://github.com/mahisataruna/Kreapic-Disable-Thermal/releases/tag/v1.1 21 | [1.1]: https://github.com/mahisataruna/Kreapic-Disable-Thermal/tree/16f4fc6054764f0ef60e332a6ae88808b25a3f36 22 | 23 | [unreleased]: https://github.com/mahisataruna/Kreapic-Disable-Thermal/compare/v1.0-beta...v1.1 24 | [1.0]: https://github.com/mahisataruna/Kreapic-Disable-Thermal/tree/fa1810724266f397d4dfaa176753d6d21deb4963 25 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [mahisataruna] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | saweria: AlgorithmDev [https://saweria.co/algorithmdev] 5 | patreon: # Replace with a single Patreon username 6 | open_collective: # Replace with a single Open Collective username 7 | ko_fi: # Replace with a single Ko-fi username 8 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 9 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 10 | liberapay: # Replace with a single Liberapay username 11 | issuehunt: # Replace with a single IssueHunt username 12 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry 13 | polar: # Replace with a single Polar username 14 | buy_me_a_coffee: # Replace with a single Buy Me a Coffee username 15 | thanks_dev: # Replace with a single thanks.dev username 16 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 17 | -------------------------------------------------------------------------------- /system/vendor/etc/thermal-chg-only.conf: -------------------------------------------------------------------------------- 1 | [VIRTUAL-SENSOR0] 2 | algo_type Virtual 3 | sensors battery pa_therm0 pa_therm1 quiet_therm charger_therm0 wifi_therm cpu_therm 4 | weight 177 -35 125 529 160 -210 186 5 | polling 1000 6 | weight_sum 1000 7 | compensation 1045 8 | 9 | [CHG-ONLY-MONITOR-SENSOR0] 10 | algo_type monitor 11 | sensor VIRTUAL-SENSOR0 12 | device VIRTUAL-SENSOR0 13 | polling 1000 14 | trig 25000 30000 35000 15 | clr 23000 27000 32000 16 | target 10000 5000 1000 17 | 18 | [CHG-ONLY-SS-CPU4] 19 | algo_type ss 20 | sensor VIRTUAL-SENSOR0 21 | device cpu4 22 | polling 1000 23 | trig 10000 30000 35000 37000 39000 41000 42000 43000 44000 45000 24 | clr 9000 28000 33000 35000 37000 39000 41000 42000 43000 44000 25 | target 2112000 1881600 1766400 1651200 1440000 1324800 1113600 998400 883200 633600 26 | 27 | [CHG-ONLY-SS-CPU7] 28 | algo_type ss 29 | sensor VIRTUAL-SENSOR0 30 | device cpu7 31 | polling 1000 32 | trig 10000 30000 35000 37000 39000 41000 42000 43000 44000 33 | clr 9000 28000 33000 35000 37000 39000 41000 42000 43000 34 | target 2246400 1996800 1881600 1651200 1401600 1171200 1036800 921600 787200 35 | 36 | [CHG-ONLY-MONITOR-BAT] 37 | algo_type monitor 38 | sensor VIRTUAL-SENSOR0 39 | device battery 40 | polling 2000 41 | trig 34000 36500 37500 38500 40000 41000 41800 44000 45000 42 | clr 32000 35000 36500 37500 38500 40000 41000 41800 44000 43 | target 700 802 903 1004 1005 1106 1408 1411 1515 -------------------------------------------------------------------------------- /common/service.sh: -------------------------------------------------------------------------------- 1 | #!/system/bin/sh 2 | sleep 20 3 | 4 | # Universal Thermal Disable 5 | echo disable > /sys/class/thermal/thermal_zone*/mode 6 | 7 | # Stop any thermal feature 8 | echo 0 > /proc/sys/kernel/sched_boost 9 | echo N > /sys/module/msm_thermal/parameters/enabled 10 | echo 0 > /sys/module/msm_thermal/core_control/enabled 11 | echo 0 > /sys/kernel/msm_thermal/enabled 12 | 13 | # Stop statistic storage feature 14 | for queue in /sys/block/sd*/queue 15 | do 16 | echo "0" > "$queue/iostats" 17 | done 18 | 19 | sleep 5 20 | 21 | # Thermal stop method 22 | stop logd 23 | sleep 1 24 | stop android.thermal-hal 25 | sleep 1 26 | stop vendor.thermal-engine 27 | sleep 1 28 | stop vendor.thermal_manager 29 | sleep 1 30 | stop vendor.thermal-manager 31 | sleep 1 32 | stop vendor.thermal-hal-2-0 33 | sleep 1 34 | stop vendor.thermal-symlinks 35 | sleep 1 36 | stop thermal_mnt_hal_service 37 | sleep 1 38 | stop thermal 39 | sleep 1 40 | stop mi_thermald 41 | sleep 1 42 | stop thermald 43 | sleep 1 44 | stop thermalloadalgod 45 | sleep 1 46 | stop thermalservice 47 | sleep 1 48 | stop sec-thermal-1-0 49 | sleep 1 50 | stop debug_pid.sec-thermal-1-0 51 | sleep 1 52 | stop thermal-engine 53 | sleep 1 54 | stop vendor.thermal-hal-1-0 55 | sleep 1 56 | stop vendor-thermal-1-0 57 | sleep 1 58 | stop thermal-hal 59 | sleep 3 60 | 61 | # Setprop thermal disable 62 | setprop init.svc.thermal stopped 63 | setprop init.svc.thermal-managers stopped 64 | setprop init.svc.thermal_manager stopped 65 | setprop init.svc.thermal_mnt_hal_service stopped 66 | setprop init.svc.thermal-engine stopped 67 | setprop init.svc.mi-thermald stopped 68 | setprop init.svc.thermalloadalgod stopped 69 | setprop init.svc.thermalservice stopped 70 | setprop init.svc.thermal-hal stopped 71 | setprop init.svc.vendor.thermal-symlinks 72 | setprop init.svc.android.thermal-hal stopped 73 | setprop init.svc.vendor.thermal-hal stopped 74 | setprop init.svc.thermal-manager stopped 75 | setprop init.svc.vendor-thermal-hal-1-0 stopped 76 | setprop init.svc.vendor.thermal-hal-1-0 stopped 77 | setprop init.svc.vendor.thermal-hal-2-0.mtk stopped 78 | setprop init.svc.vendor.thermal-hal-2-0 stopped -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 9 |
10 |
11 |