Quansheng UV-K5 firmware encoder/decoder
Go to file
Mikhail Yudin 80db7f718a feat: modder v2 2023-06-09 00:12:07 +07:00
.img
addresses feat: 2.01.19 mod 2023-06-03 11:21:08 +07:00
data refactor; feat: modder initial 2023-06-03 09:55:17 +07:00
lib refactor; feat: modder initial 2023-06-03 09:55:17 +07:00
mods feat: AM support (F2) mod 2023-06-03 11:27:44 +07:00
tools feat: hexdump 2023-06-03 12:16:23 +07:00
.gitignore
README.md Update README.md 2023-06-03 10:34:25 +07:00
encdec.py refactor; feat: modder initial 2023-06-03 09:55:17 +07:00
modder.py chmod +x 2023-06-03 12:13:17 +07:00
modder2.py feat: modder v2 2023-06-09 00:12:07 +07:00
requirements.txt

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

Encdec usage

./encdec.py <e|d> input.bin > output.bin

Example decrypt

./encdec.py d k5_26_encrypted.bin > k5_26_raw.bin

Example encrypt

./encdec.py e k5_26_raw.bin > k5_26_encrypted.bin

Example freq bounds find

./freq-bounds-finder.py fw/k5_26_raw.bin

0x1510: 60000000
0xE08C: 47000000
0xE0A8: 60000000

See addressses in issue

Firmware versions

Windows software

About Quansheng UV-K5 usage (Russian)

Results