Page 1 of 1

FYI. Porting to other TYT / Retevis radios

Posted: Mon Jan 03, 2022 1:02 am
by VK3KYY
In July 2020, I bough a Retevis RT-3S (aks MD-UV380) with the aim to port the firmware to that radio, however it took over 1 month simply to be able to be able to flash the LED on the radio, so I had to stop development becuase I did not have time to continue

In September 2021, both Daniel F1RMB and Colin G4EML were very interested in porting to a the MD9600, so I bought 2 brand new MD-9600 and started to convert my RT-3S project to become the MD9600 project

I ported all of the GD77 user interface to the MD9600 project, as well as the display control and some basic inpuyt from the micropjone
Colin then used that version and wrote all of the PLL and RF control firmware

I worked on the AMBE codec section from the official MD9600 firmware and after several weeks managed to make that work, but at that time we did not have DMR Rx or Tx functionality, only FM.

Colin wrote ported the DMR Rx and Tx functionality from the GD77, and both Colin and I worked on the digital audio path so tha eventually the voice prompts were working and then the DMR Rx and then the DMR Tx.

Daniel also worked on various aspects of the firmware.



This now gives us a firmware platform using the STM32F4 chip as used in many TYT radios, however the other radios have different RF hardware and also different displays

So although it will be possible to use this platform for other TYT radios, it is not a simple or easy conversion

After the MD9600 firmware is much more stable, the next radio which is likely to be supported is the UV-380 / RT-3S, becuase this has the same CPU as the MD9600 but the same RF chip as the GD77.

It does have a different LCD display to both radios, but I don't think that is the most difficult problem to solve.


The other limitation is whether the firmware encryption has been cracked or a specific radio.

I know it has been cracked for the UV380 and the MD380, but I'm not sure about the MD2017

And I do not have the money to buy let another type of TYT radio, so unless TYT etc will send me several free samples, I am not likely to work on any radio I don't currently own.

Re: FYI. Porting to other TYT / Retevis radios

Posted: Tue Jan 04, 2022 1:18 pm
by DG1GMY
New year, new playgrounds ;) Some weeks ago I accidentally came across a very low priced RT3s with built-in GPS, yet it somehow went straight to the shelf. If the device is planned to work with the new port I'll be happy to dedicate it to upcoming alpha/beta testing...

Cheers!
—Michael

Re: FYI. Porting to other TYT / Retevis radios

Posted: Tue Jan 04, 2022 9:45 pm
by VK3KYY
My RT3S has been on the shelf, in pieces for over 12 months.

So I don't think we are likely to have an RT3S version soon.

Re: FYI. Porting to other TYT / Retevis radios

Posted: Tue Jan 04, 2022 10:00 pm
by KI5PGJ
I have a TYT MD-2017 (no GPS) which I can donate to your team

The only issue is it now displays in chinese language after the last factory firmware update, which makes it unusable for me

Re: FYI. Porting to other TYT / Retevis radios

Posted: Wed Jan 05, 2022 12:42 am
by VK3KYY
KI5PGJ wrote:
Tue Jan 04, 2022 10:00 pm
I have a TYT MD-2017 (no GPS) which I can donate to your team

The only issue is it now displays in chinese language after the last factory firmware update, which makes it unusable for me
At the moment I have too much to do, getting the MD9600 and also then RT3S / UV380 working

Currently only Colina and I are the only people working on the MD9600 and I don't think Colin has a RT3S, so won't be able to help with that radio.

Re: FYI. Porting to other TYT / Retevis radios

Posted: Wed Jan 05, 2022 2:08 am
by KI5PGJ
if you ever have a need for a MD-2017 let me know, it isn't going anywhere.

well I can still provide the radio to a developer, even if you use it as a paperweight :-)

I figure it has more usefulness in the hands of someone other than myself.

FWIW, I've donated quite a bit of hardware to OpenBSD project over the years and I never had expectations anything would come of my donations, that is the nature of open source projects.

Re: FYI. Porting to other TYT / Retevis radios

Posted: Mon Mar 07, 2022 4:45 pm
by ke8bg
I just joined as I have a MD-9600.
As for the other TYT/Retevis radios, I am running Ty Weaver's (KG5RKI) MD-2017/RT82 firmware in my couple of radios.
They work fine with his firmware except for one glitch. After a while, when you go into the MENU>UTILITY section instead of seeing
PROGRAM you will see one of the ZONES instead. At this point you can back out to the first menu level and go into CALLS and then backout
and go back into UTILITY>PROGRAM. I know he released the source code for this project as he wasn't interested in continuing on the project.
I remember seeing that he has also modified part of the MD-9600 firmware dealing with database display but that's the last I heard about it.
Here is the github link to RT82 toolz

Re: FYI. Porting to other TYT / Retevis radios

Posted: Mon Mar 07, 2022 7:34 pm
by VK3KYY
ke8bg wrote:
Mon Mar 07, 2022 4:45 pm
I just joined as I have a MD-9600.
As for the other TYT/Retevis radios, I am running Ty Weaver's (KG5RKI) MD-2017/RT82 firmware in my couple of radios.
They work fine with his firmware except for one glitch. After a while, when you go into the MENU>UTILITY section instead of seeing
PROGRAM you will see one of the ZONES instead. At this point you can back out to the first menu level and go into CALLS and then backout
and go back into UTILITY>PROGRAM. I know he released the source code for this project as he wasn't interested in continuing on the project.
I remember seeing that he has also modified part of the MD-9600 firmware dealing with database display but that's the last I heard about it.
Here is the github link to RT82 toolz
MD380Tools modifies the official firmware by overriding individual functions.
This firmware works completely differently. We only use the AMBE codec from the official firmware, everything else is written from scratch, including things like the bitmap fonts, graphics and beeps etc