Quansheng UV-K5 firmware encoder/decoder
Go to file
Mikhail Yudin 042a65bf34 si4732 patch support 2024-04-19 04:08:24 +07:00
.img Delete .placeholder 2023-05-17 02:34:13 +07:00
addresses Create 3.00.10.ini 2023-07-14 18:55:04 +07:00
data Add files via upload 2023-07-14 18:57:51 +07:00
mods Create 3.00.10.ini 2023-07-14 18:56:14 +07:00
.gitignore refactor 2023-05-14 15:11:27 +07:00
README.md readme 2023-06-14 23:19:07 +07:00
fw.py feat: fw library ++ 2023-06-14 02:04:22 +07:00
hexdump.py refactor 2023-06-10 12:59:55 +07:00
modder.py refactor 2023-06-10 23:49:58 +07:00
patch.py si4732 patch support 2024-04-19 04:08:24 +07:00
requirements.txt feat: read fw version from device 2023-05-18 02:43:24 +07:00
uvk5.py si4732 patch support 2024-04-19 04:08:24 +07:00

README.md

Quansheng UV-K5 firmware encoder/decoder

WARNING: I am not responsible for the consequences of using. Think before use twice or more. =)

Supports updater v1.1.7 (decrypted only) and 1.1.11+ (encrypted only).

Usage

Example modding

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.

./modder.py fw/k5_26_encrypted.bin > fw/k5_26_encrypted_mod18to1300.bin

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

Encdec usage

./fw.py <enc|dec> input.bin > output.bin

Example decrypt

./fw.py dec k5_26_encrypted.bin > k5_26_raw.bin

Example encrypt

./fw.py enc k5_26_raw.bin > k5_26_encrypted.bin

Special thanks to

@amnemonic for Mods kitchen, tools

@Tunas1337 for Modded firmwares

@sq5bpf for uvk5 reverse engineering

@sq5bpf for k5prog

Discussion

Telegram Channel - EN

Telegram Channel - RU

Telegram Channel - ES

Information

Firmware versions

Windows software

About Quansheng UV-K5 usage (Russian)

Results