INTRO

Instructions

Welcome to Multi-UVTools. This application helps you manage your Quansheng radio.

Getting Started

Connect your radio via USB. Baud rate: 38400 (Default) / 115200 (Specific firmwares).

Available Features:

  • Tools: EEPROM backup/restore, calibration management, and HEX view
  • Flash: Flash firmware for UV-K5/K6/5R and UV-K5 V3/K1 radios
  • Channels: Read, edit and write channels to the radio
  • Settings: Edit basic settings, DTMF contacts, and FM radio frequencies
  • Mirror: Mirror the radio display in real time
  • SMR: Short message radio for sending and receiving SMS frames

Boot Mode:

To flash firmware, connect the radio in boot mode by holding PTT while turning on the power.

⭐ Complete Documentation of the Quansheng UV-K5 — Wiki by Ludwich66

An exceptional work of documentation and reference.

View Wiki on GitHub

Open Source Project

This website is available on my GitHub (spm81) Matoz.

The code is open so that everyone can contribute to and improve the site. You can also ask to add your custom firmware or simply make pull requests on GitHub, and I will then add them to my code.

I hope you enjoy my work! 🚀

UV-K5/K1 TOOLSET

Tools to manage your radio.

Connect the radio to backup, restore, firmware update, channel editing and basic settings.

Memory: 8 KB EEPROM | 200 Channels | External EEPROM

EEPROM backup

Save the radio's current configuration.

Progress 0%

The file will be downloaded as .bin.

Restore EEPROM

Restore a backup file to the radio.

Progress 0%

Dump Calibration

Save the calibration area (0x1E00-0x2000).

Progress 0%

Calibration file will be downloaded as .bin.

Restore Calibration

Restore calibration data from a backup file.

Progress 0%

Expected size: 512 bytes.

Emergency Calibration Restore Tool

Restore calibration from pre-loaded files.

⚠️ Warning: Use only in case of emergency (radio with password, locked radio, or misconfigured radio) and/or only if you do not have the calibration file for your radio.

Progress 0%

Select a model to restore its default calibration.

CHANNELS TOOLS

Channel editor.

Read, edit and write channels to the radio.

Disconnected

-

1-50 of 200
Idle.
Progress  0%
# Name RX Freq TX Freq Mod BW Power RX Tone TX Tone Step Scrambler List
Idle 0%

SETTINGS TOOLS

Basic settings editor.

Read and write settings from the radio.

⚠️ Work in progress. Do not use yet.

Disconnected

-

Firmware Profile

Select the firmware profile to use for settings.

DTMF Contacts

Manage DTMF contacts stored in the radio (EEPROM: 0x1C00 - 0x1D00).

# Name (8 chars) DTMF ID (0-9, A-D, *, #)

Radio (FM Frequencies)

Quick frequency memory slots (EEPROM: 0x0E40 - 0x0E68).

# RX Frequency (MHz)
Idle 0%

Select a firmware profile and click "Read Settings" to load settings from your radio.

MIRROR TOOL

Display mirror

Mirror the radio display in real time.

Disconnected

No radio connected.

Firmware
-

SMR TOOL

SMR

Short message radio for sending and receiving SMS frames.

Select the message app in the radio (F+M) to use this tool.

Disconnected

No radio connected.

Firmware
-

Messages

Use Enter to send.

RECOVERY TOOL

🔧 Unbricking UV-K5 V1

Restore a bricked UV-K5 V1 using ST-LINK V2 and OpenOCD

UV-K5 V1 Unbricking Setup

⚠️ F4HWN 4.3 Fusion 🔥 Edition is ONLY compatible with UV-K5 V3 and UV-K1. When flashed onto a UV-K5 V1, it causes a complete brick. Fortunately, the UV-K5 V1 can be fully restored using OpenOCD and a ST-LINK programmer.

❌ When do you need this?

