[Bug] Governor & per-core temperature not reading correctly on MediaTek MT6991 (Poco X8 Pro Max)
Description
Found this bug while testing on a new device (Poco X8 Pro Max, MT6991/Dimensity 9500s). Governor and per-core temperature are not reading correctly, possibly due to a path difference on this device. Tested using the latest release.
Environment
- Device: Poco X8 Pro Max (MT6991, board
dash) - Arch: arm64-v8a
Actual
- Governor:
N/A - Temperature:
0.0 °C - Frequency still reads normally
Notes
Frequency reading works fine, so the sysfs base path is correct issue is likely isolated to the specific node names/paths used for governor and thermal zone lookup on this chipset.
Investigation results (POCO X8 Pro Max, MT6991, stock HyperOS, non-root):
1. Temperature 0.0 °C — FIXED.
Native sysfs reads return 0 on this ROM, so temperature now falls back to a Shizuku-backed read of the thermal HAL (dumpsys thermalservice). The aggregate CPU temperature now shows a real value (43–64 °C depending on load).
2. Per-core temperature — not a path bug, and not fixable without root.
The HAL on this device exposes a single aggregate reading; the same physical value is reported as CPU=GPU=NPU=SOC/TPU (all identical, e.g. 43.6 °C). There is no per-core sensor to read. Instead of showing the same fake value on every core, the per-core temperature badge is now hidden when native per-core data is absent. This is deliberate — see commits ed287c8 and 97c4c64.
3. Governor N/A — permission limitation, not a path issue.
/sys/devices/system/cpu/cpuX/cpufreq/scaling_governor is -rw-rw---- system:system on this device. It is DAC-denied to the shell user, so neither native reads nor Shizuku (shell uid) can open it. Governor can only be read with root/system privileges; showing N/A is the correct non-root behavior.
Summary: the "shows 0.0 °C / N/A" symptom is resolved (no more fabricated values), but full governor and per-core temperature reading is not achievable on a non-rooted device with this ROM — it is a platform permission limitation rather than an app bug. Closing as fixed-by-design.