DK1MI.radio

QuanSheng UV-K5: Custom Firmware and Programming on Linux

Update 2024-02-05: Added new section “Troubleshooting”

This post is intended to help you get started with migrating the QuanSheng UV-K5 handheld radio to a custom firmware under Linux and then programming it using CHIRP.

Firmware upgrade

I’ve tried several modded firmwares for the UV-K5 and finally decided to stick with the egzumer variant. It’s not only feature rich (SSB demodulation, spectrum analyzer) but also has a nice web based firmware flasher. This makes the upgrade very easy especially when running Linux. To upgrade your radio, do the following:

After the radio has been successfully flashed, power it down, remove the cable and power it on again.

Installation of CHIRP

A big advantage of the custom firmware is that the great CHIRP software can be used to program the HT. I have installed it on Debian 12 with the following commands (please replace the chirp WHL url with the latest version available):

# mkdir ~/python
# cd ~/python
# python3 -m venv env
# source env/bin/activate
# wget https://trac.chirp.danplanet.com/chirp_next/next-20231213/chirp-20231213-py3-none-any.whl
# pip3 install chirp-20231213-py3-none-any.whl

If you don’t have wxPython installed on your system, you need to do so with

# pip install wxpython

Please note that this might take a long time since the code will be compiled on your system.

Afterwards you can start chirp with the following command:

# chirp

Theoretically you can now already program your radio but you might want to be able to access the extra features of the custom firmware. To do so, the egzumer CHIRP driver needs to be installed:

If you are not familiar with CHIRP and how to program a radio with it, please consult the CHIRP Beginners Guide.

Troubleshooting

Thank you for reading! If you have any comments or questions, please send me an e-mail.

#Ham Radio #Linux