qs-uvk5-firmware-modder/README.md

84 wiersze
2.0 KiB
Markdown

2023-05-16 19:18:04 +00:00
# Quansheng UV-K5 firmware encoder/decoder
2023-05-13 21:28:22 +00:00
2023-06-03 03:21:31 +00:00
WARNING: I am not responsible for the consequences of using. Think before use twice or more. =)
2023-05-16 19:36:56 +00:00
Supports updater [v1.1.7](https://drive.google.com/file/d/1l7NiaImDJCEhKz6BdxD4UxNbs_u4J-cr/view?usp=share_link) (decrypted only) and [1.1.11+](https://drive.google.com/file/d/1hvjFoKGwMibhNqMi6X-rjFYcb6iIzUxe/view?usp=share_link) (encrypted only).
2023-05-14 04:51:01 +00:00
2023-05-16 19:26:29 +00:00
## Usage
2023-06-03 03:21:31 +00:00
### Example modding
2023-06-03 03:34:25 +00:00
Supported versions see inside `addresses` directory.
Values editable by versions inside `mods` directory. Take care about exact values, for ex `50 MHz` is `5_000_000`.
2023-06-03 03:21:31 +00:00
```
./modder.py fw/k5_26_encrypted.bin > fw/k5_26_encrypted_mod18to1300.bin
```
2023-06-10 17:03:51 +00:00
### Example UV-K5 programming tool
Common usage:
```
python3 uvk5.py <port> <command> [args]
```
Specific usage:
```
python3 uvk5.py com3 version
python3 uvk5.py com3 channels
```
2023-06-03 03:21:31 +00:00
### Encdec usage
2023-05-16 19:26:29 +00:00
```
2023-06-13 19:05:37 +00:00
./fw.py <enc|dec> input.bin > output.bin
2023-05-16 19:26:29 +00:00
```
2023-06-03 03:34:25 +00:00
Example decrypt
2023-05-16 19:26:29 +00:00
```
2023-06-13 19:05:37 +00:00
./fw.py dec k5_26_encrypted.bin > k5_26_raw.bin
2023-05-16 19:26:29 +00:00
```
2023-06-03 03:34:25 +00:00
Example encrypt
2023-05-16 19:26:29 +00:00
2023-05-16 19:25:27 +00:00
```
2023-06-13 19:05:37 +00:00
./fw.py enc k5_26_raw.bin > k5_26_encrypted.bin
2023-05-16 19:25:27 +00:00
```
2023-05-16 19:26:53 +00:00
## Links
2023-06-14 16:01:15 +00:00
### Special thanks to
2023-06-14 15:55:39 +00:00
2023-06-14 16:00:25 +00:00
@amnemonic for [Mods kitchen, tools](https://github.com/amnemonic/Quansheng_UV-K5_Firmware/tree/main)
2023-06-14 15:55:39 +00:00
2023-06-14 16:00:25 +00:00
@Tunas1337 for [Modded firmwares](https://github.com/Tunas1337/UV-K5-Modded-Firmwares)
2023-06-14 15:55:39 +00:00
2023-06-14 16:00:25 +00:00
@sq5bpf for [uvk5 reverse engineering](https://github.com/sq5bpf/uvk5-reverse-engineering)
2023-06-14 15:55:39 +00:00
2023-06-14 16:00:25 +00:00
@sq5bpf for [k5prog](https://github.com/sq5bpf/k5prog)
2023-06-14 15:55:39 +00:00
2023-06-14 16:19:07 +00:00
### Discussion
[Telegram Channel - EN](https://t.me/quansheng_uvk5_en)
[Telegram Channel - RU](https://t.me/uv_k5)
[Telegram Channel - ES](https://t.me/QuanShengES)
2023-06-14 16:01:15 +00:00
### Information
2023-06-14 15:55:39 +00:00
2023-05-16 19:26:53 +00:00
[Firmware versions](https://drive.google.com/drive/folders/1GXWjiW0geMiAnVxWpm5rf6OUlXT43ZzB?usp=share_link)
2023-05-16 19:24:33 +00:00
2023-05-16 19:18:04 +00:00
[Windows software](https://drive.google.com/drive/folders/1rpQGXZpt3b9hQrC_2rx-hFjnlO8SdsRb?usp=sharing)
2023-05-16 19:28:06 +00:00
[About Quansheng UV-K5 usage](https://mikhail-yudin.ru/notes/quansheng-uv-k5-opyt-raboty/) (Russian)
2023-05-16 19:35:04 +00:00
## Results
![](.img/photo_2023-05-15_23-30-39.jpg)