Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adithya2306/mi-thermal-crypt
https://github.com/adithya2306/mi-thermal-crypt
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/adithya2306/mi-thermal-crypt
- Owner: adithya2306
- Created: 2023-05-30T04:06:36.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-05-30T04:13:49.000Z (over 1 year ago)
- Last Synced: 2024-07-16T19:41:30.481Z (5 months ago)
- Language: C
- Size: 20.5 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mi-thermal-crypt
Encrypt or decrypt thermal configs used by mi-thermald on all Xiaomi devices.
You can use this to decrypt, for example, `thermal-normal.conf`, edit it and then encrypt it back (mi-thermald accepts only encrypted thermal configs, not plain text).```
Usage: mi-thermal-crypt [OPTION]...
Encrypt/decrypt mi_thermald configs-h, --help Print help and exit
-V, --version Print version and exit
-i, --infile=STRING Input filename
-o, --outfile=STRING Output filename
-e, --encrypt Encrypt input plain text file to output file
(default=off)
```To compile it yourself:
```
gcc mi-thermal-crypt.c cmdline.c -o mi-thermal-crypt -lssl -lcrypto
```### TODO
- Convert to Python or something