Quansheng UV-K5 firmware encoder/decoder
Go to file
Mikhail 687ed97437
Add files via upload
2023-07-14 18:57:51 +07:00
.img
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
README.md
fw.py
hexdump.py
modder.py
requirements.txt
uvk5.py

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