Based on: https://github.com/helloklf/vtools/tree/master/mi-thermal-config Run: sudo chmod +x thermal miui-thermal Decrypt ./thermal d Encrypt ./thermal e