Not compatible - Baeofeng 1701/1702

Post Reply
VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Baeofeng 1701/1702

Post by VK3KYY » Wed Aug 31, 2022 9:55 pm

gavalar wrote:
Wed Aug 31, 2022 8:47 am
Hi all I have the chance to buy a bf 1701/and 1702 can the open gd77 be flashed to these handsets as I know I have only seen discussions etc for the 1801 thanks in advance
No.

Its a completely different radio to the DM1801

UA0LMC
Posts: 53
Joined: Thu Oct 01, 2020 6:09 am
Location: Vladivostok, Russia

Re: Baeofeng 1701/1702

Post by UA0LMC » Sat Sep 24, 2022 10:59 pm

VK3KYY wrote:
Wed Aug 31, 2022 9:55 pm
Its a completely different radio to the DM1801
The hardware of DM-1702 is quite different from DM-1801 - but it's very similar to RT-3s: STM32F405VGT6, HRC6000, AT1846S.
So I hope it will be possible to port opengd77 to this radio some time in the future.

DM-1702 and DM-X are basically the same radio in different cases, even the main PCB in my DM-X is marked as DM-1702-V1.4

Also GPS receiver module in DM-X is the same as in RT-3s (ATGM-336H) - but GPS antenna is waaay better.
It even looks like when making RT-3s they've thoroughly read the GPS antenna docs - and done exactly the opposite :)

VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Baeofeng 1701/1702

Post by VK3KYY » Sun Sep 25, 2022 9:21 pm

UA0LMC wrote:
Sat Sep 24, 2022 10:59 pm
VK3KYY wrote:
Wed Aug 31, 2022 9:55 pm
Its a completely different radio to the DM1801
The hardware of DM-1702 is quite different from DM-1801 - but it's very similar to RT-3s: STM32F405VGT6, HRC6000, AT1846S.
So I hope it will be possible to port opengd77 to this radio some time in the future.

DM-1702 and DM-X are basically the same radio in different cases, even the main PCB in my DM-X is marked as DM-1702-V1.4

Also GPS receiver module in DM-X is the same as in RT-3s (ATGM-336H) - but GPS antenna is waaay better.
It even looks like when making RT-3s they've thoroughly read the GPS antenna docs - and done exactly the opposite :)
Unless someone cracks the firmware encryption, it would never be possible to put any firmware on this radio.

All these radios use encrypted firmware, but luckily some other people cracked the encryption for the MD9600, UV380 and some other TYT radios.
So we could use the encryption key they discovered.

UA0LMC
Posts: 53
Joined: Thu Oct 01, 2020 6:09 am
Location: Vladivostok, Russia

Re: Baeofeng 1701/1702

Post by UA0LMC » Mon Oct 10, 2022 9:12 am

VK3KYY wrote:
Sun Sep 25, 2022 9:21 pm
Unless someone cracks the firmware encryption, it would never be possible to put any firmware on this radio.
Don't know if it's the thing - but please check https://github.com/OK2MOP/MD1702-tools
Looks like it can read/write firmware - or at least that's what author said in the description.

VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Baeofeng 1701/1702

Post by VK3KYY » Mon Oct 10, 2022 9:41 am

UA0LMC wrote:
Mon Oct 10, 2022 9:12 am
VK3KYY wrote:
Sun Sep 25, 2022 9:21 pm
Unless someone cracks the firmware encryption, it would never be possible to put any firmware on this radio.
Don't know if it's the thing - but please check https://github.com/OK2MOP/MD1702-tools
Looks like it can read/write firmware - or at least that's what author said in the description.
Looks interesting, but the tools in the folder only upload the firmware and codeplug for the radio, it does not seem to contain any information about the firmware.
To update firmware, an unencrypted firmware image is required.
Implies that there must be unencrypted firmware for this radio somewhere.

Also in the DFU python script, there is a check if the firmware file is encrypted and a message is displayed if the firmware is encrypted.

So somewhere on the internet someone must have unencrypted firmware for this radio, but I have no idea where.


Edit.

In this issue https://github.com/OK2MOP/MD1702-tools/issues/5 it seems to imply that the tools in this repo can read the firmware from this radio, and possibly the firmware read from the radio is not encrypted.

However, the person who read the firmware from the radio did not post it to that issue on github, they emialed it directly to the author of the tool

If anyone has this radio they could try reading the firmware using this tool.

