New Model #11669
openBaofeng UV-5RH Pro (GPS)
70%
Description
Hello, I have just bought a Baofeng UV-5RH Pro GPS - https://www.baofengradio.co.uk/uv-5rh-pro-gps-multi-band-walkie-talkie/
and have not had any success downloading its initial details using CHIRP. I tried using the '5RM' (as per home page) and 'UV-5RH' options, to no avail.
I was informed there may be a connectivity/cable issue, but can use the same Baofeng Programming cable with my UV-5RTP (the debug log attached shows this successful import at the end).
I'd be happy to help run test versions or different drivers, etc. to get this working.
I notice this radio has the same volume knob as the other new radios they're bringing out, that look very similar to the Quansheng UV-K6 - e.g. the Baofeng UV-K6 (can't believe they can just 're-use' the model name like that!).. I wonder if there's any other similarities w.r.t. programming?
Kind regards, and many thanks for CHIRP,
Matt Gumbley M0CUV
Files
Updated by Jim Unroe 8 months ago
This radio appears to be electronics similar to that of a UV-17 Pro GPS stuffed in to a case similar to that of the (UV-)5RM. So in reality I would expect it to be closer to the new BF-F8HP PRO with 1000 channels (10 zones of 100 channels) than anything else. You can try both selections (UV-17 Pro GPS and BF-F8HP PRO) but I would not be surprised if neither selection recognizes it.
I recently ordered a UV-5RH PRO GPS to compare with my BF-F8HP PRO.
Updated by Matt Gumbley 8 months ago
Hello Jim,
Thank you for your suggestion - however neither of these selections worked. I was only told "The unit did not respond as expected (A)" (words to that effect).
I watched this video by "Big Will" https://www.youtube.com/watch?v=XZsp6oH-j7w - in which he mentions that CPS software has been obtained for this radio, and posted to the "Baofeng Owner's Club" group on Facebook. I've now downloaded that, and will experiment. The software is called "5RH Pro v1.10 EN_CPS.zip", and was obtained from the AliExpress vendor that one group member bought their handheld from.
If it would assist the CHIRP team, I believe I could capture traffic over the USB connection with Wireshark, whilst running this CPS software.
Kind regards,
Matt Gumbley
Updated by Neil Marshall 7 months ago
I have the same model, have tried selecting "5RM" & "UV-5RH" and have tried Jim's suggestions. I either see the same error message as Matt ("Radio did not response as expected (A)" (on the first try to connect to the radio after turning it on) or "No response from radio. Check connector and cabling!" (on subsequent tries).
However, using Baofeng software "5RH Pro v1.10 EN_CPS" and "5RH Pro v1.14" I am can sucessfully read/write to the radio.
For what is worth the model name on the front of the unit and on the label on the rear are "5RH PRO". The radio definitely has the GPN/GNSS functionality.
Updated by Dan Smith 7 months ago
Guys, we need debug logs of you trying the other models. Just telling us what error you see is leaving out 90% of the info we're looking for. Please use the procedure in How_To_Report_Issues to update this bug with debug information after you try each of the other models.
Thanks!
Updated by Neil Marshall 7 months ago
- File config.txt config.txt added
- File win_system_info.txt win_system_info.txt added
- File debug_log.txt debug_log.txt added
[Uploaded from CHIRP next-20241129]
Failed attempt to download from radio having selected model "5RM".
Updated by Neil Marshall 7 months ago
- File config.txt config.txt added
- File win_system_info.txt win_system_info.txt added
- File debug_log.txt debug_log.txt added
[Uploaded from CHIRP next-20241129]
Faild attempts to download from radio having selected "5RM", "UV-5RH", "UV17ProGPS" and "BF-f8HP PRO" in turn.
Updated by Neil Marshall 7 months ago
- File 5RH Pro 001.pcapng 5RH Pro 001.pcapng added
Does this help?
I have attached a wireshark trace of a download using the Baofeng "5RH Pro v1.14" software.
It looks like the initial handshaking starts at packet 1539 (time 10.888078) and the radio responds with an 'A' character in packet 1541. Is this the 'A' refered to in the error message ("Radio did not response as expected (A)") ?
In subsequent packets I can see the channel and zone names.
Regards, Neil
Updated by Adam Nowak 5 months ago
- File 5RH PRO.zip 5RH PRO.zip added
I can confirm the issue - neither model in chirp-next-20250124-win64 - I receive "Radio did not response as expected (A)" or "No response from radio. Check connector and cabling!". In the attached file 5RH PRO.zip - I've captured sniff for serial port communication trough the CPS software - full read with success, and failures for chirp Baofeng models: 5RM, 5RX, BF-F8HP, BF-F8HP-PRO, GM-5RH, UV-5R, UV-5RH, UV-6, UV-6R, UV-13Pro, UV-17, UV-17Pro, UV-17ProGPS, UV-17R-Plus. All captures are in CSVs including columns: Function(Serial), Direction(UP or DOWN),Status,Data (hex), Data (chars)
Seems that handshake for this model changed - I hope my dumps will be helpful here - captured via FTDI cable.
firmware: 1.0.94, hw: 1.0.0
Updated by Terry Kennedy 5 months ago
Jim Unroe wrote in #note-1:
This radio appears to be electronics similar to that of a UV-17 Pro GPS stuffed in to a case similar to that of the (UV-)5RM. So in reality I would expect it to be closer to the new BF-F8HP PRO with 1000 channels (10 zones of 100 channels) than anything else. You can try both selections (UV-17 Pro GPS and BF-F8HP PRO) but I would not be surprised if neither selection recognizes it.
I recently ordered a UV-5RH PRO GPS to compare with my BF-F8HP PRO.
I believe they are completely different. Every analog full-color display Baofeng I've seen except for this one is descended from a development model called the BF-H802 which was apparently never sold as an actual product. This includes both the zoned and no-zones models. The UV-G30 Pro / BF-UV20 is probably the closest radio to the H802 ancestor.
The 5RH Pro has a very different CPS, handshakes in binary instead of ASCII "PROGRAMblah", and so forth. The CPS does some very questionable things for a supposedly modern software package - it sets its Windows Application Compatibility version to Windows 2000 in some cases, saves its settings in "setting.ini" in the program installation directory and other behavior that has been discouraged in new designs for many years.
The 5RH Pro has gone through 100 firmware versions already (my unit came with 1.0.56, new ones apparently ship with 1.0.94, and there's now a 1.1.0). I mention this because programming the radio is likely to be a moving target. I know of 3 different, slightly incompatible CPS versions - 1.04, 1.10. and 1.14.
Several versions of the 5RH Pro firmware update utility are detected as malware by VirusTotal. This is unlikely to be a false positive as the same detections persist across multiple versions of the utility.
If you want the decompiled CPS, contact me. However, when I offered the same for the UV-17 Pro GPS, you didn't find it helpful.
Updated by Andrej Novak 5 months ago
It seems that Baofeng now has its own version of 5RH PRO for sale, it is called UV-5RM Plus GPS.
https://www.baofengradio.com/collections/analog/products/uv-5rm-plus-gps
Updated by Adam Nowak 5 months ago
- File pcapng-3timesRow.zip pcapng-3timesRow.zip added
I've managed to capture 3 times in a row (dump in zip file - pcapng-3timesRow.zip) communication using CPS and USBpcap on FTDI cable. Wireshark filter below is really helpful
(ftdi-ft ) && (ftdi-ft.if_a_rx_payload || ftdi-ft.if_a_tx_payload)
What I observed:
- After com port setup, payload 000000000000000000000000ffffffff is send to radio
Radio responds: 41 (letter A)
next payload 11130e0613000c41 xor (random mask) is sent -> examples in my dump:
A TX payload: 02001d1500131f52 => 11130e0613000c41 xor 1313131313131313 = 02001d1500131f52 - here in example mask is 13
A TX payload: 6b69747c697a763b - here mask is 7a
A TX payload: 65677a7267747835 - here mask is 74Radio responds with detected mask
Then to radio is send string "bebebebebebebebe" xor mask
A TX payload: adadadadadadadad => bebebebebebebebe xor 1313131313131313 = adadadadadadadad
A TX payload: c4c4c4c4c4c4c4c4 => bebebebebebebebe xor 7a7a7a7a7a7a7a7a = c4c4c4c4c4c4c4c4
A TX payload: cacacacacacacaca => bebebebebebebebe xor 7474747474747474 = cacacacacacacacaRadio again respond with mask same as in point 4
Then string 80f070e130c0015080e0f xor mask is send to radio ???put radio in program mode???
A TX payload: 1b1c141d001f13061b1d1c => 80f070e130c0015080e0f xor 1313131313131313131313 = 1b1c141d001f13061b1d1c
A TX payload: 72757d7469767a6f727475 => 80f070e130c0015080e0f xor 7a7a7a7a7a7a7a7a7a7a7a = 72757d7469767a6f727475Radio is sending back 3076c741309bebe41bebebebebebebe xor mask by byte.
the 00 is sent to radio
10 Radio response: 13Radio flash read is initiated by 13414141 xor mask ???read flash command???
A TX payload: 00525252 => 13414141 xor 13131313 = 00525252Radio sent flash content
I hope that above analysis will help to add support for this radio.
Updated by Simon Foley 3 months ago
Hi,
I have a In Line Hardware FPGA Sniffer for USB Devices. If you need more captures of the USB/Serial communication of the CPS Software working with the UV-5RH PRO GPS Unit let me know. It will be low level USB Communication and all the data above the PHY. I suspect this is all just a serial RS232 communication over USB Serial emulator.
Adam Nowak wrote in #note-11:
I've managed to capture 3 times in a row (dump in zip file - pcapng-3timesRow.zip) communication using CPS and USBpcap on FTDI cable. Wireshark filter below is really helpful
(ftdi-ft ) && (ftdi-ft.if_a_rx_payload || ftdi-ft.if_a_tx_payload)
What I observed:
- After com port setup, payload 000000000000000000000000ffffffff is send to radio
Radio responds: 41 (letter A)
next payload 11130e0613000c41 xor (random mask) is sent -> examples in my dump:
A TX payload: 02001d1500131f52 => 11130e0613000c41 xor 1313131313131313 = 02001d1500131f52 - here in example mask is 13
A TX payload: 6b69747c697a763b - here mask is 7a
A TX payload: 65677a7267747835 - here mask is 74Radio responds with detected mask
Then to radio is send string "bebebebebebebebe" xor mask
A TX payload: adadadadadadadad => bebebebebebebebe xor 1313131313131313 = adadadadadadadad
A TX payload: c4c4c4c4c4c4c4c4 => bebebebebebebebe xor 7a7a7a7a7a7a7a7a = c4c4c4c4c4c4c4c4
A TX payload: cacacacacacacaca => bebebebebebebebe xor 7474747474747474 = cacacacacacacacaRadio again respond with mask same as in point 4
Then string 80f070e130c0015080e0f xor mask is send to radio ???put radio in program mode???
A TX payload: 1b1c141d001f13061b1d1c => 80f070e130c0015080e0f xor 1313131313131313131313 = 1b1c141d001f13061b1d1c
A TX payload: 72757d7469767a6f727475 => 80f070e130c0015080e0f xor 7a7a7a7a7a7a7a7a7a7a7a = 72757d7469767a6f727475Radio is sending back 3076c741309bebe41bebebebebebebe xor mask by byte.
the 00 is sent to radio
10 Radio response: 13Radio flash read is initiated by 13414141 xor mask ???read flash command???
A TX payload: 00525252 => 13414141 xor 13131313 = 00525252Radio sent flash content
I hope that above analysis will help to add support for this radio.
Updated by C T 3 months ago
I'm also having this same problem. Have tried multiple different cables (all of which work for other radios) and multiple firmwares with 2 of these radios, but always get the "Radio did not respond as expected (A)" error on read.
Model as sold on Amazon: 5RH Pro GPS
https://www.amazon.com/dp/B0DKNHG7DF
If you need any more debug/trace info than is above, please let us know and we'll provide.
Updated by Terry Kennedy 29 days ago
Terry Kennedy wrote in #note-9:
The 5RH Pro has gone through 100 firmware versions already (my unit came with 1.0.56, new ones apparently ship with 1.0.94, and there's now a 1.1.0). I mention this because programming the radio is likely to be a moving target. I know of 3 different, slightly incompatible CPS versions - 1.04, 1.10. and 1.14.
And is now at firmware 2.0.9.
If you want the decompiled CPS, contact me. However, when I offered the same for the UV-17 Pro GPS, you didn't find it helpful.
I still have the decompiled CPS 1.14 - all of the later versions are encrypted and protected from debug mode because they're full of viruses/malware (as is the firmware update utility). It is written in Visual Studio 2019 C# with .NET 4.0. I know that's not an area of expertise for the CHIRP developers (you're Python users), but it might be helpful if somebody wanders by and wants to take a look at it to make a start on a CHIRP driver, like Sander did for the UV-17 Pro GPS amd other UV-17 models. The latest CPS is 1.19 and is needed to access the new radio features in 2.x. However, the 1.14 CPS can still talk to the radio and read/write the pieces it knows about. So it would at least be a good start, and might help understand the data being sent to/from the radio. I'm following this issue now, so I'll see a reply if anybody wants the 1.14 CPS source.
Updated by Alexandre J. Raymond 29 days ago
- Has duplicate Bug #12004: No puedo conectar Radio BAofeng a Chirp added
Updated by Mike Iacovacci 19 days ago
- File baofeng_bf5rhPro.py added
I've created a driver that is working on my BF-5RH Pro GPS. My radio reports software v1_0_94 and hardware v1_0_0. I implemented most but not all features/settings. It would be great if others could give it a try and report any issues. It's helpful to compare driver settings to those in the CPS. I developed against CPS 1.10.
NOTE: This is a driver in beta so backup your radio and follow the driver loading instructions here: https://chirpmyradio.com/projects/chirp/wiki/LoadingTestModules.
-ascendr
Updated by Mike Iacovacci 18 days ago
- File baofeng_bf5rhPro.py added
Fixed a few issues.
To test follow the driver loading instructions here: https://chirpmyradio.com/projects/chirp/wiki/LoadingTestModules.
Updated by Mike Iacovacci 18 days ago
- File deleted (
baofeng_bf5rhPro.py) - Assignee set to Mike Iacovacci
- % Done changed from 0 to 70
Updated by Al Wall 16 days ago
- File config.txt config.txt added
- File win_system_info.txt win_system_info.txt added
- File debug_log.txt debug_log.txt added
[Uploaded from CHIRP next-20250606]
(Describe what you were doing)
doing a download of the information from the radio, COM14, Baofeng bf5rhPro, with 11669 driver loaded, Radio is at firmware 1_1_04, hardware V1
(Describe what you expected to happen)
I was expecting the radio to be downloaded into Chirp
(Describe what actually happened instead)
I selected Radio and download, entered Com14, Baofeng, br5rhPro. selected the download button, it showed connecting on the popup, a couple of seconds later error "error during download index out of range"
(Has this ever worked before? New radio? Does it work with OEM software?)
this is testing of the driver per Mike's instructions, "others please test this driver"
Updated by Al Wall 16 days ago
- File config.txt config.txt added
- File win_system_info.txt win_system_info.txt added
- File debug_log.txt debug_log.txt added
[Uploaded from CHIRP next-20250606]
(Describe what you were doing)
doing a download of the information from the radio, COM14, Baofeng bf5rhPro, with 11669 driver loaded, Radio is at firmware 2_0_09, hardware V1
(Describe what you expected to happen)
I was expecting the radio to be downloaded into Chirp
(Describe what actually happened instead)
I selected Radio and download, entered Com14, Baofeng, br5rhPro. selected the download button, it showed connecting on the popup, a couple of seconds later error "error during download Radio Wakeup error expected 0x41 got b'\xff'"
(Has this ever worked before? New radio? Does it work with OEM software?)
this is testing of the driver per Mike's instructions, "others please test this driver"
Note: this is for 2_0_09, I have 2 radios, one at 1_1_04 and this one at 2_0_9. The 2_0_09 is supposed to fix APRS issue, hoping this can be working as well. I also submitted 1_1_04 error.
Updated by Terry Kennedy 16 days ago
Note: this is for 2_0_09, I have 2 radios, one at 1_1_04 and this one at 2_0_9. The 2_0_09 is supposed to fix APRS issue, hoping this can be working as well. I also submitted 1_1_04 error.
This radio is such a moving target that even the factory CPS (malware and all) can't keep up with the firmware changes.
I'd suggest concentrating driver efforts on working with firmware 2.0.2 (what TIDRADIO ships) and above, and use CPS 1.19 (in an isolated VM due to the malware) to see what the CPS is doing differently than the experimental driver here.
Probably not relevant for programming, but the bootloader (which is never overwritten by a firmware update) runs at two different baud rates. The factory changed it early in production to 115200 because they got tired of how slowly the firmware updated on finished radios that were old revs by the time they were completed. When the board is out of the case, they can program it nearly instantly with the pogo pins, but once it's in the case it is too much effort to take apart, so they upped the programming speed.
Updated by Mike Iacovacci 15 days ago ยท Edited
- File BF5RHPro_v_1_1_04.jpg BF5RHPro_v_1_1_04.jpg added
- File BF5RHProGPS_v_1_1_04.PNG BF5RHProGPS_v_1_1_04.PNG added
I updated my BF-5RH PRO GPS to Software v1_1_04 and successfully read and write to the radio using this driver. I looked into updating to v2_0_7, but apparently the hardware was revised and needed to support v2. I tried anyway and it failed. I was also able to use this driver on v1_0_97.
Updated by Larry Ficken 10 days ago
I have an in development fork of chirp with preliminary 5rhpro support: https://github.com/kholdfuzion/chirp/tree/5rhpro
the last few 2.0.x FW have moved some of the APRS data around so I am pausing on this briefly to give baofeng a chance to finish. Also I have discovered the "protection" on this radios FW and can flash my own modified ones now.
Updated by Mike Iacovacci 9 days ago
- File Baofeng_BF-5RH-Pro_HWV2_Factory_Read.img Baofeng_BF-5RH-Pro_HWV2_Factory_Read.img added
- File baofeng_bf5rhPro.py baofeng_bf5rhPro.py added
- Status changed from New to In Progress
I was able to get a radio with the new hardware (v_1_0_4). It came with v2_0_02 firmware. The driver I posted here seems to be working fine. I am not seeing any changes in radio communication protocol between the v_1_0_0 hardware that only accepts v1 firmware and the newer hardware v_1_0_4 with v2 firmware. The CPS and radio use a single byte xor operation to obfuscate/encrypt the upload/download operations. The CPS is the one that sets the xor byte. Curiously a null byte is also accepted, so this obfuscation isn't enforced on the radio. I also noticed the firmware is obfuscated the same way with 0xc8. Both of my radios use baudrate 115200. Analyzing older firmware update tools I've noticed baudrate set to 38400. If someone has one and is willing to test we should be able to implement baud detection. The CPS (v.1.19) also indicates support for ident strings "K6" and "UV39" so I can add support for these fairly simply it appears. Also I was able to reproduce the errors as @Al Wall experienced when the radio was trying to TX while connected to the programming cable or in the charging cradle. I found it worked best by selecting the Download option in Chirp with the K1 plugged in and confirming it's selected, then inserting the K1 into the radio with it off, finally turning it on and starting the download. I'm attaching a driver with a few minor updates as well as Chirp image of the factory fresh download from my v2_0_02 firmware.
Updated by Al Wall 9 days ago
- File config.txt config.txt added
- File Baofeng_BF-5RH-Pro_20250618.img Baofeng_BF-5RH-Pro_20250618.img added
- File win_system_info.txt win_system_info.txt added
- File debug_log.txt debug_log.txt added
[Uploaded from CHIRP next-20250606]
(Describe what you were doing)
I did a download of my 5RH Pro, version 1_1_04 hardware V100, this worked, Write of airband frequency fails in memories, ie 124.6 added anwhere in the list fails, write back to radiow fails with the entries already in the radio from baofeng CPS, using 1.14 or 1.21.
Note: I have installed the "5RH Pro GPS APRS full range RX 60-600.xlc" to allow airband from the facebook downloads, on the baofeng CPS's airband does work with this .xls file
(Describe what you expected to happen)
The download from the radio was successful, but Chip 11669 does does not allow airband frequencies to be entered and will fail with them entered into the radio. I was hoping to have airband entries accepted.
(Describe what actually happened instead)
Entering an airband frequency, I just used 124.6, this was rejected from being entered.
(Has this ever worked before? New radio? Does it work with OEM software?)
After installing the "5RH Pro GPS APRS full range RX 60-600.xlc" I have been able to enter, upload/download and listen to airband frequencies with the baofeng CPS, using 1.14 or 1.21, others work as well.
As a further note, the latest Chip 11669, besides airband does seem to be working.