Quansheng UV-K5 firmware encoder/decoder
Go to file
Mikhail Yudin 042a65bf34 si4732 patch support 2024-04-19 04:08:24 +07:00
.img
addresses
data
mods
.gitignore
README.md
fw.py
hexdump.py
modder.py
patch.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