You can easily tell if the firmware from the radio is unencrypted, becuase the first 1k will contain patterns of bytes which will be similar to this data from the OpenMD9600 firmware

Code: Select all

00000000  FC FF 01 20 45 E4 00 08 31 E2 00 08 33 E2 00 08  üÿ. Eä..1â..3â..
00000010  35 E2 00 08 37 E2 00 08 39 E2 00 08 00 00 00 00  5â..7â..9â......
00000020  00 00 00 00 00 00 00 00 00 00 00 00 41 56 01 08  ............AV..
00000030  3B E2 00 08 00 00 00 00 D1 56 01 08 4F 3D 01 08  ;â......ÑV..O=..
00000040  95 E4 00 08 95 E4 00 08 95 E4 00 08 95 E4 00 08  •ä..•ä..•ä..•ä..
00000050  95 E4 00 08 95 E4 00 08 3D E2 00 08 43 E2 00 08  •ä..•ä..=â..Câ..
00000060  49 E2 00 08 95 E4 00 08 95 E4 00 08 51 E2 00 08  Iâ..•ä..•ä..Qâ..
00000070  95 E4 00 08 95 E4 00 08 95 E4 00 08 95 E4 00 08  •ä..•ä..•ä..•ä..
00000080  5D E2 00 08 95 E4 00 08 69 E2 00 08 95 E4 00 08  ]â..•ä..iâ..•ä..
00000090  95 E4 00 08 95 E4 00 08 95 E4 00 08 95 E4 00 08  •ä..•ä..•ä..•ä..
000000A0  95 E4 00 08 95 E4 00 08 95 E4 00 08 95 E4 00 08  •ä..•ä..•ä..•ä..
000000B0  95 E4 00 08 95 E4 00 08 95 E4 00 08 95 E4 00 08  •ä..•ä..•ä..•ä..
000000C0  95 E4 00 08 95 E4 00 08 95 E4 00 08 95 E4 00 08  •ä..•ä..•ä..•ä..
000000D0  95 E4 00 08 85 E2 00 08 95 E4 00 08 95 E4 00 08  •ä..…â..•ä..•ä..
Open the recovered firmware file using a tool like HXD on Windows.


Edit.

I posted an issue to the repo, asking the author for more information

https://github.com/OK2MOP/MD1702-tools/issues/7

VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Not compatible - Baeofeng 1701/1702

Post by VK3KYY » Mon Oct 10, 2022 10:06 pm

This radio seems to be similar to the TYT MD-UV380 aka Retevis RT-3S

So probably the UV380 version could be converted to work on this radio by someone who was skilled in embedded programming

I don't personally have the time or money to port to another radio. i.e I already spent probably $2000 buying every type of the supported radios, and started the conversion to the UV380 in July 2020

I have 5 x GD77, 3 x MD9600, 1 x GD77S, 1 x RD5R , 1 x DM1801 , MD-UV380, and some other radios which we found could not be supported e.g. GD73 and some other radios which could possibly be supported e.g. MD-380

VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Not compatible - Baeofeng 1701/1702

Post by VK3KYY » Wed Oct 19, 2022 5:06 am

I've been in contact with the developer of the tools to upload firmware into the DM-1702, but he says that he does not have time to work on porting the OpenGD77 to this type of radio

I don't own this type radio.

LU1AAX
Posts: 8
Joined: Sat Apr 25, 2020 5:27 am

Re: Not compatible - Baeofeng 1701/1702

Post by LU1AAX » Fri Nov 25, 2022 2:53 am

I have this radio (DM-X)... I don't have specific knowledge about this platform but I'm open to learn... where can I start?

VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Not compatible - Baeofeng 1701/1702

Post by VK3KYY » Fri Nov 25, 2022 2:56 am

LU1AAX wrote:
Fri Nov 25, 2022 2:53 am
I have this radio (DM-X)... I don't have specific knowledge about this platform but I'm open to learn... where can I start?
Try contacting the author of

https://github.com/OK2MOP/MD1702-tools/issues/7

He seems to be the person with most experience of this radio.

This radio uses the STM32 processor, and our development for radios using this MCU is only at Alpha or Beta stage at the moment, and sources have not been released. We don't release sources until firmware Beta development is complete.

You could try to use the OpenRTx firmware as a testbed, but its FM only, and AFIK they never plan to support DMR

see https://openrtx.org/#/

Post Reply