Your UV-K5 V1 may be bricked if:

  • ❌ The radio does not power on anymore
  • ❌ DFU mode is unavailable (PTT + Power ON doesn't work)
  • ❌ No LED activity at all
  • ❌ Flashing tools cannot detect the device

This usually happens when you flash a UV-K5 V1 with firmware meant for UV-K1 or UV-K5 V3 (like F4HWN Fusion 🔥 Edition).

📋 Requirements

  • 🔌 ST-LINK V2 programmer (original or clone)
  • 🔗 4 Dupont jumper wires
  • 🔧 Small screwdriver to open the radio
  • 💻 OpenOCD installed on your computer (Windows / macOS / Linux)

📥 Installing OpenOCD

🍎 macOS (Homebrew)
brew install openocd
🐧 Linux (Ubuntu/Debian)
sudo apt install openocd

Verify installation: openocd --version

OpenOCD Output

OpenOCD successful output

🔌 SWD Connection Points

The radio must be opened to access the front side of the PCB. Connect the ST-LINK V2 to these pins:

Signal UV-K5 V1 Pad ST-LINK Pin
GNDGND padGND
SWCLKSWCLK padSWCLK
SWDIOSWDIO padSWDIO
3.3VVCC pad3.3V
⚠️ WARNING: Do NOT connect the battery while using the ST-LINK. The ST-LINK provides 3.3V to the board.

📍 PCB Connection Images

SWD Pinout Location

SWD Pinout Location

PCB Bottom View

PCB Connection Points

📦 Download Unbrick Toolkit

Download the complete toolkit containing bootloader, OpenOCD configs, and helper script:

📥
Complete Toolkit (ZIP)
13.5MB - Includes bootloader, configs & video
🪟
Windows Version
by @dguimaraes88 - Easier for Windows users

Or download individual files:

💾 bootloader.bin (4KB) 📜 unbrick_k5_v1.sh

⚡ Unbrick Procedure

Step 1: Connect the ST-LINK

  1. Connect the ST-LINK pins to the SWD pads:
    • 3.3V → 3.3V
    • SWDIO → SWDIO
    • SWCLK → SWCLK
    • GND → GND
  2. Plug the ST-LINK into your computer
  3. Power on your UV-K5 V1 (normal mode, without battery)

Step 2: Flash the Bootloader

From the unbrick_k5_v1 directory:

✨ Option A — Helper script (Recommended)
./unbrick_k5_v1.sh
🔧 Option B — Manual OpenOCD command
openocd -f ./interface/stlink.cfg -f ./target/dp32g030.cfg -c "init; reset halt; uv_flash_bl bootloader.bin; shutdown"
💡 Note for Windows users: You must either run this command with administrator privileges or launch OpenOCD.exe as an Administrator.

✅ Step 3: After Successful Flash

If no errors appear, the bootloader has been successfully restored:

  1. Disconnect and remove the ST-LINK from your UV-K5 V1 SWD port
  2. Reinstall the battery
  3. Power on the radio in DFU mode (hold PTT + Power ON)

✅ The device should now start correctly in DFU mode again. You can then flash stock firmware, or the F4HWN firmware for UV-K5 V1 (not the Fusion 🔥 Edition).

🎬 Video Demonstration

Watch the complete unbrick process in action. The video is included in the toolkit download.

🎬

Video demo unbrick.mov is included in the Complete Toolkit ZIP

📥 Download Toolkit with Video

📺 Video Tutorials

If you're new to ST-LINK, OpenOCD, or SWD debugging, these videos will give you a clear visual overview:

🎬 Your UV-K5 V1 is bricked? 🫣 Here's how to fix it 😌
by F4HWN
🎬 UNBRICK - Process Windows Quansheng UV-K5, K6
by M0FXB

ℹ️ These resources are not mandatory, but they can make the procedure much easier to follow.

⚠️ Important Notes

  • This procedure is for UV-K5 V1 only
  • UV-K5 V3 and UV-K1 use different firmware and don't need this
  • Opening the radio may void warranty
  • Work carefully with the PCB connections
  • Double-check all wiring before powering on
  • Never connect battery while ST-LINK is connected
⚠️ DISCLAIMER

This procedure requires opening the device and directly manipulating its microcontroller over SWD. Incorrect use may permanently damage the radio. Proceed at your own risk.

❤️ Guide and tools by F4HWN (Armel)  •  Windows version by @dguimaraes88

FLASH TOOLS

UV-K5/K1 Flash Tools

TK11/RT-890 Flash Tools

Flash firmware for UV-K5 and UV-K1 radios.

UV-K5/K6/5R firmware Firmware

⚠️ Connect the radio in boot mode ( PTT + Power ON ) from the navigation bar before flashing.

Flash Firmware (UV-K5/K6/5R)

Select a pre-loaded firmware or upload your own.

No firmware selected

Progress 0%

UV-K5 V3 & UV-K1 Firmware

⚠️ Connect the radio in boot mode ( PTT + Power ON ) from the navigation bar before flashing.

Flash Firmware (UV-K5 V3 & UV-K1)

Select a pre-loaded firmware or upload your own.

No firmware selected

Progress 0%