Skip to content

Instantly share code, notes, and snippets.

@pjobson
Last active Sep 14, 2021
Embed
What would you like to do?
Baofeng GT-3TP Linux Flash Notes

Baofeng GT-3TP Linux Flash Notes

All FCC Rules apply, if you are not licensed you shouldn't be broadcasting on channels which are forbidden.

CHIRP LOGO

Loosely based on these GT-3 instructions.

I had a lot of trouble flashing on Windows 10 and MacOS, I should really have just started with Linux and not wasted a long time with the other OSes.

I used Mint which is a distribution based on Ubuntu, I'd venture to guess this would work with any debian derivitave and could probably be easily adapted to other distributions.

Linux Version Note

You need Python 2 to install CHIRP, therefore you need an older version of Mint/Ubuntu. CHIRP will not install on Ubuntu focal (20.x), but will on bionic (18.x). I tried hacking on it for like 2 hours with focal and failed hard. Use Mint 19.3 or Ubuntu 18.04 LTS.

USB Cable

You'll need a Serial-to-USB cable, we got two, one was nothing but trouble. Here how they appeared in lsusb:

Bus 006 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 006 Device 007: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

The Prolific one worked great, the QinHeng did not. I believe the QinHeng came with a kit and I purchased the Prolific on its own. Here's the Prolific on Amazon.

Download

This builds from source, you can experiment with the Flatpak, but this is what worked for me.

Get the latest source tarball from CHIRP, mine was chirp-daily-20210814.tar.gz.

https://trac.chirp.danplanet.com/chirp_daily/LATEST/

Install

We'll need to install python-libxml2.

sudo apt install python-libxml2
tar xzvf chirp-daily-20210706.tar.gz
cd chirp-daily-20210706
python setup.py build
sudo python setup.py install

Plug In Radio

  1. Turn the radio off.
  2. Remove the side cap for the headphone/microphone.
  3. Plugin the cable to the headphone/microphone.
  4. Plug the USB into your Linux machine.

Open terminal and do lsusb it should show up as the Prolific Technology, Inc. PL2303 Serial Port as above. Yes, even with the radio off.

CHIRP

I had some trouble running as my normal user, so I ran as root with much delight, again from the Terminal.

sudo /usr/local/bin/chirpw

This will load the GUI application, which looks very bare bones.

CHIRP Screen

Select Radio then Download From Radio.

Download From Radio

This will load the Radio selector, you can see I selected:

  • Port: /dev/tty/USB0
  • Vendor: Baofeng
  • Model: UV-5XP

If you were curious, I did test every Model, none of them worked except this one.

CLICK OK

Radio

This will show some instructions, which we've already started.

Instructions

Now turn your radio on, yes, I know it shows a bunch of other stuff, ignore it.

CLICK OK

This will start the cloning.

Cloning Cloning

Now it should show the programmed channel list.

Channels

You should save now.

Modifing Channels

Modifying and adding channels is simple, in this example I'm just duplicating my Channel 21 to Channel 22.

Here you can see I added 155.7000000 to Channel 22 and named it 022.

Updated Channel Plan

Select Radio then Upload To Radio.

Upload to Radio

You'll get the Radio box again with everything pre-selected.

Radio Selection

CLICK OK

You'll get the instructions again.

Destructions

Assuming you have not turned off your radio, you can ignore this.

CLICK OK

This will start the cloning again.

Cloning Cloning

Once the cloning status messages disappears, your radio should reboot and you should now have whatever channels you programmed.

END

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment